LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the hardware I need to use LabVIEW PID to control some heaters?


@Top24 wrote:

I'm trying to do a kind of simulation that i define the speed of the temperature and I see it after PID a simple simulation


Is this a new topic?  It's probably best to start a new thread if this is the case, so there is no confusion.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 21 of 25
(761 Views)

Top24,

 

If you are just trying to simulate the effects of a control system without using any hardware, then that may be straightforward or extremely complex, depending on your system model.

 

Start by drawing a block diagram on paper to describe your system. Show your heaters, temperature sensors, and the power control device. At each point in the system write down what the relevant variable is. At the heater output the variable is the temperature. At the output of the temperature sensor the variable is probably a voltage proportional to the temperature. The power control device you mentioned earlier has current (4-20 mA) input and power as the output.  Your control system will have the temperature sensor output voltage and the setpoint (probably just a number) as inputs and control current (4-20 mA) as output.

 

Next write equations for each block relating output to input. In the heaters for instance there will be a time delay due to thermal conductivity and heat capacity as well as the power to temperature transfer function.  When you have the equations for all the blocks, combine them into a system of equations. This system of equations is your simulation of the system. Implement the equations in LV. Run it with various values to see how things behave.

 

You may write the equations initially as differential equations but it may be better for simulation to convert them to difference equations. Then each iteration of your loop represents one timestep.

 

Lynn

0 Kudos
Message 22 of 25
(753 Views)

Do you have any kind of simple example to show me? the thing is everyone tells me to draw a block diagram before labview but I don't really know much of my system i'm absolutly blind in this process... My supervisor just tell's me the following "chose any data and try to simulate with any values after that we look into our system" so I'm completly lost and don't know really what to do... only know I'll have a heater and temperature is already in my labview nothing else and I need to do a  PID controller 😕

0 Kudos
Message 23 of 25
(742 Views)

Go look at any textbook on control systems.  They all have the kinds of block diagrams that I have mentioned.  I am not near my library at the moment so I cannot post anything for you.

 

Lynn

0 Kudos
Message 24 of 25
(724 Views)

If you have the PID toolkit and you want to see examples go to help > Find EXAMPLES and search for PID.  The General PID example VI is a good place to start.  Actually, it can probably be modified to fit whatever needs you have very quickly.  There are also many LabVIEW PID tutorials out there.  Just do a search...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 25 of 25
(708 Views)