Design and analysis of bit synchronization extraction in digital communication system based on single chip microcomputer

Publisher:冰雪勇士Latest update time:2013-05-25 Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
In a digital communication system , the transmitter transmits each code element in a digital pulse sequence one by one in a certain time sequence. The receiver must have an accurate sampling decision moment to correctly judge the transmitted code element. Therefore, the receiver must provide a timing pulse sequence that determines the sampling decision moment. The repetition frequency of this timing pulse sequence must be consistent with the transmitted digital pulse sequence, and the received code element must be sampled and judged at the best decision moment (or the best phase moment). The generation of such a timing pulse sequence at the receiver can be called code element synchronization, or bit synchronization.

  The methods to achieve bit synchronization are similar to carrier synchronization. There are two methods: direct method (self-synchronization method) and pilot insertion method (external synchronization method). The direct method is divided into filtering method and phase-locked method. The method introduced in this article is implemented using the phase-locked loop in the direct method.

  1 Principle of digital lock phase synchronization extraction

  The digital communication system receiving end bit synchronization extraction usually adopts the digital phase locked loop DPLL (Digital Phase Locked Loop) as shown in Figure 1. DPLL consists of three components:

  (1) The digital phase detector (DPD) compares the phase of the received code element with the bit synchronization clock output by the local DCO and outputs a digital signal reflecting the phase difference.

  (2) The digital loop filter (DLF) filters the phase error digital signal output by the DPD, removes the influence of random noise, and outputs a more accurate phase error digital signal.

  (3) Digital Controlled Oscillator (DCO) is an oscillator composed of digital circuits. It outputs a bit-synchronous clock pulse CLK at the same rate as the received code element. Its phase can be advanced or delayed by the phase error digital signal and is finally phase-locked with the received code element.

  DPD and DCO are essential components of a digital phase-locked loop, and DLF can be added as needed. Each of the three components consists of a variety of circuits to form different digital phase-locked loops. The most typical digital phase-locked loop is a lead-lag digital phase-locked loop, also known as a differential rectification digital phase-locked loop, which can be implemented by the single-chip microcomputer system shown in Figure 2 when the code rate is not high. In the figure, edge detection is also called zero-crossing detection. It amplifies and shapes the input data signal DK1, and then transforms its jump edge (zero crossing point before shaping) into a narrow pulse ZCD, which is sent to the external interrupt input terminal INT1 of the single-chip microcomputer. The delay circuit in edge detection can be implemented with several levels of gates. The differential rectification circuit has the same function as the edge detection circuit.

  This digital phase-locked loop does not use DLF. The T0 timer in the MCU and its interrupt service routine realize the DCO function. When DK1 has no transition edge (no ZCD negative pulse), the MCU does not enter the INT1 interrupt service routine, and the T0 timing is the input code period Tb. When DK1 has a transition edge, it enters the INT1 interrupt service routine, first reads the current value of T0 and the expected value (Tb/2 time constant), and determines by comparison whether the DCO phase is ahead or behind the phase relationship between the DK1 data transition edge, and adjusts the DCO phase accordingly. If the DCO phase is ahead, set the T0 next cycle timing to Tb+δ to delay the DCO phase; if the DCO phase lags, set the T0 next cycle timing to Tb-δ to advance the DCO phase, and finally achieve DCO phase lock with the DK1 data phase. In short, the INT1 interrupt service routine realizes the DPD and DCO control functions, and the T0 timer and its interrupt service routine realize the DCO function. The T1 timer and its interrupt service program implement delay, i.e. phase shift, so that the phase difference between the last output bit synchronization clock CLK and DK1 (or DK2) is 0 or 180°: when the transmission system frequency band is not limited and MSK/FSK modulation and demodulation is adopted, DK1 is a square wave, and the receiving end adopts integration/sampling/judgment for detection, and the phase difference between the two should be 0, that is, CLK and DK1 data edges are aligned; when the transmission system frequency band is limited and GMSK/GFSK modulation and demodulation is adopted, DK2 (the signal of DK1 after LPF) is a bell-shaped pulse, and CLK should sample/judgment at the midpoint of DK2 code element, and the phase difference between the two is 180° or Tb/2, as shown in Figure 2(d). The T1 delay is controlled by the P1.4 input signal MSKC. The block diagram of the INT1, T0 and T1 interrupt service programs is shown in Figure 3. The main program steps after completing the initialization of the three interrupt sources and other initializations.

  The bit synchronization extraction digital phase-locked loop is implemented by CPU2, and its P1.4 input control signal MSKC comes from CPU1 and is determined by the working mode: in FSK/MSK working mode, MSKC=1; in GMSK/GFSK working mode, MSKC=0.

  For the received random digital signal, it can be approximately considered that the probability of 00, 01, 10, and 11 appearing in two adjacent code elements is equal, and half of them have data jumps. For a digital phase-locked loop without DLF, the phase can be adjusted once every data jump, so the phase can be adjusted once every 2Tb s on average, so the synchronization establishment time is:

  The digital phase-locked loop with DLF has a lower phase adjustment rate than the one without DLF, so the synchronous belt is smaller than formula (5).

  From equations (1), (2) and (5), we can see that the three performance indicators all depend on the DCO cycle adjustment step δ: the larger the δ, the larger the synchronization band, the shorter the synchronization establishment time, but the phase error increases. Therefore, δ should be selected in a compromise. Under the premise of ensuring that the phase-locked loop can be locked (synchronized), δ should be as small as possible to reduce the phase error.

  3 This design uses a single-chip microcomputer chip to implement digital circuit related devices, which simplifies the complex logic circuit design of related devices, reduces the power consumption and cost of the system, and improves the reliability of the system. There are many ways to achieve bit synchronization. This article discusses the use of digital phase-locked loop technology to extract bit synchronization signals. In bit synchronization extraction, how to shorten the synchronization establishment time, reduce the bit error and increase the synchronization holding time are the efforts of a good bit synchronization design.

Keywords:MCU Reference address:Design and analysis of bit synchronization extraction in digital communication system based on single chip microcomputer

Previous article:Brief Analysis of Transmitting Performance of 800MHz CDMA Base Station
Next article:Inverter refrigerator reference solution based on TMPM374 and IPD

Recommended ReadingLatest update time:2024-11-16 21:58

Introduction to 51 MCU - 16-channel buzzer
Design requirements At the same time, a quick-answer function is provided for the 16 participating teams. After a successful quick answer, the team number should be displayed through the digital tube, and the light-emitting diode should be lit to indicate a successful quick answer. An independent switch is added to
[Microcontroller]
Introduction to 51 MCU - 16-channel buzzer
Design of frequency measurement module circuit using microcontroller as core
introduction With the development and popularization of radio technology, "frequency" has become a physical quantity familiar to the general public. The emergence of microcontrollers has brought many major leaps to various measurement technologies, including frequency measurement. However, the advantages of small size
[Microcontroller]
Design of frequency measurement module circuit using microcontroller as core
STC12C5A60S2 MCU simple implementation of DHT11 source program
There are many programs on the Internet that implement DHT11, but most of them are about 89c52. There are very few about stc12c5a60s2. I am a novice. When I was writing about stc12 serial port receiving dht11 data, I found that all the received data were 0. Why is this? After searching a lot of information online, I
[Microcontroller]
Design of serial communication based on single chip microcomputer application system
1 Introduction In the power equipment status detection system of infrared imaging technology, the application system based on AT89C51 single chip microcomputer adopts the non-contact infrared thermometer model 3iLRL3 of American Ray State Company. The thermometer adopts the RS232C serial communication standard
[Microcontroller]
Design of serial communication based on single chip microcomputer application system
Based on the single chip microcomputer 89C51 to generate PWM signal to control the DC motor speed regulation program
Use T0 of 2051 to generate dual PWM signals to drive L293D or L298N to adjust the speed of the DC motor. The program has been debugged. /* =======DC motor PWM speed control program======== */  /* The crystal oscillator uses 11.0592M, and the generated PWM frequency is about 91Hz */ #include reg51.h   #include math
[Microcontroller]
51 MCU IIC & EEPROM driver
#include reg52.h #include "./delay/delay.h" sbit SCL = P2^0; sbit SDA = P2^1; bit ack = 0;   unsigned char flag = 1; #define LCDPORT P0 #define LCD_WRITE_DATA 1 #define LCD_WRITE_COM 0 sbit RS = P2^4; sbit RW = P2^5; sbit E = P2^6;   #define SUCC 0 #define ERR 1   void iic_start() { SDA = 1; //Operate SDA first, th
[Microcontroller]
Experiment 9 Infrared Receiver Microcontroller Decoding
1. Decode the infrared remote control and use it to achieve some simple control   /******************************************************************************* * lcd1602 display remote control connected to p3.2 * * * Press the button above to distinguish and display the button data on the remote control * * * Conne
[Microcontroller]
Design of digital B-ultrasound keyboard realized by single chip microcomputer
In the early days, the design of B-ultrasound products mostly used single-chip microcomputers and programmable devices (CPLD) to control the entire system. The keyboard was directly scanned and processed by the main control microcontroller, or the key scan was processed by a special single-chip microcomputer and commun
[Microcontroller]
Design of digital B-ultrasound keyboard realized by single chip microcomputer
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号