Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]

Automatic phase detector for digital communications



Contributing Author  |   ED Online ID #6376  |   September 2, 1997

Article Rating: Not Rated

Digital communications equipment based on coherent detection need receivers that can generate a carrier synchronized signal from a suppressed carrier transmission. For example, in a two-phase carrier receiver such as BPSK, a common solution is to use a 2nd-order law device. If its input is a tone of frequency f0 with information in the phase Φ, its output is given by:

This signal is passed through a PLL that operates as a narrow-band bandpass filter around the frequency 2f0. Hence, if Φ = 0, the output phase also is 0. And if Φ = 180°, the output phase is 2 × 180° = 360° = 0°. Therefore, phase discontinuities are removed, and the PLL output is a continuous phase signal of frequency 2f0, where phase modulation has been eliminated. Then, a divider by 2 is sufficient to have a carrier synchronized with the received modulated signal. The same applies when using 4th-law devices with quadrature-carrier receivers, such as QPSK or QAM.

With this solution, we have a single phase, but its value can’t be guaranteed. For example, in a BPSK transmission, it can be stated that the PLL output is a synchronized carrier of frequency f0, but there’s no way of knowing whether the relative phase is 0° or 180°. A mistake in the relative phase can result in unexpected changes of the received “zeros” or “ones,” and vice versa. A block diagram depicts the carrier recovering process and the demodulator for a BPSK modulated signal (Fig. 1). The automatic phase detector is shown in the dashed lines.

In non-differential encoding, a phase reference adjustment is required to avoid false decoding. The usual solution is to transmit a known preamble at the start of some messages to permit phase adjustment. This is a good solution, albeit time-consuming in terms of preamble synchronization (training process). The approach presented is an alternative to phase discrimination based on the parity error bit of the UART. This alternative is useful in asynchronous phase communications and requires no preambles between the transmitter and the receiver. The circuit is based on the HD-6402 IC, which permits hardware detection of the parity error (Fig. 2).

The circuit operates on the principle that the correct phase reference permits a correct demodulation and, consequently, minimizes (and ideally, nullifies) reception errors. Incorrect phase references increase errors and, consequently, the number and the frequency of pulses in the parity error (PE) pin in the UART. The low-pass RaCa filter after the PE output gives a voltage value proportional to the number of errors, much like a voltage-to-frequency converter.

If this voltage is sufficient to activate the analog comparator (TL082 op-ampbased), the binary counter (4520) modifies their outputs. These outputs select, through the multiplexer (4052), one of the four phase references (0°, 90°, 180°, and 270°) given by the shift register (4015), whose outputs QA through QD are shifted versions of the recovered carrier. This system runs continuously like a tracking loop, until the correct phase reference is presented to the demodulator. At this moment parity errors are scarce, and a low voltage is presented to the analog comparator. This stops the phase tracking, and the system remains in the correct phase reference.

If some disturbance in the communication system produces new phase errors, the automatic phase-recovering loop runs again, searching for the correct reference.

The time constant of the RaCa filter and the comparator level (P1) are calibrated according to transmission speed. At 100 kbits/s, their values are Ra = 1 kΩ, Ca = 2.2 nF, and P1 ≈ 500 Ω. The loop clock is 666 kHz. Microswitches are added to enable manual phase selection. SW1 inhibits the automatic phase detector, and SW2 and SW3 select the phase reference.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (178 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (170 views today)
    3) Science Fiction Meets Science Fact In Today's Robot Research
    (99 views today)
    4) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (97 views today)
    5) Adjustment-Free Fan Controller For Under $1
    (90 views today)
    ALL TOP 20







    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources