LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting the ADC7480/12A controlled PSU to NI USB-6009

Hello, can you tell me, please, how to control the voltage of the PSU through

LabVIEW to control the technological process?

 

The task is to control the voltage of the PSU through the interface in LabVIEW to light a light bulb (the light bulb is used simply to demonstrate work in order to learn and understand such a relationship) I would like to know your opinion on this, recommendations, etc.

 

Next, I will attach a drawing for a more visual example of my idea and the intended logic in the interface. I hope that someone will respond to help and be able to help.

 ADC7480.pngLabVIEW.png

0 Kudos
Message 1 of 11
(346 Views)

Hi

Unless your PSU uses a different version,

According to this manual 

PowerNet ADC7480 SERIES User Manual (Page 6 of 9) | ManualsLib

 

The J69 connector is not to be used, the analog control is done by J1 Connector on the front panel. The other page shows the pinout of the 6 wire pin connector. 

 

Voltages should be from 0 to 5 V. 

 

 

 

LVNinja_0-1731338330675.png

 

LVNinja_1-1731338341753.png

 

 

0 Kudos
Message 2 of 11
(333 Views)

Unfortunately, I have a different BP model. If you don't mind taking a look at my LabVIEW code in Dev1/ao0, I'm feeding a wire from the PSU that is responsible for the Voltage reference. Next to the connector under AO0, I connect the GND from the PSU. For analysis, I connected the wire from AO0 to AI0 to check the reaction, since the PSU did not want to react in any way to voltage changes 0-5V through the slider. In the documentation (see the picture) I have not found an exact answer to the question whether the PSU can be in standby mode without any load or it somehow needs to be switched to external control mode, but this apparently needs to be written by the POWERNET developers themselves.

123.jpg

1234.jpg

1233.jpg

 

I am a student and I was given such a task at work, I tried for a long time to find information on solving my problem, but without success. Maybe some more improvements are needed in the LabVIEW code or it is necessary to use other libraries, although it seems that using DAQmx is the most optimal and the task is not difficult to implement, but I have been in one place for quite a long time..

  

0 Kudos
Message 3 of 11
(326 Views)

Can you provide a wiring diagram how you connect the psu to the USB daq ? 

0 Kudos
Message 4 of 11
(316 Views)

IMG_0043.jpeg

I can't attach the full photo. But I think it will be clear. From port J69 there is a separate branching of wires.

 

Yellow wire - Voltage Reference.

Green wire - GND.

Blue wire - Connection between AO0 and AI0

0 Kudos
Message 5 of 11
(305 Views)

Try connecting 2 AO , one for Voltage another for Current. Add a load into the PSU before testing. 

Adjust the AO to setup values from 0 to 5V. 

Modify the VI to contemplate the 2 outputs. 

 

 

 
 

 

LVNinja_2-1731346607984.png

 

LVNinja_5-1731346745934.png

 

 

 

 

0 Kudos
Message 6 of 11
(286 Views)

Okay, tomorrow I'll try to do as you advised. Thank you.

0 Kudos
Message 7 of 11
(273 Views)

Hello!

Tell me, I don't quite understand how to connect the Сurrent to AO1, because when my code is turned on, an error of the wrong channel type is issued.

LabVIEW Code.png

Error.png

  

0 Kudos
Message 8 of 11
(225 Views)

The USB-6009 doesn't have current outputs, only voltage outputs. You can't change a voltage output into a current output programmatically.

 

What you do want to do is to use a scale, so you can enter your current value but it will be translated into a voltage and output on the USB-6009 as such and then your PSU will regulate a current based on the voltage you provide to the current control input.

Rolf Kalbermatter
My Blog
0 Kudos
Message 9 of 11
(216 Views)

Could you show me how it should look graphically or schematically?

0 Kudos
Message 10 of 11
(198 Views)