The present invention relates to a mixed-signal circuit wherein direct digital synthesis is applied.
In a mixed-signal environment state transitions in digital circuitry are an important origin for spurious components that are injected into analog circuitry.
This is true, especially in mixed-signal integrated circuits (ICs) where the substrate constitutes a transmission path between the digital and analog circuitry.
There are various mechanisms through which spurious signals are injected:
In data converters (DAC, ADC) with on-chip digital signal processing, there is also a concern regarding data-dependent power dissipation in the digital portions that can induce temperature variations and other deleterious effects in the analog circuitry.
In signal source applications, the generation of a carrier wave (CW) signal often requires extremely high signal fidelity, so the carrier wave application is very sensitive to the abovementioned spurious mechanisms. The spur introduction in itself is a concern, but often it is the data-dependent character that needs to be addressed, by trading off a higher noise floor for a better Spurious Free Dynamic Range (SFDR). There is a major challenge to reduce the data-dependent digital activity and temperature variations with an acceptable cost in digital resources.
Direct Digital Synthesis (DDS) is a flexible technique to generate carrier wave (CW) signals. A CW signal is generated according to Equation 1:
cw(kT)=ej2πp(kT)=cos(2πp(kT))+j sin(2πp(kT)) (eq. 1)
where p(kT) denotes the phase of the CW signal at time instant kT, with T the period of the sampling clock Clk and k an integer number. Note that Fclk=1/T is the sample rate frequency.
The digital circuitry supporting DDS based modulation is shown in
The phase-to-amplitude converter generates the cw(kT) signal, given a phase input signal p(kT). As shown in
Input tuning words di(kT) control the phase trajectory via the control port, e.g. to induce phase hops, frequency hops, frequency sweeps etc. Although the cw(kT) signal may wiggle fast and mandate a high sample rate 1/T, the tuning words di may have relatively low bandwidths that can be accommodated with a shared control port. Note that since the 2Π factor is taken into account in the phase-to-amplitude converter, all inputs, outputs and internal signals of the phase generator are in the range [−0.5, 0.5[. The optional Holdi signals provide additional control to either let computation proceed or hold the different stage states. Equation 3 shows the relationship between the z-transforms of the tuning word inputs Di(z) and the phase output P(z).
When the rotator R1 (
y(kT)=cw(kT)x(kT) (eq. 4)
Substitution of Equations 1 and 3 into Equation 4 results in Equation 5, which shows the relation between the tuning words di and the output y(kT).
Note that when the input signal x(kT) has a real or complex constant value, the rotator R1 resolves into a real or complex multiplier with constant factor. In case the constant value equals 1, the rotator R1 resolves altogether and y(kT)=cw(kT)=ej2πp(kT).
The following data type convention for signed fixed point data type is introduced
s<wl,iwl>
whereby wl represents the total word length, used for fixed point representation. It is equivalent to the total number of bits used in the type. The iwl notation denotes the integer word length and specifies the number of bits that are to the left of the binary point (.) in a fixed point number.
The phase signal p(kT) is of type s<wl, 0>, representing a value .x0xxxxxxxwl-1 with a signed range [−2−1, 2−1−2−wl]. This, combined with an implicit 2π multiplication in the PAC, results in a phase range [−π, π[, as required. So the integer bits of p(kT) can be neglected, as is the case for all signals si(kT) and di(kT) in
The present invention aims to provide a digital circuit for use in a mixed-signal circuit with improved performance. The invention further aims to provide a method for reducing the data dependency of toggle activity in a mixed-signal circuit.
The present invention is related to a digital circuit for use in a mixed-signal circuit. The digital circuit comprises:
In a preferred embodiment the first and second phase generator are further arranged for receiving a control signal for proceeding with or holding a computation.
The combining means preferably is a subtractor or an adder.
Advantageously the phase from said first or second phase generator is represented a number between −0.5 and 0.5.
In a specific embodiment the pseudo-random noise signal is a vector signal composed of one-bit elements.
In an advantageous embodiment the first and second phase-to-amplitude converters each comprise a lookup table wherein sine and cosine values are stored with a phase offset.
In an advantageous embodiment the first and second signal combining means are rotators arranged for modulating an input signal on a carrier wave output by the phase-to-amplitude converters.
The invention also relates to a mixed-signal circuit and to an integrated circuit comprising the digital circuit as previously described.
In a second aspect the invention relates to a method for reducing data dependency of toggle activity in a mixed signal circuit comprising a first circuit for direct digital synthesis. The method comprises the steps of applying a randomised signal to a phase generator of the first circuit for direct digital synthesis by combining the initial phase generator input signal with a pseudo-random noise signal and by feeding the pseudo-random noise signal to a second circuit for direct digital synthesis such that perturbation caused by applying the randomised signal to the first circuit is compensated for.
The present invention proposes digital circuitry wherein the detrimental effects of spurious signals in associated mixed-signal circuitry are drastically reduced. The proposed design displays an improved performance by achieving the following assets:
The Noise Generator (NG) generates a vector signal
The Subtractor (S) (or alternatively an adder) is a vector operator that perturbates the input signal
To compensate for the perturbation on the tuning words that are applied to DDS1, compensation circuitry DDS2 is devised such that equations 6 and 7 both apply.
The Ni(kT) noise signals cause a y(kT) perturbation which is the complex conjugate of the z(kT). This phase inversion can be implemented in different places: in the phase-amplitude-converter PAC2, in rotator R2 or, as in
Substituting Equation (6) into (7) results in Equation (8), which is the relationship between the input signals Di(z) and x(kT) and the output signal y(kT).
Equation (8) is identical to Equation (5), so while the internal signals in
Although DDS2 needs to have the same input-output behaviour as DDS1 has (if phase inversion is not taken into account), the cost (area, power consumption) can be severely reduced versus a mere duplication of DDS1. The domains of ni(kT) values do not necessarily need to be the same as the di(kT) domains, meaning that each ni(kT) may have its specific word width (including zero width). For instance, if none of the randomization signals ni(kT) is of type <wli, 0> with wli>1, then all signals and operators in PG2 will only be one bit wide. Likewise, PAC2 and R2 will degenerate in very small logic since p′(kT) and cw′(kT) only have two possible values.
The ni(kT) signal types control the trade-off between the randomization degree and the incremental area cost. The choice is determined by heuristic and experimentation.
Further measures can be taken in order to improve the performance of the proposed design. In two's complement arithmetic, a higher than average toggle density occurs in a particular signal at a zero crossing between two small absolute values. For instance, a transition from the largest negative value 0xFFFFFFFFFFFF to the smallest positive value 0x000000000000 has the maximal amount of transitions. Since sin(p(kT))≈p(kT) for |p(kT)|≈0, this toggle intensive zone for the phase generator and the phase-amplitude converter coincide. Given the periodic nature of these signals, this may cause spurs in the frequency domain. A way to address this issue is to store the values in the phase-to-amplitude converter with a phase shift of π/4. In other words, rather than computing (Eq. 1), the design computes Eq. 9.
The user can then compensate for the phase difference via the di(kT) tuning words.
Number | Date | Country | Kind |
---|---|---|---|
0709847.8 | May 2007 | GB | national |