Designing your own power supply: The PWM controller and cooking your own

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Th3_uN1Qu3
    Believe in
    • Jul 2010
    • 6031
    • Romania

    #1

    Designing your own power supply: The PWM controller and cooking your own

    Here you can find the TL494 datasheet. I don't think that the TL494 requires any more presentation. If you think it does then read this and try for yourself.

    On page 2 of the datasheet you can see the block diagram of the TL494. As you can see, it's not a complicated device. The heart of the chip is the PWM comparator (which actually makes the pulses) and the error amplifiers (which allow you to implement voltage/current regulation). The rest isn't important - all that logic is only for the clean switching of the outputs, nothing more.

    From now on i will only discuss about voltage mode controllers. Current mode controllers like the UC3842 are different. They can be somewhat easier to implement but the theory is harder to understand and they pose their own set of problems. The current mode camp always cites pulse-by-pulse current limiting as their greatest advantage, but IMO pulse-by-pulse limiting is just an excuse to use wimpy parts.

    But what if you don't want to use the TL494, or you don't understand how it works? Well... you can roll your own controller. Sure, it involves three chips instead of one, but hey. We will be making a different type of controller - instead of PWM we will be making a pulse skipping controller. This is the simplest type of them all - no need for output = no pulse. It is also very efficient but due to its nature (variable-frequency switching) it produces more ripple than the fixed-frequency PWM type.

    For it we will be using three ICs. The NE555 timer will be the oscillator and driver, the LM311 will be the comparator, and a good choice for an error amplifier would be the TL082. You will also need a 12v power supply for the controller and an idea of some sort of power supply you want to be controlling. I already hear you. "A power supply based on the 555 timer? Seriously?". Well, yup. It won't drive a half or full bridge since it has only one output, but it works great for single-ended supplies like buck, boost or forward converters. And you can have as many error amps as you want, i will be using a dual opamp but there's no reason why you can't use a quad. In a PWM controller the opamps are used as comparators but the reason opamps are used instead of dedicated comparators is because their gain characteristic can be shaped.

    I will be posting a PCB design, but if you think it sucks you can make your own. But my PCB will try to cover everything that you can do with this controller and have room for extra parts. In the meantime you're free to think about how in the world could a 555, a comparator and an opamp make a power supply controller.
    Last edited by Th3_uN1Qu3; 03-01-2011, 04:41 AM. Reason: fixed title
    Originally posted by PeteS in CA
    Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
    A working TV? How boring!
  • Th3_uN1Qu3
    Believe in
    • Jul 2010
    • 6031
    • Romania

    #2
    Re: Designing your own power supply: The PWM controller and cooking your own

    I got ahead of myself and designed both the skipping mode controller AND a true PWM one. Based on the same parts i mentioned. Building your own TL494 - how cool is that?
    Originally posted by PeteS in CA
    Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
    A working TV? How boring!

    Comment

    • japlytic
      Badcaps Legend
      • Oct 2005
      • 2086
      • Australia

      #3
      Re: Designing your own power supply: The PWM controller and cooking your own

      A power supply which uses Pin 5 (Control) of the 555 timer: https://cdn.badcaps-static.com/pdfs/...4913f3e3e4.pdf
      I saw a switching power supply in an old ARRL book where the only IC is an LM301 comparator (non-inverting input at 6.8V (reference), inverting input as feedback input) - the oscillation frequency is dependent on the output load.

      For a valve/tube transceiver, I designed a (yet to be tested) PWM controller which has no ICs, because I feel that ICs are out of place in valve/tube equipment.

      Also, I am after ideas for adding a spread spectrum (changes/sweeps the oscillator frequency to reduce interference) modification for PWM controllers such as MC34063, TL494, UC3842 etc.
      My first choice in quality Japanese electrolytics is Nippon Chemi-Con, which has been in business since 1931... the quality of electronics is dependent on the quality of the electrolytics.

      Comment

      • Th3_uN1Qu3
        Believe in
        • Jul 2010
        • 6031
        • Romania

        #4
        Re: Designing your own power supply: The PWM controller and cooking your own

        I know that 555 power supply and built it a while back... It is a toy. It's only good for charging caps, and even that takes a bit.

        There are self-oscillating power supplies without an IC - every generic junker PC PSU has one for standby. Or look in VCRs - as someone said, there is something in VCR design culture about self-oscillating supplies, as they are found in almost every VCR but anything else of similar power uses TOPSwitch/TinySwitch/whatever, those ICs with the controller and power transistor all in one package.

        Pulse skipping *is* spread spectrum. The disadvantage is that peak currents and thus ripple are higher. A transceiver shouldn't be too critical about ripple tho.
        Originally posted by PeteS in CA
        Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
        A working TV? How boring!

        Comment

        • japlytic
          Badcaps Legend
          • Oct 2005
          • 2086
          • Australia

          #5
          Re: Designing your own power supply: The PWM controller and cooking your own

          Two other self-oscillating power supplies I have also seen were the LM317 and its deraratives, as well as the TL431 with a pass transistor.
          Unfortunately, it is up to the designer to determine the oscillation frequency, which may depend on the output load.
          My first choice in quality Japanese electrolytics is Nippon Chemi-Con, which has been in business since 1931... the quality of electronics is dependent on the quality of the electrolytics.

          Comment

          • Th3_uN1Qu3
            Believe in
            • Jul 2010
            • 6031
            • Romania

            #6
            Re: Designing your own power supply: The PWM controller and cooking your own

            Originally posted by japlytic
            it is up to the designer to determine the oscillation frequency, which will depend on the output load.
            Fixed that for you.
            Originally posted by PeteS in CA
            Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
            A working TV? How boring!

            Comment

            Related Topics

            Collapse

            Working...