graduation project presentation

69
Wireless Accessibility to Local Measurements and Control in Industrial Processes > CSE 2007

Upload: mostafa-elhoushi

Post on 15-Aug-2015

22 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Graduation Project Presentation

Wireless Accessibility to Local Measurements and Control in Industrial Processes> CSE 2007

Page 2: Graduation Project Presentation

Presentation Contents

●Project Overview

●Process Control Studio (PCS) Software

●PCS Software Mobile Edition

●Wireless Accessibility

●Ethernet Interface

●Data Acquisition

●Control

Page 3: Graduation Project Presentation

Goal of our Project

●Implementation of Distributed Process Control System

Page 4: Graduation Project Presentation

Wireless Industrial Monitoring

Page 5: Graduation Project Presentation

Project Block Diagram

Page 6: Graduation Project Presentation

Scenario

●Engineer connects local controller to processes

●Chooses input and output channel

Page 7: Graduation Project Presentation

Scenario

●Engineer forms a model on the software

●Our software: PCS (Process Control Studio)

●Model analogous to real-process

●Associate model parts to I/O channels on controller

●Load .pcs file to laptop or PDA

Page 8: Graduation Project Presentation

Presentation Contents

●Project Overview

●Process Control Studio (PCS) Software

●PCS Software Mobile Edition

●Wireless Accessibility

●Ethernet Controller

●Data Acquisition

●Control

Page 9: Graduation Project Presentation

PCS Software>Process Control Studio

Page 10: Graduation Project Presentation

Project Block Diagram

Page 11: Graduation Project Presentation

Process Control Studio (PCS) Software

●PCS Features

●PCS Alarming System

●PCS Data Base

Page 12: Graduation Project Presentation

PCS Features

●Attractive user interface

●Support two mode Design time mode

Run time mode

●Designing & Monitoring more than one

process at the same time

●Save and load Design process

●Failure notification

●Authentication

Page 13: Graduation Project Presentation

PCS Demo

Page 14: Graduation Project Presentation

PCS Alarming System

PCS alarming system

Visual notification●Flash

●Notification

window

Sound SMS

Page 15: Graduation Project Presentation

PCS Alarming System Demo

Page 16: Graduation Project Presentation

PCS Data Base

●Simple to use

●It improves the capabilities of the overall the system

●Able to trace the shortage in any component in the system & notify for making order

●It holds useful data about each component

●Store any alarm accrues In run time

Page 17: Graduation Project Presentation

PCS Data Base Demo

Page 18: Graduation Project Presentation

Presentation Contents

●Project Overview

●Process Control Studio (PCS) Software

●PCS Software MobileEdition

●Wireless Accessibility

●Ethernet Controller

●Data Acquisition

●Control

Page 19: Graduation Project Presentation

PCS Mobile Edition>Personal Digital Assistant

Page 20: Graduation Project Presentation

Project Block Diagram

Page 21: Graduation Project Presentation

Introduction

●.NET Compact Framework (.NET CF)

●Operating System Used in This Project

oWinCE 5 operating system .

Page 22: Graduation Project Presentation

Program Description

●Process Control Studio PDA Edition

oLight version of PCS

oRun Mode only

> Program Stages

●Loading

●Scaling

●Network Sockets

Page 23: Graduation Project Presentation

Program Sequence

Page 24: Graduation Project Presentation

Presentation Contents

●Project Overview

●PCS Software

●PCS Software Mobile Edition

●Wireless Accessibility

●Ethernet Controller

●Control

●Data Acquisition

Page 25: Graduation Project Presentation

Wireless Accessibilty

Page 26: Graduation Project Presentation

Project Block Diagram

Page 27: Graduation Project Presentation

●Wireless Standards●Basic Topologies

●Access Point Features

●Wireless-to-Ethernet Bridge

Page 28: Graduation Project Presentation

Wireless Networking

Wireless Networking overview

Wireless Networking StandardsStandard (Market Name)

802.11

(Wi-Fi)

802.15.1 (Bluetooth)

802.15.4

(ZigBee)

Application Focus

Web, e-mail, video

Cable replacement

Control and monitoring

Bandwidth 11 Mbps 1-3 Mbps 20 – 250 kbps

Transmission Range

100+ 20 (Class 2)

100+ (Class 1)

20-70,

100+(ext. amp.)

Success Metrics Speed flexibility

Cost, convenience Power, cost

We chose Wi-Fi

Page 29: Graduation Project Presentation

Modes of WLAN

Infrastructure ModeAd-Hoc Mode

Page 30: Graduation Project Presentation

TCP or UDP?

Page 31: Graduation Project Presentation

Access Point’s features

- Roaminghandshaking done by AP and OS of wireless device

- SecurityWEP: now obsolete

WPA-PSK: stronger keys

Page 32: Graduation Project Presentation

Roaming

Page 33: Graduation Project Presentation

Wireless-to-Ethernet Converter

●Wi-Fi compliant

●Up to 11 Mbps

●Protocols: TCP and UDP

●Security: WEP and WPA-PSK

Page 34: Graduation Project Presentation

Wireless-to-Ethernet Converter

●Airborne bridge has its own IP for configuration

●Transparency: to send/receive data, deal with IP of client

Page 35: Graduation Project Presentation

Presentation Contents

●Project Overview

●Process Control Studio (PCS) Software

●PCS Software Mobile Edition

●Wireless Accessibility

●Ethernet Controller

●Data Acquisition

●Control

Page 36: Graduation Project Presentation

Ethernet Controller

Page 37: Graduation Project Presentation

Project Block Diagram

Page 38: Graduation Project Presentation

Ethernet Interface

Ethernet Interface Hardware●Motorola MC9S12NE64 Microcontroller

- Features

●Demonstration Board (DEMO9S12NE64)

Page 39: Graduation Project Presentation

Ethernet Interface

Ethernet Interface Software

●OpenTCP TCP/IP Stack

●Main Application (PCSCP)

Page 40: Graduation Project Presentation

Ethernet Interface Software

OpenTCP TCP/IP Stack●Structure

Page 41: Graduation Project Presentation

Ethernet Interface Software

OpenTCP TCP/IP Stack

●Robustness – Portability

●Modularity

●Multitasking

●Operation

Page 42: Graduation Project Presentation

Ethernet Interface Software

Main Application (PCSCP)

●Features

●Examples

Page 43: Graduation Project Presentation

PCSCP Transactions

Successful Transaction

Page 44: Graduation Project Presentation

PCSCP Transactions

Successful Transaction

Page 45: Graduation Project Presentation

PCSCP Transactions

Failed Transaction

Page 46: Graduation Project Presentation

Presentation Contents

●Project Overview

●Process Control Studio (PCS) Software

●PCS Software Mobile Edition

●Wireless Accessibility

●Ethernet Controller

●Data Acquisition

●Control

Page 47: Graduation Project Presentation

Data Acquisition

Page 48: Graduation Project Presentation

Project Block Diagram

Page 49: Graduation Project Presentation

Why “ Local Controller ” is needed ?

●It is needed to do:

Process Data Sampling

Process Control

Page 50: Graduation Project Presentation

Structure of

Local Controller

Page 51: Graduation Project Presentation

Why “ Data Acquisition ” is needed ?

●The Data Acquisition does: Sampling of the process data

Any Digital or Analog conversions

Page 52: Graduation Project Presentation

What is “ Data Acquisition “ ?

●It consists of 2 sub-modules:

1) Analog-to-Digital (ADC)

2) Digital-to-Analog (DAC)

●The ADC and DAC are controlled by the microcontroller

Data Preparation

Page 53: Graduation Project Presentation

Interfacing the Process with the Data Acquisition

●Process Input and Output

●Input is Control Action( Manipulated Variable)

●Output is Controlled Variable

Page 54: Graduation Project Presentation

Hardware Choices

●Freescale DEMO9S12NE64 based on MC9S12NE64 MCU

- Main Features:oAnalog-to-Digital converter (ADC)

oTimer module (TIM )

oSerial interfaces - One Serial Peripheral Interface (SPI)

Page 55: Graduation Project Presentation

Analog-to-Digital converter (ADC)

●ADC is a built in module in the MCU

- 8 channel module

- 10 Bit Resolution

●8-Bits was used (1-byte)

- To ease the calculations

- Compromise data storage

Page 56: Graduation Project Presentation

Digital-to-Analog converter (DAC)

●MAX528 from MAXIM INC.

●The MCU Communicates with DAC by SPI

●SPI is built in the MCU

Master Slave

Page 57: Graduation Project Presentation

Input and Output Channels

Page 58: Graduation Project Presentation

Presentation Contents

●Project Overview

●Process Control Studio (PCS) Software

●PCS Software Mobile Edition

●Wireless Accessibility

●Ethernet Controller

●Data Acquisition

●Control

Page 59: Graduation Project Presentation

Control

Page 60: Graduation Project Presentation

Project Block Diagram

Page 61: Graduation Project Presentation

Centralized and Localized Control

●In our project, we chose localized control.

Page 62: Graduation Project Presentation

Digital Control

●There are differences between digital control and analog control

●Analysis in z-domain rather than s-domain

●We need to consider:oSampling Time

oResolution

Page 63: Graduation Project Presentation

Microcontroller Capabilities

●8 Analog Input Channels

●8 Analog Output Channels

●8 Digital Input Channels

●8 Digital Output Channels

●8 On/Off Controllers

●8 PID Controllers

●Implemented in C-code using structures

Page 64: Graduation Project Presentation

On/Off Control

●Analog Input & Digital Output

●Simply implemented using IF-ELSE statement

●Only valid for first-order processes

●Parameters: Set Point and On-Off

Page 65: Graduation Project Presentation

PID Control

●Analog Input & Analog Output

●Implemented using mathematical expressions

●Valid for any order process

Page 66: Graduation Project Presentation

Parallelism

Page 67: Graduation Project Presentation

6 7

Page 68: Graduation Project Presentation

Controller Structures

Page 69: Graduation Project Presentation

Earning Projections

●2002 Fiscal YearoAside from your text, your imagery will also

send a message. We help you send the right one.

10.7 Trillion GNP

2.3 Billion Corporate Assets

●Projections 2003

oYour amazing ideas need amazing visuals to provide

the consistency you need for credibility.

●10 Year Projections

oOur templates are layed out in a simple way, making

complex ideas easier to follow, AND they come with

all design features (left) built-in.