element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
555 Timers
  • Technologies
  • More
555 Timers
Blog 555 Sawtooth Oscillator
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join 555 Timers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jc2048
  • Date Created: 6 Jun 2022 10:10 PM Date Created
  • Views 8804 views
  • Likes 10 likes
  • Comments 6 comments
  • sawtooth waveform
  • constant current
  • timer
  • oscillator
  • analogue design
  • 555
Related
Recommended

555 Sawtooth Oscillator

jc2048
jc2048
6 Jun 2022

The ST datasheet for the 555 has this circuit for generating a linear ramp. The linearity comes from the use of a transistor to give a constant current source for the capacitor charging.
image
As shown, it's a monostable (it's designed to generate the ramp when it's triggered), but a trivial change will adapt it to an oscillator. Here's the same circuit, in a simulator, with the trigger input connected round to the threshold pin. I've also put some resistance between the discharge output and the capacitor to slow it slightly.
image
image
The result, then, is a sawtooth waveform on the capacitor. (Strictly, I should say almost a sawtooth, because it's only the upward ramp that's linear, but it's good enough for what I want from it.) If you wanted to use the sawtooth waveform to drive another circuit, you'd probably need to add a buffer of some sort to avoid affecting what's happening when the capacitor charges.

To see if that works in practice, I built one on a breadboard.


image

Here are the waveforms (yellow capacitor, blue output)


image

Other than the output of the real chip managing a noticeably higher 'high' level than the simulation model, it's all very similar.

If you want to experiment with it, there are three ways to change the slope of the ramp and thereby change the period of the oscillation. One is to change the value of the timing capacitor, the 47n in my circuit. Increasing the capacitance slows the ramp. A second way is to change the value of the emitter resistor. Increasing the value will lower the charging current and slow the ramp. The final way is to change the voltage at the base of the transistor, which alters the voltage across the emitter resistor. Increasing it (by adjusting R1 and R2) will lower the voltage across the emitter and thus the current and again slow the ramp. Be careful if you change the base voltage, though, as if you bring it much below the upper threshold of the 555 (2/3 of Vcc) the current source won't regulate all the way up to the threshold and the oscillation will probably stop.

Following blog: /technologies/555-timers/b/blog/posts/555-voltage-controlled-oscillator 

If you found this interesting and would like to see more blogs I've written, a list can be found here: /members-area/b/blog/posts/jc2048-blog-index-new-version

References
[1] https://www.st.com/en/clocks-and-timers/ne555.html
[2] https://www.ti.com/lit/ds/symlink/ne555.pdf

  • Sign in to reply
Parents
  • shabaz
    shabaz over 3 years ago

    Hi Jon,

    Very useful blog post. It's a very handy circuit, also super-convenient for PWM.

    I used such a 555 circuit a while back to drive light-bulbs, but could probably also be used for hobby servos etc.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 3 years ago in reply to shabaz

    Sorry, I didn't realise you'd done something with a similar circuit (or I've simply forgotten it - my memory isn't too good anymore). You should add a link to it here. Fortunately, I was going to go on and use it for something other than PWM, so hopefully we'll diverge when I do the next blog.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • jc2048
    jc2048 over 3 years ago in reply to shabaz

    Sorry, I didn't realise you'd done something with a similar circuit (or I've simply forgotten it - my memory isn't too good anymore). You should add a link to it here. Fortunately, I was going to go on and use it for something other than PWM, so hopefully we'll diverge when I do the next blog.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • shabaz
    shabaz over 3 years ago in reply to jc2048

    Hi Jon,

    I only mentioned it because I thought the PWM add-on is handy, but actually you explained the sawtooth circuit behaviour better than me : )

    When I used the circuit, it was buried as part of a project so wasn't as reusable-building-block friendly as your blog post.

    Looking forward to seeing how it gets used.

    My blog post was regarding dimmable xmas lights.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube