Doaa Elthalatheny Nesreen SalemDeeb Nermeen abuLehya Yasmeen ElSaqqa
Doaa El-thalatheny Nesreen Salem-Deeb Nermeen abu-Lehya Yasmeen El-Saqqa Dr. Hatem El-Aydi
Objectives Greenhouse SCADA Lab. VIEW Hardware Software
Ø Develop monitoring, supervisory control, and archiving system for agriculture system in a greenhouse. Ø Rationalize consumption of water. Ø To control numerous environmental conditions for greenhouse. Ø To provide overall efficiency for greenhouse owners.
Is a structure with a glass or plastic roof and frequently glass or plastic walls. Ø It heats up because incoming solar radiation from the sun warms plants, soil, and other things inside the building. Ø The reason for growing plants in greenhouses is to control the environment. Ø A greenhouse allows the plants to grow in any location and at any time of year. Ø There are 12, 000 greenhouses in Gaza strip. Ø
Ø Israel cut drinking and irrigation water from Gaza. Ø Only about one-quarter of potentially irrigable lands are actually irrigated, and not in the most efficient manner. Ø Bad equipments that used in irrigation.
Ø Fertigation has been described as the application of plant nutrients in irrigation water to accomplish fertilization. Ø Plants require some 17 essential elements in order to grow healthy and produce economic crops. Ø Elements: 1 - Macro-Nutrients (N, P, K, Ca, Mg) 2 - Micro- Nutrients (Fe, Cu, Mn, Zn)
Ø Random use of fertilizers which waste expensive fertilizers. Ø Also it has a bad effect on soil. Ø It reduces quality crop, increase the effects of weed competition, and increase the plant diseases. Ø All this affects on human health and economy of agricultural sector.
Ø SCADA is an acronym that stands for Supervisory Control and Data Acquisition. Ø A computer system for gathering and analyzing real time data. Ø SCADA is often referred to as Human-Machine Interface (HMI) software.
Continue. . Communication Network Remote Stations SCADA Components Central Monitoring Station Field Instrumentation
Communication bus hardware Control bus Field bus clients server Remote Station Sensors – I/O points
Water Management Systems Electric Power Traffic Signals Mass Transit Systems Environmental Control Systems Water distribution station • Water Management Systems • Electric Power • A railway system • Manufacturing Systems • Environmental Control • Agriculture
• Labview DSC from National Instruments • Win. CC from Siemens • Cimplicity HMI • Citect from General Electric from Citect Company
Ø Lab. VIEW is an acronym for Laboratory Virtual Instrument Engineering Workbench. Ø It is a computer software development application created by National Instruments. Ø The building blocks of the Lab. VIEW program are called Virtual Instruments (VI).
Lab. VIEW Components Front Panel Block Diagram Icon & Connector
Ø DSC: Datalogging and Supervisory Control. Ø Extends Lab. VIEW development Environment: 1. 2. 3. 4. 5. 6. 7. Shared Variables. Logging. Alarming. Event monitoring. System security. Real time and historical data trending. More than 4, 000 user interface graphics.
Ø Feature for sharing data in Lab. VIEW Applications. Ø Three Shared Variable types: • Single-Process: - share data between two locations on the same VI, or two VIs within the same application. • Network-Published: - share data with networked systems and uses NI Publish-Subscribe Protocol (NI-PSP). • Time-Triggered: - share data deterministically through Ethernet between real-time systems.
Ø Messages to inform operator about operating and error status in the process. Ø Default Hi. Hi, Lo, Lo. Lo, bad status, and rate of change alarms.
Ø Data (alarms & events) is stored in real time streams to Citadel. Ø No coding required.
Ø Facilitate the implementation of security for local or network resources such as Lab. VIEW project libraries, shared variables, and front panel objects. Ø The security architecture of the DSC Module separates user management and authentication from resource permissions. Ø User management and authentication is provided by the Domain Account Manager while the permissions assigned for users to access a resource are defined by the resource itself.
Ø Domain Account Manager • The Domain Account Manager serves as a central repository for managing local and remote user account management. • Use to create users and user groups, each with different privilege levels. • This arrangement simplifies the process of assigning permissions to local and networked Lab. VIEW resources.
Ø Project Library Security • The user can have read/write and granting/denying access to the project library. Ø Shared Variable Security • Shared variables use the Domain Account Manager user information to set permissions.
Ø Front Panel Security • Uses Domain Account Manager to assign permission levels to controls and indicators on the front panel. • You can assign 4 permission levels to front panel objects: 1. Full Access. 2. Disabled (View Only). 3. Disabled & Grayed Out. 4. No Access (Hidden).
Ø View and control the VI front panels remotely from Lab. VIEW or from a web browser. Ø Requires no programming. Ø Remote clients see “live” front panels updates. Ø Multiple clients can view the same panel simultaneously. Ø Only one client can control the front panel at a time.
Web Browser Lab. VIEW Only the Lab. VIEW run-time engine and browser plug-in are required on the client machine. The Lab. VIEW development environment is not required. The browser allows connecting to the local program on the same machine as the server. (http: //localhost/name of the vi. html). Only the "Operate" menu is available in the browser's remote panel. The Lab. VIEW environment and Lab. VIEW run-time are required. A web browser is not required. Connecting to a remote panel from Lab. VIEW on the same machine as the server is not permitted. Regular Lab. VIEW menu options are available with certain items disabled. An HTML file must be created to control An HTML page is not required. remote panel in the web browser. Once the HTML page is created, any changes to the front panel are automatically reflected in the remote panel viewed in the web browser.
Ø To notify someone or send data by email programmatically. Ø Lab. VIEW has several VIs for sending email. Ø Simple Mail Transfer Protocol (SMTP) is a protocol for sending e-mail messages between servers. Ø Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another.
Ø These VIs have options for sending text-only email, email with attachments, and email to multiple recipients. Ø These VIs require the SMTP server's hostname or IP address that will be used for sending emails.
Hardware
Ø Sharp GP 2 D 12 Infrared Sensor A distance measuring sensor. It has the features of: - 1. 2. 3. 4. Analog output. Effective Range: 10 to 80 cm. LED pulse cycle duration: 32 ms. Detection area diameter @ 80 cm: 6 cm
Ø Temperature Sensor LM 35 • An integrated circuit sensor that can be used to measure temperature. • It measures temperature more accurately than a using a thermistor and thermocouples. • Temperature ( o. C) = Vout * (100 o. C/V)
Ø Light Dependent Resistors LDR • A device used in light-measuring or light-sensing. • has a resistance decreases as illumination increases. • LDRs have a resistance in total: ü ü in darkness of 1 MΩ. in bright light (1) 10 - 20 kΩ @ 10 lux. (2) 2 - 4 k Ω @ 100 lux.
Ø Humidity Sensor A simple sensor which measures humidity of the weather.
Ø Moisture Scale • • It is the device that measures the average moisture of the soil. It consists of: - 1. source of constant voltage 2. constant resistance 3. variable resistance (soil).
Ø Valves • The valve need 220 V AC source to work. Ø Pump • The pump we use works at 12 V DC.
• • • Data acquisition is the process of gathering information from analog and digital measurement sources such as sensors. Use DAQ 6024 E from NI. 16 channels of analog input. 2 channels of analog output. 68 -pin connector. 8 lines of digital I/O.
• We have 5 analog signals as show below: Input Description Analog Channel Pin Number Moisture sensor Analog value ACH 0 68 Humidity sensor Analog value ACH 1 33 Level sensor Analog value ACH 2 65 LDR sensor Analog value ACH 4 28 Temperature sensor Analog value ACH 5 60 AIGIND 64 -----------
• We have used 4 digital signals as show below: Output Description Digital Channel Pin Number Pump Digital value DIO 0 52 Fan Digital value DIO 4 19 Valve#1 Digital value DIO 6 16 Valve#2 Digital value DIO 7 48 ---------------- DGND 44
Software
Ø Sending SMS in addition to emails when an alarm happens. Ø The designed system is a ON-OF system but can very well be extended to a PID system. Ø Using more developed devices such us PLCs.
Ø We build an automated greenhouse using Lab. VIEW DSC module 8. 0. Ø Lab. VIEW 8. 0 introduces HMI tool with an attractive user interface so entire greenhouse operation will be monitored. Ø The system supervise and control the irrigation, fertigation, temperatures, and humidity levels for optimum plant growth. Ø The system is provided by an alarm and datalogging system. Ø So SCADA is a modern technology which saves time and money by eliminating the need for service personnel to visit each site for inspection.
Have a nice crop!
- Slides: 41