Professional Documents
Culture Documents
Fig 1. Comparative table between different The algorithm [3] that was used to do system
types of luminaires. identification is Recursive parameter
estimation by Dr. Robin de Keyser,
LED bulbs, opposite to traditional ones, works implemented in a Matlab code. See Fig. 3.
with continuous current (CC) and this detail
makes a little complex the design of the control Identification can be applied in offline or online
circuit, or driver. We have to do this because mode. Our type of process requires online or
its an important step and the only way for recursive mode: data are used as soon as they
develop and do the PWM control over the are available, parameters can be continuously
bulb/fluorescent. estimated during the experiment. Estimated
parameters are recalculated each time new
III- SYSTEM IDENTIFICATION data becomes available. Thus, when the model
is updated periodically, referenced to its past
After driver design, we have to build an values, this is called recursive identification or
algorithm for a correct system identification [3] recursive parameter estimation.
and it must be in an -all controlled- room, doing
this we have not problems with disturbs, noises
or another obstacles that keep away from the
correct read of parameters the Luxmeter
sensor. That is how we can do a correct system
identification and obtain without problems the
transfer function of our process. We can see
some results in Fig. 2.
Before this, supposing that the average value The first way to obtain the PID parameters are
of disturbances is zero, we have the third therm with Matlab tool SIMULINK, PID Tuner. In this
from the equation equals to zero. With this, we tool, all we have to do is simulate the closed
have a good estimate for K: loop system, execute PID Tuner and software
give you the parameters in time (seconds).
(P=0.038822, I=9.6939 and D=-5.4566*e^-5).
It is correct if we consider this as the first try
to control our process.
1) The process receives a step input, only When we set PID parameters with the values
avaible for a system whose derivative is that we obtained with Tune PID from Matlab,
positive. and Z-N manual tuning, our PID controller
2) Register and graphic output time works well and we have a correct control of
response y(t) of the process, calculate this smart light automatic system.
maximum slope and make a tangent line Relays turns on and off the LED tubes
to the curve. depending if presence sensor detects some
3) In the graphic, we have two important movement around it.
points: a (intersection with vertical axis)
and L (intersection with x axis). With this The set point value we have to set manually,
2 parameters we can tune a PID controller according to the person requirement: if one
warranting stability. LED tube satisfy this condition, only this stays
4) We have to follow PID equation form and on, in the opposite case, system turns on the
values from tables that are obtained from controlled tube until it reaches the set point
different tests. value. Consequently, due for the PID
operation, system error keeps constant: it
warrants the stability in our process.
1. Although all automated systems offer a [1] Albert Hijano Badillo, Proyecto de
specific management manually, you cannot instalacin elctrica y domtica en una
overlook the fact that by automating any vivienda unifamiliar. Thesis. Universitat
installation creates a greater reliance on Politcnica de Catalunya.
electricity supply, which could be temporarily
replaced using small batteries in most [2] U.S Department of Energy, Energy
essential elements. Efficiency of LEDs. Link: http://www.hi-
led.eu/wp-
2. With PWM regulation, is not necessary to content/themes/hiled/pdf/led_energy_efficienc
use 100% of light output, while the user gets y.pdf
the necessary light for his requirements.
Lights are only on if presence sensor detects [3] Robin de Keyser, Recursive parameter
some movement in the area. All of this details estimation. Pages 2-11.
finally traduces in an efficient use of power
consumption. [4] Brett Beauregard, Improving the beginners,
PID introduction. Pages 3-28.
3. LED luminaires are currently used and
known because it has a high efficiency, which [5] Normativa de iluminacin Peruana. Pages
is traduced in a greater level of illumination 32-44.
(lumens) compared with energy consumption
(watts) required for operation. LED [6] Ji Xiong, Fang-Min Li and Jing-Yuan Zhang,
technology have an efficiency of Human Tracking System Based
approximately 80 %, which means that 80 % on PIR Sensor Network and Video. Pages 1-2
of electricity is utilized, while the remaining 20
% is wasted as heat. [7] William Ipanaqu Alama, Control
Automtico de Procesos. Pages 166-168
4. The LED lights have a life time of
approximately 100,000 hours, if LED have to
work 8 hours a day, it would take 20 years to
replace: it represents a zero maintenance of
lamps.