Re: Student Question on using a PID as a Dimmer to Control a Light Bulb!!! This is a fun one!!!!!!



deriso@xxxxxxxxx wrote:
So, I would:

1) find a PID that has a continuous analog output (0-10v dc)
(can you explain what that is a little more :) ...

Yes, the controller has to have either a voltage output or a current output (that can be converted to a voltage with a load resistor) that is compatible with the phase power controller relay. It also has to accept the type of thermocouple you have or can get.

does it output a voltage from 0-10v dc according to what it thinks
my lamp needs to
heat to?

Yes. 0% output is zero volts, and 100% output is 10 volts.

ex. set temp is 200deg C
current object temp is 150deg C

the PID will give a voltage output of lets say 8.789 volts
(my guess) and decrease
the voltage to say 5.565 as the temp nears the setpoint (or
however the graph
goes...). The idea is that it gives its approximation of how
far my temperature is
from my set temp in terms of an analog (dc?) voltage. i might
be very lost here...

The PID algorithm compares the present value of the input (temperature) with the stored setpoint value and computes the three terms (proportional, integral and derivative) and combines the three factors to produce the output. You give the controller a model of the response of the system, so it uses the correct amount of each factor to push the measured value toward setpoint without overshooting or oscillating. If you want to read a nontechnical tutorial about how to tune a PID controller and how the three factors act, one I wrote is available at:
http://www.tcnj.edu/~rgraham/PID/popelish.html

2) use an SSR that converts the analog voltage output to a phase
control (dont really
know what that is either... but it looks expensive) What is a phase
control??

It is a solid state switch that holds back the line voltage for some part of each half line cycle and then turns on and conducts for the rest of the half cycle. The fraction of each half cycle that line voltage is applied to the load is controlled by the DC input voltage. So, if the power comes from a 60 Hz line frequency, you get 120 power pulses per second, which is fast enough for the lamp to have very little flicker.

3) take that phase output and put it into some kind of dimmer circuit
like this one
http://www.epanorama.net/documents/lights/lightdimmer.html#advanced

What goes to the lamp? the phase output? is that a voltage potential?
please explain...

If you get one of the phase controlled relays, it controls the power to the lamp, directly. you just wire its two output terminals in a break in the lamp circuit.

That link shows you approximately what is inside the phase control relay, if you would rather buy than build.
.



Relevant Pages

  • Re: Student Question on using a PID as a Dimmer to Control a Light Bulb!!! This is a fun one!!!!!!
    ... Essentially I want the PID to surve as a dimmer switch that smoothly ... the object maintain a set temperature. ... Controller: hopefully PID that can eventually function as a dimmer ... The two limiting factors are what will it do to the lamp to be turned on and off continually, and how rapidly will your plant respond? ...
    (sci.engr.control)
  • Re: PID question
    ... using this value to provide current limiting, via a PID algorithm ... controlling the set voltage. ... One way to accomplish this is to have two PID controls, a fast one that controls current, and a slow one than controls voltage, by modifying the setpoint for the current loop. ... This is called a cascade controller (a single output controlled by two measured variables, ...
    (sci.electronics.design)
  • Homebrew Digest #5395 (August 13, 2008)
    ... AUGUST'S HOME BREW DIGEST BROUGHT TO YOU BY: ... PID Controller ... PID - Heat Output ...
    (rec.crafts.brewing)
  • Re: Strange control problem -- 3 phase "firing system"
    ... Another line of thought is that the controller assumes that the low ... Voltage sensor is not differential, ... adjust the pot slowly, there seems to be less wobble. ... Double check that my divider for voltage feedback is correctly done. ...
    (sci.electronics.design)
  • Re: Integral and derivative: units of time or gain?
    ... I am working with an ABB system and all the PID loops have 4 tuning ... The gain simply multiplies the error by Kp. ... reduced to zero and creat a pure I,D or ID controller. ... Td = 0.1 to 0.125 times measured period. ...
    (sci.engr.control)

Loading