2. the Composite Video Signal

Total Page:16

File Type:pdf, Size:1020Kb

2. the Composite Video Signal How to generate Color video signals in software using SX chips by Rickard Gunée http://www.rickard.gunee.com Featuring the games Tetris and Pong Copyright note How to generate color video signals in software using SX-chips © Rickard Gunée, 2003. You may distribute this document on in digital or printed form if the purpose is non commercial and the content is not modified in any way. 2 Generating color composite video signals in software, written by Rickard Gunée More info available at: http://www.rickard.gunee.com/projects Table of contents 1. BACKGROUND....................................................................................................................................... 5 2. THE COMPOSITE VIDEO SIGNAL. ................................................................................................... 7 2.1 HOW A STANDARD TV-SET WORKS....................................................................................................... 7 2.2 DIFFERENT TV STANDARDS.................................................................................................................. 8 2.3 THE INFORMATION IN THE VIDEO SIGNAL.............................................................................................. 8 2.4 THE SCAN-LINE ..................................................................................................................................... 9 2.5 PUTTING THE SCAN-LINES TOGETHER TO AN IMAGE.............................................................................. 9 2.6 VERTICAL SYNCHRONIZATION PULSES................................................................................................ 10 2.7 COLOR CODING. .................................................................................................................................. 10 2.8 QUADRATURE MODULATION............................................................................................................... 11 2.9 PUTTING IT ALL TOGETHER ................................................................................................................. 12 3. CREATING IT IN SOFTWARE .......................................................................................................... 13 3.1 THE BASICS FOR COLOR GENERATION ................................................................................................. 13 3.2 MATHEMATICAL TRICKS ..................................................................................................................... 13 3.3 KNOW YOUR HARDWARE .................................................................................................................... 14 3.4 OUR NEW PARAMETERS ...................................................................................................................... 15 3.5 PHASE ALTERNATING LINE................................................................................................................. 15 3.6 VIDEO OUTPUT HARDWARE................................................................................................................. 16 3.7 LIMITATIONS WITH COLORS ................................................................................................................ 16 3.8 USE OF PALETTE ................................................................................................................................. 17 3.9 OUTPUTTING MONOCHROME OBJECTS USING PALETTE ....................................................................... 18 3.10 COLORED TEXT LINES ....................................................................................................................... 18 3.11 EMULATORS...................................................................................................................................... 18 4. GAME SYSTEM .................................................................................................................................... 19 4.1 SCHEMATIC OVERVIEW....................................................................................................................... 19 4.2 JOYSTICKS .......................................................................................................................................... 20 4.3 THE OSCILLATOR................................................................................................................................ 20 4.4 TV CONNECTION................................................................................................................................. 21 4.5 PCB.................................................................................................................................................... 21 5. TETRIS ................................................................................................................................................... 23 5.1 HOW TO PLAY THE GAME. ................................................................................................................... 23 5.2 THE SOFTWARE................................................................................................................................... 23 6. PONG....................................................................................................................................................... 25 6.1 HOW TO PLAY THE GAME .................................................................................................................... 25 6.2 THE SOFTWARE................................................................................................................................... 25 7. CONCLUSIONS..................................................................................................................................... 27 APPENDIX A: COLOR TEST1 SOURCE CODE.................................................................................. 29 APPENDIX B: COLOR TEST2 SOURCE CODE.................................................................................. 35 APPENDIX C: TETRIS SOURCE CODE............................................................................................... 41 APPENDIX D: PONG SOURCE CODE.................................................................................................. 61 APPENDIX E: GAME SYSTEM PCB LAYOUT................................................................................... 81 Generating color composite video signals in software, written by Rickard Gunée 3 More info available at: http://www.rickard.gunee.com/projects 1. Background Back in early 1998 I made some experimenting using a PIC16F84 microcontroller (3MIPS of processor power) to generate composite B&W video signals on the fly in software, with two resistors as the only video hardware. I made the two classical games Pong and Tetris with this technique and published them including source on my homepage. Since then it has been built by several hundreds of people. During the Christmas 1998-1999 I got some PIC16F84-based Pong equipment from Scenix (nowadays known as Ubicom) and made some experiments to generate color video signals using an SX chip, but before I got any results my programmer broke down, at least that was what I believed, and I stopped developing it. In the early summer of 2001 I was told by people at Parallax that it was the early versions of the SX- chips that had a bug in them so my programmer was just fine, so they gave me some new chips and I PIC16F84-based Tetris continued my work. After some new experiments, calculating and many late hours and a bit of luck I got my TV to lock onto the color signal and by the end of summer I got a Tetris game up and running. During the fall I developed the Pong game, which was finished during the Christmas holidays 2001-2002. I didn’t release the games as there were some details left to take care of. I didn’t want to publish them until they were as perfect as possible due to my bad experience with my PIC-based games that were spread in early bad versions. Now in spring 2003 I decided that I shouldn’t do any more improvements of the games as I don’t have time to work on them and I got to stop sometime. The biggest remaining issue is that it only works good for NTSC, it is much harder to get a correct PAL signal in software, but that is a problem for someone else to solve. Another issue about the games was this text about generating color video signals that I wanted to finish before I released the games, to not get that many questions about video generation that I don’t have time to answer. After reading this document you will hopefully understand how to generate color composite video signals in software. To fully understand this you need mathematical knowledge at university level, some 5 RF-knowledge would also help a lot. SX-Tetris SX-Pong Generating color composite video signals in software, written by Rickard Gunée 5 More info available at: http://www.rickard.gunee.com/projects 2. The composite video signal. To understand anything about generating video signals in real-time, one must know how video-signals work in detail, so before we look at any code we'll have to talk about video signals. 2.1 How a standard TV-set works The electron beam drawing the screen The two part images becomes one whole image. A standard TV-set is built with a vacuum tube, which has a phosphor screen that an electron canon shoots at. When the electrons from the cannon hits the screen, light is emitted from the phosphor when the canon shoots electrons at it, and it also has a short afterglow making each pixel lit until the
Recommended publications
  • FMS6404 — Precision Composite Video Output with Sound Trap And
    FMS6404 — Precision Composite October 2011 FMS6404 Precision Composite Video Output with Sound Trap and Group Delay Compensation Features Description The FMS6404 is a single composite video 5th-order Video Output with Sound Trap 7.6MHz 5th-Order Composite Video Filter . Butterworth low-pass video filter optimized for minimum . 14dB Notch at 4.425MHz to 4.6MHz for Sound Trap overshoot and flat group delay. The device contains an Capable of Handling Stereo audio trap that removes video information in a spectral location of the subsequent RF audio carrier. The group 50dB Stopband Attenuation at 27MHz on . delay compensation circuit pre-distorts the signal to CV Output compensate for the inherent receiver intermediate . > 0.5dB Flatness to 4.2MHz on CV Output frequency (IF) filter’s group delay distortion. Equalizer and Notch Filter for Driving RF Modulator In a typical application, the composite video from the with Group Delay of -180ns DAC is AC coupled into the filter. The CV input has DC- restore circuitry to clamp the DC input levels during No External Frequency Selection Components . video synchronization. The clamp pulse is derived from or Clocks the CV channel. < 5ns Group Delay on CV Output All outputs are capable of driving 2VPP, AC- or DC- . AC-Coupled Input coupled, into either a single or dual video load. A single video load consists of a series 75Ω impedance . AC- or DC-Coupled Output matching resistor connected to a terminated 75Ω line. and Group Delay Compensation . Capable of PAL Frequency for CV This presents a total of 150Ω of loading to the part.
    [Show full text]
  • Multimedia Systems Part 12
    Multimedia Systems Part 12 Mahdi Vasighi www.iasbs.ac.ir/~vasighi Department of Computer Science and Information Technology, Institute for Advanced Studies in Basic Sciences, Zanjan, Iran To discuss: • Types of video signals • Analog Video • Digital Video Types of Video Signals Video Signals can be classified as 1. Composite Video 2. S-Video 3. Component Video Types - Composite Video • Used in broadcast TV’s • Compatible with B/W TV • Chrominance ( I & Q or U & V) & Luminance (Y) signals are mixed into a single carrier wave, which can be separated at the receiver • Mixing of signals leads interference & create crosstalk and visual defects (dot crawl) Types – S-Video o S stands Super / Separated o Uses 2 wires, one for luminance & the other for chrominance signals o Less cross talk Pin 1 Ground (Y) Pin 2 Ground (C) Pin 3 Intensity (Luminance) Pin 4 Color (Chrominance) o Humans have much higher acuity for luminescence part of images than for the color part of color images. o we can send less accurate color information than must be sent for intensity information Types – Component Video o Each primary is sent as a separate video signal. The primaries can either be RGB or a luminance- chrominance transformation of them (e.g., YIQ, YUV). Best color reproduction . Requires more bandwidth and good synchronization of the three components Types – Component Video SONY Bravia KDL-46XBR4 Analog Video o Represented as a continuous (time varying) signal o Brightness is a monotonic function of the voltage o Sweeping an electrical signal horizontally across the display one line at a time.
    [Show full text]
  • FM Stereo Format 1
    A brief history • 1931 – Alan Blumlein, working for EMI in London patents the stereo recording technique, using a figure-eight miking arrangement. • 1933 – Armstrong demonstrates FM transmission to RCA • 1935 – Armstrong begins 50kW experimental FM station at Alpine, NJ • 1939 – GE inaugurates FM broadcasting in Schenectady, NY – TV demonstrations held at World’s Fair in New York and Golden Gate Interna- tional Exhibition in San Francisco – Roosevelt becomes first U.S. president to give a speech on television – DuMont company begins producing television sets for consumers • 1942 – Digital computer conceived • 1945 – FM broadcast band moved to 88-108MHz • 1947 – First taped US radio network program airs, featuring Bing Crosby – 3M introduces Scotch 100 audio tape – Transistor effect demonstrated at Bell Labs • 1950 – Stereo tape recorder, Magnecord 1250, introduced • 1953 – Wireless microphone demonstrated – AM transmitter remote control authorized by FCC – 405-line color system developed by CBS with ”crispening circuits” to improve apparent picture resolution 1 – FCC reverses its decision to approve the CBS color system, deciding instead to authorize use of the color-compatible system developed by NTSC – Color TV broadcasting begins • 1955 – Computer hard disk introduced • 1957 – Laser developed • 1959 – National Stereophonic Radio Committee formed to decide on an FM stereo system • 1960 – Stereo FM tests conducted over KDKA-FM Pittsburgh • 1961 – Great Rose Bowl Hoax University of Washington vs. Minnesota (17-7) – Chevrolet Impala ‘Super Sport’ Convertible with 409 cubic inch V8 built – FM stereo transmission system approved by FCC – First live televised presidential news conference (John Kennedy) • 1962 – Philips introduces audio cassette tape player – The Beatles release their first UK single Love Me Do/P.S.
    [Show full text]
  • An Analysis of a Quadrature Double-Sideband/Frequency Modulated Communication System
    Scholars' Mine Masters Theses Student Theses and Dissertations 1970 An analysis of a quadrature double-sideband/frequency modulated communication system Denny Ray Townson Follow this and additional works at: https://scholarsmine.mst.edu/masters_theses Part of the Electrical and Computer Engineering Commons Department: Recommended Citation Townson, Denny Ray, "An analysis of a quadrature double-sideband/frequency modulated communication system" (1970). Masters Theses. 7225. https://scholarsmine.mst.edu/masters_theses/7225 This thesis is brought to you by Scholars' Mine, a service of the Missouri S&T Library and Learning Resources. This work is protected by U. S. Copyright Law. Unauthorized use including reproduction for redistribution requires the permission of the copyright holder. For more information, please contact [email protected]. AN ANALYSIS OF A QUADRATURE DOUBLE- SIDEBAND/FREQUENCY MODULATED COMMUNICATION SYSTEM BY DENNY RAY TOWNSON, 1947- A THESIS Presented to the Faculty of the Graduate School of the UNIVERSITY OF MISSOURI - ROLLA In Partial Fulfillment of the Requirements for the Degree MASTER OF SCIENCE IN ELECTRICAL ENGINEERING 1970 ii ABSTRACT A QDSB/FM communication system is analyzed with emphasis placed on the QDSB demodulation process and the AGC action in the FM transmitter. The effect of noise in both the pilot and message signals is investigated. The detection gain and mean square error is calculated for the QDSB baseband demodulation process. The mean square error is also evaluated for the QDSB/FM system. The AGC circuit is simulated on a digital computer. Errors introduced into the AGC system are analyzed with emphasis placed on nonlinear gain functions for the voltage con­ trolled amplifier.
    [Show full text]
  • User Manual 8X4 Composite Video/S-Video and Analog
    User Manual 8x4 Composite Video/S-Video and Analog Audio Matrix Switcher With IR & RS 232 Control / RS 232 Driver for Win98/2000/XP AT-SAV-84M Toll free: 1-877-536-3976 Local: 1-408-962-0515 www.atlona.com TABLE OF CONTENTS 1. Introduction .................................................. 2 2. Features .................................................. 2 3. Specifications .................................................. 3 4. Package Contents .................................................. 3 5. Panel Descriptions .................................................. 3 5.1 Front Panel .................................................. 3 5.2 Rear Panel .................................................. 3 6. IR Codes .................................................. 4 7. RS-232 Commands .................................................. 5 8. Installation .................................................. 6 9. Safety Information .................................................. 7 10. Warranty .................................................. 8 11. Atlona Product Registration .................................................. 9 Toll free: 1-877-536-3976 Local: 1-408-962-0515 1 www.atlona.com INTRODUCTION Atlona Technologies’ AT-SAV-84M is a 8x4 S-Video/Composite Video/Analog Audio Matrix Switcher de¬signed to work as a switcher for multiple Audio/Video sources and displays. This Atlona unit is capable of switching Composite Video, S-Video and Stereo Audio signals between eight sources and four displays. Because it is a matrix switch,
    [Show full text]
  • High Definition Plasma and LCD Range Truly Advanced Viewing
    High Definition Plasma and LCD range Truly advanced viewing In 1956 we manufactured the F-100, Hitachi’s fi rst television. Since then and throughout the past half century Hitachi has been bringing consumers across the world immeasurable enjoyment by providing the ultimate image technology and the best TV pictures. Hitachi is not only a manufacturer of televisions but also an innovator in television technology. This spirit of innovation has driven us to create unique and original solutions including the ALIS Plasma panel, IPS Alpha LCD panel and image processors. Hitachi continues to invest heavily in proprietary manufacturing of these cutting edge High Defi nition devices with new factories opening in 2006 and beyond to supply the growing world market for fl at panel televisions. Although we are a leading global company, Hitachi is swift to respond to the needs of local markets. Australia is at the forefront of High Defi nition digital television and in 2007 Hitachi offers a range of HD Plasma and LCD televisions with integrated High Defi nition tuners designed to Australian specifi cations. The future vision of Hitachi is to continue pushing the boundaries of High Defi nition image technology forward - “Inspire the Next”. 50 years of research and development; no wonder our visual technology is so advanced. What’s the difference? Plasma and LCD may look similar but their fl at screen and thin profi le is where the similarities end. The main difference between the two types of screens is the technology that powers their images. To produce an image Plasma uses tiny gas cells that are powered by precise electrical charges to produce the picture.
    [Show full text]
  • A Muiti-Mode Modulation and Demodulation System and Method
    United States Patent [191 [11] Patent Number: 4,726,069 Stevenson [45] Date of Patent: Feb. 16, 1988 [54] A MUITI-MODE MODULATION AND Primary Examiner-Benedict V. Safourek DEMODULATION SYSTEM AND METHOD Attorney, Agent, or Firm-David O'Reilly [76] Inventor: Carl R. Stevenson, 845 N. Woods [571 ABSTRACT Ave., Fullerton, Calif. 92632 An improved system and method for modulation, de- [21] Appl. No.: 6l2,092 modulation and signal processing for single sideband communications systems which provides correction for [22] Filed. May 18,l984 the adverse effects of rapid fading characteristics in a [51] Int. c1.4 ............................................... H04B 7/00 mobile environment. The system provides modulation [52] US. c1. ........................................ 455/46; 455/47; through a modified Weaver modulator in which the 455/71; 455/202; 375/50; 375/61; 375/77; audio input is processed to produce an output in the 375/97; 329/50 form of an upper sideband having a pilot tone in a spec- [58] Field of Search ...................... 332/44, 45; 375/43, tral gap at approximately midband. The receiver in- 375/50,97, 100, 102; 455/46,47, 71, 202, 203, cludes a modified Weaver demodulator and a correc- 305, 306, 312,234, 235,245,296; 329/50 tion signal generating circuit which processes the re- t561 References Cited ceived faded audio input and pilot tone to produce a U.S. PATENT DOCUMENTS correcting signal. The correcting signal is mixed with the received signal to regenerate unfaded versions of 3,271,681 9/1966 MCN& ................................. 455147 both the signal and pilot by removing random ampli- 3,271,682 9/1966 Bucher, Jr.
    [Show full text]
  • NTSC Specifications
    NTSC Modulation Standard ━━━━━━━━━━━━━━━━━━━━━━━━ The Impressionistic Era of TV. It©s Never The Same Color! The first analog Color TV system realized which is backward compatible with the existing B & W signal. To combine a Chroma signal with the existing Luma(Y)signal a quadrature sub-carrier Chroma signal is used. On the Cartesian grid the x & y axes are defined with B−Y & R−Y respectively. When transmitted along with the Luma(Y) G−Y signal can be recovered from the B−Y & R−Y signals. Matrixing ━━━━━━━━━ Let: R = Red \ G = Green Each range from 0 to 1. B = Blue / Y = Matrixed B & W Luma sub-channel. U = Matrixed Blue Chroma sub-channel. U #2900FC 249.76° −U #D3FC00 69.76° V = Matrixed Red Chroma sub-channel. V #FF0056 339.76° −V #00FFA9 159.76° W = Matrixed Green Chroma sub-channel. W #1BFA00 113.52° −W #DF00FA 293.52° HSV HSV Enhanced channels: Hue Hue I = Matrixed Skin Chroma sub-channel. I #FC6600 24.29° −I #0096FC 204.29° Q = Matrixed Purple Chroma sub-channel. Q #8900FE 272.36° −Q #75FE00 92.36° We have: Y = 0.299 × R + 0.587 × G + 0.114 × B B − Y = −0.299 × R − 0.587 × G + 0.886 × B R − Y = 0.701 × R − 0.587 × G − 0.114 × B G − Y = −0.299 × R + 0.413 × G − 0.114 × B = −0.194208 × (B − Y) −0.509370 × (R − Y) (−0.1942078377, −0.5093696834) Encode: If: U[x] = 0.492111 × ( B − Y ) × 0° ┐ Quadrature (0.4921110411) V[y] = 0.877283 × ( R − Y ) × 90° ┘ Sub-Carrier (0.8772832199) Then: W = 1.424415 × ( G − Y ) @ 235.796° Chroma Vector = √ U² + V² Chroma Hue θ = aTan2(V,U) [Radians] If θ < 0 then add 2π.[360°] Decode: SyncDet U: B − Y = -┼- @ 0.000° ÷ 0.492111 V: R − Y = -┼- @ 90.000° ÷ 0.877283 W: G − Y = -┼- @ 235.796° ÷ 1.424415 (1.4244145537, 235.79647610°) or G − Y = −0.394642 × (B − Y) − 0.580622 × (R − Y) (−0.3946423068, −0.5806217020) These scaling factors are for the quadrature Chroma signal before the 0.492111 & 0.877283 unscaling factors are applied to the B−Y & R−Y axes respectively.
    [Show full text]
  • Connector Setup Guide
    Disconnect all power sources before making any connections Refer to User Manual for complete installtion instructions Débranchez toutes les sources d'énergie avant d'établir tous les rapports Référez-vous au manuel d'utilisateur pour des instructions complètes d'installtion Desconecte todas las fuentes de energía antes de hacer cualesquiera conexiones Refiera al manual de usuario para las instrucciones completas del installtion CONNECTOR SETUP GUIDE CONNECTORS EXCELLENT HDMI Cable BEST VGA BETTER YPbPr BETTER S-VIDEO GOOD (COMOPOSITE CVBS GOOD (RF) COAXIAL CONNECTIONS CABLE BOX/ SATELLITE BOX HDMI Cable 0235 S Video VCR PLAYER YPbPr Audio Cable Coaxial Cable GAME CONSOLE CVBS COMPUTER VGA DEFINITION OF CONNECTORS HDMI - (High-Definition Multimedia Interface) is an interface standard used for audiovisual equipment such S Video - Separate vidoe, abbreviated for Separate video and also known as Y/C is an analog video signal as high-definition television and home theater systems. With 19 wires wrapped in a single cable that that carries the video data as two separate signals, luma (~brightness) and chroma (colour), unlike resembles a USB wire, HDMI is able to carry a bandwidth of 5 Gbps (gigabits per second). This is more than composite video, which carries (lower-quality) picture information as a single signal, or component video, twice the bandwidth needed to transmit multi-channel audio and video, future-proofing HDMI for some time which carries (higher-quality) picture information as three separate signals, typically luma and two chroma to come. This and several other factors make HDMI much more desirable than its predecessors, component components. S-Video, as most commonly implemented, carries 480i or 576i resolution video, i.e.
    [Show full text]
  • Phase II: SAE J2931/1
    PNNL-22161 Prepared for the U. S. Department of Energy under Contract DE-AC05-76RL01830 Electric Vehicle Communications Standards Testing and Validation - Phase II: SAE J2931/1 R Pratt K Gowri December 2012 DISCLAIMER This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor Battelle Memorial Institute, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof. PACIFIC NORTHWEST NATIONAL LABORATORY operated by BATTELLE for the UNITED STATES DEPARTMENT OF ENERGY under Contract DE-AC05-76RL01830 Printed in the United States of America Available to DOE and DOE contractors from the Office of Scientific and Technical Information, P.O. Box 62, Oak Ridge, TN 37831-0062; ph: (865) 576-8401 fax: (865) 576-5728 email: [email protected] Available to the public from the National Technical Information Service, U.S. Department of Commerce, 5285 Port Royal Rd., Springfield, VA 22161 ph: (800) 553-6847 fax: (703) 605-6900 email: [email protected] online ordering: http://www.ntis.gov/ordering.htm This document was printed on recycled paper.
    [Show full text]
  • Introduction to Video Measurements Using an MDO/MSO/DPO Series Digital Phosphor Oscilloscope
    Introduction to Video Measurements Using an MDO/MSO/DPO Series Digital Phosphor Oscilloscope Application Note Introduction measurement sets and vectorscopes. Many, however, can be made quickly and easily with a general-purpose Whether you’re troubleshooting a video installation or oscilloscope - providing that the instrument has the right designing a new set top box, making video measurements acquisition and measurement capabilities. can be a major challenge. Video waveforms are complex and frequently combine the signals that represent the video In this application note, we will examine critical video picture with the timing information necessary to display the measurement issues and show how they relate to the picture. The signals can be in a variety of different standards capabilities of different kinds of oscilloscopes. We will also and formats, each with its own characteristics. Some demonstrate how to make common video measurements video measurements require specialized instruments, such using an MDO/MSO/DPO Series - MSO/DPO5000, MDO/ as industry-standard Tektronix waveform monitors, video MSO/DPO4000 and MDO/MSO/DPO3000 Series - digital phosphor oscilloscope. Application Note Conversion Processing Display Light Image Encoder Processing Decoding By Capture Standard R-Y Y B-Y Composite Video G R-Y Y B-Y B G B R Recording Matrix Conversion To Color Difference R Signals Monitor Digitizing DA R-Y B-Y Y Component Video Digital Processing R-Y M G a Analog t B Processing r B-Y i R Recording x Y Monitor Figure 1. Typical block diagram of a standard definition video system. Basic Video Standards and Formats Figure 1 shows a typical video system block diagram.
    [Show full text]
  • Pilot-Aided Frame Synchronization in Optical OFDM Systems
    applied sciences Article Pilot-Aided Frame Synchronization in Optical OFDM Systems Funmilayo B. Offiong 1,* , Sinan Sinanovi´c 2 and Wasiu O. Popoola 3 1 Department of Electronic and Electrical Engineering, Obafemi Awolowo University, Ile-Ife 220005, Nigeria 2 School of Engineering and Built Environment, Glasgow Caledonian University, Glasgow G4 0BA, UK; [email protected] 3 Institute for Digital Communications, University of Edinburgh, Edinburgh EH9 3JL, UK; [email protected] * Correspondence: fboffi[email protected] Received: 14 March 2019; Accepted: 27 April 2019; Published: 11 June 2020 Abstract: Efficient frame synchronization is essential for data recovery in communication systems. In this study, a single pilot sequence is used to achieve both frame synchronization and peak-to-average power ratio (PAPR) reduction. The two systems considered are direct-current biased optical orthogonal frequency division multiplexing (DCO-OFDM) and asymmetrically clipped O-OFDM (ACO-OFDM). The pilot symbol is allocated to odd indexed subcarriers only. Thus, the synchronization algorithm leverages the mirror symmetric property of the pilot symbol within a frame to detect the start of the pilot signal at the receiver. This scheme has low complexity and gives precise frame synchronization at signal-to-noise ratios as low as 4 dB in an indoor visible light communication (VLC) channel. Keywords: optical OFDM; pilot symbol; frame synchronization; symbol timing estimation; correlation-based method; optical wireless communication 1. Introduction Synchronization at the receiver of a practical orthogonal frequency division multiplexing (OFDM) system design is one of the most crucial data detection stages that must be performed accurately in order to avoid system performance degradation due to symbol timing and carrier frequency offset [1].
    [Show full text]