Lesson 17: State-Based Design Example

Slides:



Advertisements
Similar presentations
The Race is On! Putting Words in Alphabetical Order.
Advertisements

1et438b-8.pptx lane 1lane 2 ready 3 sec Y Y Y G G A simplified starting timer is to be constructed for a drag strip. To enable the start timing for a race.
Module 2 Sequential circuits and Step sequence. Analyze conditional control tasks and develop proper solutions for such tasks. Understand and utilize.
Programming with Ladder Logic
Unit 7 Discrete Controllers
Graphic Symbol Location 1. DIN Terminal X52 The machine is powered by electricity using copper cable with 5 wires (3 phase wires + neutral wire +
FLOWCHART BASED DESIGN A flowchart is ideal for a process that has sequential process steps. The steps will be executed in a simple order that may change.
Programmable Logic Controller PLC
Elec467 Power Machines & Transformers
Lecture 5: PLC Programming
Introduction To Programmable Logic Controllers
Logic Control. What is Logic control Logic control is a control based on a logic concept, that is the on-off state of variable and/or equipment Logic.
Lesson 15: Dc Motor Control Components and Diagrams
Module 2: Hardware and Terminology
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Interface Connections
Programming PLCs using LADDER Logic
XS26-2 Expandable Safety Controller.
Control Technology and Automation
E2 Motors and Motor Starting
Implementing software in IEC Languages in IEC IEC uses the following languages Instruction List – Assembly level programming using.
Engineer Training UV Electrical Cabinet (1-15) TJ8300 / TJ8500 UV Electrical Cabinet (Machines 1-15)
Chapter 10 Advanced Programming, PLC Interfacing, and Troubleshooting
Operational Rule for Programming Programmable Logic Controllers.
Prepared by: Engr. Qurban Ali Memon 11ES (SEC- 1 & 2)
1 RLL: Relay Ladder Logic CONTENTS 1. PLC operation 2. PLC programming 3. Ladder logic 4. Memory and gates.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Copier Jam Detector Design Problem
S3 INNOVATION ELECTRONICS. LESSON TITLE: ELECTRONICS Learning Intention: To understand when to use different types of logic gates Activity: Building own.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
Symbols and Schematic Diagrams
Programmable Logic Controller
Actuators and Control, Part 4 Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning.
Fluid Power Control.
Programmable Logic Controllers
SB-DN-Logic960 Logic module.
E2 Motors and Motor Starting
AS Computer Studies Finite State Machines 1.
Conveyor Belt Production Line
Computer Organization
You have 5 minutes to look over your table of sensor and outputs ready for a spot check on the different symbols Start Timer 5 mins
fischertechnik® RoboPro Software for Gateway To Technology® RoboPro
The Electrical Diagram
ET 438B Sequential Control and Data Acquisition
Lesson 16: State-Based Sequential Design
Industrial Electronics
Chapter 14 Understanding Relay Instructions and the Programmable Controller Input Modules.
Programming Timers.
Lesson 2: Introduction to Control programming using Labview
Lesson 5: Window Comparators
Lesson 14: Introduction To Sequential Control
Raspberry Pi: External Inputs & Outputs
E2 Motors and Motor Starting
ET 438B Sequential Control and Data Acquisition
MicroEconomix 1500 RSLogix 500 LAB#1
8.0 Programmable Logic Controllers 1
Lesson 19: PLC Programming Techniques
Workbook Section.
Car Race – Linear Sequences
Flotection: Building Main Shutoff System
Lesson 15: Boolean Representation of Ladder Diagrams
Digital Fundamentals Floyd Chapter 4 Tenth Edition
Systems and Control.
Programmable Logic Controllers (PLCs)
Systems and Control.
Presentation transcript:

Lesson 17: State-Based Design Example ET 438B Sequential Control and Data Acquisition Department of Technology Lesson 17_et438b.pptx

Learning Objectives After this presentation you will be able to: Determine the inputs, outputs and states of a sequential process from the problem statement Write state equations based on defined inputs, outputs and previous states Convert state equations into ladder rungs. Lesson 17_et438b.pptx

Design Example - Drag Strip “Christmas Tree” A simplified starting timer is to be constructed for a drag strip. To enable the start timing for a race both cars must actuate sensor switches at the start line that indicate they are in position. When the cars are in position, the race judge receives a green light on his control panel and a green light comes on of the “Christmas Tree”. He then presses a race initial button on his control panel. The Christmas tree times through the sequence shown at left. G ready Y 3 sec Y 3 sec Y 3 sec G lane 1 lane 2 Lesson 17_et438b.pptx

Design Example - Drag Strip “Christmas Tree” When the lower pair of green lamps come on the racers begin. A pair of photo eyes located at the finish line indicate the winner by lighting a blue light for a winner and a amber light for a loser. after the race results are indicated, the judge can press a reset button to prepare the system for the next race lane 1 Bu lane 2 A finish sensors start sensors lane 1 car 1 lane 2 car 2 finish indicators Lesson 17_et438b.pptx

Design Example - Drag Strip “Christmas Tree” Design Problem 1.) Identify the states, conditions and actions for this system 2.) Construct a flow chart of the logic for this system 3.) Construct a state transition diagram for this system 4.) Design a ladder logic system to implement these functions Part 1: States, Conditions, Actions States S0 : reset S1: cars at start line S2: 1st set red lamps on S3: 2nd set red lamps on S4: 3rd set red lamps on S5: Green lamps on (race start) S6: Lane 1 Wins S7: Lane 2 Wins Lesson 17_et438b.pptx

Design Example - Drag Strip “Christmas Tree” Define conditions (Inputs) Conditions I0: reset pressed I1: racer 1 positioned I2: racer 2 positioned I3: race timing initiated I4: 1st set red lamps timed out I5: 2nd set red lamps timed out I6: 3rd set red lamps timed out I7: lane 1 finish photo eye tripped I8: lane 2 finish photo eye tripped I9: start pressed Lesson 17_et438b.pptx

Design Example - Drag Strip “Christmas Tree” Define actions (Outputs) Actions O0: light green ready lamp O1: light red lamps set 1 O2: light red lamp set 2 O3: light red lamp set 3 O4: light green lamp set O5: light blue lamp 1 if lane 1 wins O6: light blue lamp 2 if lane 2 wins O7: light amber lamp 1 if lane 1 loses O8: light amber lamp 2 if lane 2 loses Lesson 17_et438b.pptx

Part 2 Flow chart Race initiate pressed 1 Red set 1 on 3 sec Green lamps on Reset 2 sequence X-mas tree lights no Car 1 positioned Yes race in progress no Car 2 positioned no no lane 1 sensor trip lane 2 sensor trip Yes Yes Yes light judge ready lamp light tree ready lamp Bu lane 2 on A lane 1 on lane 1 winner lane 2 loser lane 2 winner lane 1 loser 1 2 Lesson 17_et438b.pptx

Example State Transition Diagram Start pressed Cars 1 & 2 positioned Ready Red set 1 on S1 S2 Timing initiated S0 O0 light ready lamps Set 1 time-out O1 light Lamps O0 not Reset Red set 2 on S3 Reset pressed O2 light lamps O5, O8 Light correct lamps Reset pressed Set 2 time-out O3 light lamps Lane 1 wins S6 3rd red set on S4 Race start S7 S5 O6, O7 Light correct lamps Lane 2 wins O4 light green lamps Lesson 17_et438b.pptx

Construct State Equations Start pressed State 0 S1 S0 DeMorgans S6 Expand and Simplify S7 Factor Regroup Lesson 17_et438b.pptx

Construct State Equations State 0 continued Factor Simplify & Regroup 1 Reduced Equation Lesson 17_et438b.pptx

Construct Ladder Logic Lesson 17_et438b.pptx

Construct State Equations Lesson 17_et438b.pptx

Construct Ladder Logic State 1 Output Equation Lesson 17_et438b.pptx

Construct State Equations Set 1 time-out TON#(c,t)=On-delay timer # c = input condition t = time delay S2 so O1 light Lamps O0 not S3 Set 1 time-out State 2 Output Equation S3 State 3 O2 light lamps Set 2 time-out S4 State 3 Output Equation Lesson 17_et438b.pptx

Construct State Equations light lamps S4 State 4 Output Equation S5 State 5 S6 S5 O4 light green lamps S7 Lesson 17_et438b.pptx

Construct State Equations State 5 simplification State 5 Output Equation Block Lane 2 Reset pressed State 6 S0 O5, O8 Light correct lamps State 6 Output Equations S6 Lesson 17_et438b.pptx

Construct State Equations Reset pressed S0 Block Lane 1 S7 O6, O7 Light correct lamps Lane 2 wins State 7 Output Equations Lesson 17_et438b.pptx

Construct Ladder Logic State 6 Lesson 17_et438b.pptx

Construct Ladder Logic State 7 Lesson 17_et438b.pptx

Complete System Lesson 17_et438b.pptx

Complete System Lesson 17_et438b.pptx

Design Considerations Personnel and Equipment Safety Fail-safe operation - component fail results in little or no damage or inconvenience Common Practice 1.) start sequence by closing NO contacts 2.) stop a sequence by opening NC contact Practice Results: if device fails to start process stops, If started would stop Example: Motor starter Lesson 17_et438b.pptx

Troubleshooting Tips Common causes of Failure 1.) Dirty or oxidized contacts 2.) Broken wire or loose connection 3.) Up stream power source interrupted causing input device to de-activate Other Issues Contact operation sequence break-before-make standard See previous example limit switches Lesson 17_et438b.pptx

End Lesson 17: State-Based Design Example ET 438B Sequential Control and Data Acquisition Department of Technology Lesson 17_et438b.pptx