Construct a controller of the process shown in the figure

Slides:



Advertisements
Similar presentations
3442 Industrial Instruments 2 Chapter 8 Discrete-State Process Control
Advertisements

1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
Discrete Event Control
Analysis of Clocked Sequential Circuits
Give qualifications of instructors: DAP
EKT 221 : Digital 2 ASM.
Ladder Logic PLC Programs are made up of combinations of AND; OR; NAND; NOR; and other gates, along with timers, inputs, outputs, counters, comparators,
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
Chapter 8 Sequencing and Control Henry Hexmoor1. 2 Datapath versus Control unit  Datapath - performs data transfer and processing operations  Control.
Charles Kime © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part 3 – Control of.
© Copyright 2004 Dr. Phillip A. Laplante 1 Memory  Memory access  Memory technologies  Memory organization.
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 20 Datapath and Control Datapath - performs data transfer and processing operations.
Chapter 6 Memory and Programmable Logic Devices
Chapter 19 Fundamental PLC Programming
Programmable Logic Controllers
Lecture 16 Today’s topics: –MARIE Instruction Decoding and Control –Hardwired control –Micro-programmed control 1.
Chap 8. Sequencing and Control. 8.1 Introduction Binary information in a digital computer –data manipulated in a datapath with ALUs, registers, multiplexers,
Microcode Source: Digital Computer Electronics (Malvino and Brown)
IAY 0600 Digitaalsüsteemide disain Register Transfer Level Design (GCD example) Lab. 7 Alexander Sudnitson Tallinn University of Technology.
MICROPROGRAMMED CONTROL
Pseudocode. Simple Program Design, Fourth Edition Chapter 2 2 Objectives In this chapter you will be able to: Introduce common words, keywords, and meaningful.
Microprogrammed Control Unit Control Memory Sequencing Microinstructions Microprogram Example Design of Control Unit Microinstruction Format.
MICROPROGRAMMED CONTROL CH 17 Team # 2 Members: Wilmer Saint-Hilaire Alberto Mollinedo Vinicius Schuina Luis Perez.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
1 Control Unit Operation and Microprogramming Chap 16 & 17 of CO&A Dr. Farag.
1 7-7 Register-Cell Design A single-bit cell of an iterative combinational circuit connected to a flip-flop that provides the output forms a two-state.
Lecture 11 ALU and Control Unit Design Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
EKT 221/4 DIGITAL ELECTRONICS II Chapter 2 SEQUENCING AND CONTROL.
Algorithmic state machines
Datapath - performs data transfer and processing operations The control unit sends: – Control signals – Control outputs The control unit receives: – External.
FG ABCDE Vocabulary Exponents & Powers1.5 Translating Verbal Phrases 1.3 Order of Operations1.6.
Digital System Design using VHDL
Designing a CPU –Reading a programs instruction from memory –Decoding the instruction –Executing the instruction –Transferring Data to/From memory / IO.
 Designing CU – One FF per State Method  5 Transformation Rules  Transformation Process  Microprogrammed Control Unit.
Chapter 7 Microsequencer Control Unit Design.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Basic Concepts Microinstructions The control unit seems a reasonably simple device. Nevertheless, to implement a control unit as an interconnection of.
ES C263 Microprocessor Programming and Interfacing
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Chapter 10 © 2011, The McGraw-Hill Companies, Inc.
Processor Organization and Architecture
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Micro-programmed Control Unit
MICROPROGRAMMED CONTROL
INDEX UNIT-III PPT SLIDES
Industrial Electronics
Timer Instructions Overview
Appendix D Mapping Control to Hardware
The Multicycle Implementation
Processor Organization and Architecture
Instruction encoding We’ve already seen some important aspects of processor design. A datapath contains an ALU, registers and memory. Programmers and compilers.
MICROPROGRAMMED CONTROL
The Multicycle Implementation
Introduction to Sequential Circuits
Distributed Energy Engineering
` Structured Programming & Flowchart
13 Digital Logic Circuits.
Computer Architecture
KU College of Engineering Elec 204: Digital Systems Design
Instruction encoding We’ve already seen some important aspects of processor design. A datapath contains an ALU, registers and memory. Programmers and compilers.
MANINDER KAUR Maninder Kaur 1
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Foundations for Datapath Design
Digital System Design Combinational Logic
MICROPROGRAMMED CONTROL
MICROPROGRAMMED CONTROL
Chapter 7 Microprogrammed Control
Construct a controller of the process shown in figure below
Presentation transcript:

Construct a controller of the process shown in the figure Construct a controller of the process shown in the figure. The timer output (TU) is initially low when its input (TM) is low. When TM is taken high the output stays low for five minutes and then goes high. It resets to low when TM is taken low. All level sensors become true when the level is reached. The process sequence is: Fill the tank to level A (LA) from valve A (VA) Fill the tank to level B (LB) from valve B (VB) Start the timer (TM), stir (S), and heater (H) When five minutes are up take stir (S) and heater (H) off Open output valve (VC) until the tank is empty (LE) Take the timer low (TM) and go to step 1.

Solution; To provide the solution, we first form the state variable representation of the system by assignment of binary states. There are four input variables (LA, LB, LE, TU) and six output variables (VA,VB,VC, TM, S, H). A discrete state of the system is defined by specifying these variables. Because each variable is a two-state variable, we use a binary representation: true=1 and false=0. Thus, for input, if level A has not been reached, then , LA=0 and if it has been reached, then LA=1. Also, for output, if valve C is to be closed, then we take VC=0, and if it is commanded to be open, then VC=1. Let us take the binary “word” describing the state of the system to be defined by bits in the order Process outputs (Controller inputs): (LA)(LB)(LE) (TU) Process inputs (Controller outputs): (VA)(VB)(VC)(TM)(S)(H)

Initial Condition (Stand By) All outputs off start LA VA 1 LB VB LU S,TM,H LE VC

CAR 1 S 2 3 4 5 6 S0 S1 Control Outputs Control Memory (ROM) SEL 8 X 15 CAR 1 S 2 3 4 5 6 S0 S1 NXTADD1 NXTADD0 SEL Control Outputs Start

(VA)(VB)(VC)(TM)(S)(H) Control Signals • Six control signals needed. • We can use these signals as is or encode them to reduce the number of bits needed in the control word. • If we do not encode these: 6 bits needed 5 4 3 2 1 0 (VA)(VB)(VC)(TM)(S)(H) VA: 100000 VB: 010000 VC: 001000 TM: 000100 S : 000010 H : 000001

-Register Transfer Description of the Microprogram Each memory location contains a microinstruction, to be executed in the corresponding state. The register transfer statements are:

Address IniST: Start:CAR VAST, Start’ CAR İniST The above Register Transfer Operation can be translated into a symbolic microprogram (control words):   Example: Address IniST: Start:CAR VAST, Start’ CAR İniST can be written as: Address IniST:

Symbolic Microprogram: Address NXTADD1 NXTADD0 SEL CONTROL IniST VAST Start none VBST LA VA S;TM;HST LB VB VCST TU S, TM, H LE VC

Binary Microprogram