| Author |
Message |
Dr. K

Joined: Jan 15, 2020 Posts: 52 Location: wisconsin
|
Posted: Tue May 06, 2025 4:39 pm Post subject:
555 astable osc. Duty cycle questions |
 |
|
I built a 555 based oscillator according to the schematic attached. Recently I picked up an o-scope, and I hooked up the probes to take a look. I was surprised to see that the duty cycle for the oscillator is very high. It must be around 90%, and doesn't seem to change much depending on the frequency of the oscillator.
I was under the impression that the duty cycle hovered somewhere around 50%, moving a little bit as a function of frequency.
I was doing some reading on the subject, and looking in to using anti-parallel diodes and resistors to tweak the duty cycle.
The circuit seems to function fine. The frequency can go from metronome to extremely high. I think it's working properly. It was just the duty cycle that seems like it shouldn't be so high.
| Description: |
|
| Filesize: |
14.72 KB |
| Viewed: |
3032 Time(s) |

|
| Description: |
|
| Filesize: |
2.16 MB |
| Viewed: |
307 Time(s) |
| This image has been reduced to fit the page. Click on it to enlarge. |

|
|
|
|
Back to top
|
|
 |
Cynosure
Site Admin

Joined: Dec 11, 2010 Posts: 1029 Location: Toronto, Ontario - Canada
Audio files: 83
|
|
|
Back to top
|
|
 |
blue hell
Former site admin

Joined: Apr 03, 2004 Posts: 24864 Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320
|
Posted: Wed May 07, 2025 9:17 am Post subject:
|
 |
|
| Ow, and when the small pulse width - heh -or large - whatever - is a problem - make the frequency twice as high (as in halve the capacitor) and divide the output by two with a flip flop thing or a binary divider .. it will be a perfect 50/50 square then. |
|
|
Back to top
|
|
 |
PHOBoS

Joined: Jan 14, 2010 Posts: 6067 Location: Moon Base
Audio files: 730
|
Posted: Wed May 07, 2025 12:48 pm Post subject:
|
 |
|
You should be able to change the duty cycle by changing the ratio between the 2 resistors (in the schematic the 1K and 500K pot)
This is because it charges the capacitor through both resistors but discharges through only one of them (I'll let you figure out which one).
You could play around on a breadboard and a scope (good practice), use a simulation or mess around with one of those 555
calculators like this one: https://ohmslawcalculator.com/555-astable-calculator
There are ways to get a 50% duty cycle out of it by making use of the output as part of the oscillator, for example this circuit:
which you can find here: https://www.electronics-tutorials.ws/waveforms/555_oscillator.html
or you could divide it as Jan mentioned but then you might as well just use a CD4060 or CD4046. _________________ "My perf, it's full of holes!"
SoundCloud BandCamp MixCloud Twitch YouTube
The Golden Shrimp Guild |
|
|
Back to top
|
|
 |
Dr. K

Joined: Jan 15, 2020 Posts: 52 Location: wisconsin
|
Posted: Wed May 07, 2025 2:07 pm Post subject:
|
 |
|
I was aware that in the 555 astable, duty cycle and frequency were interdependent. But I ran through a couple of calculators I found online (DigiKey and some other places have them), and for the audible range, the duty cycles were all around 40-60%.
When I measured mine, it was (like in the image) at least 90%. I'm trying to read up on solutions to it--it looks like it can be dialed in to a large extend with diodes and a potentiometer. Not wanting to put any more controls on the user interface of this module, I'd probably go with a trim pot, and just do a "set and forget" on it. |
|
|
Back to top
|
|
 |
|