ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ 2014-15 Καθηγητής Πέτρος Π. Γρουμπός  2610 996449 Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00-12:00 Γραφείο: 1.

Slides:



Advertisements
Similar presentations
3. Systems and Transfer function
Advertisements

Analog and Digital Control 1
Analog-to-digital Conversion and Digital-to-analog Conversion (with DSP) ES-3.
Analogue to Digital Conversion
Computer Controlled System ELE3105/70520 Examiner: Dr Paul Wen Faculty of Engineering and Surveying The University of Southern Queensland Toowoomba, Qld.
CEN352, Dr. Ghulam Muhammad King Saud University
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology 數位控制設計使用 MATLAB 李達生.
Modern Control Theory (Digital Control)
Modern Control Theory (Digital Control)
System identification and self regulating systems.
Modern Control Theory (Digital Control)
Life in the frequency domain Jean Baptiste Joseph Fourier ( )
Analogue and digital techniques in closed loop regulation applications Digital systems Sampling of analogue signals Sample-and-hold Parseval’s theorem.
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Lecture 4: Sampling [2] XILIANG LUO 2014/10. Periodic Sampling  A continuous time signal is sampled periodically to obtain a discrete- time signal as:
Introduction to Embedded Systems Basics of Signal Processing Lecture 22.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Over-Sampling and Multi-Rate DSP Systems
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
Sampling Theorem, frequency resolution & Aliasing The Sampling Theorem will be the single most important constraint you'll learn in computer-aided instrumentation.
Computer Control: An Overview Wittenmark, Åström, Årzén Computer controlled Systems The sampling process Approximation of continuous time controllers Aliasing.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
2. Z-transform and theorem
Signal ProcessingES & BM MUET1 Lecture 2. Signal ProcessingES & BM MUET2 This lecture Concept of Signal Processing Introduction to Signals Classification.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Sine Waves. Notation s 0 … s n … s N or s(0), … s(n), … s(N) Sketch the following digital signals: δ (n) = 1, n = 0 = 0, otherwise u (n) = 1, n >= 0 =
Basics of Signal Processing. SIGNALSOURCE RECEIVER describe waves in terms of their significant features understand the way the waves originate effect.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Analog to Digital Data Conversion
Digital Signal Processing
1 Chapter 5 Ideal Filters, Sampling, and Reconstruction Sections Wed. June 26, 2013.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00-12:00 Γραφείο: 1.
ΚΕΦΑΛΑΙΟ: Sampling And reconstruction
Control Systems EE 4314 Lecture 29 May 5, 2015
Z Transform Primer. Basic Concepts Consider a sequence of values: {x k : k = 0,1,2,... } These may be samples of a function x(t), sampled at instants.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00-12:00 Γραφείο: 1.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: FIR Filters Design of Ideal Lowpass Filters Filter Design Example.
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Lecture 2 Analog to digital conversion & Basic discrete signals.
Control Systems EE 4314 Lecture 26 April 30, 2015 Spring 2015 Indika Wijayasinghe.
z-Plane Analysis of Discrete-Time Control Systems
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Unit 2 Discrete System 中華技術學院電子系 蔡樸生 副教授 林盈灝 副教授.
Real-time Digital Signal Processing Digital Filters.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Introduction to Converter Sampled-Data Modeling
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ 
Chapter 8 Mohamed Bingabr
Chapter 3 Sampling.
EE Audio Signals and Systems
Dr. Nikos Desypris, Oct Lecture 3
I. Previously on IET.
Fundamentals Data.
Chapter 2 Signal Sampling and Quantization
Image Acquisition.
Analog to Digital Data Conversion
لجنة الهندسة الكهربائية
The sampling of continuous-time signals is an important topic
Digital Control Systems (DCS)
Digital Control Systems Waseem Gulsher
Life in the frequency domain
Chapter 2 Ideal Sampling and Nyquist Theorem
數位控制理論簡介.
Analog to Digital Encoding
CEN352, Dr. Ghulam Muhammad King Saud University
Chapter 3 Sampling.
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00-12:00 Γραφείο: 1 ος όροφος Τομέας Συστημάτων & Αυτομάτου Ελέγχου Τμήμα ΗΜ&ΤΥ ΚΕΦΑΛΑΙΟ 7

2 Digitization Analog Control System ctrl. filter D(s) plant G(s) sensor 1 r(t)u(t)y(t)e(t) + - continuous controller For example, PID control

3 Digitization Digital Control System T is the sample time (s) Sampled signal : x(kT) = x(k) control: difference equations D/A and hold sensor 1 r(t)u(kT)u(t)e(kT) + - r(kT) plant G(s) y(t) clock A/D T T y(kT) digital controller voltage → bit bit → voltage

4 Digitization Continuous control vs. digital control  Basically, we want to simulate the cont. filter D(s)  D(s) contains differential equations (time domain) – must be translated into difference equations. Derivatives are approximated (Euler’s method)

5 Digitization Example (3.1) Using Euler’s method, find the difference equations. Differential equation Using Euler’s method

6 Digitization Compare – investigate using Matlab 1)Closed loop step response with continuous controller. 2)Closed loop step response with discrete controller. Sample rate = 20 Hz 3)Closed loop step response with discrete controller. Sample rate = 40 Hz Significance of sampling time T Example controller D(s) and plant G(s)

7 Digitization Matlab - continuous controller numD = 70*[1 2]; denD = [1 10]; numG = 1; denG = [1 1 0]; sysOL = tf(numD,denD) * tf(numG,denG); sysCL = feedback(sysOL,1); step(sysCL); Matlab - discrete controller numD = 70*[1 2]; denD = [1 10]; sysDd = c2d(tf(numD,denD),T); numG = 1; denG = [1 1 0]; sysOL = sysDd * tf(numG,denG); sysCL = feedback(sysOL,1); step(sysCL); Controller D(s) and plant G(s)

8 Digitization Notice, high sample frequency (small sample time T ) gives a good approximation to the continuous controller

9 Effect of sampling D/A in output from controller The single most important impact of implementing a control digitally is the delay associated with the hold.

10 Effect of sampling Analysis  Approximately 1/2 sample time delay  Can be approx. by Padè (and cont. analysis as usual) ctrl. filter D(s) Padé P(s) sensor 1 r(t)u(t)y(t)e(t) + - plant G(s)

11 Effect of sampling Example of phase lag by sampling Example from before with sample rate = 10 Hz Notice PM reduction

12 Spectrum of a Sampled Signal Spectrum  Consider a cont. signal r(t)  with sampled signal r*(t)  Laplace transform R*(s) can be calculated r(t)r*(t) T

13 Spectrum of a Sampled Signal

14 Spectrum of a Sampled Signal High frequency signal and low frequency signal – same digital representation.

15 Spectrum of a Sampled Signal Removing (unnecessary) high frequencies – anti-aliasing filter control: difference equations D/A and hold sensor 1 r(t)u(kT)u(t)e(kT) + - r(kT) plant G(s) y(t) clock A/D T T y(kT) digital controller anti- aliasing filter

16 Spectrum of a Sampled Signal

17 Sampling Theorem Nyquist sampling theorem  One can recover a signal from its samples if the sampling frequency f s =1/T (  s =2  /T) is at least twice the highest frequency in the signal, i.e.   s > 2  b (closed loop band-width) In practice, we need  20  b <  s < 40  b