11-11-2024 08:59 AM
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.
11-11-2024 09:24 AM
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.
11-11-2024 09:46 AM
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.
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..
11-11-2024 10:05 AM
Can you provide a wiring diagram how you connect the psu to the USB daq ?
11-11-2024 11:19 AM - edited 11-11-2024 11:20 AM
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
11-11-2024 11:40 AM
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.
11-11-2024 12:35 PM
Okay, tomorrow I'll try to do as you advised. Thank you.
11-12-2024 01:32 AM
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.
11-12-2024 02:01 AM
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.
11-12-2024 04:03 AM
Could you show me how it should look graphically or schematically?