
Visit our shop for nerds in control lifestyle products.
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
get a prompt, type like hell.
www.control.com/rss/
To get a personalized feed, become a member at no cost.
The hardware includes a Thermocouple and a Heater block. I wish to use micro-controller (C programming) to control the heater block to fire up to 200 degree and maintain at that temperature.
I have included some parameters to be considered: Kp, Ki, Kd, setpoint, actual output and error. Is there any other parameter I should include? How should I manupulate these parameters to control my heater block in order to ramp and maintain the temperature using PID algorithm?
Thank you for your attention, please give me some advice on these. =)
Best regards,
Wayne
Additional parameters you should consider are output limits (min/max heater power?) for anti-windup if you use integral control, and scaling factors between the inputs and outputs of your micro-controller (is the temperature measurement input signal in mA, deg C, deg F, another unit?) and internal scaled or engineering units. Another factor to consider is whether you will need to switch between automatic and manual control (requiring bumpless transfer/changeover), or will always be under automatic control.
For ideas and examples of PID algorithms and code, search on the http://www.control.com site for "pid implementation" and "pid using c".
Good luck,
Gerrit
There is a full resource for your to build a PID controller for a heater: using thermocouple or RTD sensor, on/off or phase control for the heater, Orcad schematic, C code for both microcontroller and PC interface via serial communication, PID code with Kp, Ki, Kd.
The link is:
http://www.psocdeveloper.com/docs/appnotes/an-mode/detail/a n-pointer/an2208/an-file/128.html
However, it is based on Cypress PSoC microcontrollers. They are very powerful 8 bit microcontrollers: ADC, DAC, PWM, analog multiplexers, timers/ counters, I2C, UART, amplifiers etc. Its big disadvantage is quite complicated to start, learn and understand. It is very difficult in comparison to 8051 microcontrollers.
Hope you like it!
Hung Lam
For a tutorial on PID control & tuning, visit:
www.expertune.com/tutor2.html
-George
- ABCs of SBCs: Single board computers for embedded control; Lego learning
- Less, more: NEMA cites less confidence; NAM sees more exports of manufactured goods
- Free webinar on Zigbee for embedded systems
- Better together? Ametek, Dresser-Rand, IntervalZero, Rexroth make acquisitions
- You need 2 monitors: This Website will prove it
- Preview: Mitsubishi iQ controls sequence, motion, process, CNC, robotics; has connectivity
- 30 new Rockwell Automation products integrate hardware, software
- Software certified by AT&T: Runs on PDAs, cellphones, enables mobile applications
- Research: HMI supervisory software use increases with service needs
- Process modeling: Spreadsheets support multiphase flow simulation
Patronize our advertisers!




