Author Topic: Fun circuit to play with  (Read 2318 times)

0 Members and 1 Guest are viewing this topic.

Online mawyattTopic starter

  • Super Contributor
  • ***
  • Posts: 3518
  • Country: us
Fun circuit to play with
« on: June 28, 2020, 02:45:09 pm »
The general idea, which was patented long ago (5030848) and won EDN Design Idea of the Year back somewhere in the 80s, is to use an ordinary CMOS Flip-Flop as a Voltage Divider, as well as the usual frequency divider. By using just two unmatched resistors, and a capacitor, with a CMOS FF it's possible to achieve ppm levels of precision almost independent of the resistor divider values. The resistors R1 and R2 are connected to the FF Q and Qbar outputs, and the capacitor C shunts the other resistors ends which are connected together, and called Vout. Neglecting FF timing and output characteristics Vout = Vdd(R2/(R1 +R2)), then on the next clock Vout = Vdd(R1/(R1 + R2)), C averages the result to precisely Vdd/2 independent of R1 or R2. The output characteristics of the FF have a small effect, as does the timing. If R1 and R2 are >> than the output Rp and Rn values (NMOS & PMOS Ron), then Rp and Rn have little effect, if the clock period is much longer than any FF timing skew (which causes duty cycle to slightly deviate from ideal 50%), then this has little effect. Interestingly a little circuit analysis shows the result with Rp and Rn included, Vout = (Vdd/2)( R1 + R2 +2Rn)/(R1 + R2 + Rn +Rp), thus is Rn= Rp then again Vout = Vdd/2.

This was simulated in LTspice and behaves as predicted by the circuit analysis.

Just for fun I built up a kludge setup on a jumper wire proto-board as shown. Found a couple 100K 1% resistors and a 1uF mylar cap. For the inverters we had some low Ron FETs that were in TO220 packages that just plug into the proto-board, any low Ron FETs should work. Since we didn't have a CMOS FF handy, and learning to program the Arduino, the Arduino was programmed to produce effective Q and Qbar FF outputs on pin 9 and 11 respectively. The Arduino delay was set to 10ms for toggling the outputs, but this isn't critical either. Since we didn't have a 5 volt reference handy, a 78L05 was used for the 5 volt source.

The kludge circuit is sitting on top a cardboard box and has been running overnight and the results from the Keysight 34465A and Agilent 34401A DVMs show a division ratio of almost a perfect 1/2. The 78L05 is wandering around some (need to get a good 5 volt reference) but stable long enough to collect some readings, now the readings are ~5.01792 and ~2.50896.

If you like to tinker around and simulate circuits and then build to see if they behave as predicted by the analysis and simulations, this is a fun circuit to play with. Since it doesn't require any precision components (almost anything will work!!), most will have parts laying around to give it a try!!

BTW we used this concept back in the late 70s and 80s in a few systems, worked beautifully then as it does now :)

Best,

Edit: Someone noted the schematic was incorrect image, since I don't have the image nor paper anymore I've drawn another schematic and added it.

« Last Edit: May 25, 2024, 02:51:19 pm by mawyatt »
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 
The following users thanked this post: doktor pyta, orolo, RoGeorge

Offline EmmanuelFaure

  • Regular Contributor
  • *
  • Posts: 154
  • Country: 00
Re: Fun circuit to play with
« Reply #1 on: June 28, 2020, 03:26:58 pm »
Did you record the long term stability?
 

Online mawyattTopic starter

  • Super Contributor
  • ***
  • Posts: 3518
  • Country: us
Re: Fun circuit to play with
« Reply #2 on: June 28, 2020, 03:49:33 pm »
Long ago when we used this concept we never experienced any noticeable drift.

The resistors have almost no influence on the output, neither does the duty cycle asymmetry if small. The only effect on drift would be the aging of the inverter PMOS and NMOS Rdson, and this only effects the output in differential resistance. If Rdson is << lower than the resistors then this effect can be reduced to noise levels.

Best,
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16898
  • Country: us
  • DavidH
Re: Fun circuit to play with
« Reply #3 on: June 28, 2020, 09:04:08 pm »
What  advantage would this have over a flying capacitor charge pump?
 

Online mawyattTopic starter

  • Super Contributor
  • ***
  • Posts: 3518
  • Country: us
Re: Fun circuit to play with
« Reply #4 on: June 28, 2020, 11:40:23 pm »
Probably none, except the idea originated before the Flying Capacitor charge pump was available from LT and we had been using expensive Vishay precision resistors, and doesn't require the charge rebalancing circuit. Later when the LT parts came out I recall we used them for synchronous demods, but not voltage dividers.


Best,
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16898
  • Country: us
  • DavidH
Re: Fun circuit to play with
« Reply #5 on: June 29, 2020, 05:24:49 pm »
Flying capacitor charge pumps were used before Linear Technology released specialized parts for them.  SPDT analog switches were commonly used including in older LT application notes.

 

Online mawyattTopic starter

  • Super Contributor
  • ***
  • Posts: 3518
  • Country: us
Re: Fun circuit to play with
« Reply #6 on: July 01, 2020, 04:25:36 am »
We started using this concept before LT was founded, back in the late 70s. We used the old RCA CMOS logic (CD4000 series) for many analog functions, also the lower voltage 74HC and AC series.

Also use the simple logic concepts for analog in the early development (late 70's early 80's) of the navigation grade Fiber Optic Gyro which utilized a Serrodyne Phase modulator to "close the loop" to avoid the Sagnac non-linearity and ambiguity, see patent 5339055. The Serrodyne modulator sawtooth ramp generator worked so well (very long periods) we built a few CMOS versions to use around the labs until we got the HP3325 function generators. Many years later and allowed to publish, this circuit appeared in EDN.

Best,

« Last Edit: July 01, 2020, 12:38:39 pm by mawyatt »
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 
The following users thanked this post: doktor pyta, RoGeorge, 2N3055, ch_scr, dmowziz


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf