06-08-2017 11:38 PM
Hi, I am trying to control the heater OFF when the temperature is over certain value and ON again when the temperature drops with SSR switch. Temperature is measured with K-type thermocouple by using UART with arduino. Now I am in stuck connecting PID VI block. Please give some advice to complete...
06-29-2017 08:43 PM
PID gives you an analogue signal(we can said) usually you will variate the power in the heater and not just off/on, if you want on/off you had to decide your upper and lower limit at the output of your PID.
the connection of the pid is very easy you had your wanted value, you had your actual value(thermocouple) the different between them is the error(e) you had to set your P I and D values.
07-25-2017 05:27 AM
If you need to maintain the temperature you can use the PWM and give the SSR a duty cycle. There is a PWM block for the myriio. Set your output on the PID for 0-1 (units would represent %) and use that as your dutter cycle. Depending on your clock speed you'll have to play around with the ON/OFF cycle.