Creating a myDaq Voltage Variable Power Supply

Hi Everyone,
Just received my NI myDaq the other day and just starting to play around with it.
I was a little disappointed to find out that the Power Supplies were not Variable (i.e. fixed 5V and +/- 15V), but that's what I get for not reading the fine print .
I figured a Variable Voltage Power Supply would be a fun good first project, but have no idea where to begin. I was hoping you guys could give me some advice/point me in the direction to look.
I plan on using myDaq for primarily breadboarding for EE post-labs.
Since the 5-V supply allows for the most current to be drawn, I figure that would be the first supply to be built.
Can anyone point me in the direction to move towards?
Thanks!
-Ernie
Solved!
Go to Solution.

Hello Ernie,
Depending on the required output voltage and and current, there are a few approaches you can try.
Buffering the Analog Output(s) is the most straightforward method. You could probably get to +/- 12V if you pick an opamp with small enough headroom requirements and add 20% gain. You'd use the +/- 15V rails to power the opamp (be sure to consider rail tolerance), and you should limit your output to the 32 mA spec of the +/-15V rail. The buffer is essentially a linear regulator, so be careful of the power dissipation in the amplifier at high currents.
If you want higher output currents at the lower voltages, consider a switching regulator. There are a variety of topologies depending on the input-to-output voltages. Look for Buck to step down a higher input voltage to a lower output voltage; Boost to step up; Buck-Boost to step up or down. There are others, but these are simplest to start with. You can use myDAQ's analog outputs to inject an error voltage into the regulator's feedback to allow programmatic output voltage control. Take a look at power supply chip vendors' websites (TI, Analog Devices, Linear Tech, National Semiconductor, etc.) for app notes and component recommendations. 
Another approach is digitally-controlled switching regulators. These provide extensive control and read back capabilities through a digital interface to the chip. Google "digital power" for ideas.
If you need even higher power, you'd need to bring in an external supply or battery, but the control could still come from the myDAQ AO or digital interface.
It can be a challenging exercise, but I hope this helps get you started.
Charles Y.

Similar Messages

  • Variable power supply Mydaq

    Hello im thinking of buying a Mydaq but im not sure if I can use for what I need it.
    In class IM not allowed to use the Ni-Elvis 2 board unless a TA is present and if i run out of time theres no way for me to make up the lab.
    so i have a breadboard at home from radioshack(electronics learnig kit) and the volatges go up in increments of 1.5 to 9v.
    but in my lab i need to test the following voltages -5v,-10v,0v,5v,10v
    from my research it seems i need a variable power supply so i can control the voltages going in into the board.i know with the elvis 2 board we can switch the voltages right from the computer.
    so my question is does MYDAQ havea VPS where i can control the voltages from -10 to 10V in increments of 5? and im able to specify the increments of voltage?
    also is it possible to get MyDAQ just the interface without the software?
    thank you

    Thanks for that link Mark W, thats' a great idea for low current situations!
    Looking at page 37 of the myDAQ user manual here, it say that the analog output provides up to 2mA of current.
    The ELVIS prototyping board can source up to 500mA of current.
    Anthony F.
    Product Marketing Engineer
    National Instruments

  • Variable power supply not working in virtual elvis

    When i make a virtual elvis 3d schematic i cannot get any output from the variable power source, i have played with it alot and still no output. please help.

    Thank you for your time to help me out,
    I got it to work using the shift+P and shift+n hotkeys. A suggestion I have is to remove the shift restraint for the GUI interface P and N buttons that appear on the screen after you highlight variable power supply, as it is non-intuitive for a user to know you must hold shift then press GUI buttons as well. I suggest coding those visual buttons to alias SHIFT+P and SHIFT+N operations when you click on them for ease of user interface.

  • Designing variable output power supply

    hi 
    could anyone  help me out in designing variable output power supply ?
    as i am new to this please post the circuit and also the step by step procedures in developing the circuit.

    Hi rckz,
    The link below has an example of a variable power supply.
    http://www.google.ca/imgres?imgurl=http://howcircuits.com/downloads/circuits-and-diagrams/power-supp...
    You can try to find the components in Multisim by right-clicking and going to Place Component. You can look through the database and place them on the schematic and then wire them as shown in the schematic.
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.

  • NC6320 Power Supply Pinouts required please

    I have an NC6320 which the PSU has failed on. Whilst waiting for the new one to arrive I bought a Trust universal adaptor, the HP adaptor supplied with it has fallen apart and I am now stuck. I need to know, when looking into the HP plug the voltages as you look into the end,
    i.e O o .
    These represent the outer metal connection the inner metal connection and the pin. They appear to be separate once you cut open the adapter
    I have a variable power supply and I have cut up the broken adaptor, which the connections have broken on so I cannot find out from that, has anyone any info on which is the +ve and the 0v?
    If anyone can I help I would be most grateful
    regards
    Richard

    Posting for others who also later find their way here for answers:
    The power supply N193 for my Pavilion DV7 notebook uses the center "ID" Pin so that HP can control which power supplies are used on their products, only their own. I suppose there could be two reasons for this, one to make sure the proper power supply is used and second to keep competitors from selling us replacement power supplies but the former reason is probably the real one.
    I've done a search on this subject because my power supply has been slowly becoming erratic and today finally failed. I cut the DC side of the cable off near the power supply and have tried to measure voltages coming from it, nothing, zero. There are three wires, the center "ID" wire needs a voltage there or the computer won't power on. Here's the info I found on another web site called fixya dot com which I used as a guide to allow me to use another manufacturers power supply with the old connector plug from the HP power supply which died. I simply put a 1/4 watt 47K ohm resistor between the center ID wire of the cable and the +19 VDC wire and insulated it from the ground wire using tape. After you do that you can just wire the plus and minus or ground wires of the new power supply to the DC power cable from the bad HP power supply together as normal. The +19V wire goes to the inner shell of the DC plug and its ground goes to the outer shell of the plug. I was able to get the replacement off the shelf power supply on a military base in Afghanistan, where I am at. I can't wait two weeks to get something in the mail, had to fix this myself.
    I would have included the full URL to fixya.(com) but this web site won't allow us to put URL's so here's the info:
    Here is a cut and paste of the text:
    I found the solution - and implemented it, it works. The blue (ID) line needs to show 7.5v. The simple way to acheive this is to simply put a 47k resistor from the +19.5v line to the ID line. Apparently there is a pull down at the computer end that means it ends up at 7.5v.
    I cut the cable about 6" from the old HP power supply. I then soldered a female power socket onto the loose cable and soldered the 47k resistor between the ID line and the +19.5 line. I then plugged this onto my two pin power supply and the plugged it into my computer. It works very nicely.
    Not wishing to junk the HP power supply unecessarily - it was still producing the 19.5v - I then soldered a power plug onto that ignoring the ID line. That now works as well. It seems that the circuitry that provided the 7.5v ID voltage in the HP power supply became flakey. I could have just opened up the power supply (I have already done that) and disconnected the blue line from the circuit board and just tied it to the +ve line via the 47k resistor and then wrapped it with the usual insulating tape.

  • Spontaneous Shut-off problem (power supply?)

    Hi-- I have a first generation G5 iMac.
    Last year, there was about a week in which it would spontaneously shut off. I read there were possibly some power supply issues with the early units, so I took it in to an Apple Store hoping they would diagnose such a problem and fix it; they ran it for a couple hours, said there were no problems, and sent me home. Over the last month, it has started happening again, and has happened at least seven times. I do regular backups and I've been lucky, but I know one of these days it's going to happen while I'm doing something important. I wouldn't mind taking it back to the Apple Store, but it's not an easy trek, and it happens so unpredictably that I think the odds of getting it to do it at an appointed time is slim, in which case I'm afraid they're just going to send me home again.
    Just wanted to know if anyone else has dealt with such a problem, what the fix was, and how I might convince the tech guys to delve a little deeper even when they don't actually witness the event.
    Thanks,
    dave

    Miriam--
    Dave, if, in fact,as Charlie suggests, the cause of
    your shutdowns is a variable power supply, it should
    easily be cured by the addition of a Universal Power
    Supply
    While an excellent idea (I wouldn't have a computer without connecting it to a UPS any more), a UPS won't necessarily solve the problem of the unexpected shutdowns. My iMac was on a UPS and it still would shut down.
    There are two kinds of UPSs. The most common is a battery backup. Most of the time, the computer is actually getting power from the mains. If the UPS detects a failure of the mains, it'll switch to providing the computer with battery power. But there will be a very small fraction of a second where there will be not power at all supplied to the computer. If the computer's power supply is healthy, it should be able to bridge that tiny interruption until it starts getting power from the UPS. But if it's not healthy enough, the computer will shut down.
    The second kind of UPS is what you are describing, where the UPS provides power to the computer at all times. These aren't as common, though, and are more expensive. I'm not sure if APC even sells this kind. At least, I couldn't find any at their web site that I could be sure were this kind.
    When I had the shutdown problems with my iMac, I initially thought it might be a problem with the UPS, since the iMac would shut off if the power was interrupted long enough for the UPS to notice. I could easily test it by just pulling the plug going to the UPS. Earlier, I had been able to do that without problems in order to test a script I was writing to shut down the computer in case the of a power failure (for some reason, the software built into OS X to do this wasn't working right).
    But when I was having the shutdowns, the iMac would shut off right away as soon as I pulled the plug on the UPS. Luckily, I was able to test my UPS at work on another computer and try a UPS from work on my computer and rule out the UPS. Now that my power supply unit has been replaced, the iMac will once again survive the switch from the mains to the UPS's battery.
    charlie

  • Vi driver for Varian Dual HV power supply

    hi, I'm looking for a driver for the Varian Dual and/or Multivac HV power supply.
    if anybody has it, please let me know...
    thank you
    Andrea Milocco

    Hi Andrea,
    unluckily the instrument driver for your Power Supply is not available on NI site.
    You can try to search the driver at link: Search Instrument Driver
    Otherwise you could ask information about driver directly to the instrument constructor.
    But if you know the commands to talk with instrument and if you are using Labview or Measurement Studio or LabWindows/CVI 7.x you can easily create the communication with the Power Supply through the Instrument Assistant.
    Regards.
    MarcoC

  • Power supply voltage upper-non-recoverable

    Hello,
    One of our customers is seeing the following errors occur intermittently across all 4 power supplies in their chassis. They are running 2.0(2q). The chassis is powered via an APC UPS and PDUs, and there are no power events or alarms from within the APC InfraStruxure tools. Has anyone else seen these errors in 2.0(2q) or is this error indicating a voltage fluctuation from the UPS?
    Sent: Monday, April 30, 2012 6:26 AM
    To: ITNotify
    Subject: System Notification from PFS-UCS-A - environment:major - 2012-04-30 12:26:39 GMT-00:00 Recovered : Power supply 4 in chassis 1 voltage: upper-non-recoverable
    <?xml version="1.0" encoding="UTF-8" ?>
    <soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope">
    <soap-env:Header>
    <aml-session:Session xmlns:aml-session="http://www.cisco.com/2004/01/aml-session" soap-env:mustUnderstand="true" soap-env:role="http://www.w3.org/2003/05/soap-envelope/role/next">
    <aml-session:To>http://tools.cisco.com/neddce/services/DDCEService</aml-session:To>
    <aml-session:Path>
    <aml-session:Via>http://www.cisco.com/appliance/uri</aml-session:Via>
    </aml-session:Path>
    <aml-session:From>http://www.cisco.com/appliance/uri</aml-session:From>
    <aml-session:MessageId>1232:SSI15420KDL:4F9E84FF</aml-session:MessageId>
    </aml-session:Session>
    </soap-env:Header>
    <soap-env:Body>
    <aml-block:Block xmlns:aml-block="http://www.cisco.com/2004/01/aml-block">
    <aml-block:Header>
    <aml-block:Type>http://www.cisco.com/2005/05/callhome/environment</aml-block:Type>
    <aml-block:CreationDate>2012-04-30 12:26:39 GMT-00:00</aml-block:CreationDate>
    <aml-block:Builder>
    <aml-block:Name>UCS 6248 Series Fabric Interconnect</aml-block:Name> <aml-block:Version>5.0(3)N2(2.02q)</aml-block:Version>
    </aml-block:Builder>
    <aml-block:BlockGroup>
    <aml-block:GroupId>1233:SSI15420KDL:4F9E84FF</aml-block:GroupId>
    <aml-block:Number>0</aml-block:Number>
    <aml-block:IsLast>true</aml-block:IsLast>
    <aml-block:IsPrimary>true</aml-block:IsPrimary>
    <aml-block:WaitForPrimary>false</aml-block:WaitForPrimary>
    </aml-block:BlockGroup>
    <aml-block:Severity>6</aml-block:Severity>
    </aml-block:Header>
    <aml-block:Content>
    <ch:CallHome xmlns:ch="http://www.cisco.com/2005/05/callhome" version="1.0">
    <ch:EventTime>2012-04-30 12:26:39 GMT-00:00</ch:EventTime> <ch:MessageDescription>Recovered : Power supply 4 in chassis 1 voltage: upper-non-recoverable</ch:MessageDescription>
    <ch:Event>
    <ch:Type>environment</ch:Type>
    <ch:SubType>major</ch:SubType>
    <ch:Brand>Cisco</ch:Brand>
    <ch:Series>UCS 6248 Series Fabric Interconnect</ch:Series> </ch:Event> <ch:CustomerData> <ch:UserData> <ch:Email>[email protected]</ch:Email>
    </ch:UserData>
    <ch:ContractData>
    <ch:SiteId>2089409</ch:SiteId>
    <ch:ContractId>90874841</ch:ContractId>
    <ch:DeviceId>UCS-FI-6248UP@C@SSI15420KDL</ch:DeviceId>
    </ch:ContractData>
    <ch:SystemInfo>
    <ch:Name>PFS-UCS-A</ch:Name>
    <ch:Contact>IT Department</ch:Contact>
    <ch:ContactEmail>[email protected]</ch:ContactEmail>
    <ch:ContactPhoneNumber>+18018442180</ch:ContactPhoneNumber>
    <ch:StreetAddress>1420 South 500 West, SLC UT 84115</ch:StreetAddress> </ch:SystemInfo> </ch:CustomerData> <ch:Device> <rme:Chassis xmlns:rme="http://www.cisco.com/rme/4.0">
    <rme:Model>UCS-FI-6248UP</rme:Model>
    <rme:HardwareVersion>0.0</rme:HardwareVersion>
    <rme:SerialNumber>SSI15420KDL</rme:SerialNumber>
    </rme:Chassis>
    </ch:Device>
    </ch:CallHome>
    </aml-block:Content>
    <aml-block:Attachments>
    <aml-block:Attachment type="inline">
    <aml-block:Name>sam_content_file</aml-block:Name>
    <aml-block:Data encoding="plain">
    <![CDATA[
    <faultInst
    ack="no"
    cause="voltage-problem"
    changeSet=""
    code="F0391"
    created="2012-04-30T06:25:39.162"
    descr="Power supply 4 in chassis 1 voltage: upper-non-recoverable"
    dn="sys/chassis-1/psu-4/fault-F0391"
    highestSeverity="critical"
    id="218782"
    lastTransition="2012-04-30T06:26:39.630"
    lc=""
    occur="1"
    origSeverity="critical"
    prevSeverity="critical"
    rule="equipment-psu-voltage-threshold-non-recoverable"
    severity="cleared"
    status="modified"
    tags="network,server"
    type="environmental"/>]]>
    </aml-block:Data>
    </aml-block:Attachment>
    </aml-block:Attachments>
    </aml-block:Block>
    </soap-env:Body>
    </soap-env:Envelope>

    Brad,
    It looks like the system is running into following defects which is still under investigation.
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtx90410
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtz59519
    Please open a TAC service request so that we can help you out.
    HTH
    Padma

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • HP vs15 monitor audio power supply voltage and amps

    I have a HP vs15 monitor that I need to know the audio power supply voltage and amperage.

    HI grizspeck:
    Thank you for your inquiry.
    I am sending you a link to the specifications of he HP Pavilion vs15 monitor  click here.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • How can i change the voltage of my power supply using my pci gpib 488.2 driver?

    I need to be able to control the voltage outputed by the power supply. I have a pci gpib 488.2 and I downloaded the correct driver. I also don't no exactly how to use the communicator included in the measurement and automation explorer. When ever I type in the commands I get an error. If anyone can help me I would appreciate it.
    thank you

    First see if you can establish communications with the power suppy using Meas and Automation explorer (MAX for short). If you can find your GPIB card in the directory tree choose it and then use the scan for instruments tool. If it can see your power supply it will give you it's address. Choose it and try the Communicate with my instrument tool. It will send a IDN? command to that address and it might return a string if the instrument understands the command. If not you will need to dig through the power supply manual to find the correct commands.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Plotting IVI Power Supply voltage

    I am usint SignalEpxress to control to my Agilent N6700B power supply, and I am successfully commanding the instrument and querying the output voltage. 
    However, I can't seem to figure out how to plot the output voltage on a strip chart. The 'IVI Power Supply' step only seems to offer two output options:
    'over-voltage tripped'
    'over-current tripped'
    It doesn't therefore seem possible to hook the output voltage of the step to a data view strip chart. Any ideas on how to accomplish this?
    Thanks,
    Aaron

    @astibich, just out of curiosity, can’t you accomplish the same in software. Since you’re getting the required values of voltage, you can plot that within the PC. If required these values could then be transmitted to a real-time plotter as well. If you’ve already found a better solution to this, I’d love to know, just for information. It’s the ingenious ideas of people that actually inspire me, like everyone else, to think outside the box.
    printed circuit boards

  • The output of a power supply in labview using a Magna Power LXI over RS232 to simulate a periodic voltage.

    How can I toggle the output of a power supply in labview using a Magna Power LXI over RS232 to simulate a periodic voltage?  Any help would be apreciated?

    LXI is Ethernet communication.
    Does the power supply have an RS232 port?
    Are you looking for an RS232 to Ethernet (LXI) Converter
    https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=rs232%20to%20ethernet%20ip
    But to simulate a periodic voltage you need to send the SCPI "Source" command to the power supply in a loop.
    Changing the Voltage setting in periodic value.
    How fast of a periodic voltage do you need?
    You may be limited to how fast LabVIEW, Windows and your power supply can respond to commands.
    Use VISA writes. It is the same for LXI as it is for RS232. The LabVIEW code would be the same.
    After you select the corrent VISA Ref, either a com port or an IP address, LabVIEW does not care if it is LXI or RS232.
    From a Magna manual I found
    Command Syntax
    [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] <nrf+>
    [SOURce]:VOLTage[:LEVel]:TRIGgered[:AMPLitude] <nrf+>
    Examples
    VOLT 200
    VOLTAGE:LEVEL 200
    VOLTAGE:LEVEL:IMMEDIATE:AMPLITUDE 2.5
     

  • Pid: give a temperature wave by controlling voltage (power supply)

    Hi all.
    I have a system like the one attached in the message.
    I have two working VIs: one that receive the temperature values and one which can read and write the voltage values.
    Now: I need to control the system to have a sort of temperature value/values definied in the beginning (costant, sine wave, etc) by changing automatically ( I think PID is good to do it) the voltage.
    I don't know how to "mix" the VIs to make it work, expecially I don't know how to relate the temperature and the voltage.
    Hardware:
    Temperature: NI 4351 DAQ traditional (NO DAQmx)
    Voltage: HP Agilent 6033A (GP-IB controlled)
    Thank you all
    Attachments:
    Capture.PNG ‏13 KB

    so.. i'll try to explain me better.
    I have a peltier cell that is like a refrigerator (the hot part isn't involved in the system, so not a problem).
    Upon it there's a metal box with the termocouple; in labview I see the state of the temperature.
    upon the box there's the heater, connected to the power supply.
    the power supply is controlled by the program in labview (by controlling the voltage).
    How do I want to control voltage?
    I want that the temperature follows a determined wave (a costant, a sine wave, etc...). If I do not give voltage to the heater, the temperature's box is going down and down. So I want that the labview program, controlled by a PID control, adjusts the voltage (controlling the Power supply) to make the temperature following the determined wave..
    So:
    I don't know how to relation the voltage with the temperature, with the PID attached in this message.
    Hope this time i explained good.
    Attachments:
    pid.zip ‏104 KB

  • Low Voltage Power Supply

    How do I replace a low voltage power supply for a laserjet 4700?

    Hello Efing,
    Thanks for the post.  I've included a link below that has some great information on "self-repair".  IF you cannot locate the needed information here, I might suggest posting this question on the links below the first.  Also, another link for the HP Parts store, where you can purchase the needed parts if available.  I hope this helps, good luck!
    http://h20000.www2.hp.com/bizsupport/TechSupport/CsrPartsEligibleDocument.jsp?contentGroup=BSC_SYSTE...
    http://h30499.www3.hp.com/t5/Business-Support-Forums/ct-p/business-support
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    http://h20141.www2.hp.com/Hpparts/Default.aspx?mscssid=77BFC7C9E77A43CC9CDF6F3A3E68D587
    I worked for HP but my posts and replies are my own....Thank you!
    *Say thanks by clicking the *Kudos!* which is on the left*
    *Make it easier for other people to find solutions, by marking my answer with (Accept as Solution) if it solves your issue.*

Maybe you are looking for