Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Control signal with derivative

I'm trying to control a heating element by the difference between the user-set target temperature and the (absolute) extreme (user-set) temperature.  I've considered testing for cases using first and second derivatives.  From some reading, I've come across the idea of PID, but I can't view any working, accurate samples to even see if this is where I want to go.  I'm in the planning stage, so I've only minimal code.  My first step is "Intake Temperature Signal" (currently simulated by a gentle sin wave, just for a sim).  Second, "Analyze Temp Signal"; third, "Analyze Temp Derivative(s)"; fourth, "Combine Signals" (somehow); and last, "Re-Analyze (or confirm) Temp Signal".

Any directions to where I can see good examples of PIDs, or confirmations that this is the direction that will take me where I want to go?

Thanks!

0 Kudos
Message 1 of 4
(4,076 Views)

Hello,

 

There are actually many different PID examples in the Example Finder. If you click Help»Find Examples and then search for PID, you will find all the examples. These should help you get started and will also let you see the way in which it is used. You will need to have the PID Toolkit installed in order to see these.

 

-Zach

0 Kudos
Message 2 of 4
(4,057 Views)

I have not the ability to view the Example PIDs as they require subprograms I do not have.  (Apparently, the Mac version is incomplete.)

http://forums.ni.com/ni/board/message?board.id=170&message.id=458008#M458008

(Link to where the question was posted to the correct board.) 

Thank you. 

0 Kudos
Message 3 of 4
(4,048 Views)

Hello,

 

I did not realize that you already has another post on this very same topic. If possible, please keep to one post in order to get the most effective and timely responses. I will answer some of the Mac questions over there.

 

-Zach

0 Kudos
Message 4 of 4
(4,040 Views)