Plaque It!
Sponsored by: Flash of Genius |
[0001] This invention relates to electronic signal transmission, and more particularly to using all-digital Phase-locked loops (PLL's) in modulators and demodulators.
[0002] Digital implementations of phase-locked loops (PLL's) are widely used in various applications, such as digital communications and clock/data recovery. Conventional implementations of digital phase-locked loops normally use a numerically controlled oscillator (NCO) as the frequency source. An NCO (also known as a digitally controlled oscillator or DCO), particularly one implemented as counter, suffers from phase resolution or frequency granularity at high frequency.
[0003] Another type of digital PLL uses a set of multi-phase clocks rather than a variable-frequency oscillator. Using Multi-phase clocks can improve the phase resolution of digitally implemented oscillators. Phase resolution is improved by sequentially selecting a phase (in ascending and descending order) from the multiphase clocks and then feeding the selected phase to a clock divider. Thus, a variable digital oscillator is constructed whose phase can be finely adjusted without altering the nominal oscillation frequency.
[0004] Analog components, such as a tapped delay line or a voltage-controlled oscillator (VCO), have been used for some oscillator applications, such as modulating or de-modulating signals in communications systems. However, these analog components are difficult to integrate with large digital system chips. Thus all-digital oscillators are preferable.
[0005]
[0006] Phase detector
[0007] Up/down counter
[0008] Multi-phase clock generator
[0009] The frequency of multi-phase clocks
[0010] However, IN_CLK and REF_CLK may be asynchronous. When the frequency of multi-phase clocks
[0011]
[0012] While such digital PLL's that employ multi-phase clocks are useful as basic oscillators for generating clocks, the use of these digital PLL's in other applications is desirable. In particular, the use of multi-phase clocks for signaling and communication systems is desirable. Rather than simply use a digital PLL to generate fixed-frequency clocks, it is desired to modulate the frequency to encode signals, such as with phase modulation and frequency modulation (FM). It is desired to encode and decode signals for transmission using multi-phase clocks and a structure similar to a digital PLL. An all-digital phase modulator and demodulator using multi-phase clock rotation is desirable.
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021] The present invention relates to an improvement in signal modulators. The following description is presented to enable one of ordinary skill in the art to make and use the invention as provided in the context of a particular application and its requirements. Various modifications to the preferred embodiment will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.
[0022]
[0023] Analog front end
[0024] Phase rotator
[0025] The other output of phase rotator
[0026] Feedback divider
[0027] Analog front end
[0028] Limiter
[0029] The digital sequence x1(n) is applied to up/down counter
[0030]
[0031] The discrete phase changes on modulated carrier θR contain the digitized information for the analog input x(t). The discrete phase changes on θR follow analog input x(t). Modulated carrier θR can be transmitted over a communications medium and received by a receiver that contains a demodulator.
[0032]
[0033] The count value from up/down counter
[0034] The selected clock ΦR is divided by divider
[0035] The count value from up/down counter
[0036] Converter
[0037]
[0038] A constant-phase feedback clock Φ0 is also output by phase rotator
[0039] Digital input signal x(n) is encoded by bit mapper
Phase Assignment Table Bits Phase Assignment 000 φ 0 001 φ 1 010 φ 2 011 φ 3 100 φ 4 101 φ 5 110 φ 6 111 φ 7
[0040] Bit mapper
[0041]
[0042] The duration of each phase assignment is a few clock cycles of the modulation carrier, feedback signal θ
[0043] When digital input x(n) changes by a large value, such as from 00 to 11, the phase assignment θR changes over several clock cycles. The bit mapper first changes from 00 to 01, incrementing the counter and causing Φ1 to be selected, then increments to 10, selecting Φ2, before finally incrementing the counter to 11, selecting the final phase Φ
[0044]
[0045] The count value from up/down counter
[0046] The count value from up/down counter
[0047] Digital output signal x'(n) is a reconstruction of digital signal x(n) of
[0048] Phase-modulated carrier θR (
[0049] Data detector
[0050] Frequency Offset
[0051] The set of multiphase clocks can have the same exact frequency as the one used for the phase-modulated signal if it is available locally. A set of multiphase clocks which has a small frequency offset relative to the phase-modulated signal can also be used in demodulating the signal. If the frequency offset is within 100 parts-per-million (ppm), for instance, one clock cycle could potentially slip after 10,000 clock cycles (or an error of one tenth of a clock cycle after 1,000 clock cycles). The invention can also take advantage of the small frequency offset to demodulate an incoming signal. This can be done by periodically synchronizing the demodulator.
[0052] The information to be transmitted can be first divided into smaller frames or packets. Data encoding can be used so that a unique pattern can be defined as a “frame sync pattern”. The frame sync pattern, which is used to synchronize the demodulator, marks the beginning of a frame transmission. The frame sync pattern is followed by a data field. The frame then terminates with an “idle pattern”. The idle pattern serves as a gap between frame transmissions. A simple 3-bit to 6-bit encoding is shown below:
Encoding Table 3-bit Data 6-bit Encoded Data 000 000 000 001 000 001 010 000 010 011 000 011 100 000 100 101 000 101 110 000 110 111 000 111
[0053] Data encoding can be done by preceding the 3-bit data with 000. The pattern 000 001 010 011 (octal 0123) can be defined as the frame sync pattern since it is a unique pattern. Another unique pattern could be defined as the idle pattern.
[0054] The receiver constantly searches for the frame sync pattern (a sequence of 4 consecutive phase assignments: Φ0, Φ1, Φ2, Φ3), which indicates the beginning of a new frame. The receiver then decodes the data field based on the content of the up/down counter that corresponds to the frame sync pattern for each frame reception. Thus, if the frame sync pattern corresponds to octal 1234 of the up/down counter, then the up/down counter values 001, 010, 011, . . . 111, 000 with each preceded by 000 correspond respectively to the originally transmitted binary values of 000,001,010, . . . 110, 111.
[0055] The frame sync pattern would correspond to different values of the up/down counter over time due to the frequency offset.
[0056] The digital nature of this class of digital PLL/demodulator makes it amenable for an all-digital VLSI implementation, alleviating some of the technical difficulties encountered in mixed-signal design applications. The dynamic behavior of this class of digital PLL/demodulator is not only well behaved, but is also inherently stable. The very fine phase resolution that can be provided by the multiphase clocks enables this class of digital PLL/demodulator to operate at high frequency.
[0057] Several other embodiments are contemplated by the inventor. For example additional components may be added, and inversions or active-low signals may be used. Banks of phase rotators may be used. A nested counter and nested phase rotators may be used to select the multi-phase clock in a multi-level scheme. Various filtering can be added, such as to smooth the loop responses. Rather than use the first multi-phase clock Φ0 for feedback, other multi-phase clocks could be selected as the fixed clock. The feedback and output dividers could use different divisors N, P rather than the same divisor. The multi-phase clocks could be a subset of the possible phases, such as by skipping every other phase, or only using one-quarter of the possible phases.
[0058] Voltage limiter
[0059] Converter
[0060] The fixed-phase clock Φ0 could be one of the multi-phase clocks or it could be another clock with a same frequency as the multi-phase clocks, or could have a frequency already divided down from the frequency of the multi-phase clocks.
[0061] The phase rotator can be implemented using transmission gates, multiplexers, or other selection logic. Since the up/down counter is incremented and decremented by one, and does not jump by values greater than one per clock cycle during normal operation, the phase selected by the phase rotator only changes by one phase offset per clock cycle. Large phase shifts can take place over several clock cycles. Other encodings may be used, such a Manchester-type encodings.
[0062] The abstract of the disclosure is provided to comply with the rules requiring an abstract, which will allow a searcher to quickly ascertain the subject matter of the technical disclosure of any patent issued from this disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. 37 C.F.R. § 1.72(b). Any advantages and benefits described may not apply to all embodiments of the invention. When the word “means” is recited in a claim element, Applicant intends for the claim element to fall under 35 USC § 112, paragraph 6. Often a label of one or more words precedes the word “means”. The word or words preceding the word “means” is a label intended to ease referencing of claims elements and is not intended to convey a structural limitation. Such means-plus-function claims are intended to cover not only the structures described herein for performing the function and their structural equivalents, but also equivalent structures. For example, although a nail and a screw have different structures, they are equivalent structures since they both perform the function of fastening. Claims that do not use the word means are not intended to fall under 35 USC § 112, paragraph 6. Signals are typically electric signals, but may be converted to optical signals such as can be carried over a fiber optic line as the communications medium, or converted to radio waves or other radiation for transmission over an “airwave” medium.
[0063] The foregoing description of the embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.