SlideShare a Scribd company logo
1 of 5
Download to read offline
IOSR Journal of Engineering (IOSRJEN) www.iosrjen.org
ISSN (e): 2250-3021, ISSN (p): 2278-8719
Vol. 05, Issue 01 (January. 2015), ||V3|| PP 26-30
International organization of Scientific Research 26 | P a g e
(FPGA) based design for minimizing petrol spill from the pipe
lines during sabotage
Hani mohammed moqbel saleh¹, Abdelrasoul Jabar Alzubaidi²
1 Sudan Academy of Sciences (SAS); Council of Engineering Researches & Industrial Technologies
2 Sudan University of science and Technology , Engineering College , School of electronics
Abstract: Sabotage operations on petrol pipe lines happen all over the world. The saboteurs aim from such
operations is to hinder the petrol exportation process. The sabotage operations on petrol pipe lines causes a
spilling of a large amount of petrol from the pipe lines. Sabotage of the petrol pipe lines also causes fires and
pollution to the environments . Such operations causes a lot of loss in economy to the country concerned where
the sabotage took place. This paper sheds the light on this challenging issue to steady and propose an intelligent
electronic circuit design solutions to this problem. An electronic circuit design based on using a Field
Programmable Gate Array (FPGA) is proposed to reduce to minimum the amount of petrol spilling when a
sabotage on the petrol pipe lines happens. A real time sensing and response electronic circuit is implemented to
fulfill this task .The system design is programmable (i.e intelligent) and hence the electronic actions established
in the design can be modified easily. An electronic interface circuit is deigned to be connected to the
(FPGA).The task of the electronic interface circuit is to acquire data from the sensors installed on the petrol pipe
line and to give commands to the electronic and electrical devices to stop the pumping operation and to close the
petrol pipe line immediately. Many electrically controlled pipe closing valves are to be installed along the pipe
line. These electronic closing valves are remotely controlled by the embedded system based on the (FPGA).
Keywords : FPGA , VHDL , ASIC , PLD , embedded system , petrol pumping , petrol pipe line , interface
circuit , smart sensors.
I. INTRODUCTION
The field programmable gate array (FPGA) is an integrated circuit designed to be configured after
manufacturing. The FPGA configuration is generally specified using a verilog hardware description language
(VHDL), similar to that used for an application-specific integrated circuit (ASIC). FPGAs can be used to
implement any logical function that an ASIC could perform.
FPGAs contain programmable logic components called "logic blocks", and a hierarchy of reconfigurable
interconnects that allows the blocks to be "wired together"—somewhat like many (changeable) logic gates that
can be inter-wired in (many) different configurations . Logic blocks can be configured to perform complex
combinational functions, or merely simple logic gates . In most FPGAs, the logic blocks also include memory
elements, which may be simple flip-flops or more complete blocks of memory.
There are numerous options for designers in selecting a hardware platform for custom electronics design,
ranging from embedded processors, application specific integrated circuits (ASICs), programmable
microprocessor, FPGAs to programmable logic devices (PLDs). The decision to choose a specific technology
such as an FPGA should depend primarily on the design requirements. Therefore, if the hardware requirements
require a higher level of performance, then the FPGA offers a suitable level of performance. [4]
The definition of the behavior of the FPGA is performed by programming it by a very high speed integrated
circuit hardware description language (VHDL).[1]
This paper deals with using the embedded system based on the FPGA as a means for minimizing the crude oil
spilling when a sabotage operation occurs. The FPGA is programmed to offer real time sensing and control of
petrol pumping in addition to closing the nearest electronic valve on the petrol pipe when sabotage occurs .In the
normal petrol pumping operation , the FPGA senses the conditions of the petrol pumping pipe in order to offer
secure pumping .Wireless smart sensors are mounted on the petrol pumping pipe. The aim of the design is to
mainly avoid pipes damage or explosion due to mal functions of pumping in addition to the immediate closure
of the pipe when sabotage occurs .
II. PROBLEM STATEMENT
Minimization of petrol spilling from the pipe is a challenging issue .A proposed solution is based on
using multi-sensing control system based on FPGA . The embedded system gives a real time response based on
the data acquisition from the wireless smart sensors mounted on the pipe . The high speed of processing of the
FPGA offers an instantaneous response for any data coming from the smart sensors.
(FPGA) based design for minimizing petrol spill from the pipe lines during sabotage
International organization of Scientific Research 27 | P a g e
III. METHODOLOGY
This paper explains the approach for the design based on the FPGA platform .The aim of the complete
design is to offer maximum safety for the petrol pumping process plus minimizing the petrol spilling when
sabotage occurs. A closed loop control system design is adapted . A number of smart sensors are installed on the
petrol pumping pipe . The smart sensors provide the FPGA with an instantaneous data showing the status and
condition of the pipe .The sensors are connected to the FPGA through a data acquisition interface circuit
designed to provide the data . According to this design the FPGA will be able to monitor and control the petrol
pumping process instantaneously. Hence the embedded system offers a real time monitoring and control for the
secure petrol pumping and sabotage operations. The following block diagram figure (1) shows the basic parts
of this design.
Figure (1) Block diagram for monitoring and control of the petrol pipe.
The proposed model assumes the installation of five solenoid vales (SOL-1 to SOL-5) and five rate of flow
sensors (R1 to R5) are to be installed on the petrol pumping pipe are shown on figure (2) below. The spacing
between a pair of solenoid valve plus rate of flow sensor and the other pair on the pipe is assumed to be equal
to one meter. The solenoid valves are controlled remotely by the embedded system. The rate of flow sensors are
wireless sensors. A (DTMF) electronic circuit is used to control remotely the operation of the solenoid valves.
Once saboteurs attack the petrol pipe line , the system responds immediately by stopping the pumping and
closing the nearest solenoid valve to the leakage of petrol .The same thing happens when an accidental leakage
in pipe happens.
Figure (2) A pipe line model mounted with five pairs of solenoid valves plus rate of flow sensors.
(FPGA) based design for minimizing petrol spill from the pipe lines during sabotage
International organization of Scientific Research 28 | P a g e
The electronic circuit components of the design are :
 Field Programmable Gate Array (FPGA) .
 Smart temperature sensor.
 Smart pressure sensor.
 Smart rate of flow sensor.
 Data acquisition interface circuit (Buffer SN74373).
 Interface circuit to control the pumping machine (Buffer + Darlington amplifiers ULN2003 ).
 Interface circuit to control the electronic valves on the pipe line (Buffer + Darlington amplifiers).
 Dual Tone Multiple Frequency decoder (DTMF 8870).
 GSM modem.
 Solenoid valves.
 Pumping machine.
IV. OBJECTIVES
The objectives of the design are :
1.Development of a computer program in VHDL language. 2.
Downloading the program into the FPGA. 3.
The task of the program is to perform a real time multi-sensing monitoring and control for secure pumping of
petrol in the pipes.
4. The embedded system senses the sabotage operations and the program immediately stops the pumping
operation and closes the nearest valve on the pipe.
SOFTAWE PROGRAM & ALGORITHM:
To achieve the objective of the real time monitoring and control of petrol pumping operation and closing of the
valves on the pipe , we need to go through five steps as follows:
1. Step one is developing a VHDL program in the computer by using Spartan-3 software .
2. Step two includes VHDL synthesis in the design, which converts the design in the behavioral
description file into gates. The synthesis tools figure out what gates to be used based on the VHDL program file.
3. Step three includes downloading of the program into the FPGA as shown in figure (3).
4. Step four includes integration of the embedded platform with the smart sensors , data acquisition ,
interface circuit , solenoid valves and the pumping machine as shown in figure (1).
5. Step five includes testing and debugging the operation of the whole system .
Lab Link Cable
Figure (3) Connection for programming the FPGA
The algorithm for performing a real time monitoring and control of petrol pipe contains four
subroutines . The condition for calling the subroutine depends on the values acquired from the smart sensors .If
the values are normal ,standard subroutine will be called . If the rate of flow sensor readings are abnormal due to
petrol leakage , a sabotage subroutine will be called. The algorithm is :
Start
Initialization :
--- Clear all output control signals.
Check incoming data:
--- Check the incoming data from data acquisition interface circuit-1.
--- Analyze the incoming data.
--- If the [(Rate of flow is NORMAL), then call standard pumping subroutine.
--- If the [(Rate of flow is ABNORMAL), then call sabotage subroutine.
--- Go to check incoming data .
FPGA
FPGA
(FPGA) based design for minimizing petrol spill from the pipe lines during sabotage
International organization of Scientific Research 29 | P a g e
End.
Standard pumping subroutine :
Start:
--- Set the petrol pumping machine to the standard RPM based on the specifications of the pipe (1000 RPM).
Return.
Sabotage subroutine :
Start:
--- Shut down the petrol pumping machine (0 RPM).
Analyze leakage location:
-- If the [(R1 > R2) & (R1 > R3) & (R1 > R4) & (R1 > R5)], then close solenoid valves (SOL-1,2).
-- If the [(R2 > R3) & (R2 > R4) & (R2 > R5)], then close solenoid valves (SOL-2,3).
-- If the [(R3 > R4) & (R3 > R5)], then close solenoid valves (SOL-3,4).
-- If the [(R4 > R5)], then close solenoid valves (SOL-4,5).
-- If the [(R5 > R4)], then close solenoid valve five (SOL-5).
--- Operate the emergency alarm siren for one minute.
Return..
FPGA connector A1 is programmed for data acquisition from the smart sensors on the pipe.
FPGA connector A2 is programmed for data output to control the RPM of the petrol pumping machine.
FPGA connector B1 is programmed for data output to control the five solenoid valves on the petrol pumping
pipe.
V. RESULTS
The FPGA is the right choice for the operation of petrol pumping process despite its high cost relative
to other processors .The FPGA has huge facilities to control systems according to its ability to execute the
commands in a parallel way. This criteria widens the range of controlled elements with less delay time. The
same thing in VHDL language, in spite of its complicated language, but it is the right choice to program
complicated control systems. It is suitable for a system that needs fast execution of commands.
.The designed monitoring and control system is a real time system. It operates and responds according to the
data values acquired from the smart sensors.
Table (1) below shows the results of operating the system.
Equation (1) to (6) show the conditions for the activation of the five solenoid valves and pumping shut down
operations.
(SOL-1,2)closed = [(R1 > R2) & (R1 > R3) & (R1 > R4) & (R1 > R5)]….. (1)
(SOL-2,3)closed = [(R2 > R3) & (R2 > R4) & (R2 > R5)] ……………… (2)
(SOL-3,4)closed = [(R3 > R4) & (R3 > R5)] ………………………………..(3)
(SOL-4,5)closed = [(R4 > R5)] …………… ………………………… …. (4)
(SOL-5)closed = [(R5 > R4)] …………………….. …………………….. (5)
SHUT DOWN (RPM = 0) = (R >> HIGH) ………. ………………… ……..(6)
Where;
R1 – R5 = Rate of flow sensors..
RPM = Revolution per minute .
Table (1) Results of operating the system under all possible conditions.
Note: R = Rate of flow , D = distance to leakage , SOL-1 = solenoid valve one , SOL-2 = solenoid valve two ,
SOL-3 = solenoid valve three , SOL-4 = solenoid valve four , SOL-5 = solenoid valve five
(FPGA) based design for minimizing petrol spill from the pipe lines during sabotage
International organization of Scientific Research 30 | P a g e
VI. CONCLUSION
A problem usually has multiple solutions, and a process can usually be controlled using different
controllers based on different methods. Almost every control method has its merits and weaknesses. What is
important is to use the right controller to fit the application at a minimum cost.
In the recent years, there has been a technical revolution in the semiconductor industry and in the electronics
industry, which has significantly developed the existing technologies in industrial control.
This technical development in both the semiconductor and the electronics industries have evolved industrial
control into both real-time control and distributed control. Real-time control requires controllers to capture all
the significant target activities and to deliver their responses as swiftly as possible so that system performance is
never degraded.
The (FPGA) have now approached intelligence similar to that of microprocessors, so that they are performing
more important functional role in various control systems. This paper dealt with the implementation of an
embedded system design for minimizing the petrol leakage when sabotage occurs . .
REFERENCES
[1] Volnei A. Pedroni, Circuit Design with VHDL, MIT press, Massachusts,2004.
[2] Peng Zhang, Industrial Control Tecnology,William Andrew, N. Y., 2008.
[3] ISE Simulator (ISim), UG682(v1.0), 2009.
[4] Deming.C, Jason.C, and Peichan. P, ― FPGA Design Automation: A Survey‖, now Publishers In, (2006).
[5] Stephen .B and Zvonko.V,‖Fundamental of Digital logic with VHDL Design‖,McGrow Hil,(2005)

More Related Content

What's hot

Rockwell automation's logix a hidden treasure
Rockwell automation's logix a hidden treasureRockwell automation's logix a hidden treasure
Rockwell automation's logix a hidden treasure
ARC Advisory Group
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
irbas
 
PLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarPLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumar
manishkumarm
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
zafar85
 
Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011
Dân Chơi
 

What's hot (20)

Huawei wcdma-rno-single-site-verificationV1
Huawei wcdma-rno-single-site-verificationV1Huawei wcdma-rno-single-site-verificationV1
Huawei wcdma-rno-single-site-verificationV1
 
Rockwell automation's logix a hidden treasure
Rockwell automation's logix a hidden treasureRockwell automation's logix a hidden treasure
Rockwell automation's logix a hidden treasure
 
Manual de PLC Micrologix 1400 parte 1
Manual de PLC Micrologix 1400 parte 1Manual de PLC Micrologix 1400 parte 1
Manual de PLC Micrologix 1400 parte 1
 
Ccnav5.org ccna 2-v5_final_exam_2014
Ccnav5.org ccna 2-v5_final_exam_2014Ccnav5.org ccna 2-v5_final_exam_2014
Ccnav5.org ccna 2-v5_final_exam_2014
 
Siemens PXC Controller Series Part-1
Siemens PXC Controller Series Part-1Siemens PXC Controller Series Part-1
Siemens PXC Controller Series Part-1
 
Configuração modbus yokogawa
Configuração modbus yokogawaConfiguração modbus yokogawa
Configuração modbus yokogawa
 
Delta ia plc-dvp_tp_c_en_20160922
Delta ia plc-dvp_tp_c_en_20160922Delta ia plc-dvp_tp_c_en_20160922
Delta ia plc-dvp_tp_c_en_20160922
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
 
DCS PRESENTATION
DCS PRESENTATIONDCS PRESENTATION
DCS PRESENTATION
 
Delta ia plc-ah500_c_en_20180103_web
Delta ia plc-ah500_c_en_20180103_webDelta ia plc-ah500_c_en_20180103_web
Delta ia plc-ah500_c_en_20180103_web
 
PLNOG 18 - Leonir Hoxha - Traffic Engineering with Segment Routing
PLNOG 18 - Leonir Hoxha - Traffic Engineering with Segment RoutingPLNOG 18 - Leonir Hoxha - Traffic Engineering with Segment Routing
PLNOG 18 - Leonir Hoxha - Traffic Engineering with Segment Routing
 
Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
 
PLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarPLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumar
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
 
Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011
 
Weeks 16 17 pe 3231 maintenance and fault finding
Weeks 16 17  pe 3231 maintenance and fault findingWeeks 16 17  pe 3231 maintenance and fault finding
Weeks 16 17 pe 3231 maintenance and fault finding
 
QEI LLC
QEI LLCQEI LLC
QEI LLC
 
Multifunction Gateways - QEI LLC
Multifunction Gateways - QEI LLCMultifunction Gateways - QEI LLC
Multifunction Gateways - QEI LLC
 
Plc project 3
Plc project 3Plc project 3
Plc project 3
 
Em s7 plc
Em s7 plcEm s7 plc
Em s7 plc
 

Similar to D05132630

Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
researchinventy
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
researchinventy
 
LT Pillar Auomation_modifieddocx
LT Pillar Auomation_modifieddocxLT Pillar Auomation_modifieddocx
LT Pillar Auomation_modifieddocx
Gaurav Patwa
 

Similar to D05132630 (20)

C041221821
C041221821C041221821
C041221821
 
I04425457
I04425457I04425457
I04425457
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller system
 
Soc.pptx
Soc.pptxSoc.pptx
Soc.pptx
 
111ei0254ppt8thsem
111ei0254ppt8thsem111ei0254ppt8thsem
111ei0254ppt8thsem
 
Review Report on SOC on Various Platforms for Vehicles
Review Report on SOC on Various Platforms for VehiclesReview Report on SOC on Various Platforms for Vehicles
Review Report on SOC on Various Platforms for Vehicles
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
 
IRJET- An Improved DCM-Based Tunable True Random Number Generator for Xilinx ...
IRJET- An Improved DCM-Based Tunable True Random Number Generator for Xilinx ...IRJET- An Improved DCM-Based Tunable True Random Number Generator for Xilinx ...
IRJET- An Improved DCM-Based Tunable True Random Number Generator for Xilinx ...
 
A design of FPGA based intelligent data handling interfacing card.
A design of FPGA based intelligent data handling interfacing card.A design of FPGA based intelligent data handling interfacing card.
A design of FPGA based intelligent data handling interfacing card.
 
FPGA-Based Implementation Direct Torque Control of Induction Motor
FPGA-Based Implementation Direct Torque Control of Induction MotorFPGA-Based Implementation Direct Torque Control of Induction Motor
FPGA-Based Implementation Direct Torque Control of Induction Motor
 
Design and Implementation of Pulse Width Modulation Using Hardware/Software M...
Design and Implementation of Pulse Width Modulation Using Hardware/Software M...Design and Implementation of Pulse Width Modulation Using Hardware/Software M...
Design and Implementation of Pulse Width Modulation Using Hardware/Software M...
 
Mr3422682272
Mr3422682272Mr3422682272
Mr3422682272
 
Fpg as 11 body
Fpg as 11 bodyFpg as 11 body
Fpg as 11 body
 
IRJET- Intelligent Security and Monitoring System for Vehicle
IRJET- Intelligent Security and Monitoring System for VehicleIRJET- Intelligent Security and Monitoring System for Vehicle
IRJET- Intelligent Security and Monitoring System for Vehicle
 
FPGA Debug Using Incremental Trace Buffer
FPGA Debug Using Incremental Trace BufferFPGA Debug Using Incremental Trace Buffer
FPGA Debug Using Incremental Trace Buffer
 
LT Pillar Auomation_modifieddocx
LT Pillar Auomation_modifieddocxLT Pillar Auomation_modifieddocx
LT Pillar Auomation_modifieddocx
 
IRJET- Design and Implementation of High Speed FPGA Configuration using SBI
IRJET- Design and Implementation of High Speed FPGA Configuration using SBIIRJET- Design and Implementation of High Speed FPGA Configuration using SBI
IRJET- Design and Implementation of High Speed FPGA Configuration using SBI
 
Implementation of CAN on FPGA for Security Evaluation Purpose
Implementation of CAN on FPGA for Security Evaluation PurposeImplementation of CAN on FPGA for Security Evaluation Purpose
Implementation of CAN on FPGA for Security Evaluation Purpose
 
Fpga implementation of multi protocol data
Fpga implementation of multi protocol dataFpga implementation of multi protocol data
Fpga implementation of multi protocol data
 

More from IOSR-JEN

More from IOSR-JEN (20)

C05921721
C05921721C05921721
C05921721
 
B05921016
B05921016B05921016
B05921016
 
A05920109
A05920109A05920109
A05920109
 
J05915457
J05915457J05915457
J05915457
 
I05914153
I05914153I05914153
I05914153
 
H05913540
H05913540H05913540
H05913540
 
G05913234
G05913234G05913234
G05913234
 
F05912731
F05912731F05912731
F05912731
 
E05912226
E05912226E05912226
E05912226
 
D05911621
D05911621D05911621
D05911621
 
C05911315
C05911315C05911315
C05911315
 
B05910712
B05910712B05910712
B05910712
 
A05910106
A05910106A05910106
A05910106
 
B05840510
B05840510B05840510
B05840510
 
I05844759
I05844759I05844759
I05844759
 
H05844346
H05844346H05844346
H05844346
 
G05843942
G05843942G05843942
G05843942
 
F05843238
F05843238F05843238
F05843238
 
E05842831
E05842831E05842831
E05842831
 
D05842227
D05842227D05842227
D05842227
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

D05132630

  • 1. IOSR Journal of Engineering (IOSRJEN) www.iosrjen.org ISSN (e): 2250-3021, ISSN (p): 2278-8719 Vol. 05, Issue 01 (January. 2015), ||V3|| PP 26-30 International organization of Scientific Research 26 | P a g e (FPGA) based design for minimizing petrol spill from the pipe lines during sabotage Hani mohammed moqbel saleh¹, Abdelrasoul Jabar Alzubaidi² 1 Sudan Academy of Sciences (SAS); Council of Engineering Researches & Industrial Technologies 2 Sudan University of science and Technology , Engineering College , School of electronics Abstract: Sabotage operations on petrol pipe lines happen all over the world. The saboteurs aim from such operations is to hinder the petrol exportation process. The sabotage operations on petrol pipe lines causes a spilling of a large amount of petrol from the pipe lines. Sabotage of the petrol pipe lines also causes fires and pollution to the environments . Such operations causes a lot of loss in economy to the country concerned where the sabotage took place. This paper sheds the light on this challenging issue to steady and propose an intelligent electronic circuit design solutions to this problem. An electronic circuit design based on using a Field Programmable Gate Array (FPGA) is proposed to reduce to minimum the amount of petrol spilling when a sabotage on the petrol pipe lines happens. A real time sensing and response electronic circuit is implemented to fulfill this task .The system design is programmable (i.e intelligent) and hence the electronic actions established in the design can be modified easily. An electronic interface circuit is deigned to be connected to the (FPGA).The task of the electronic interface circuit is to acquire data from the sensors installed on the petrol pipe line and to give commands to the electronic and electrical devices to stop the pumping operation and to close the petrol pipe line immediately. Many electrically controlled pipe closing valves are to be installed along the pipe line. These electronic closing valves are remotely controlled by the embedded system based on the (FPGA). Keywords : FPGA , VHDL , ASIC , PLD , embedded system , petrol pumping , petrol pipe line , interface circuit , smart sensors. I. INTRODUCTION The field programmable gate array (FPGA) is an integrated circuit designed to be configured after manufacturing. The FPGA configuration is generally specified using a verilog hardware description language (VHDL), similar to that used for an application-specific integrated circuit (ASIC). FPGAs can be used to implement any logical function that an ASIC could perform. FPGAs contain programmable logic components called "logic blocks", and a hierarchy of reconfigurable interconnects that allows the blocks to be "wired together"—somewhat like many (changeable) logic gates that can be inter-wired in (many) different configurations . Logic blocks can be configured to perform complex combinational functions, or merely simple logic gates . In most FPGAs, the logic blocks also include memory elements, which may be simple flip-flops or more complete blocks of memory. There are numerous options for designers in selecting a hardware platform for custom electronics design, ranging from embedded processors, application specific integrated circuits (ASICs), programmable microprocessor, FPGAs to programmable logic devices (PLDs). The decision to choose a specific technology such as an FPGA should depend primarily on the design requirements. Therefore, if the hardware requirements require a higher level of performance, then the FPGA offers a suitable level of performance. [4] The definition of the behavior of the FPGA is performed by programming it by a very high speed integrated circuit hardware description language (VHDL).[1] This paper deals with using the embedded system based on the FPGA as a means for minimizing the crude oil spilling when a sabotage operation occurs. The FPGA is programmed to offer real time sensing and control of petrol pumping in addition to closing the nearest electronic valve on the petrol pipe when sabotage occurs .In the normal petrol pumping operation , the FPGA senses the conditions of the petrol pumping pipe in order to offer secure pumping .Wireless smart sensors are mounted on the petrol pumping pipe. The aim of the design is to mainly avoid pipes damage or explosion due to mal functions of pumping in addition to the immediate closure of the pipe when sabotage occurs . II. PROBLEM STATEMENT Minimization of petrol spilling from the pipe is a challenging issue .A proposed solution is based on using multi-sensing control system based on FPGA . The embedded system gives a real time response based on the data acquisition from the wireless smart sensors mounted on the pipe . The high speed of processing of the FPGA offers an instantaneous response for any data coming from the smart sensors.
  • 2. (FPGA) based design for minimizing petrol spill from the pipe lines during sabotage International organization of Scientific Research 27 | P a g e III. METHODOLOGY This paper explains the approach for the design based on the FPGA platform .The aim of the complete design is to offer maximum safety for the petrol pumping process plus minimizing the petrol spilling when sabotage occurs. A closed loop control system design is adapted . A number of smart sensors are installed on the petrol pumping pipe . The smart sensors provide the FPGA with an instantaneous data showing the status and condition of the pipe .The sensors are connected to the FPGA through a data acquisition interface circuit designed to provide the data . According to this design the FPGA will be able to monitor and control the petrol pumping process instantaneously. Hence the embedded system offers a real time monitoring and control for the secure petrol pumping and sabotage operations. The following block diagram figure (1) shows the basic parts of this design. Figure (1) Block diagram for monitoring and control of the petrol pipe. The proposed model assumes the installation of five solenoid vales (SOL-1 to SOL-5) and five rate of flow sensors (R1 to R5) are to be installed on the petrol pumping pipe are shown on figure (2) below. The spacing between a pair of solenoid valve plus rate of flow sensor and the other pair on the pipe is assumed to be equal to one meter. The solenoid valves are controlled remotely by the embedded system. The rate of flow sensors are wireless sensors. A (DTMF) electronic circuit is used to control remotely the operation of the solenoid valves. Once saboteurs attack the petrol pipe line , the system responds immediately by stopping the pumping and closing the nearest solenoid valve to the leakage of petrol .The same thing happens when an accidental leakage in pipe happens. Figure (2) A pipe line model mounted with five pairs of solenoid valves plus rate of flow sensors.
  • 3. (FPGA) based design for minimizing petrol spill from the pipe lines during sabotage International organization of Scientific Research 28 | P a g e The electronic circuit components of the design are :  Field Programmable Gate Array (FPGA) .  Smart temperature sensor.  Smart pressure sensor.  Smart rate of flow sensor.  Data acquisition interface circuit (Buffer SN74373).  Interface circuit to control the pumping machine (Buffer + Darlington amplifiers ULN2003 ).  Interface circuit to control the electronic valves on the pipe line (Buffer + Darlington amplifiers).  Dual Tone Multiple Frequency decoder (DTMF 8870).  GSM modem.  Solenoid valves.  Pumping machine. IV. OBJECTIVES The objectives of the design are : 1.Development of a computer program in VHDL language. 2. Downloading the program into the FPGA. 3. The task of the program is to perform a real time multi-sensing monitoring and control for secure pumping of petrol in the pipes. 4. The embedded system senses the sabotage operations and the program immediately stops the pumping operation and closes the nearest valve on the pipe. SOFTAWE PROGRAM & ALGORITHM: To achieve the objective of the real time monitoring and control of petrol pumping operation and closing of the valves on the pipe , we need to go through five steps as follows: 1. Step one is developing a VHDL program in the computer by using Spartan-3 software . 2. Step two includes VHDL synthesis in the design, which converts the design in the behavioral description file into gates. The synthesis tools figure out what gates to be used based on the VHDL program file. 3. Step three includes downloading of the program into the FPGA as shown in figure (3). 4. Step four includes integration of the embedded platform with the smart sensors , data acquisition , interface circuit , solenoid valves and the pumping machine as shown in figure (1). 5. Step five includes testing and debugging the operation of the whole system . Lab Link Cable Figure (3) Connection for programming the FPGA The algorithm for performing a real time monitoring and control of petrol pipe contains four subroutines . The condition for calling the subroutine depends on the values acquired from the smart sensors .If the values are normal ,standard subroutine will be called . If the rate of flow sensor readings are abnormal due to petrol leakage , a sabotage subroutine will be called. The algorithm is : Start Initialization : --- Clear all output control signals. Check incoming data: --- Check the incoming data from data acquisition interface circuit-1. --- Analyze the incoming data. --- If the [(Rate of flow is NORMAL), then call standard pumping subroutine. --- If the [(Rate of flow is ABNORMAL), then call sabotage subroutine. --- Go to check incoming data . FPGA FPGA
  • 4. (FPGA) based design for minimizing petrol spill from the pipe lines during sabotage International organization of Scientific Research 29 | P a g e End. Standard pumping subroutine : Start: --- Set the petrol pumping machine to the standard RPM based on the specifications of the pipe (1000 RPM). Return. Sabotage subroutine : Start: --- Shut down the petrol pumping machine (0 RPM). Analyze leakage location: -- If the [(R1 > R2) & (R1 > R3) & (R1 > R4) & (R1 > R5)], then close solenoid valves (SOL-1,2). -- If the [(R2 > R3) & (R2 > R4) & (R2 > R5)], then close solenoid valves (SOL-2,3). -- If the [(R3 > R4) & (R3 > R5)], then close solenoid valves (SOL-3,4). -- If the [(R4 > R5)], then close solenoid valves (SOL-4,5). -- If the [(R5 > R4)], then close solenoid valve five (SOL-5). --- Operate the emergency alarm siren for one minute. Return.. FPGA connector A1 is programmed for data acquisition from the smart sensors on the pipe. FPGA connector A2 is programmed for data output to control the RPM of the petrol pumping machine. FPGA connector B1 is programmed for data output to control the five solenoid valves on the petrol pumping pipe. V. RESULTS The FPGA is the right choice for the operation of petrol pumping process despite its high cost relative to other processors .The FPGA has huge facilities to control systems according to its ability to execute the commands in a parallel way. This criteria widens the range of controlled elements with less delay time. The same thing in VHDL language, in spite of its complicated language, but it is the right choice to program complicated control systems. It is suitable for a system that needs fast execution of commands. .The designed monitoring and control system is a real time system. It operates and responds according to the data values acquired from the smart sensors. Table (1) below shows the results of operating the system. Equation (1) to (6) show the conditions for the activation of the five solenoid valves and pumping shut down operations. (SOL-1,2)closed = [(R1 > R2) & (R1 > R3) & (R1 > R4) & (R1 > R5)]….. (1) (SOL-2,3)closed = [(R2 > R3) & (R2 > R4) & (R2 > R5)] ……………… (2) (SOL-3,4)closed = [(R3 > R4) & (R3 > R5)] ………………………………..(3) (SOL-4,5)closed = [(R4 > R5)] …………… ………………………… …. (4) (SOL-5)closed = [(R5 > R4)] …………………….. …………………….. (5) SHUT DOWN (RPM = 0) = (R >> HIGH) ………. ………………… ……..(6) Where; R1 – R5 = Rate of flow sensors.. RPM = Revolution per minute . Table (1) Results of operating the system under all possible conditions. Note: R = Rate of flow , D = distance to leakage , SOL-1 = solenoid valve one , SOL-2 = solenoid valve two , SOL-3 = solenoid valve three , SOL-4 = solenoid valve four , SOL-5 = solenoid valve five
  • 5. (FPGA) based design for minimizing petrol spill from the pipe lines during sabotage International organization of Scientific Research 30 | P a g e VI. CONCLUSION A problem usually has multiple solutions, and a process can usually be controlled using different controllers based on different methods. Almost every control method has its merits and weaknesses. What is important is to use the right controller to fit the application at a minimum cost. In the recent years, there has been a technical revolution in the semiconductor industry and in the electronics industry, which has significantly developed the existing technologies in industrial control. This technical development in both the semiconductor and the electronics industries have evolved industrial control into both real-time control and distributed control. Real-time control requires controllers to capture all the significant target activities and to deliver their responses as swiftly as possible so that system performance is never degraded. The (FPGA) have now approached intelligence similar to that of microprocessors, so that they are performing more important functional role in various control systems. This paper dealt with the implementation of an embedded system design for minimizing the petrol leakage when sabotage occurs . . REFERENCES [1] Volnei A. Pedroni, Circuit Design with VHDL, MIT press, Massachusts,2004. [2] Peng Zhang, Industrial Control Tecnology,William Andrew, N. Y., 2008. [3] ISE Simulator (ISim), UG682(v1.0), 2009. [4] Deming.C, Jason.C, and Peichan. P, ― FPGA Design Automation: A Survey‖, now Publishers In, (2006). [5] Stephen .B and Zvonko.V,‖Fundamental of Digital logic with VHDL Design‖,McGrow Hil,(2005)