Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Digital Voltage Controller

Status
Not open for further replies.

somf0872

Member level 5
Member level 5
Joined
Oct 14, 2003
Messages
92
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
917
Hi everybody,

My target is to have different voltage levels like 3V, 4V, 7V, 15V etc etc..

I want to know whether there is any variable voltage regulator that can digitally controlled using this micontroller in order to get varying voltages from +3 to +15 V.

For example in my software routine I give any specific combination of bit to controller and in return it communicates with that voltage regulator and give the desired voltage output. Something like controlling the voltage level thru software.

Any idea??

--X--
 

If you are happy with a set of fixed output voltages then quite simple solution can be based on the LM317 voltage regulator (see picture below) ..
The idea is based on a resistor divider pulled down to 0V by a BJT or MOSFET transistor ..
Each resistor is selected in such a way that the output voltage is 3V, 4V, .., 15V ..
(on how to calculate the ouput voltage see the LM's data sheet at https://www.fairchildsemi.com/ds/LM/LM317.pdf )
The LM317 works with currents <1.5A, for currents below 100mA you can employ LM317L and for currents close to 3A the LM350 will be the answer ..
The same priciple can used with other voltage regulators such as, for example, the L200 ..

Regards,
IanP
 

This is a smart approach ........... Thanks.

Well, in case if I don't want to use all such discrete transistors with LM317, then could we employe the same strategy with some CMOS isolation buffers along with LM317 or any other IC connected with LM317 to just regulate its output voltage depending on digital inputs. I mean instead of transistor ......... some intgrated package.

Any idea?

--X--
 

These transistors can be replaced by CMOS switches such as CD4066, 74HC4066 .. and similar .. with one side connected to 0V/GND ..
Or, there are so callled "digital transistors" with build-in resistors .. **broken link removed**

Regards,
IanP
 

    somf0872

    Points: 2
    Helpful Answer Positive Rating
Here's something I have come up for setting voltage output, and also current sensing (current metering and limiting)
I have used a R/2R ladder on a port, with 8 bit resolution.
Works nicely.

Regards
sda
 

Hi Davood Amerion and IanP

Thanks for ur suggestions. Now, i am facing one more problem!!!

Initially before having a specific voltage outputs, I need to have 0 volt at outputs. I mean the lowest voltage level I can get with these ICs is 0.5 to 1.2 V.

Is there any other IC which have something like RESET or CLEAR pin by which I can get exact 0V at the outputs? and then by giving specific digital inputs I can have my required digital voltage levels.

--X--
 

There are adjustable regulators with ON/OFF pin (shutdown) ..
For example, have a look at the LM2941 ..
**broken link removed**

Regards,
IanP
 

Thanks a lot IanP!!

I studied the datasheet but it never mentioned that what will be the state of output when it is in OFF mode. It mentions that ON voltage threshold is 1.3V or below and OFF voltage threshold will be 1.3V or above, but in OFF mode what will be the output ....................... high impedance, any Vol or Voh???

Have u tried this before??

Sorry to drill u ..............

Thanks

--X--
 

In the OFF mode the output is put into high-impedance stage ..
As a dummy load, and this should set the floating output voltage to 0V, you can connect, say, 10kΩ resistor between +Vout and -Vout(0V) ..

Regards,
IanP
 

I need something that could vary right from 0V to 15V digitally. The lower limit of 1.3V in LM317 is a big problem for me.

Any idea????

--x--
 

In this instance, maybe you can build 0-15V power supply with transistors and opamps and instead of using potentiometer connect DAC ..
Here is an example of an 0-15V regulated power supply in which you can replace V1(- voltage and V2 - current) variable resistor(s) with 0-5V DAC ..

Regards,
IanP
 

Thanks for this!!

Can this work for -ve variable voltage too?

--X--[/u]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top