From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-25-2012 06:37 PM
Hi, I am working on a calibration rig that reproduces high transient temperatures using an arc welder as the power source. I have programmed a VI that controls the current input to the power source to reproduce the desired temperature profile by modulating the power of the arc.I first convert the desired temperature profile to a corresponding current profile using some analytical calculations,which I then feed to the VI.
I am now trying to implement a closed loop system so that I can read the temperature profile reproduced by the power source and match it to my desired temperature profile by controlling the amount of current supplied to the power source. I am not sure how to go about doing this since my current input is in a file that is read by the VI when it starts. I have attached my VI here as well. I would really appreciate if anyone has any ideas regarding this issue.
11-25-2012 08:22 PM - edited 11-25-2012 08:22 PM
Do you have the LabVIEW PID and Fuzzy Logic Toolkit? Have you ever done closed loop control before?
Your current profile file should only need to be read once and then passed into the control loop.
Including the current file would help in understanding what your profile looks like.
11-27-2012 12:07 AM
Yes,I do have the Labview PID and Fuzzy logic toolkit. Unfortunately, I am a beginner at closed loop control. I agree that the squence structure is unnecessary at the moment, but I might put a time delay at some point before the current control is executed by the VI. Thanks for your suggestion on using the sub-Vi's, I will give that a go.
My current profile changes on the basis of the temperature history I neeed to reproduce. Nonetheless, I have attached a profile that I have been working with lately.
Cheers
11-27-2012 12:17 AM - edited 11-27-2012 12:26 AM
Your closed loop, starting at time 0, would at each time interval, read temperature, convert that to a current and compare to your profile for time t. The difference will be your error. Your error is then amplified/attenuated (through PID) and sent to the power source as a new current (set point). The process repeats itself until you reach the end time of your profile. The fun part is tuning the PI or PID gains to make the system stable and remain so.
If the temperature profile is repeatable for the given current profile, then I don't see a need for a closed loop.