Project With Connection
Project With Connection
Abstract
In this paper an automatic urinal flushing system that ensures hands free flushing and conservation of water is proposed. Use is
made of a delta DVP-I4SS2 programmable logic controller (PLC), limit switch and a solenoid valve to achieve the hardware
design. A limit switch is actuated the moment a user steps on a standing pad placed at the front of the urinal thereby turning on
the PLC input. The PLC uses this information to give an output command to actuate a solenoid valve to flush the urinal. Ladder
control program was developed for the hardware control using WPLSoft software. Programming and testing of control program
with the proposed system suggested that the system can be easily implemented at public places, banks, schools, restaurants and
bus stop terminals at an estimated cost of US $ 202.
Key Words: Flush, PLC, Limit switch, solenoid valve, WPLSoft, DVP-14SS2
--------------------------------------------------------------------***----------------------------------------------------------------------
Manual Tap
Recent developments have taken the urinal flushing system problem was addressed by the works of [2]-[5]. In this
a step further by designing automatic flushing system that research, a PLC based automatic urinal system is proposed.
flushes at regular time intervals irrespective of actual use or The design also incorporates a manual bypass incase of
not. This approach eliminates direct contact with the urinal power failure or system’s malfunction.
and eliminates the problems presented by the former.
However it suffers the setback of water wastage [2]. This
_______________________________________________________________________________________
Volume: 04 Issue: 08 | August-2015, Available @ http://www.ijret.org 279
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
Power Supply
Unit PLC
Solenoid Valve
Water
Flow
Manual Bypass
Urinal
Chamber
Limit Switch
Standing Pad
Fig -2: Layout Diagram of Proposed Automatic Urinal Flusher
STOP
RUN
DVP-14SS2
ERROR
POWER
RUN
Power Supply
+ - GND
RS 232
S/S
X3
Y5
Y4
Y3
Y2
Y1
Y0
X7
X6
X4
X2
X1
X0
C1
C0
X5
OUT
IN
R
DVP-14SS2
Limit PLC
Solenoid Fig -4: Pin Layout Diagram of DVP-14SS2 PLC
Switch Valve
Table -1: Specifications of Delta DVP14SS211R
Description Specification
Model DVP14SS2R
Number of I/O 14 (discrete, I=8, O= 6)
PC
Input signal 24 VDC
Programming Device
Output type Relay and Transistor
Fig -3: Block Diagram of Proposed Urinal Flusher Power supply 24 VDC
2.1 Plc
2.2 Power Supply Unit (PSU)
Delta DVP14SS211R PLC is used in this design to achieve
the desired control using a written ladder diagram program. The main power supply line to the controller is 24 VDC.
We created the program using WPLSoft programming This power supply line is distributed to the central
software. Figure 4 shows the pin layout diagram of the PLC processing unit (CPU), the input module through the input
and Table 1 shows the specifications of DVP14SS2 PLC. devices and the output module thought the output devices.
We selected this type of PLC because it is relatively cheap, The 24 VDC supply is a converted power from a 230 VAC
small in size, flexible and easy to use. source as shown in figure 5.
_______________________________________________________________________________________
Volume: 04 Issue: 08 | August-2015, Available @ http://www.ijret.org 280
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
Y2
plastic solenoid valve for automatically opening and closing Solenoid valve
C1
the pipe line to control the flushing of the urinal. The chosen Y3
Y4
valve is less expensive and the body is made of plastic so Y5
the issue of corrosion is eliminated. Figure 6 shows the
RS 232
diagram of the proposed solenoid valve [6].
+ - GND
R
X0
Fig -6: Diagram of a Solenoid Valve
Y0
2.4 Limit Switch
4s 4s 5s
We used a limit switch in this design to detect a urinal
attendant when he/she steps on the standing pad to urinate. Standing First Second
Omron, D4A-0E00, 6A, 24VDC, XLNT, limit switch [7] time flushing flushing
was selected for this purpose.
Fig -8: Timing Diagram of First Scenario
_______________________________________________________________________________________
Volume: 04 Issue: 08 | August-2015, Available @ http://www.ijret.org 281
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
2. Stopping the first flushing and starting the second 3. If the second user comes before the finishing of the
flushing if the first user leaves the urinal during the 5 s flushing, the flusher will finish the 5 s flushing
first flushing process. This is shown by figure 9. process and skip the first 4 s flushing process.
When the second user leaves the urinal, the flusher
First attendant will perform another 5 s flushing as shown in
figure 10.
X0
4s
Y0 First flushing
4s 5s
X0
Y0
4s 4s 5s 5s
Figure 11 gives the ladder logic control program of the 232 communication cable. The program device list is as
complete system. The control program was successfully shown in table 2.
compiled and downloaded to the PLC memory via the RS-
_______________________________________________________________________________________
Volume: 04 Issue: 08 | August-2015, Available @ http://www.ijret.org 282
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
Table -2: Device List of Control Program As a way of testing the control program, we connected a
Device Function toggle switch in place of a limit switch and a pilot lamp in
place of a solenoid valve. Figure 12 gives a screen shot of
X0 Limit switch the ladder logic program when the toggle switch was OFF
whiles figure 13 shows the ON condition. Figure 14 and 15
M0-M2 Internal relay give the corresponding hardware displays. We observed
T0 4 s timer. Time base: 100 ms that, manually operating the toggle switch according to the
control scenarios causes the pilot lamp to behave
T1 4 s timer. Time base: 100 ms accordingly.
T2 5 s timer. Time base: 100 ms
Y0 Solenoid valve for flushing
_______________________________________________________________________________________
Volume: 04 Issue: 08 | August-2015, Available @ http://www.ijret.org 283
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
PSU
Toggle
Switch OF Toggle
PLC Pilot Lamp Switch ON Pilot Lamp
OFF ON
Fig -14: Corresponding Hardware Display when Toggle Fig -15: Corresponding Hardware Display when Toggle
Switch was OFF Switch was Turned ON after 4 s
_______________________________________________________________________________________
Volume: 04 Issue: 08 | August-2015, Available @ http://www.ijret.org 284
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308