PDA

View Full Version : Closed loop control



BobEdge
- 16th February 2005, 10:49
Hi all,

Here is an example of closed loop control. I am using this code to regulate the current output of a 3 phase welder. A current shunt provides an input to the adc on the pic. The output is to a 12 bit dac.
The same principles can be applied to heating, motors, altitude hold on rc aeroplanes, etc, etc.
To get the damping required just fiddle with the numbers in the subroutines ihigh & ilow.
Hope someone finds this useful.

Regards

Bob