41
Islamic University of Gaza Faculity of Engineering Electrical & Computer Engineering Department

Islamic University of Gaza Faculity of Engineering Electrical & Computer Engineering Department

  • Upload
    duman

  • View
    60

  • Download
    0

Embed Size (px)

DESCRIPTION

Islamic University of Gaza Faculity of Engineering Electrical & Computer Engineering Department. Prepared By:-. Doaa El- thalatheny Nesreen Salem- Deeb Nermeen abu-Lehya Yasmeen El- Saqqa Dr. Hatem El- Aydi. Supervised By:-. Content. Objectives. Greenhouse. SCADA. LabVIEW. - PowerPoint PPT Presentation

Citation preview

Page 1: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Islamic University of GazaFaculity of EngineeringElectrical & Computer Engineering Department

Page 2: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Doaa El-thalathenyNesreen Salem-DeebNermeen abu-LehyaYasmeen El-Saqqa

Dr. Hatem El-Aydi

Prepared By:-

Supervised By:-

Page 3: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

ContentObjectives

Greenhouse

SCADA

LabVIEW

Hardware

Software

Page 4: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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.

Objective

Page 5: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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.

Greenhouse

Page 6: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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.

Problem of Irrigation In Gaza

Page 7: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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)

Fertigation

Page 8: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Problem of Ferigation In Gaza

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.

Page 9: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

SCADA System 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.

Page 10: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Continue..SCADA System Component

SCADA Components

Communication Network

Field Instrument

ation

Central Monitoring

Station

Remote Stations

Page 11: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

SCADA System Component (cont.)

Sensors – I/O points

Remote Stationserverclients

Field bus

Control busCommunication bushardware

Page 12: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

SCADA ApplicationsWater Management Systems

• Water Management Systems

Electric Power • Electric Power

Traffic Signals • A railway system

Mass Transit Systems • Manufacturing Systems

Environmental Control Systems • Environmental Control

Water distribution station • Agriculture

Page 13: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

SCADA Software

• Labview DSC

from National Instruments

• WinCC

from Siemens

• Cimplicity HMI

from General Electric

• Citect

from Citect Company

Page 14: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

LabVIEW 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 LabVIEW program are called Virtual Instruments (VI).

LABVIEW

Page 15: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

LABVIEW (cont.)LabVIEW Components

Front Panel

Block Diagram

Icon & Connector

Page 16: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

1. Shared Variables.2. Logging.3. Alarming.4. Event monitoring. 5. System security.6. Real time and historical data trending.7. More than 4,000 user interface graphics.

LABVIEW DSC Module DSC: Datalogging and Supervisory Control.

Extends LabVIEW development Environment:-

Page 17: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Feature for sharing data in LabVIEW 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.

Shared Variable

Page 18: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Messages to inform operator about operating and error status in the process.

Default HiHi, Hi, Lo, LoLo, bad status, and rate of change alarms.

Alarming

Page 19: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Data (alarms & events) is stored in real time streams to Citadel.

No coding required.

Logging

Page 20: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Facilitate the implementation of security for local or network resources such as LabVIEW 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.

Security

Page 21: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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 LabVIEW resources.

Security (cont.)

Page 22: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Project Library Security

• The user can have read/write and granting/denying access to the project library.

Security (cont.)

Shared Variable Security

• Shared variables use the Domain Account Manager user information to set permissions.

Page 23: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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).

Security (cont.)

Page 24: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

View and control the VI front panels remotely from LabVIEW 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.

Remote Front panels

Page 25: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Web Browser LabVIEWOnly the LabVIEW run-time engine and browser plug-in are required on the client machine. The LabVIEW development environment is not required.

The LabVIEW environment and LabVIEW run-time are required. A web browser 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).

Connecting to a remote panel from LabVIEW on the same machine as the server is not permitted.

Only the "Operate" menu is available in the browser's remote panel.

Regular LabVIEW menu options are available with certain items disabled.

An HTML file must be created to control 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.

An HTML page is not required.

Remote Front panels (cont.)

Page 26: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

To notify someone or send data by email programmatically.

LabVIEW 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.

E-mail Notification (cont.)

Page 27: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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.

E-mail Notification

Page 28: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Hardware

Page 29: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Sharp GP2D12 Infrared Sensor

A distance measuring sensor. It has the features of:-

1. Analog output.2. Effective Range: 10 to 80 cm.3. LED pulse cycle duration: 32 ms.4. Detection area diameter @ 80 cm: 6 cm

Sensors

Page 30: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Temperature Sensor LM35

• An integrated circuit sensor that can be used to measure temperature.

• It measures temperature more accurately than a using a thermistor and thermocouples .

• Temperature ( oC) = Vout * (100 oC/V)

Sensors

Page 31: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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 - 20kΩ @ 10 lux.

(2) 2 - 4k Ω @ 100 lux.

Sensors

Page 32: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Humidity Sensor

A simple sensor which measures humidity of the weather.

Sensors

Page 33: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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).

Hardware (Cont.)

Page 34: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Valves• The valve need 220V AC source to work.

Pump• The pump we use works at 12V DC.

Hardware

Page 35: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

• Data acquisition is the process of gathering information from analog and digital measurement sources such as sensors.

• Use DAQ 6024E from NI.• 16 channels of analog input.• 2 channels of analog output.• 68-pin connector .• 8 lines of digital I/O.

Data Acquisition Card

Page 36: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

• We have 5 analog signals as show below:-

Input Description Analog Channel Channel Pin Number

Moisture sensor Analog value ACH0 68

Humidity sensor Analog value ACH1 33

Level sensor Analog value ACH2 65

LDR sensor Analog value ACH4 28

Temperature sensor

Analog value ACH5 60

----------- ----------- AIGIND 64

Analog Signals

Page 37: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

• We have used 4 digital signals as show below:-

Output Description Digital Channel 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

Digital Signals

Page 38: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Software

Page 39: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

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.

Future Work

Page 40: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Conclusion We build an automated greenhouse using LabVIEW DSC module 8.0.

LabVIEW 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.

Page 41: Islamic University of Gaza Faculity  of Engineering Electrical & Computer Engineering Department

Have a nice crop!