Technical Field
The present invention relates to a digital demodulation system, and more particularly, to a digital system for demodulation of phase shift keyed signals.
Background Art
In prior art digital detection systems for phase shift keyed signals, recovery of the carrier signal is essential for operation. For example, in U.S. Pat. No. 3,993,956, a Costas loop is used to recover the carrier signal and control the detection circuits. Until carrier synchronization is obtained in the Costas loop, the demodulation of data cannot take place. In addition, the data is demodulated a full bit at a time. None of the prior art systems provide for immediate and continuous demodulation of the received DPSK signals.
Summary of the Invention
It is a general object of the present invention to provide an improved digital demodulator for PSK and DPSK signals.
It is another object of the present invention to provide an improved digital demodulator that continuously demodulates PSK and DPSK signals.
It is a further object of the present invention to provide an improved digital demodulator for PSK and DPSK signals that does not require DPSK carrier synchronization.
In practicing the invention, a digital demodulator for PSK and DPSK digital signals includes an oscillator for providing a master clock signal at a multiple of the carrier frequency, timing circuitry responsive to the oscillator for providing first and second quadrature-related clock signals at the carrier frequency, a sampler for digitally sampling the PSK signal at the master clock frequency and first and second multipliers for multiplying the sampled PSK signal and the first and second clock signals to provide first and second output signals. The first and second output signals are then serially shifted through first and second pairs of 1-bit integrators, respectively. Each PSK bit is subdivided into a number of bits, for example 15 bits. Each 1-bit integrator provides a binary-weighted output signal having, for example, 4-bits. The binary weighted output signals from each pair of one bit integrators are sine weighted, multiplied, added and thereafter applied to a comparator. The comparator provides the demodulated digital signal. The binary state of the demodulated digital signal is determined by comparison of the results of the addition with a predetermined reference signal. For example, a logic zero state may be provided when the results of the addition is less than the predetermined reference signal, and a logic one state may be provided when the results of the addition is greater than the predetermined reference signal.
The PSK signal may include a digital message preceded by a digital start signal having a predetermined number of bits arranged according to a predetermined bit pattern. The demodulated digital signal from the comparator may be applied to a correlator which provides a message indication signal when detecting the presence of the predetermined bit pattern of the digital start signal. Processing of the following digital message may be performed in response to the message indication signal from the correlator.
Brief Description of the Drawings
FIG. 1 is a block diagram of a digital demodulator embodying the present invention.
FIG. 2 illustrates the waveforms of the control timing signals of the digital demodulator of FIG. 1.
FIG. 3 illustrates the waveforms of the modulated and demodulated data for the digital demodulator of FIG. 1.
Detailed Description of the Invention
In FIG. 1, there is illustrated a digital demodulator embodying the present invention. The digital demodulator may be advantageously utilized in a DPSK or PSK signal receiver. The preferred embodiment of the digital demodulator of the present invention demodulates DPSK signals. The DPSK signal 154 may be a continuous serial bit stream or may be a serial digital signal including a digital message preceded by a digital start signal having a predetermined number of bits in a predetermined bit pattern. The digital start signal may be any of a number of suitable start or synchronization signals, such as those described in U.S. Pat. No. 3,586,776 or in U.S. patent application Ser. No. 830,951, entitled "Method and Apparatus for the Synchronization of Data Bit Streams" by John En, filed on Sept. 6, 1977 and assigned to the instant assignee.
The demodulated digital signal 155 from the digital demodulator of FIG. 1 may be applied to a correlator (not shown) which continuously monitors the demodulated data for the predetermined bit pattern of the digital start signal. Upon recognition of the digital start signal, the correlator may provide a message indication signal marking the beginning of the digital message. The digital message following the digital start signal may then be utilized in any suitable manner, such as controlling the operation of the digital receiver and updating information stored in the digital receiver. For example, the digital message may be used to control the operation of a printer, as described in the aforementioned U.S. Pat. No. 3,586,776.
A typical waveform of the squared up DPSK signal 154 that is applied to sampler 100 is shown in FIG. 3. According to DPSK modulation, the phase of the carrier is shifted 180.degree. for every logic one that is transmitted and is not shifted for logic zeroes that are transmitted. Thus, for the digital signal of FIG. 3, the phase of the carrier is shifted for the logic one at 300 and is not shifted for the logic zero at 301. The DPSK signal receiver, such as an FM radio receiver, detects the DPSK signal and provides the squared up DPSK signal 154 of FIG. 3.
In the preferred embodiment, the DPSK signal is transmitted at a carrier frequency of 1800 Hz and at a bit rate of 1200 Hz. Thus, each bit of the digital signal is comprised of one and one-half cycles of the carrier signal (see FIG. 3).
The operation of the digital demodulator of FIG. 1 is synchronized to the master clock signal 150 provided by the oscillator 102. In the preferred embodiment, the master clock signal 150 has a frequency of 36 kHz (see FIG. 2). The control timing logic 101 appropriately divides, as is known in the art, the master clock signal 150 to provide an 18 kHz clock signal 151 which is utilized to synchronize and clock the various functional blocks of the digital demodulator. The control timing logic 101 further provides an 1800 Hz clock signal 152 and a quadrature 1800 Hz clock signal 153, that is phase-shifted by 90.degree. from the 1800 Hz clock signal 152. The clock signals 152 and 153 are applied to EXCLUSIVE OR gates 103 and 104, respectively. The EXCLUSIVE OR gates 103 and 104 multiply the sampled DPSK signal from sampler 100 with the clock signals 152 and 153, respectively.
The multiplied output signals from the EXCLUSIVE OR gates 103 and 104 are then applied to the 1-bit integrators 105-106 and 107-108, respectively. Each 1-bit integrator includes a shift register 109, 110, 115, 116 and an up/down counter 111 to 114. In the preferred embodiment, the shift register stores 15 bits, which corresponds to one complete DPSK bit. Thus, integrators 105-106 and integrators 107-108 provides storage for two successive DPSK bits.
The multiplied output signals from the EXCLUSIVE OR gates 103 and 104 provide signals which, over the time interval of one DPSK bit, have a logic one versus logic zero ratio proportional to the phase difference between the sampled DPSK signal and the respective clock signals 152 and 153. The up/down counters 111 to 114 provide a binary weighted output signal having four bits, which is proportional to the logic one versus logic zero ratio of the DPSK bit stored in the corresponding shift registers. Furthermore, the weighted output signal from each of the up/down counters 111 to 114 is provided continuously for each of the 15 bits of the DPSK bit stored in the corresponding shift register.
The weighted output signal from each of the up/down counters 111 to 114 is derived from the input bit and output bit of the corresponding shift register according to the following:
(a) if the input bit is a logical one and the output bit is a logical zero, the weighted output signal is incremented by one.
(b) If the input bit is a logical zero and the output bit is a logical one, the weighted output signal is decremented by one.
(c) If the input bit is the same logical state as the output bit, the weighted output signal remains unchanged.
Each pair of 1-bit integrators 105-106 and 107-108 continuously provide a pair of weighted output signals such that the phase difference may be continuously taken between the DPSK signal and the clock signals 152 and 153 over the time interval of two DPSK bits. Since there are 15 bits in the shift registers for each DPSK bit, the phase difference may be taken 15 times for each DPSK bit. By ascertaining the phase difference between the two successive DPSK bits, the logical state of the data bits can then be readily ascertained.
Next, each of the binary weighted output signals from the up/down counters 111 to 114 is sine weighted. The sine weighted signals are multiplied together and the products are then added. The multiplication of the sine weighted signals can be expressed by the following equations where .theta..sub.i is the phase of the DPSK bit in shift registers 109 and 115, .theta..sub.i-1 is the phase of the DPSK bit in shift registers 110 and 116 and .theta..sub.o is the phase difference between the DPSK signal and the clock signals 152 and 153:
The sum of equations (1) and (2) is provided by adder 120 and may be trigonometrically reduced resulting in the following equation (3):
Equation (3) provides the cosine of the phase difference between the successive DPSK bits stored in each pair of shift registers. The derivation of the foregoing equations is detailed in U.S. Pat. No. 3,993,956.
The phase difference between the successive DPSK bits in the shift registers is continuously taken 15 times for each DPSK bit. Since the phase difference is continuously taken, it is not necessary to recover the carrier signal of the received DPSK signal. For each received DPSK bit, 15 bits are provided on the demodulated digital signal 155 to the correlator. The demodulated digital signal is delayed relative to the received DPSK signal by the time interval of one DPSK bit. Since the correlator receives the demodulated digital signal asynchronously, the correlator continuously monitors the demodulated digital signal for the digital start signal. For example, the correlator may load in response to the 18 kHz clock signal a register with a number of demodulated bits corresponding to the predetermined number of bits of the digital start signal, while continuously monitoring the demodulated bits in the register for the predetermined bit pattern of the digital start signal.
Once detecting the digital start signal in the register, the correlator may provide a message indication signal marking the beginning of the following digital message. Additional circuitry in the DPSK signal receiver may utilize the message indication signal to prepare other circuitry for receiving following data. The additional circuitry may recover the clock signal of the received DPSK signal if necessary for its particular function. Prior art techniques for data and clock recovery, such as those described in U.S. Pat. No. 3,980,824, can be utilized in the additional circuitry of the DPSK signal receiver.
The foregoing demodulation of the DPSK signal is provided by the data selector 117, read-only memory (ROM) 118, latch 119, adder 120 and comparator 121. The sine weighting and multiplication may be provided by individual functional blocks, as described in U.S. Pat. No. 3,993,956, or may be provided as illustrated here by the ROM 118. The ROM 118 contains the sine weighted and multiplied values for all possible values of the binary weighted output signals from each pair of integrators 105-106 and 107-108. The ROM 118 is addressed by either the A inputs or B inputs from the data selector 117. The data stored in the ROM 118 at the address from the data selector 117 is the sine weighted and multiplied value of the pair of binary weighted output signals from each pair of 1-bit integrators 105-106 and 107-108.
For each of the 15 bits corresponding to a DPSK bit, the data selector 117 first routes the A inputs, and next the B inputs, to the ROM 118. The data outputs from the ROM 118 for the data selector A inputs are temporarily stored in latch 119 until the ROM data outputs for the data selector B inputs are available. The latched outputs from latch 119 are then added to the succeeding ROM data outputs by binary adder 120, and the sum from the adder 120 is applied to comparator 121. The comparator 121 compares the sum from the adder 120 to a predetermined reference for ascertaining the logic state of the demodulated digital signal. For example, the comparator 121 may have a reference centered at zero, plus and minus a predetermined hysteresis. If consecutive DPSK bits are out of phase, the adder 120 will continuously present an output of -1. Conversely, if consecutive DPSK bits are in phase, the adder 120 will present an output of +1. Similarly, when the phase difference between consecutive DPSK bits changes, the adder output will also change correspondingly between +1 and -1.
The comparator 121 will then compare the adder output, which may be either +1 or -1, with the predetermined reference level of zero and provide a corresponding logical state, zero or one, on the demodulated digital signal. For example, the comparator 121 may provide a logic zero when the adder output is a +1 and a logic one when the adder output is a -1. The predetermined hysteresis of the reference level of the comparator 121 will tend to remove fluctuations around the zero crossing when the phase difference is changing between successive DPSK bits. Thus, the demodulated digital signal from the comparator 121 is comprised of 15 bits per DPSK bit, that are representative of the phase difference between consecutive DPSK bits. Furthermore, the demodulated digital signal will be delayed relative to the received DPSK signal by the time interval of one DPSK bit, as illustrated by the waveforms of FIG. 3.
The digital demodulator described hereinabove may be advantageously utilized for either PSK or DPSK signals having any suitable carrier frequency and bit frequency. The digital demodulator can readily compensate for a phase difference between the carrier signal and the clock signals 152 and 153. Furthermore, the digital demodulator may be constructed entirely from conventional digital integrated circuits.
The digital demodulator may also be configured with two ROM's 118, thereby eliminating the need for data selector 117 and latch 119. The first ROM may be fed by inputs A, formerly connected to the data selector 117, while the second ROM is fed by inputs B, formerly connected to the data selector 117. The ROM data outputs are then coupled directly to the adder 120 without the necessity of latch 119. The operation of the digital demodulator with two ROM's is essentially identical to the operation described hereinabove for the digital demodulator with one ROM.
The particular values stored in the ROM 118 are detailed in the following Table 1. The ROM address is listed first and the corresponding data word for that address is listed second. Both the ROM address and data words are expressed in hexadecimal based format. The ROM may be any of a number of commercially available ROM's or PROM's having the capacity of storing 256.times.9 bits. Storage for 9 bits is necessary since a sign bit is required in addition to an 8 bit value for each data word. For example, a custom ROM having a 256.times.9 bit capacity or two Signetics 1702A ROM's each having a 256.times.8 bit capacity can be utilized.
The digital demodulator of FIG. 1 can be mechanized using standard digital logic circuits, such as the CMOS logic circuits described in "The Semiconductor Data Library," Vol. 5, Series B, published by Motorola Semiconductor Products, Inc., 1976. Furthermore, the digital demodulator may be comprised of the digital logic circuits integratable into a suitable semiconductive substrate.