SBOA550 October 2022 OPA1671 , OPA2990 , SN74HCS04 , SN74HCS164 , SN74HCS30 , SN74LVC1G00 , SN74LVC1G123 , TLC04 , TLC14 , TS5A9411
Consider an even-length Johnson counter of length N driving weighted resistors (conductors, ) as shown into a current summing node at the inverting input of the op amp. For symmetry reasons assume the flip-flops output is ±1 V representing normalized high and low states, see Figure A-1.
When all flip-flops are high (11…11), maximum positive current flows into the virtual ground at the op amp, corresponding to the peak of the cosine function. To normalize the overall Thevenin circuit conductance to 1S (1 Ω) let IPEAK = 1 A. The contributions of the resistors are weighted to form the steps along the cosine waveform as follows in Figure A-2, summing to 1 A.
For each when both resistors are driven high by their respective flip-flops, see Equation 5.
Using a trigonometric identity and simplifying Equation 5 yields Equation 6.
Converting each conductance to a resistance,
Recall is normalized to 1 Ω; to get the desired overall Thevenin output resistance RO, each resistor must be scaled by RO, see Equation 8.
For an odd-length register, the value for the lone middle resistor is computed separately as Equation 9 and Equation 10 show.