Outline. Digital Control System Models. ADC Model. Common Digital Control System Configuration

Similar documents
1. s to Z-Domain Transfer Function

The Z transform (3) 1

The Calculation of G rms

2.161 Signal Processing: Continuous and Discrete Fall 2008

Chapter 3 AUTOMATIC VOLTAGE CONTROL

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

Digital Signal Processing IIR Filter Design via Impulse Invariance

SCHWEITZER ENGINEERING LABORATORIES, COMERCIAL LTDA.

SGN-1158 Introduction to Signal Processing Test. Solutions

Lecture 7 Circuit analysis via Laplace transform

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output

Em bedded DSP : I ntroduction to Digital Filters

Engineering: Electrical Engineering

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Analog Representations of Sound

Frequency Response of FIR Filters

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

ELECTRICAL ENGINEERING

SECTION 6 DIGITAL FILTERS

(Refer Slide Time: 01:11-01:27)

ALL DIGITAL DESIGN AND IMPLEMENTAION OF PROPORTIONAL- INTEGRAL-DERIVATIVE (PID) CONTROLLER

Design of a TL431-Based Controller for a Flyback Converter

Lecture - 4 Diode Rectifier Circuits

EE 402 RECITATION #13 REPORT

(Refer Slide Time: 2:03)

DCMS DC MOTOR SYSTEM User Manual

Motorola Digital Signal Processors

School of Engineering Department of Electrical and Computer Engineering

DEGREE: Bachelor in Biomedical Engineering YEAR: 2 TERM: 2 WEEKLY PLANNING

First, we show how to use known design specifications to determine filter order and 3dB cut-off

Interfacing Analog to Digital Data Converters

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.

STEPPER MOTOR SPEED AND POSITION CONTROL

FUNDAMENTALS OF ENGINEERING (FE) EXAMINATION REVIEW

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

The D.C Power Supply

by Anurag Pulincherry A THESIS submitted to Oregon State University in partial fulfillment of the requirements for the degree of Master of Science

DAC Digital To Analog Converter

Step Response of RC Circuits

3.1 State Space Models

ADC and DAC. Quantization

LAB4: Audio Synthesizer

Digital to Analog Converter. Raghu Tumati

LECTURE 3. Timing, scheduling and software considerations. Processes. Example: Fly-by-wire aircraft

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Switch Mode Power Supply Topologies

Control System Definition

BJT Ebers-Moll Model and SPICE MOSFET model

Sophomore Physics Laboratory (PH005/105)

The Membrane Equation

Figure 1. Diode circuit model

6.025J Medical Device Design Lecture 3: Analog-to-Digital Conversion Prof. Joel L. Dawson

Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems

Chapter 12: The Operational Amplifier

Chapter 9: Controller design

E&I MAINTENANCE ENTRY TEST ENABLING OBJECTIVES. DESCRIBE hazards and precautions taken to avoid injury in the workplace.

Chapter 6: From Digital-to-Analog and Back Again

CBS RECORDS PROFESSIONAL SERIES CBS RECORDS CD-1 STANDARD TEST DISC

GENERAL POWER SYSTEM WIRING PRACTICES APPLIED TO TECNADYNE DC BRUSHLESS MOTORS

S-DOMAIN ANALYSIS: POLES, ZEROS, AND BODE PLOTS

First Order Circuits. EENG223 Circuit Theory I

Understand the effects of clock jitter and phase noise on sampled systems A s higher resolution data converters that can

Manufacturing Equipment Modeling

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek

Designing Gain and Offset in Thirty Seconds

Small Signal Analysis of a PMOS transistor Consider the following PMOS transistor to be in saturation. Then, 1 2

Notes about Small Signal Model. for EE 40 Intro to Microelectronic Circuits

LABORATORY 10 TIME AVERAGES, RMS VALUES AND THE BRIDGE RECTIFIER. Bridge Rectifier

Dynamic Process Modeling. Process Dynamics and Control

1995 Mixed-Signal Products SLAA013

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

Lab 7: Operational Amplifiers Part I

Motor Control. Suppose we wish to use a microprocessor to control a motor - (or to control the load attached to the motor!) Power supply.

Introduction to SMPS Control Techniques

Selecting Current Transformers Part 1 By Darrell G. Broussard, P.E.

The Time Constant of an RC Circuit

ELECTRONIC FILTER DESIGN HANDBOOK

Chapter 11 Current Programmed Control

11. MEASUREMENT OF POWER CONSUMPTION OF THE NONBALANCED THREE-PHASE LOAD

TTT4120 Digital Signal Processing Suggested Solution to Exam Fall 2008

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Conversion Between Analog and Digital Signals

EE 330 Lecture 21. Small Signal Analysis Small Signal Analysis of BJT Amplifier

Real-Time Systems Versus Cyber-Physical Systems: Where is the Difference?

Micro-Step Driving for Stepper Motors: A Case Study

Negative Integer Exponents

Introduction to Bode Plot

Tamura Closed Loop Hall Effect Current Sensors

Digital Signal Processing

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

DYNAMIC MODEL OF INDUCTION MOTORS FOR VECTOR CONTROL. Dal Y. Ohm Drivetech, Inc., Blacksburg, Virginia

POINTS POSITION INDICATOR PPI4

Positive Feedback and Oscillators

Filter Comparison. Match #1: Analog vs. Digital Filters

SUBJECT: How to wire a motor starter Number: AN-MC-004 Date Issued: 2/08/2005 Revision: Original

V out. Figure 1: A voltage divider on the left, and potentiometer on the right.

PYKC Jan Lecture 1 Slide 1

Matlab and Simulink. Matlab and Simulink for Control

Transcription:

Outline Digital Control System Models M. Sami Fadali Professor of Electrical Engineering University of Nevada Model of ADC. Model of DAC. Model of ADC, analog subsystem and DAC. Systems with transport lag. Examples 1 2 Common Digital Control System Configuration Computer or Microprocessor DAC Analog Subsystem ADC ADC Model Assume that (i) ADC outputs are exactly equal in magnitude to their inputs. (i.e. neglect quantization errors). (ii) ADC yields digital output instantaneously. (iii) Sampling is perfectly uniform. Model ADC as ideal sampler with sampling period T. T 3 4

Assume that DAC DAC Model (i)outputs are exactly equal in magnitude to their inputs. (ii) yields an analog output instantaneously. (iii) outputs are constant over each sampling period. zero-order-hold: piecewise constant analog output. first-order hold constructs signals in terms of straight lines second-order hold constructs them in terms of parabolas. _ Transfer Function of ZOH Use impulse sampling and Laplace transform of a unit pulse _ kt kt (k+1)t kt (k+1)t Hold 5 6 Zero-order Effect of Sampler on Transfer Function of a Cascade In the s-domain U(s) X(s) Y(s) H 1 (s) H 2 (s) 7 Time Response Change order and variables of integration 8

Punch Line Equivalent impulse response for cascade = the convolution of cascaded impulse responses. Impossible to separate convolved time function Sample the output 9 Convolving & CT Signal Repetitions of the CT function each in the location of an impulse in the train U(s) U * (s) H(s) Y(s) 10 Sampled Output Change the order of summation and integration Sample and transform 11 Transfer Function for Cascade Cascade not separated by samplers: components cannot be separated after sampling. Cascade separated by samplers: each block has a sampled output and input as well as a z-domain transfer function. blocks not separated: blocks separated: 12

Example Find the equivalent sampled impulse response sequence and the equivalent z-transfer function for the cascade of the two analog systems with sampled input (a) If the systems are directly connected. (b) If the systems are separated by a sampler. (a) Systems Directly Connected Impulse response Sampled impulse response z-transfer function 13 14 (b) Systems Separated By Samplers Partial fractions Impulse response sequence TF for DAC, Analog Subsystem, ADC Combination L kt Zero-order kt (k+1)t Hold Analog Subsystem T 15 16

1.5 1.0 0.5 0.0 0.5 1.0 Impulse Response of DAC and Analog Subsystem Positive Step Delayed Negative Step 1.5 0.2 0 2 4 6 8 1 0 2 4 6 8 10 time s time s (a) Response of analog system to step inputs. 1.0 0.8 0.6 0.4 0.2 0.0 (b) Response of analog system to a unit pulse input. 17 Sample & z-transform Sampled impulse response z-transfer function of DAC (zero-order hold), analog subsystem, ADC (ideal sampler) cascade Z Simplify Notation Z L Z 18 Example Find the z-domain transfer function for ADC, DAC, and the shown series R-L circuit with the inductor voltage as output. V in R L V o Voltage divider Use Solution Z Z / / / / / 19 20

Example Find the z-domain transfer function of an amplifier, an armature controlled DC motor, ADC and DAC if the s-domain transfer function of the motor and amplifier is Solution Partial fraction expansion 21 22 Use Solution (Cont.) Z Z 1 1 1 1 Systems with Transport Lag Transfer function for systems with a transport delay = positive integer. Example: time delay = 3.1 s, and Z L 23 24

Delay Theorem Z _ Define the transfer function Advance theorem of Laplace transforms Z _ Use Modified z-transform Z Causal time function Sampling & shifting Shifting a step function has no effect on samples, shifting a decaying exponential does. Z 25 26 Modified z-transform Z Transfer function Example If the sampling period is 0.1 s, determine the z-transfer function for the ADC, DAC and analog transfer function. 27 28

Solution Delay in terms of the sampling period as 0.31 = 3.1 0.1 = (4 0.9) 0.1 l = 4 m = 0.9 Partial fraction expansion Desired transfer function... CT Function 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.5 1 1.5 2 t s 29 30 R(z) + Block Diagram of Single-loop Digital Control System E(z) C(z) U(z) G ZAS (z) Y(z) 31 Closed-loop Transfer Function CL characteristic equation Closed-loop System Poles Roots of the characteristic equation (selected for desired time response specifications as in s-domain design) 32

MATLAB Commands z-transfer function for ADC, DAC & analog subsystem. >> g= tf(num, den) % Enter analog transfer function >> gd= c2d(g,t, 'method') % Sampling period T 'method' = method to obtain the digital transfer function MATLAB Example G(s) = (2s 2 +4s+3)/(s 3 +4s 2 +6s+8) >> g = tf( [2,4,3], [1,4,6,8]) >> gd= c2d(g, 0.1, 'zoh') % zero-order hold >> gd = c2d(g, 0.1, 'foh') % first-order hold >> gd = c2d(g, 0.1, 'impulse') % z-transform T 33 34 Transport Delay >> g=tf(3,[1,3],'inputdelay', 0.31) Transfer function: 3 exp(-0.31*s) * ------- s + 3 >> c2d(g,.1) Transfer function: 0.2366 z + 0.02256 z^(-4) * ----------------------- z - 0.7408 35