Hello,
I have been trying to control the temperature through labview in stead of using a PID controller (Omega CN740). I have been collecting my temperature data from C-DAQ NI-9211. So, its dynamic data. I have been using this data as the input of my process variable. Therefore when i start running the PID VI, the vi is supposed to continuously compare my process variable and set point using the PID gains given. And it should give me an output. I am converting the output to percentage and then simulating a PWM signal. And based on that signal, i get on/off condition to relay. and that runs my heater to heat the element.
Whenever , i am trying to run the code, initially its overshooting a lot and then keep fluctuating. Therefore, i am never finding any steady temp. I have tried to run the autotuning option too. As the signal is never becoming stable, the auto-tuning process is not returning any PID gain out.
I, exactly dont know what's the problem(whether the code or my trial n error PID gains input). I am attaching my VI here. It would be great if someone can give me some feedback about solving the issue.
Thanks,
Arnab