Electronic Circuits and Projects Forum



Variable Power Supply controlled by microcontroller

  1. #1
    gkthebigj gkthebigj is offline

    Variable Power Supply controlled by microcontroller

    Hello all,

    I am trying to deisgn a 0-12 and 0- -12v adjustable power supply.
    I am using LM2574 to generate adjustable +12v and LM337 to generate -12v.
    Please see the schematic attached.
    vps12.JPG

    I recently found out i cannot use the digital pot mcp4462 in here because the tolerable
    voltage is only 5.5v with these pots.
    Can someone tell me alternate ways to control the output voltages through a microcontroller in
    these cases?

  2. #2
    alec_t alec_t is online now
    Here's how I'd try to do it, assuming (a) +15V and -15V fixed supplies are available, (b) the digital pots have a maximum resistance of 100k each, and (c) independent control of the + and - adjustable supplies is required.
    R1 and R4 are selected to prevent the digital pot voltage rising above ~ 3V, for compatibility with the micro controller .
    U1 and U3 are unity-gain buffers. One can be omitted if a single pot is required to control both variable supplies so that they track each other.
    U2 and U4 are respectively non-inverting and inverting amplifiers, each with a gain of ~ 4. The opamps need to be rail-to-rail I/O types if a wide control range is required.
    M1 and M2 provide power gain. Feedback is taken from across the loads to stabilise the output voltages.
    Attached Images
    Attached Files
    0
    Last edited by alec_t; 16th April 2012 at 01:42 PM.
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  3. Thread Starter #3
    gkthebigj gkthebigj is offline
    Thanks for the suggestion.
    I also need to make sure a maximum current output of 500 mA for both the supplies.
    Can you tell me the current can be sourced by this circuit in worst case?
    Also, do i need to add a short circuit protection?
    Thanks in advance?
    0

  4. #4
    alec_t alec_t is online now
    Can you tell me the current can be sourced by this circuit in worst case?
    Many Amps, depending on the 15V supply and the FET ratings.
    I also need to make sure a maximum current output of 500 mA for both the supplies.
    I'll have a think about that and get back to you.
    Also, do i need to add a short circuit protection?
    That's for you to decide. But won't current limiting to 500mA provide that?
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  5. #5
    alec_t alec_t is online now
    Here's the circuit with current-limiting. Even with a max 0.5A limit the FETs will get hot and will need substantial heat-sinks.
    Attached Images
    Attached Files
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  6. Thread Starter #6
    gkthebigj gkthebigj is offline
    thanks a lot for your help.
    This design seems really cool fro my purpose.

    Actually i m designing a Power supply board for general lab purpose.
    It will have +15v fixed(500mA), -15v fixed(500 mA), 5v fixed(1.5A) and +- 12 adjustable.
    I was stuck on the adjustable ones. After lot of searching i found these ICs LM337 and LM2574.
    The problem is i have already bought the compenets (all the ICs). I will see the prices of the ICs you
    suggested and take a decision based on budget.

    Thanks again for your help. God bless
    0

  7. #7
    alec_t alec_t is online now
    I will see the prices of the ICs you suggested
    The ICs and FETs in the circuits I posted are just selections from the LTSpice simulation collection, chosen to suit the simulation. I'm not recommending any particular manufacturer. I haven't checked their package type, price etc. Many alternatives are available. Feel free to substitute other types.
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

Tags
Similar Threads
Thread Starter Forum Replies Last Post
Phase Controlled High Current Variable Power Supply surfline Electronic Projects Design/Ideas/Reviews 6 4th December 2009, 01:13 PM
PIC controlled output of variable power supply based on input jinrs Electronic Projects Design/Ideas/Reviews 4 28th May 2006, 04:26 AM
back up power supply for a microcontroller(sensor) jahan Microcontrollers 10 16th April 2005, 06:59 PM
variable power supply jimmythefizz Electronic Projects Design/Ideas/Reviews 9 4th October 2004, 05:37 PM
opinions on variable power supply johnlouie General Electronics Chat 4 30th May 2003, 11:24 PM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.08634 seconds      Memory: 7,748 KB      Queries: 17      Templates: 0