Digital Control of Electric Drives

Similar documents
ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Fall Notes - Unit 1

Boolean algebra.

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-378: Computer Hardware Design Winter Notes - Unit 1

Boolean Algebra. Boolean Algebra

Combinational Logic. Precedence. Quick Quiz 25/9/12. Schematics à Boolean Expression. 3 Representations of Logic Functions. Dr. Hayden So.

expression simply by forming an OR of the ANDs of all input variables for which the output is

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

Fachgebiet Rechnersysteme1. 1. Boolean Algebra. 1. Boolean Algebra. Verification Technology. Content. 1.1 Boolean algebra basics (recap)

Overview of Today s Lecture:

Boolean Algebra. Boolean Algebras

Introduction to Electrical & Electronic Engineering ENGG1203

Fast Boolean Algebra

Chapter 6 Continuous Random Variables and Distributions

Unit 4. Combinational Circuits

Control with binary code. William Sandqvist

Logic Optimization 1. Logic Optimization. Optimization vs. Tradeoff. Two-level Logic Optimization. ECE 474A/57A Computer-Aided Logic Design

EE 108A Lecture 2 (c) W. J. Dally and P. Levis 2

Outline Last time: Deriving the State Diagram & Datapath (Cont.) Mapping the Datapath onto Control

CS344: Introduction to Artificial Intelligence

Engr354: Digital Logic Circuits

IST 4 Information and Logic

Chapter 3 Single Random Variables and Probability Distributions (Part 2)

Boolean Algebra cont. The digital abstraction

Solutions - Homework 1 (Due date: September 9:30 am) Presentation and clarity are very important!

1 2 : 4 5. Why Digital Systems? Lesson 1: Introduction to Digital Logic Design. Numbering systems. Sample Problems 1 5 min. Lesson 1-b: Logic Gates

Fault Modeling. EE5375 ADD II Prof. MacDonald

CS 330 Formal Methods and Models

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

Finite Field Arithmetic and Implementations. Xinmiao Zhang Case Western Reserve University

EECS 141 Due 04/19/02, 5pm, in 558 Cory

Reasoning and programming. Lecture 5: Invariants and Logic. Boolean expressions. Reasoning. Examples

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

Review of Gaussian Quadrature method

6.004 Computation Structures Spring 2009

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

Lecture 6. Notes. Notes. Notes. Representations Z A B and A B R. BTE Electronics Fundamentals August Bern University of Applied Sciences

Computer System Structures cz:struktury počítačových systémů

Introduction to Algebra - Part 2

COMPUTER SCIENCE TRIPOS

IST 4 Information and Logic

M A T H F A L L CORRECTION. Algebra I 2 1 / 0 9 / U N I V E R S I T Y O F T O R O N T O

EE 560 INTRODUCTION. Kenneth R. Laker, University of Pennsylvania

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

State Minimization for DFAs

8. Complex Numbers. We can combine the real numbers with this new imaginary number to form the complex numbers.

Shape and measurement

Elements of Computing Systems, Nisan & Schocken, MIT Press. Boolean Logic

Note 12. Introduction to Digital Control Systems

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

Time in Seconds Speed in ft/sec (a) Sketch a possible graph for this function.

Digital Circuit Engineering

Coalgebra, Lecture 15: Equations for Deterministic Automata

Lecture 3. Introduction digital logic. Notes. Notes. Notes. Representations. February Bern University of Applied Sciences.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Digital Circuit Engineering

ECE223. R eouven Elbaz Office room: DC3576

EE273 Lecture 15 Asynchronous Design November 16, Today s Assignment

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

SIMPLIFICATION OF BOOLEAN ALGEBRA. Presented By: Ms. Poonam Anand

Signal Flow Graphs. Consider a complex 3-port microwave network, constructed of 5 simpler microwave devices:

Section 6.1 INTRO to LAPLACE TRANSFORMS

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

CMSC 330: Organization of Programming Languages

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT

5 Probability densities

Basics of Digital Logic

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

Continuous Random Variable X:

Let's start with an example:

CS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions

INF1383 -Bancos de Dados

DIGITAL TECHNICS I. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: LOGIC SYNTHESIS

Chapter 9 Definite Integrals

September 13 Homework Solutions

The practical version

Thomas Whitham Sixth Form

CISC 4090 Theory of Computation

Introduction to Group Theory

GNFA GNFA GNFA GNFA GNFA

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Chapter 1: Boolean Logic

a,b a 1 a 2 a 3 a,b 1 a,b a,b 2 3 a,b a,b a 2 a,b CS Determinisitic Finite Automata 1

Genetic Programming. Outline. Evolutionary Strategies. Evolutionary strategies Genetic programming Summary

Special Numbers, Factors and Multiples

Designing finite automata II

Good Review book ( ) ( ) ( )

Lecture Solution of a System of Linear Equation

In Mathematics for Construction, we learnt that

Mathematics Number: Logarithms

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

7.1 Integral as Net Change and 7.2 Areas in the Plane Calculus

Section 4: Integration ECO4112F 2011

Operations with Polynomials

Preview 11/1/2017. Greedy Algorithms. Coin Change. Coin Change. Coin Change. Coin Change. Greedy algorithms. Greedy Algorithms

Experiments, Outcomes, Events and Random Variables: A Revisit

1B40 Practical Skills

Regular expressions, Finite Automata, transition graphs are all the same!!

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan

Mathematics. Area under Curve.

Scanner. Specifying patterns. Specifying patterns. Operations on languages. A scanner must recognize the units of syntax Some parts are easy:

Transcription:

igitl Control o Electric rives Logic Circuits - Comintionl Boolen Alger, escription Form Czech Technicl University in Prgue Fculty o Electricl Engineering Ver.. J. Zdenek

Logic Comintionl Circuit Logic Comintionl Circuit (LCC) is deined y logic unction Inputs nd Outputs tke on only two possile vlues, or. y n y m At every time instnt vlues o ll output vriles re deined y vlues o input vriles only t the sme time instnt. (The LCC hs no memory, i.e. the LCC does not rememer its pst sttes) BEMEP igitl Control o Electric rives -

Logic Circuit Binry signls nd only igitl design igitl circuit logic circuit Logic circuit description Boolen lger, logic unctions igitl computer design generlly digitl system design esign o sic unctionl locks esign o inter-lock communiction Logic comintionl circuits (LCC) Logic sequentil circuits (LSC) LCC versus LSC LCC unction output depends on immedite unction input only LSO unction output depends on immedite inputs nd pst sttes (inner sttes) The ppliction o up-to-dt CA design tools (ls) BEMEP igitl Control o Electric rives -

esign prolems to e solved Function speciiction wht hs to e implemented? Hve to operte s deined in speciiction (irst ojective) esign optimliztion dierent spects (second ojective) Size Speed Power requirement Working conditions (temperture, virtion, ) Reliility Cost including design tools urtion o design phse Testility (T design or testility) BEMEP igitl Control o Electric rives -

Logic Comintionl Function Comintionl unction: yk (,,,..., n ), k,,..., m y y n y m BEMEP igitl Control o Electric rives -

igitl System esign Phses Speciiction Input nd output deinition Truth tles Boolen equtions Minimiztion esign t gte level HL - Hrdwre escription Lnguge Schem t gte level VHL, Verilog Hrdwre escription Lnguge Synthesis Behviourl (unctionl) simultion Post-route simultion igitl circuit implementtion esign veriiction Progrmmin g File Genertion BEMEP igitl Control o Electric rives -

Sotwre Hrdwre BASYS FPGA evice BEMEP igitl Control o Electric rives -

Boolen Alger Boolen lger inite set o elements which contins: logic vriles two inry opertion (logic conjuction nd disjunction) unry opertion negtion two logic sttes (logic constnts) Aioms:..,, c,... AN (.), OR ( ) NOT ( ),.. Aiom sttement without proo, it is considered s vlid BEMEP igitl Control o Electric rives - 8

Boolen Alger Lws:....... 8. 9.... ( ) c ( c) (. ). c.(. c).( c).. c (. c) ( )( c).... (. ).( )..( ). Commuttive Associtive istriutive Idempotency Complementrity Aggressivenes Neutrlity Asortion Negtion sortion Involution BEMEP igitl Control o Electric rives - 9

Lws:.. Boolen Alger.... c. c.. c ( ).( c).( c) ( ).( c) emorgn s Consensus sortion. (,, c,...). (,, c,...). (,, c,...) impliction (,, c,...). (, c,...). (, c,...) ecomposition (Shnnon s) Every logic unction cn e deined using only AN, OR nd NOT unctions ulity principle (emorgn s dulity):. Boolen lger is unchnged when ll dul pirs re interchnged. ( OR AN). ( AN OR) BEMEP igitl Control o Electric rives -

Gte Functions (Inverter) AN OR NOT written down AN. s : OR written down s : written down NOT s : BEMEP igitl Control o Electric rives -

Gte Functions NAN NOR XOR written down NAN. s : NOR written down s : written down XOR s : BEMEP igitl Control o Electric rives -

BEMEP igitl Control o Electric rives - Gte Functions (Multi-input devices) c c c AN OR XOR Odd numer o (Odd prity) c c c c

Generl Comintionl Gte, ely VIH VIL VOH VOL Comintionl gte description includes: Behviour (logic unction) Truth tle Logic eqution Outputs n-out (how mny net gtes inputs cn e connected to gte output) Propgtion ely (gte input to output signl time dely, to nd to trnsitions my hve dierent vlues) Input nd output nd logic levels (dierent technologies dierent levels) Power consumption Fstest nd smllest gtes (hve ewest trnsistors) re: inverter (NOT)(CMOS trnsistors), NAN NOR (), AN OR () tilh tihl BEMEP igitl Control o Electric rives -

Inde, Minterm, Mterm Truth tle ( c,, ) c,, Minterm (m) c.. c.. c.. c.. c.. c.. c.. c.. Mterm (M) c c c c c c c c Inde Independent vriles Minterms Functionl vlue Mterms n d i i... d d d... d d d i BEMEP igitl Control o Electric rives -

SoP nd PoS Stndrd Form SoP Sum-o-Products stndrd orm m i( ) m (,,, ) i ( c,, ) c.. c.. c.. c.. PoS Product-o-Sums stndrd orm Mj() M(,,, ) j ( c,, ) ( c ).( c ).( c ).( c ) BEMEP igitl Control o Electric rives -

Logic Function Minimiztion Why? Implementtion nd economic resons smller numer o gtes How? Minimiztion methods: ) Logic unction modiiction using oolen lger lws ) K-mp (Krnugh mp) ) Tle method connection o terms (Quine-McCluskey method) BEMEP igitl Control o Electric rives -

Logic Function Minimiztion (,, ) Minimlize unction with truth tle elow: m (,,,, ) SoP Sum o Products m(,,,, ) ) M (,, PoS Product o Sums M (,,) ( )( )( ) BEMEP igitl Control o Electric rives - 8

BEMEP igitl Control o Electric rives - 9 Logic Function Minimiztion ) ( ) ( ) ( ()() () () () () () ()() ()() ()() ()() ()() ( ) m( ) minterm( ) th solution ) Minimiztion using oolen lger lws:

BEMEP igitl Control o Electric rives - Logic Function Minimiztion ( ) m( ) minterm( ) nd solution ) ( ) ( ) ( () () () () () ()() ()() ()() ()() ()() ()() ) Minimiztion using oolen lger lws (cont.):

Logic Function Minimiztion ) Minimiztion using oolen lger lws (cont.): Two solutions: th solution nd solution Essentil prime implicnts hve to e included in solution BEMEP igitl Control o Electric rives -

BEMEP igitl Control o Electric rives - Logic Function Minimiztion ) Minimiztion using K-mps (Krnugh mp): ) m(,,,, th solution nd solution Compre with method )

Logic Function Minimiztion ) Tle method connection o terms (Quine-McCluskey) (Suitle or computer processing) m(,,,, ) (... ) (... ) (... )( ) (... Tle connection o terms ) m step m Step m step, () (,) - - () (,) - - () (,) - - () (,) - - () - - - - Minterm coverge Mrked lines were connected together nd resulting term ws got to net step BEMEP igitl Control o Electric rives -

Logic Function Minimiztion ) Tle method connection o terms (cont.): Tle connection o terms m Step m Step m Step, () (,) - - () (,) - - () (,) - - () (,) - - () - - - - Tle implicnts coverge Implicnts / m BEMEP igitl Control o Electric rives -

BEMEP igitl Control o Electric rives - Logic Function Minimiztion A B Implicnts / m ) Tle method connection o terms (cont.): Coverge tle evlution A B th solution nd solution Essentil prime implicnts hve to e included in solution Compre with methods ) nd ) th solution nd solution

BEMEP igitl Control o Electric rives - Logic Function Implementtion

BEMEP igitl Control o Electric rives - Logic Function Implementtion A NAN gtes only

BEMEP igitl Control o Electric rives - 8 Logic Function Implementtion ) )( ( B

BEMEP igitl Control o Electric rives - 9 Logic Function Implementtion ) ( ) ( ) ( ) ( ) ( ) ( ) ) ( ( B C NOR gtes only

BEMEP igitl Control o Electric rives - K-mp (Krnugh mp) K mp grphics representtion o truth tle Used or quick grphics minimiztion o logic unctions Only single input vrile chnges in djoining K-mp cells Overr ove relevnt K-mp re mens vrile vlue is K-mp cells numering (indeing) is suitle id or quick logic vlues trnser rom stndrd truth tle to K-mp K mp is pplicle or unctions with to () input vriles K - mp Truth tle Truth tle indeing () suitle id

K-mp, Minimiztion Procedure In K mp identiy n groups o djcent vlues (mrk ech group y ovl) Choose mimum re o s nd minimum numer o res elete vriles which in mrked re chnge vlue Vriles which does not chnge vlue in mrked re crete minimlized logic unction in SoP (Sum-o-Product) ormt (,,...) m (...,...,... ) BEMEP igitl Control o Electric rives -

BEMEP igitl Control o Electric rives - K-mp, Minimiztion Procedure XOR m(,) M (,) ) )( (

BEMEP igitl Control o Electric rives - K-mp, Minimiztion Procedure XOR ) )( ( M (,) m(,) ) ( ) ( ) )( ( ) )( (

K-mp, Minimiztion Procedure 8 9 8 9 BEMEP igitl Control o Electric rives -

K-mp, Minimiztion Procedure Ais o symmetry 8 9 8 9 9 8 BEMEP igitl Control o Electric rives -

K-mps Indeed Templtes 8 9 8 9 8 9 9 8 BEMEP igitl Control o Electric rives -

Logic Function Minimiztion Using K-mp or minimiztion o logic unction my e unsuccessull in some cses See net emple: Binry Adder BEMEP igitl Control o Electric rives -

Adder Wht? How to dd??? Result ormt? BEMEP igitl Control o Electric rives - 8

Adder Binry numers, How? inry Binry numer s BEMEP igitl Control o Electric rives - 9

Adder (Hl-dder) Binry numers (vriles), re single it now??? s Truth tle s s d Where is crry to higher order? BEMEP igitl Control o Electric rives -

Hl Adder Truth Tle nd Implementtion q s Hl Adder s m (, ) q m ( ) BEMEP igitl Control o Electric rives -

Full Adder p s q Crry rom lower order Crry to higher order BEMEP igitl Control o Electric rives -

BEMEP igitl Control o Electric rives - Full Adder Truth Tle nd SoP q s p p p p p s........ ),, m (, p p p p q........ ),, m (,

Full Adder No Minimiztion s.. p.. p.. p.. p SoP - no minimiztion, too comple circuit q.. p.. p.. p.. p BEMEP igitl Control o Electric rives -

Full Adder Attempt to Minimlize rom K-Mp Attempt to minimlize using K-mp s p s.. p.. p.. p.. p s.. p.. p.. p.. p No simpliiction q p q.. p.. p.. p.. p q. p. p. Prtilly simpliied BEMEP igitl Control o Electric rives -

Full Adder Logic unction modiiction using oolen lws XOR XNOR s.. p.. p.. p.. p p ( ) p ( ) p ( ) p ( ) p ( ) Hl Adder s XNOR XOR K-mp, choice o etter res q.. p.. p.. p.. p q p p p( ) p( ) q p Hl Adder q BEMEP igitl Control o Electric rives -

Full Adder using two hl dders BEMEP igitl Control o Electric rives -

Bit Full Adder - using our it ull dders BEMEP igitl Control o Electric rives - 8

Comintionl versus Sequentil Circuits Comintionl circuits At every time instnt vlues o ll output vriles re deined y vlues o input vriles only t the sme time instnt. (The LCC hs no memory, i.e. the LCC does not rememer its pst sttes). Sequentil circuits Output vriles depend on time sequence o input vriles. The sequentil circuit LSC hs memory, i.e. it rememer its pst sttes. Sequentil circuit ehviour is implemented y so clled closed loop principle. Mthemtic tools: Stte chrt, stte vrile, Logic unctions, ecittion unction, output unction, Finite Stte Mchine model (FSM) or Finite Stte Automton (FSA), Trnsition tle, Output tle. BEMEP igitl Control o Electric rives - 9

igitl Control o Electric rives Logic Circuits Comintionl Boolen Alger, escription Form EN Czech Technicl University in Prgue Fculty o Electricl Engineering