element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs TL431 Oscillator
  • Blogs
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
Author: jc2048
Date Created: 3 Oct 2020 9:39 PM
Views: 422
Likes: 6
Comments: 11
  • colpitts
  • oscillator
  • analogue design
  • tl431
  • jc2048
Related
Recommended

TL431 Oscillator

jc2048
jc2048
3 Oct 2020

This one isn't too serious.

 

When shabaz did a blog on using a TL341 as a Low Battery Warning Indicator, I wondered what else you might use the device for. Since it includes an amplifier, it shouldn't be too hard to get it to oscillate, so that's what I thought I'd have a go at. See if I can get a sinewave out of it.

 

As I'm just doing this for fun, I'm going to slap together the circuit without too much detailed design and see what happens. I wouldn't recommend that you actually use this for anything, though, for a whole variety of reasons, not least of which will be the high current consumption.

 

Here's a picture of the breadboard I ended up with

 

 

and here's the circuit

 

 

This is using an LC circuit to determine the frequency. The tapped capacitor [C1-C2] for the feedback makes it a Colpitts oscillator.

 

I wasn't very sure at all of what the frequency response of the amplifier in the TL431 would be like, so it seemed safest to go for a fairly low frequency of oscillation, which meant having quite high values for the capacitors and the coil. I found a couple of old 2.2uF film capacitors [so, 1.1uF in series] and a 4.7mH [17 Ohms series resistance] inductor that looked like they'd suffice to get me going and would be easy to use on the breadboard. In theory, that makes for a resonant frequency of 2.213kHz, but the circuit will move that a bit because that's the frequency where the LC network itself looks real, whereas the oscillation criteria is that there be zero-degrees phase shift right round the whole loop, including the small delay through the regulator. [I think that's right: if you want a masterclass, best ask one of the experts here to do it rather than me; it's a long, long time since I last sat down in a lecture hall.] In practice, in my circuit, the frequency could be higher or lower than that because the coil and the capacitors will have a large tolerance on the values.

 

That LC network needs to be driven by the regulator amplifier, but we also need to have an eye for the dc biasing of the whole thing, so I'm going to do what you'd do with a JFET or a bipolar transistor and have the load up to the supply. That's a nice arrangement because current can run down through the coil to power the regulator.

 

Next I need to consider the regulator. I'm going to arrange it in a way that's analogous to what you would do with a common-gate or common-base circuit with a transistor. Firstly, I'm going to dc bias the output [the cathode] at twice the voltage of the reference pin by making the two resistors R1 and R2 the same. As the voltage between the anode and the reference will settle to 2.5V, that means the cathode will be at least 5V (in practice, more, because I'm going to have to lift the anode above ground in order to drive it as the input). The (ac) input voltage at the anode will then cause the difference between pins 2 and 3 to vary in the opposite sense to how it would if behaving as a regulator (the 100nF capacitor at pin 3 stops it moving around), so the loop, instead of countering the change through negative feedback, will reinforce it through positive feedback and, with a bit of luck, we should see the circuit oscillating.

 

Not sure I explained that very well, but the short version is that the dc bias is set with negative feedback [hopefully stable] and the ac operation is positive feedback [hopefully unstable, but in a nicely controlled sort of way].

 

Does it work? Er, yes, sort of! Here it is oscillating

 

 

Hardly the purest sinewave you'll ever see, but it's trying its best. I think I've got a way to go before I can claim to be an analogue designer.

 

Here's the FFT from my oscilloscope - lots of even harmonics there.

 

 

Does it work in the simulator? It did after I gave it a initial kick [by holding the LC circuit at zero volts at the start with the IC [Initial

Condition] symbol you can see on the circuit. I also selected the simulation parameter-set that is specifically for oscillators.

 

Here's the oscillation and the power supply current waveforms:

 

This is the measured average supply current for the breadboard circuit, which is reasonably consistent with the above.

 

 

Some scope for improvement there, if you felt inclined to play with it.

 

Finally, here's the open-loop response around the loop, from the simulator. This won't be very accurate, but it does nicely show the resonance peak due to the LC circuit and the fairly abrupt change in phase at that point [though you can see the effect resistance has in damping the peak].

 

 

If you found this interesting and would like to see more blogs I've written, a list can be found here:
https://www.element14.com/community/people/jc2048/blog/2018/10/24/jc2048-blog-index

Anonymous

Top Comments

  • jc2048
    jc2048 over 1 year ago in reply to jw0752 +5

    I didn't think it would work with an LM317, but it did. This is with an old Nat

    Semi part (it might not work with those from other manufacturers without changes,

    nor necessarily with more recent TI parts…

  • shabaz
    shabaz over 1 year ago +3

    Hi Jon,

     

    Very useful blog post. That's a significant amplitude oscillation! I'd also been wondering if a TL431 oscillator was possible, but the thought didn't occur to try to construct it into a Colpitt…

  • jw0752
    jw0752 over 1 year ago +3

    Hi Jon,

     

    I thought that was really cool. I have played with the TL431 a little but it never dawned on me that it could be an oscillator. Do you think we could make an LM 317 oscillate in a similar fashion…

Parents
  • DAB
    DAB over 1 year ago

    Good project.

     

    In my early electronics days, I spent a lot of time trying to make circuits not oscillate.

    In Tech School we did the whole gambit using tubes.

    Now if you want a real challenge, pick up some surplus tubes and set them up as a simple amplifier.

     

    Lots of fun in the old days, many more issues to work around.

     

    DAB

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 1 year ago

    Good project.

     

    In my early electronics days, I spent a lot of time trying to make circuits not oscillate.

    In Tech School we did the whole gambit using tubes.

    Now if you want a real challenge, pick up some surplus tubes and set them up as a simple amplifier.

     

    Lots of fun in the old days, many more issues to work around.

     

    DAB

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
Children
  • phoenixcomm
    phoenixcomm over 1 year ago in reply to DAB

    DAB do you mean this?

    ~~Cris

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • jc2048
    jc2048 over 1 year ago in reply to phoenixcomm

    Thanks for that, Cris. The Wikipedia entry is fascinating.

     

    https://en.wikipedia.org/wiki/Dynatron_oscillator

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago in reply to phoenixcomm

    Not quite that old, but still.

     

    DAB

    • Cancel
    • Up +3 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube