Author |
Message |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Wed Jul 08, 2009 7:44 am Post subject:
Variable Duty Cycle Oscillator Subject description: Made with an Inverter |
 |
|
Let's try a little thought experiment, a twist on the Inverter oscillator. This is normally an inverter with an RC feedback and it oscillates, right? OK, so now let's leave the cap there but replace the resistor with two parallel resistor-diode branches facing in the opposite direction. Call them R1 and R2. What happens?
The charging cycle will be timed by R1*C and the discharging cycle will be timed by R2*C because of the two steering diodes. I'd guess that the overall timing would be controlled by (R1+R2)/2, and the duty cycle would be set by varying the values of R1 and R2 from each other.
Now let's take it one more step, and replace the two resistors with a potentiometer. The wiper is on the inverter's output, the two terminal connections go to the diodes, and the diodes connect to the cap and the input. We'll call the potentiometer value Rx. Let's denote the pull-up resistor as R1 and the pull-down resistor as R2=(Rx-R1). Then the frequency is controlled by the earlier mentioned expression (R1+R2)/2 which equals (R1+(Rx-R1))/2 and the R1's cancel leaving the frequency controlled by Rx/2.
What this means, if my thinking is close to correct, is that we can make a fixed frequency variable duty cycle oscillator where a potentiometer controls the duty cycle and the frequency is fixed. It's a variable duty cycle oscillator with fixed frequency.
Would that be handy for Lunettas? Is this idea nothing new? Have you seen it before?
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
 |
slacker
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
|
Posted: Wed Jul 08, 2009 1:13 pm Post subject:
|
 |
|
That's a cool idea, not new though I'm afraid, but most things aren't There's a few examples of that and similar things in Don Lancaster's CMOS Cookbook. One of the examples he uses it for is to create a variable brightness lamp, where the duty cycle sets the brightness.
If you put another pot wired as a variable resistor in parallel with the pot and diodes you can control the frequency and the duty cycle, I made a reasonable LFO like this by buffering the inverter's input to get a triangle/ramp wave form and using the output to get a variable duty cycle square.
I can't remember off hand what pot values I used but there wasn't much interaction between the duty cycle and frequency controls. The frequency did change slightly with the duty cycle but not enough to worry about. I'll see if I can dig out my notes |
|
Back to top
|
|
 |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Wed Jul 08, 2009 4:47 pm Post subject:
|
 |
|
Thanks slacker, another reinvented wheel! Well, if I'm following in the great Don Lancaster's footsteps at least for one step, I guess that's a good thing!
Cheers!
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
 |
DGTom

Joined: Dec 08, 2008 Posts: 211 Location: Adelaide
Audio files: 3
G2 patch files: 1
|
Posted: Wed Jul 08, 2009 5:37 pm Post subject:
|
 |
|
slacker wrote: | I'll see if I can dig out my notes |
If you can that would be great!
Even the way Inventor describes the cct. I think this may be usefull feeding one side of an XOR or a NAND with a VCO into the other side, maybe a switch to change the cap size on the inverter, just differant to having to varying pitch sources thru the processing gate. |
|
Back to top
|
|
 |
slacker
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
|
|
Back to top
|
|
 |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Thu Jul 09, 2009 1:10 pm Post subject:
|
 |
|
Consider the thread derailed!
What made me think of the diode-based oscillator originally is something like what you mentioned earlier, the possibility of using multiple input gates to create oscillators. For example, using a NAND instead of an inverter, the extra input becomes an active high enable. But what would happen if you took say an XNOR gate and put different time constants in the two feedback paths?
Would you get some kind of galumpy galloping crazy oscillator or what? If that worked, how about more inputs? This one would have to be built or simulated, or at least calculated, as I can't think it out...
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
 |
|