Design of PLC Based Automatic Street Light Control System
Design of PLC Based Automatic Street Light Control System
Abstract— The design and construction of automatic circuit design and practical status observation of
light control system is elaborated in the system. The components. The required components and
purpose of this research is that the automatic street description are PLC, LDR, PIR sensor, LM7805
lighting system is described an approach to accomplish voltage regulator, transistor TIP 41C, resistor, relay,
the demand for flexible public lighting systems using a
fluorescent lamp.
Programmable Logic Controller (PLC). The main
difference from other computers is that PLCs are
armored for severe conditions such as dust, moisture, 1. Programmable Logic Controller
heat, cold etc., and have the facility for extensive input PLC is a microprocessor based system that uses
and output (I/O) arrangements. In the proposed, street programmable memory to store instructions and
research, lights are controlled using FX2N- 20MT implement functions such as logic, sequencing,
Mitsubishi PLC taking the seasonal variations into timing, counting and arithmetic in order to control
consideration. In the proposed research, the street machines and processes. PLCs have been used in
lighting controller using Light Dependent Resistor industry in one form or another for the past twenty
(LDR) sensor and Passive Infrared (PIR) sensor are
over years. The PLC is designed as a replacement for
modeled and simulated using GX Developer PLC
software considering the seasonal variations. This the hardwired relay and timer logic to be found in
system can be automatically turned on and off the traditional control panels, where PLC provides ease
lights according to street light. This system operated and flexibility of control based on programming and
during the night and the focus is only for the one-way executing logic instructions. The internal functions
road at a junction. such as timers, counters and shift registers making
Keywords- PLC, LDR, PIR, street light sophisticated control possible using even the smallest
PLC.
I. Introduction of Street Light Control System
Nowadays, street lighting is essential for all areas 2. Light Dependent Resistor (LDR)
whether urban or rural since people know that street The LDR is a light- controlled variable resistor. The
light is an alternative during day and night in order to resistance of a LDR decreases with increasing
keep the safety of the road users. Street lights incident light intensity. A LDR are very useful
management control is quite simple yet as the especially in light and dark sensor circuits. Normally
urbanization, the number of streets increased rapidly. the resistance of an LDR is very high, sometimes as
Computer control and information system technology high as 1000000 ohms, but when they are illuminated
is applied widely in most of the process industry, with light resistance drops dramatically. Electronic
because it may produce significant technical and onto sensors are the devices that alter their electrical
economic benefits. characteristics, in the presences of visible or invisible
Automation is intended to reduce man power with the light. The best- known devices of these types are the
help of intelligent systems. Power saving is the main LDR, the photo diode and the phototransistors.
consideration forever as the sources of the power are
getting diminished due to various reasons. The main 3. PIR Sensor
aim of the research is automatic street power saving Passive Infrared Sensor popularly known as PIR
system with LDR; this is to save the power. The sensor. The sensor is basically made of a pyro electric
system wants to save power automatically instead of sensor. This rectangular size sensor has some basic
doing manual. So it’s easy to make cost effectiveness. features like it has 3 pins. One pin is VCC, another
This system is an ideal application for campus and pin is for output named OUT and last pin is GND. For
village street lighting. Principal areas of usage include supplying power needs 3.3-5V. When motion is
industrial lighting, street lighting, hostel lighting, detected, it provides 3v high digital pulse.
commercial lighting, the automatic room light control.
This research is developed to control the street light 4. Voltage Regulator (LM7805)
automatically. The main modules in this research are The 7805 (sometimes LM7805) is a family of self-
PIR sensor, LDR sensor and PLC .The PLC programs contained fixed linear voltage regulator integrated
are written in ladder diagram. This will be very useful circuits. The 78xx family is commonly used in
in industries. In future, this can be implemented with electronic circuits requiring a regulated power supply
artificial intelligence. due to their ease-of- use and low cost. 78xx and 79xx
ICs can be used in combination to provide positive
II. Devices and Components and negative supply voltages in the same circuit.
To implement of the desire research, the target is to There are three pins in IC 7805 The input voltage
arrange all required components and module as per range is minimum 7V to maximum 35V and the
Page 1
Technological University (Pakokku) Journal: Engineering and Research Volume-01, Issue-01, August, 2019
current rating is 1A. The output voltage range is value is less than K409, M0 is ON. Then, ADC value
minimum 4.8V and maximum 5.2V. is compared with K614. If ADC value is greater than
5. Relay K614, M10 is ON.
The relay is an electromagnetic device which is used
to isolate two circuits electrically and connect them
magnetically. This is used to interface an electronic
circuit to electrical circuit which works at very high
voltage. For example, a relay can make a 5V DC
battery circuit to switch a 230V AC means circuit.
YES
In the third step, M0, M10 and S0 is inputs and S0
is also output. M0 is normally opened and M10 is
YES
PIR1 detect
L1 switch ON normally closed. If M0 is ON and M10 is OFF, state
movement?
relay S0 is ON. In the next scan time, S0 will be
NO always ON because S0 is the self-energizing loop.
NO
10s Timer Up
NO
Figure 4. Third Step of Ladder Diagram
L3 switch OFF In the fourth step, S0 and X000 are inputs and
Y000 and S1 are outputs. If both S0 and X000 inputs
are ON, Y000 and S1 output are ON and Y000 is self-
END
energizing. In the next cycle, Y000 will be always
Figure 1. Overall Flowchart of Automatic Street Light ON even S0 and X000 are OFF.
Control System
2. Testing of Ladder Diagram
In the first step, M8000 is input. M8000 is normally
opened and it is a special internal memory relay of
FX2N PLC. When the PLC is started, this internal
relay is ON and starts the 100ms timer T2 with
number K100 for 10s delay. In the second step,
M8000 and T2 are inputs and M0 and M10 are
outputs. When the PLC is started and 10s delay timer
T2 is ON, ADC0 value is read from D8030 data
memory and move this value to D0. After reading Figure 5. Fourth Step of Ladder Diagram
ADC value, compare this value with K409. If ADC
Page 2
Technological University (Pakokku) Journal: Engineering and Research Volume-01, Issue-01, August, 2019
In the fifth step, S0, X1 and S1 are inputs and Y1, shown in Figure 9. This circuit is controlled by a PLC
S2, Y0 and S1 are outputs. If all of S0, X1 and S1 are FX2N- 20MT (Mitsubishi).
ON, Y1 and S2 will be ON. X1 input is motion sensor
input at second light station 2. S1 is the light ON state OUTPUT LM7805 INPUT
3 1
of light station 1. Because of S1, Y1 and S2 will be V0 Vi
GND
5V AC
LDR
2
470Ω
Q1
TIP41C
24VGNDA0A1A2A3A4 A5 A6
LAMP2
X9 Y5 RL2
VCC R3 Q1 X10 Y6
OUT TIP41C X11 Y7
GND 470Ω
AC
COIL
220VAC LAMP3
RL3
GND
RUN MODE
LAMP1
Page 3
Technological University (Pakokku) Journal: Engineering and Research Volume-01, Issue-01, August, 2019
RUN MODE
LAMP3 (Y2)
IV. Conclusion
This proposed research illustrated the design and
construction of automatic street control system using
PLC. The control logic is written in Ladder Language
using GX Developer software. LDR sensor and PIR
sensors are the two main conditions in working the
circuit. If the two conditions have been satisfied, the
circuit will do the desired work according to specific
program. The system is simple and cost effective.
Automatic control using LDR helped to save a large
amount of electric power which is wasted in
conventional street lighting system. The automatic
switching operation observed using the developed
control circuit is found to be very efficient and the
maintenance cost is very less. The circuit controls the
turning ON or OFF the street light. Automatic street
light controlling system puts up a very user friendly
approach and could increase the power save.
The street lights have been successfully controlled by
FX2N- 20MT Mitsubishi PLC. With commands from
the controller the lights will be ON when it's dark.
This proposed research included the study of energy
saving system in many applications. Finally, this
control circuit can be used in a long roadway between
the cities.
REFRENCES
[1] Fadlur Rahman, “Automatic Street Light
Control Using Light Dependent Resistor
Page 4