Hello
I recently obtained the PID control Toolkit from National Instruments which
should allow me to control the temperature of a furnace from the computer.
The toolkit works by comparing the value of a calculated setpoint with the
measured temperature and adjusting the output (in this case a voltage) to
ensure the actual temperature matches the setpoint.
I have devised a vi which calculates a moving setpoint (the user inputs the
start and end temperatures, and the rate at which it increases) - this was
fairly easy (I just used digital controls for each parameter and calculated
the increase in temperature with time). I now would like to be able to
create several steps in my temperature program (e.g. I may want to heat upto
200d
eg, hold for 10 mins, then heat up to 250 deg, hold for 20 mins, cool
down to 100 degs etc etc). The number of steps has to be totally
user-definable and could vary from 2 or 3 to over 50.
Would anyone have any idea how I could do this? The vi will need to execute
each step in turn, calculating the setpoint all the time. I tried creating a
multi dimensional array, each line containing a step of the program, but I
do not know how to extract the parameters from each line in turn. I am now
convinced that I was going totally down the wrong path and have now got
really stuck!
help please!! 🙂
Dr Jon Atkinson
University of Birmingham