Bluetooth Based Household Automation by Michael Johnson Department of Computer Science Submitted in Partial Fulfillment of the R

Total Page:16

File Type:pdf, Size:1020Kb

Bluetooth Based Household Automation by Michael Johnson Department of Computer Science Submitted in Partial Fulfillment of the R Bluetooth Based Household Automation By Michael Johnson Department of Computer Science Submitted in partial fulfillment of the requirements for the degree of Bachelor of Computer Science Algoma University College Sault Ste. Marie, Ontario April 2008 © Michael Johnson 2008 :, e of Cot trl Chapter 1 Introduction 1 1.1 Brief Overview of Bluetooth Technology 1 1.2 Project Plan 2 1.3 Contribution 3 Chapter 2 Internet and Other Wireless Internet Technologies 4 2.1 History of Wireless Communication and its Implementation 4 2.2 Types of Wireless Communications 5 2.2.1 Radio Transmission 5 2.2.2 Microwave Transmission 6 2.2.3 Infrared Transmission 6 2.3 PANs 7 2.3.1 PAN Connections 7 2.3.2 PAN Networking 8 2.4 Internet Applications 9 Chapter 3 Bluetooth 11 3.1 History 11 3.2 Bluetooth SIG 12 3.3 Aim of Bluetooth 13 3.4 How Bluetooth Works 13 3.5 Applications of Bluetooth 15 3.6 Bluetooth Protocol Stack 17 3.6.1 Radio 18 3.6.2 Baseband 18 3.6.3 Link Manager 21 3.6.4 Host Controller Interface 22 3.6.5 Logical Link Control and Adaptation Protocol (L2CAP) 24 3.6.6 RFCOMM 26 3.6.7 Service Discovery Protocol 28 3.6.8 The Wireless Application Protocol (WAP) 30 3.6.9 OBEX 32 3.6.10 Telephony Control Protocol Specification (TCS) 33 Chapter 4 Architecture of Household Automation 35 4.1 Roomba Vacuum 35 4.1.1 Roomba History 35 4.1.2 Parts of the Roomba Vacuum 36 4.1.3 The Cleaning Algorithm 37 4.2 Power Regulating Circuit 38 4.3 Online Availability 40 Chapter 5 Implementation and Experimental Results 42 5.1 Issues related to sending commands through Bluetooth 42 5.2 General Overview of Project 43 5.2.1 Client-side Application 44 5.2.2 Server-side Application 45 5.2.3 Roomba vacuum 47 ii Chapter 6 Chapter Summary and Future Directions 48 6.1 Chptr Sr 48 6.2 tr rtn 9 Bibliography Errr r nt dfnd Glossary 51 111 Table of Figures Figure 2.1 The Seven Layers of the OSI Model 8 Figure 3.1 Bluetooth Protocol Stack 17 Figure 3.2 THE WAP Protocol Stack 31 Figure 4.1 Power Regulating Circuit 38 Figure 5.1 Client-Side Application Screenshot 44 Figure 5.2 Server-Side Application Screenshot 46 iv Chpt: Intrdtn 1.1 Brief Overview of Bluetooth Technology 1.2 Project Plan 1.3 Contribution . rf Ovrv f ltth hnl Bluetooth technology is a newer technology which allows for short range wireless communication. The range Bluetooth technology can handle depends on the devices being used however it is generally between 10 and 100 meters. The technology allows for multiple devices to communicate with each other. Currently, the most common use for Bluetooth technology is the wireless headset for cellular phones or Personal Digital Assistants. Many companies are trying to determine new and different ways to exploit this technology for its products. Those companies see a value that Bluetooth brings to the industry of wireless communication. A lot of these companies which are rivals in certain aspects are actually helping each other out to develop new ways to use Bluetooth. They understand that they may be helping their competitors but they also see more revenue they can generate from this technology. 1 ,2 rjt ln In th I plntd ltth bd t hh ll r t ntrl b v h t prt th r t vt pf bt fr hh th n lt nd tht n b prfrd b thr b v On nd ltd t ll b nt fr th bt t th b v ltd n thr h h ll th r t plt h vn fr nhr hh h t th Intrnt hh lt vrhr nd Whn th t rv th nd hn b th r t ltth nntn th th b v tlf t p th nd t th v h t nd th b v ll bvl nd t t thn th ltth ntn rn thrfr th t ll l nd t b ltd n th r h hr n rl rn t b v thr thn th ft tht t n rv r thn pl n r ff nd h rn th nd "ltth d hld Attn" b n hhld ppln ld hv bn d hrfr t nt ltd t th f b v 2 . Cntrbtn M th h tht t pbl t hrt rn rl thnl n ln rn nnr I hv l bn ntrtd n ntr thnl nd I hv vr lttl xprn th ltth thnl I thn th rt pprtnt t lrn n thnl nd t f I n plnt t n rl rld nvrnnt ltth thnl ffr lt f dvnt t rl ntn thr n nd t lt t pl b t hrt rn thnl An b-bd r ln-rn ntn t t n pl b rld t ntrl fl pnt nd fr thr ltth thnl n b d t plt th t nd prfr th ll prtnt t t hnd It bvl pbl t hv plt ltth ntn r th Intrnt d t th rn rtrtn ltth h hvr t pbl t nplt th ndd t dt t th pnt hr n t ltth ntn h th prnt fll fntnl t tht n b d thrh th Intrnt nd th b v ll b nvrd b nd hn fr tht bt 3 Chptr 2 ntrnt nd Othr Al Intrnt hn 2.1 History of wireless communication and its implementation 2.2 Types of wireless communications 2.3 Personal Area Networks 2.4 Internet applications 2. tr f Wrl Cntn nd t Iplnttn Ever since wired technologies have been in place, there has been a need to move forward from this by having wireless technologies which would provide all the same functions as the wired technologies but you would be able to add flexibility, mobility and portability. The earliest works of wireless technologies are that of telegraphy which would receive Morse code through an apparatus. Once the data being sent over and the methods to send it were becoming much more complex, these were adapted to the wireless world and new and great ideas were implemented. The first major use of wireless technology was for the use of broadcast radio. The next one would be that of cellular phones which would provide the user with mobility while maintaining the same uses provided by standard telephones. Lastly and more recently, the use of wireless technology to connect to the Internet has been implemented, this ties in with my study on Bluetooth as it will wirelessly communicate with any Bluetooth enabled device and will then be able to send over any data needed. The usefulness of wireless technology will always exist because it will always be seen as an improvement from the norm as it provides the flexibility an end-user would want. 4 2.2 p f Wrl Cntn These wireless signals being transmitted can be sent in many different ways. The three most common ones are radio, microwave and infrared [7]. Bluetooth technology uses the 2.4GHz radio frequency band to transmit data. Not only can the frequencies change, but the way the wireless signal is sent can change to, and that obviously directly ties into the use of wireless for the application. The signal can be sent point-to-point which is as it implies, from a single point to another, similar to cellular phone communications. The signal can be sent point-to-multipoint which simply means that the signal will originate from a single location, however the signal will be dispersed to a multitude of locations such as VOIP(Voice over Internet Protocol) or general wireless Internet communications. The signal can be sent through a broadcast which is used by radio and will send its signal out to an intended audience and as is the case with most forms of broadcasting, the user needs to be set to the specific location where the broadcast is being sent to whether it is a television channel or a radio station. 2.2. d rnn Radio transmissions are done by modulation of electromagnetic waves with frequencies below those of visible light. Electromagnetic radiation travels by means of oscillating electromagnetic fields that pass through the air and the vacuum of space. Information is carried by systematically changing some property of the radiated waves such as their amplitude or their frequency. When radio waves pass an electrical conductor, the oscillating fields induce an alternating current in the conductor which is detected and transformed into sound or other signals that carry information. 5 2.2.2 Mrv rnn Microwaves are electromagnetic waves with wavelengths shorter than one meter and longer than one millimeter or frequencies between 300 megahertz and 300 gigahertz. Electromagnetic waves with a lower frequency are radio waves. Bluetooth and wireless technology uses microwaves in the 2.4 GHz ISM band. Cable television and Internet access on coaxial cable as well as broadcast television use some of the lower microwave frequencies. 2.2. Infrrd rnn Infrared is an electromagnetic radiation of a wavelength longer than that of visible light but shorter than that of microwaves. The name means below red because red is the color of visible light with the longest wavelength Infrared transmission is used for many different reasons such as infrared filters, night vision, tracking, heating and communication. Remote controls are a popular infrared communication device. The device uses an infrared LED to emit infrared radiation which is focused by a plastic lens into a narrow beam.
Recommended publications
  • Recommendation Itu-R Bt.2016*
    Recommendation ITU-R BT.2016 (04/2012) Error-correction, data framing, modulation and emission methods for terrestrial multimedia broadcasting for mobile reception using handheld receivers in VHF/UHF bands BT Series Broadcasting service (television) ii Rec. ITU-R BT.2016 Foreword The role of the Radiocommunication Sector is to ensure the rational, equitable, efficient and economical use of the radio-frequency spectrum by all radiocommunication services, including satellite services, and carry out studies without limit of frequency range on the basis of which Recommendations are adopted. The regulatory and policy functions of the Radiocommunication Sector are performed by World and Regional Radiocommunication Conferences and Radiocommunication Assemblies supported by Study Groups. Policy on Intellectual Property Right (IPR) ITU-R policy on IPR is described in the Common Patent Policy for ITU-T/ITU-R/ISO/IEC referenced in Annex 1 of Resolution ITU-R 1. Forms to be used for the submission of patent statements and licensing declarations by patent holders are available from http://www.itu.int/ITU-R/go/patents/en where the Guidelines for Implementation of the Common Patent Policy for ITU-T/ITU-R/ISO/IEC and the ITU-R patent information database can also be found. Series of ITU-R Recommendations (Also available online at http://www.itu.int/publ/R-REC/en) Series Title BO Satellite delivery BR Recording for production, archival and play-out; film for television BS Broadcasting service (sound) BT Broadcasting service (television) F Fixed service M Mobile, radiodetermination, amateur and related satellite services P Radiowave propagation RA Radio astronomy RS Remote sensing systems S Fixed-satellite service SA Space applications and meteorology SF Frequency sharing and coordination between fixed-satellite and fixed service systems SM Spectrum management SNG Satellite news gathering TF Time signals and frequency standards emissions V Vocabulary and related subjects Note: This ITU-R Recommendation was approved in English under the procedure detailed in Resolution ITU-R 1.
    [Show full text]
  • ACRONYMS and ABBREVIATIONS BLUETOOTH SPECIFICATION Version 1.1 Page 914 of 1084
    Appendix III ACRONYMS AND ABBREVIATIONS BLUETOOTH SPECIFICATION Version 1.1 page 914 of 1084 Appendix III - Acronyms 914 22 February 2001 BLUETOOTH SPECIFICATION Version 1.1 page 915 of 1084 Appendix III - Acronyms List of Acronyms and Abbreviations Acronym or Writing out in full Which means abbreviation ACK Acknowledge ACL link Asynchronous Connection-Less Provides a packet-switched con- link nection.(Master to any slave) ACO Authenticated Ciphering Offset AM_ADDR Active Member Address AR_ADDR Access Request Address ARQ Automatic Repeat reQuest B BB BaseBand BCH Bose, Chaudhuri & Hocquenghem Type of code The persons who discovered these codes in 1959 (H) and 1960 (B&C) BD_ADDR Bluetooth Device Address BER Bit Error Rate BT Bandwidth Time BT Bluetooth C CAC Channel Access Code CC Call Control CL Connectionless CODEC COder DECoder COF Ciphering Offset CRC Cyclic Redundancy Check CVSD Continuous Variable Slope Delta Modulation D DAC Device Access Code DCE Data Communication Equipment 22 February 2001 915 BLUETOOTH SPECIFICATION Version 1.1 page 916 of 1084 Appendix III - Acronyms Acronym or Writing out in full Which means abbreviation DCE Data Circuit-Terminating Equip- In serial communications, DCE ment refers to a device between the communication endpoints whose sole task is to facilitate the commu- nications process; typically a modem DCI Default Check Initialization DH Data-High Rate Data packet type for high rate data DIAC Dedicated Inquiry Access Code DM Data - Medium Rate Data packet type for medium rate data DTE Data Terminal Equipment In serial communications, DTE refers to a device at the endpoint of the communications path; typi- cally a computer or terminal.
    [Show full text]
  • Implementation and Evaluation of Polar Codes in 5G
    Implementation and evaluation of Polar Codes in 5G Implementation och evaluering av Polar Codes för 5G Tobias Rosenqvist Joël Sloof Faculty of Health, Science and Technology Computer Science 15 hp Supervisor: Stefan Alfredsson Examiner: Kerstin Andersson Date: 2019-06-12 Serial number: N/A Implementation and evaluation of Polar Codes in 5G Tobias Rosenqvist, Joël Sloof © 2019 The author(s) and Karlstad University This report is submitted in partial fulfillment of the requirements for the Bachelor’s degree in Computer Science. All material in this report which is not our own work has been identified and no material is included for which a degree has previously been conferred. Tobias Rosenqvist Joël Sloof Approved, Date of defense Advisor: Stefan Alfredsson Examiner: Kerstin Andersson iii Abstract In today’s society the ability to communicate with one another has grown, were a lot of focus is aimed towards speed in the telecommunication industry. For transmissions to become even faster, there are many ways to enhance transmission speeds of which error correction is one. Padding messages such that they are protected from noise, while using as few bits as possible and ensuring safe transmit is handled by error correction codes. Short codes with low complexity is a solution to faster transmission speeds. An error correction code which has gained a lot of attention since its first appearance in 2009 is Polar Codes. Polar Codes was chosen as the 3GPP standard for 5G control channel. The goal of the thesis is to develop and implement Polar Codes and rate matching according to the 3GPP standard 38.212.
    [Show full text]
  • Applicability of the Julia Programming Language to Forward Error-Correction Coding in Digital Communications Systems
    Applicability of the Julia Programming Language to Forward Error-Correction Coding in Digital Communications Systems A project presented to Department of Computer and Information Sciences State University of New York Polytechnic Institute At Utica/Rome Utica, New York In partial fulfillment Of the requirements of the Master of Science Degree by Ryan Quinn May 2018 Declaration I declare that this project is my own work and has not been submitted in any form for another degree of diploma at any university of other institute of tertiary education. Information derived from published and unpublished work of others has been acknowledged in the text and a list of references given. _ Ryan Quinn 2 | P a g e SUNY POLYTECHNIC INSTITUTE DEPARTMENT OF COMPUTER AND INFORMATION SCIENCES Approved and recommended for acceptance as a project in partial fulfillment of the requirements for the degree of Master of Science in computer and information science _ DATE _ Dr. Bruno R. Andriamanalimanana Advisor _ Dr. Saumendra Sengupta _ Dr. Scott Spetka 3 | P a g e 1 ABSTRACT Traditionally SDR has been implemented in C and C++ for execution speed and processor efficiency. Interpreted and high-level languages were considered too slow to handle the challenges of digital signal processing (DSP). The Julia programming language is a new language developed for scientific and mathematical purposes that is supposed to write like Python or MATLAB and execute like C or FORTRAN. Given the touted strengths of the Julia language, it bore investigating as to whether it was suitable for DSP. This project specifically addresses the applicability of Julia to forward error correction (FEC), a highly mathematical topic to which Julia should be well suited.
    [Show full text]
  • 16.548 Notes 15: Concatenated Codes, Turbo Codes and Iterative Processing Outline
    16.548 Notes 15: Concatenated Codes, Turbo Codes and Iterative Processing Outline ! Introduction " Pushing the Bounds on Channel Capacity " Theory of Iterative Decoding " Recursive Convolutional Coding " Theory of Concatenated codes ! Turbo codes " Encoding " Decoding " Performance analysis " Applications ! Other applications of iterative processing " Joint equalization/FEC " Joint multiuser detection/FEC Shannon Capacity Theorem Capacity as a function of Code rate Motivation: Performance of Turbo Codes. Theoretical Limit! ! Comparison: " Rate 1/2 Codes. " K=5 turbo code. " K=14 convolutional code. ! Plot is from: L. Perez, “Turbo Codes”, chapter 8 of Trellis Coding by C. Schlegel. IEEE Press, 1997. Gain of almost 2 dB! Power Efficiency of Existing Standards Error Correction Coding ! Channel coding adds structured redundancy to a transmission. mxChannel Encoder " The input message m is composed of K symbols. " The output code word x is composed of N symbols. " Since N > K there is redundancy in the output. " The code rate is r = K/N. ! Coding can be used to: " Detect errors: ARQ " Correct errors: FEC Traditional Coding Techniques The Turbo-Principle/Iterative Decoding ! Turbo codes get their name because the decoder uses feedback, like a turbo engine. Theory of Iterative Coding Theory of Iterative Coding(2) Theory of Iterative Coding(3) Theory of Iterative Coding (4) Log Likelihood Algebra New Operator Modulo 2 Addition Example: Product Code Iterative Product Decoding RSC vs NSC Recursive/Systematic Convolutional Coding Concatenated Coding
    [Show full text]
  • Improving Wireless Link Throughput Via Interleaved FEC
    Improving Wireless Link Throughput via Interleaved FEC Ling-Jyh Chen, Tony Sun, M. Y. Sanadidi, Mario Gerla UCLA Computer Science Department, Los Angeles, CA 90095, USA {cclljj, tonysun, medy, gerla}@cs.ucla.edu Abstract Traditionally, one of three techniques is used for er- ror-control: 1) Retransmission which uses acknowl- Wireless communication is inherently vulnerable to edgements, and time-outs; 2) Redundancy, and 3) Inter- errors from the dynamic wireless environment. Link leaving [6] [13]. Retransmitting lost packets is an obvi- layer packets discarded due to these errors impose a ous means by which error may be repaired, and it is serious limitation on the maximum achievable through- typically performed at either the link layer with Auto- put in the wireless channel. To enhance the overall matic Repeat reQuest (ARQ) or at the end-to-end layers throughput of wireless communication, it is necessary to with protocols like TCP. When data is exchanged have a link layer transmission scheme that is robust to through a relatively error-free communication medium, the errors intrinsic to the wireless channel. To this end, retransmission is clearly a good tactic. However, re- we present Interleaved-Forward Error Correction (I- transmission is not the best strategy in an error-prone FEC), a clever link layer coding scheme that protects communication channel, where high latency and band- link layer data against random and busty errors. We width overhead are believed to make retransmission a examine the level of data protection provided by I-FEC less than ideal error controlling technique. against other popular schemes. We also simulate I-FEC Redundancy is the means by which repair data is in Bluetooth, and compare the TCP throughput result added along with the original data, such that corrupted with Bluetooth’s integrated FEC coding feature.
    [Show full text]
  • LDPC Decoder Design Using Compensation Scheme of Group Comparison for 5G Communication Systems
    electronics Article LDPC Decoder Design Using Compensation Scheme of Group Comparison for 5G Communication Systems Chen-Hung Lin 1,2,* , Chen-Xuan Wang 2 and Cheng-Kai Lu 3 1 Biomedical Engineering Research Center, Yuan Ze University, Jungli 32003, Taiwan 2 Department of Electrical Engineering, Yuan Ze University, Jungli 32003, Taiwan; [email protected] 3 Department of Electrical and Electronic Engineering, Universiti Teknologi PETRONAS, Seri Iskandar 32610, Malaysia; [email protected] * Correspondence: [email protected] Abstract: This paper presents a dual-mode low-density parity-check (LDPC) decoding architec- ture that has excellent error-correcting capability and a high parallelism design for fifth-generation (5G) new-radio (NR) applications. We adopted a high parallelism design using a layered decoding schedule to meet the high throughput requirement of 5G NR systems. Although the increase in parallelism can efficiently enhance the throughput, the hardware implementation required to support high parallelism is a significant hardware burden. To efficiently reduce the hardware burden, we used a grouping search rather than a sorter, which was used in the minimum finder with decoding performance loss. Additionally, we proposed a compensation scheme to improve the decoding per- formance loss by revising the probabilistic second minimum of a grouping search. The post-layout implementation of the proposed dual-mode LDPC decoder is based on the Taiwan Semiconduc- Citation: Lin, C.-H.; Wang, C.-X.; Lu, tor Manufacturing Company (TSMC) 40 nm complementary metal-oxide-semiconductor (CMOS) C.-K. LDPC Decoder Design Using Compensation Scheme of Group technology, using a compensation scheme of grouping comparison for 5G communication systems Comparison for 5G Communication with a working frequency of 294.1 MHz.
    [Show full text]
  • Burst Correction Coding from Low-Density Parity-Check Codes
    BURST CORRECTION CODING FROM LOW-DENSITY PARITY-CHECK CODES by Wai Han Fong A Dissertation Submitted to the Graduate Faculty of George Mason University In Partial fulfillment of The Requirements for the Degree of Doctor of Philosophy Electrical and Computer Engineering Committee: Dr. Shih-Chun Chang, Dissertation Director Dr. Shu Lin, Dissertation Co-Director Dr. Geir Agnarsson, Committee Member Dr. Bernd-Peter Paris, Committee Member Dr. Brian Mark, Committee Member Dr. Monson Hayes, Department Chair Dr. Kenneth S. Ball, Dean, The Volgenau School of Engineering Date: Fall Semester 2015 George Mason University Fairfax, VA Burst Correction Coding from Low-Density Parity-Check Codes A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy at George Mason University By Wai Han Fong Master of Science George Washington University, 1992 Bachelor of Science George Washington University, 1984 Director: Dr. Shih-Chun Chang, Associate Professor Department of Electrical and Computer Engineering George Mason University Fairfax, VA Co-Director: Dr. Shu Lin, Professor Department of Electrical and Computer Engineering University of California Davis, CA Fall Semester 2015 George Mason University Fairfax, Virginia Copyright c 2015 by Wai Han Fong All Rights Reserved ii Dedication I dedicate this dissertation to my beloved parents, Pung Han and Soo Chun; my wife, Ellen; children, Corey and Devon; and my sisters, Rose and Agnes. iii Acknowledgments I would like to express my sincere gratitude to my two Co-Directors: Shih-Chun Chang and Shu Lin without whom this would not be possible. In addition, I would especially like to thank Shu Lin for his encouragement, his creativity and his generosity, all of which are an inspiration to me.
    [Show full text]
  • Performance Analysis and Design of MIMO-OFDM System Using Concatenated Forward Error Correction Codes
    J. Cent. South Univ. (2017) 24: 1322−1343 DOI: 10.1007/s11771-017-3537-2 Performance analysis and design of MIMO-OFDM system using concatenated forward error correction codes Arun Agarwal1, Saurabh N. Mehta2 1. PhD Scholar, School of Electrical Engineering, Department of Information Technology, AMET University, Tamil Nadu, Chennai 603112, India; 2. Department of Electronics and Telecommunication Engineering, Vidyalankar Institute of Technology, Mumbai-400037, Maharashtra, India © Central South University Press and Springer-Verlag Berlin Heidelberg 2017 Abstract: This work investigates the performance of various forward error correction codes, by which the MIMO-OFDM system is deployed. To ensure fair investigation, the performance of four modulations, namely, binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), quadrature amplitude modulation (QAM)-16 and QAM-64 with four error correction codes (convolutional code (CC), Reed-Solomon code (RSC)+CC, low density parity check (LDPC)+CC, Turbo+CC) is studied under three channel models (additive white Guassian noise (AWGN), Rayleigh, Rician) and three different antenna configurations(2×2, 2×4, 4×4). The bit error rate (BER) and the peak signal to noise ratio (PSNR) are taken as the measures of performance. The binary data and the color image data are transmitted and the graphs are plotted for various modulations with different channels and error correction codes. Analysis on the performance measures confirm that the Turbo + CC code in 4×4 configurations exhibits better performance. Key words: bit error rate (BER); convolutional code (CC); forward error correction; peak signal to noise ratio (PSNR); Turbo code signal reliability as well as the multiple transmissions, 1 Introduction without extra radiation and spectrum bandwidth [6−9].
    [Show full text]
  • CRC-Assisted Error Correction in a Convolutionally Coded System Renqiu Wang, Member, IEEE, Wanlun Zhao, Member, IEEE, and Georgios B
    IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 56, NO. 11, NOVEMBER 2008 1807 CRC-Assisted Error Correction in a Convolutionally Coded System Renqiu Wang, Member, IEEE, Wanlun Zhao, Member, IEEE, and Georgios B. Giannakis, Fellow, IEEE Abstract—In communication systems employing a serially When the signal to noise ratio (SNR) is relatively high, only a concatenated cyclic redundancy check (CRC) code along with small number of errors are typically present in an erroneously a convolutional code (CC), erroneous packets after CC decoding decoded packet. Instead of discarding the entire packet, the are usually discarded. The list Viterbi algorithm (LVA) and the iterative Viterbi algorithm (IVA) are two existing approaches theme is this paper is to possibly recover it by utilizing jointly capable of recovering erroneously decoded packets. We here ECC and CRC. employ a soft decoding algorithm for CC decoding, and introduce We will study a system with serially concatenated CRC and several schemes to identify error patterns using the posterior CC (CRC-CC). Being a special case of conventional serially information from the CC soft decoding module. The resultant iterative decoding-detecting (IDD) algorithm improves error concatenated codes (CSCC) [1], CRC-CC has been widely performance by iteratively updating the extrinsic information applied in wireless communications, for example, in an IS-95 based on the CRC parity check matrix. Assuming errors only system. Various approaches are available to recover erroneous happen in unreliable bits characterized by small absolute values packets following the Viterbi decoding stage. One of them is of the log-likelihood ratio (LLR), we also develop a partial IDD based on the list Viterbi algorithm (LVA), which produces a (P-IDD) alternative which exhibits comparable performance to IDD by updating only a subset of unreliable bits.
    [Show full text]
  • Low Density Parity Check Encoder and Decoder on Silago Coarse Grain Reconfigurable Architecture
    DEGREE PROJECT IN ELECTRICAL ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2019 Low Density Parity Check Encoder and Decoder on SiLago Coarse Grain Reconfigurable Architecture WEIJIANG KONG KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE Abstract Low density parity check (LDPC) code is an error correction code that has been widely adopted as an optional error correcting operation in most of today’s communication protocols. Current design of ASIC or FPGA based LDPC accelerators can reach Gbit/s data rate. However, the hardware cost of ASIC based methods and related interface is considerably high to be integrated into coarse grain reconfigurable architectures (CGRA). Moreover, for platforms aiming at high level synthesis or system level synthesis, they don’t provide flexibility under low-performance low-cost design scenarios. In this degree project, we establish connectivity between SiLago CGRA and a typical QC-LDPC code defined in IEEE 802.11n standard. We design lightweight LDPC encoder and decoder blocks using FSM+Datapath design pattern. The encoder provides sufficient throughput and consumes very little area and power. The decoder provides sufficient performance for low speed modulations while consuming significantly lower hardware resources. Both encoder and decoder are capable of cooperating with SiLago based DRRA through standard Network on Chip (NOC) based shared memory, DiMArch. And extra hardware for interface is no longer necessary. We verified our design through RTL simulation and synthesis. Encoder went through logic and physical synthesis while decoder went through only logic synthesis. The result acquired proves that our design is closely coupled with the SiLago CGRA while provides a solution with low- performance and low-cost.
    [Show full text]
  • Reed-Solomon Encoding and Decoding
    Bachelor's Thesis Degree Programme in Information Technology 2011 León van de Pavert REED-SOLOMON ENCODING AND DECODING A Visual Representation i Bachelor's Thesis | Abstract Turku University of Applied Sciences Degree Programme in Information Technology Spring 2011 | 37 pages Instructor: Hazem Al-Bermanei León van de Pavert REED-SOLOMON ENCODING AND DECODING The capacity of a binary channel is increased by adding extra bits to this data. This improves the quality of digital data. The process of adding redundant bits is known as channel encod- ing. In many situations, errors are not distributed at random but occur in bursts. For example, scratches, dust or fingerprints on a compact disc (CD) introduce errors on neighbouring data bits. Cross-interleaved Reed-Solomon codes (CIRC) are particularly well-suited for detection and correction of burst errors and erasures. Interleaving redistributes the data over many blocks of code. The double encoding has the first code declaring erasures. The second code corrects them. The purpose of this thesis is to present Reed-Solomon error correction codes in relation to burst errors. In particular, this thesis visualises the mechanism of cross-interleaving and its ability to allow for detection and correction of burst errors. KEYWORDS: Coding theory, Reed-Solomon code, burst errors, cross-interleaving, compact disc ii ACKNOWLEDGEMENTS It is a pleasure to thank those who supported me making this thesis possible. I am thankful to my supervisor, Hazem Al-Bermanei, whose intricate know- ledge of coding theory inspired me, and whose lectures, encouragement, and support enabled me to develop an understanding of this subject.
    [Show full text]