SlideShare a Scribd company logo
1 of 18
AE491
Special Topics:
Digital Techniques in
Aerospace
Engineering
Semester 231
Dr. Syed Saad Azhar Ali
75-110
syed.ali@kfupm.edu.sa
SAMPLING, AD, DA, ZOH
10/16/2023 2
Analog to digital conversion A/D
• Essentially a sample and hold followed by encoding to a
digital signal.
• Sampling frequency in Hz is fs=1/T
• Sampling frequency in rad/sec is s=2f
• Result is discrete amplitude, discrete time signal
r*(t)
t
• Need to discretize analog
signals (in time and amplitude)
to handle with digital
computation.
r(t)
An analog signal r(t)
ANALOG TO DIGITAL CONVERSION A/D
PHYSICAL EXPLANATION
r(t) is sampled every T sec, by a
switch that is closed for a small
period.
r(t) r*(t)
T
r(t) r*(t)
r*(t) is the sampled signal
T
T
RECALL ON DELAYED OR SHIFTED SIGNAL
𝞭 (t-T)
T
T
T
𝞭 (t)
t
DELAYED IMPULSES -- PULSE TRAIN
𝛿 𝑡
𝛿 𝑡 − 𝑇
𝛿 𝑡 − 2𝑇
𝛿 𝑡 − 3𝑇
⋮
+
⟹ 𝛿 𝑡 + 𝛿 𝑡 − 𝑇 + 𝛿 𝑡 − 2𝑇 + 𝛿 𝑡 − 3𝑇 + ⋯
Impulse Function, e.g
amplitude 10 units
Delayed by T seconds
Delayed by 2T seconds
Delayed by 3T seconds
(Adding the above signals)
Also called a pulse train
𝑝 𝑡 =
𝐾=0
∞
𝛿 𝑡 − 𝐾𝑇
Need to discretize analog signals (in time and amplitude) to handle with
digital computation.
t
Sampled signal, r*(t) = r(t) x p(t)
r*(t)
The sampled-data signal
resulting from multiplying r(t)
by p(t)
ANALOG TO DIGITAL CONVERSION A/D
MATHEMATICAL EXPLANATION
× =
t
r(t)
t
p(t)







k
k
kT
t
kT
r
t
r
0
)
(
)
(
)
( 
ANALOG TO DIGITAL CONVERSION A/D
t
r(t)
An analog signal r(t)
t
å
¥
=
=
*
-
=
k
k
kT
t
kT
r
t
r
0
)
(
)
(
)
( d
å
¥
=
=
*
-
=
k
k
kT
t
kT
r
t
r
0
)
(
)
(
)
( d
The amplitude at the kTth instant is
Digital to Analog conversion D/A
• Essentially a sample and hold circuit. Usually uses a
zero-order-hold (ZOH) to keep output fixed at latest
digital value until the next sample time arrives
• The ZOH introduces a very significant time delay unless
the sampling frequency is very high
f(kT) m(t)
⟹ results in an analog signal
(continuous time-discrete value)
Zero Order Hold (ZOH)
• A ZOH is a device that holds the value it receives from the
sampler. It captures and remembers that value for the following T
seconds, where T is the sampling period (=1/sampling rate).
• We need to find the impact of adding a transfer function
Determine the closed-loop transfer function, Y(s)/R(s).
a. The sampled-data control system of a process in its closed-loop form is as
shown.
)
(
1
)
(
1
s
s
s
G


ZOH G(s) Y(s)
R(s)
T=1 sec
+
-
Example (this is from a later slide, so don’t worry at the moment)
Zero Order Hold (ZOH)
• A ZOH is a device that holds the value it receives from the
sampler. It captures and remembers that value for the following T
seconds, where T is the sampling period (=1/sampling rate).
• We need to find the impact of adding a transfer function
• When we apply an impulse to a system, the Laplace transform of
the resulting output is the system’s transfer function.
• We use this concept to derive the transfer function for a ZOH.
• The sampler and the resulting output appears as follows:
Zero Order Hold
r(t) r*(t)
T
r(t) r*(t)
r(t) r*(t)
T
r(t) r*(t)
m(t)
𝑟 𝑡 = 𝛿 𝑡
m(t)
Sample (record the value) and holding it
Lets understand this box or the hold function
The hold function
10/16/2023 14
u(t-3) or in this case with T=3 u(t-T)
u(t)
m(t) = u(t) - u(t-T)
The hold function can be expressed as,
𝑚 𝑡 = 𝑢 𝑡 − 𝑢 𝑡 − 𝑇
1
𝑠
−
1
𝑠
𝑒−𝑠𝑇
𝑀(𝑠) =
1 − 𝑒−𝑠𝑇
𝑠
𝑀 𝑠 =
• Any delayed function
results in 𝑒−𝑠𝑇
in the
Laplace domain.
• 𝑓 𝑡 ⇌ 𝐹 𝑠
• 𝑓 𝑡 − 𝑇 ⇌ 𝐹 𝑠 𝑒−𝑠𝑇
• Check Laplace transform
properties
Zero-Order Hold
The output, m(t), is expressed as,
the transfer function of ZOH, call it , GZOH (s), is:
r(t) r*(t)
T
r(t) r*(t)
r(t) r*(t)
T
r(t) r*(t)
m(t)
𝑚 𝑡 = 𝑢 𝑡 − 𝑢 𝑡 − 𝑇
𝑀 𝑠 =
1
𝑠
−
1
𝑠
𝑒−𝑠𝑇
𝑀(𝑠) =
1 − 𝑒−𝑠𝑇
𝑠
For an impulse input, [𝑟 𝑡 = 𝛿 𝑡 ⟺ 𝑅 𝑠 = 1],
𝐺𝑍𝑂𝐻 =
𝑀(𝑠)
𝑅(𝑠)
=
1 − 𝑒−𝑠𝑇
𝑠
1
=
1 − 𝑒−𝑠𝑇
𝑠
Why do we need digitalization… ?
• Suggest any aerospace system
• Present a general model/block diagram/dynamic equation
• Discuss
• Suggest reasons, why is there a need to digitalize the system
• Submit to BlackBoard
10/16/2023 16
Why Digital Signal and Digital Systems…?
• Accuracy
• Design Flexibility
• Speed
• Cost
• Storage
• Implementation errors
In This lecture we discussed…
• What and why of digital system
• Continuous and discrete time system/signal
• Basic block diagram of digital system
• Some basic signals
• Introduction to A/D and D/A
• Zero Order Hold
• Physical and mathematical representation
• Finally, conclusion on the advantages of using digital systems

More Related Content

Similar to 04 AD and DA ZoH.pptx

Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015Pritchardmabutho
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
Signals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and TransformSignals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and TransformPraveen430329
 
1 radar signal processing
1 radar signal processing1 radar signal processing
1 radar signal processingSolo Hermelin
 
Seminar 20091023 heydt_presentation
Seminar 20091023 heydt_presentationSeminar 20091023 heydt_presentation
Seminar 20091023 heydt_presentationdouglaslyon
 
Module1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxModule1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxrealme6igamerr
 
Unit 1 -Introduction to signals and standard signals
Unit 1 -Introduction to signals  and standard signalsUnit 1 -Introduction to signals  and standard signals
Unit 1 -Introduction to signals and standard signalsDr.SHANTHI K.G
 
Eece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformSandilya Sridhara
 
Classification of-signals-systems-ppt
Classification of-signals-systems-pptClassification of-signals-systems-ppt
Classification of-signals-systems-pptMayankSharma1126
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptxVairaPrakash2
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptxVairaPrakash2
 
Ec8352 signals and systems 2 marks with answers
Ec8352 signals and systems   2 marks with answersEc8352 signals and systems   2 marks with answers
Ec8352 signals and systems 2 marks with answersGayathri Krishnamoorthy
 
time domain analysis.pptx
time domain analysis.pptxtime domain analysis.pptx
time domain analysis.pptxdeepaMS4
 
Lecture 13 14-time_domain_analysis_of_1st_order_systems
Lecture 13 14-time_domain_analysis_of_1st_order_systemsLecture 13 14-time_domain_analysis_of_1st_order_systems
Lecture 13 14-time_domain_analysis_of_1st_order_systemsSaifullah Memon
 
Ss important questions
Ss important questionsSs important questions
Ss important questionsSowji Laddu
 

Similar to 04 AD and DA ZoH.pptx (20)

Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
Signals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and TransformSignals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and Transform
 
1 radar signal processing
1 radar signal processing1 radar signal processing
1 radar signal processing
 
Seminar 20091023 heydt_presentation
Seminar 20091023 heydt_presentationSeminar 20091023 heydt_presentation
Seminar 20091023 heydt_presentation
 
lecture3_2.pdf
lecture3_2.pdflecture3_2.pdf
lecture3_2.pdf
 
Module1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxModule1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptx
 
Tf
TfTf
Tf
 
Unit 1 -Introduction to signals and standard signals
Unit 1 -Introduction to signals  and standard signalsUnit 1 -Introduction to signals  and standard signals
Unit 1 -Introduction to signals and standard signals
 
Eece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transform
 
Classification of-signals-systems-ppt
Classification of-signals-systems-pptClassification of-signals-systems-ppt
Classification of-signals-systems-ppt
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
 
Ec8352 signals and systems 2 marks with answers
Ec8352 signals and systems   2 marks with answersEc8352 signals and systems   2 marks with answers
Ec8352 signals and systems 2 marks with answers
 
Basic concepts
Basic conceptsBasic concepts
Basic concepts
 
time domain analysis.pptx
time domain analysis.pptxtime domain analysis.pptx
time domain analysis.pptx
 
Lecture 13 14-time_domain_analysis_of_1st_order_systems
Lecture 13 14-time_domain_analysis_of_1st_order_systemsLecture 13 14-time_domain_analysis_of_1st_order_systems
Lecture 13 14-time_domain_analysis_of_1st_order_systems
 
Ss important questions
Ss important questionsSs important questions
Ss important questions
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 

More from SaadAli105813

A lecture on How to Defeat Nifaaq (hypocrisy).pptx
A lecture on How to Defeat Nifaaq (hypocrisy).pptxA lecture on How to Defeat Nifaaq (hypocrisy).pptx
A lecture on How to Defeat Nifaaq (hypocrisy).pptxSaadAli105813
 
04 Transfer Function.pptx
04 Transfer Function.pptx04 Transfer Function.pptx
04 Transfer Function.pptxSaadAli105813
 
03 Introduction to Laplace Transforms.pptx
03 Introduction to Laplace Transforms.pptx03 Introduction to Laplace Transforms.pptx
03 Introduction to Laplace Transforms.pptxSaadAli105813
 
02 Mathematical Modelling.pptx
02 Mathematical Modelling.pptx02 Mathematical Modelling.pptx
02 Mathematical Modelling.pptxSaadAli105813
 
01 Introduction to AE 313.pptx
01 Introduction to AE 313.pptx01 Introduction to AE 313.pptx
01 Introduction to AE 313.pptxSaadAli105813
 
ICACR 2023 final (1).pptx
ICACR 2023 final (1).pptxICACR 2023 final (1).pptx
ICACR 2023 final (1).pptxSaadAli105813
 

More from SaadAli105813 (6)

A lecture on How to Defeat Nifaaq (hypocrisy).pptx
A lecture on How to Defeat Nifaaq (hypocrisy).pptxA lecture on How to Defeat Nifaaq (hypocrisy).pptx
A lecture on How to Defeat Nifaaq (hypocrisy).pptx
 
04 Transfer Function.pptx
04 Transfer Function.pptx04 Transfer Function.pptx
04 Transfer Function.pptx
 
03 Introduction to Laplace Transforms.pptx
03 Introduction to Laplace Transforms.pptx03 Introduction to Laplace Transforms.pptx
03 Introduction to Laplace Transforms.pptx
 
02 Mathematical Modelling.pptx
02 Mathematical Modelling.pptx02 Mathematical Modelling.pptx
02 Mathematical Modelling.pptx
 
01 Introduction to AE 313.pptx
01 Introduction to AE 313.pptx01 Introduction to AE 313.pptx
01 Introduction to AE 313.pptx
 
ICACR 2023 final (1).pptx
ICACR 2023 final (1).pptxICACR 2023 final (1).pptx
ICACR 2023 final (1).pptx
 

Recently uploaded

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 

04 AD and DA ZoH.pptx

  • 1. AE491 Special Topics: Digital Techniques in Aerospace Engineering Semester 231 Dr. Syed Saad Azhar Ali 75-110 syed.ali@kfupm.edu.sa
  • 2. SAMPLING, AD, DA, ZOH 10/16/2023 2
  • 3. Analog to digital conversion A/D • Essentially a sample and hold followed by encoding to a digital signal. • Sampling frequency in Hz is fs=1/T • Sampling frequency in rad/sec is s=2f • Result is discrete amplitude, discrete time signal
  • 4. r*(t) t • Need to discretize analog signals (in time and amplitude) to handle with digital computation. r(t) An analog signal r(t) ANALOG TO DIGITAL CONVERSION A/D PHYSICAL EXPLANATION r(t) is sampled every T sec, by a switch that is closed for a small period. r(t) r*(t) T r(t) r*(t) r*(t) is the sampled signal T T
  • 5. RECALL ON DELAYED OR SHIFTED SIGNAL 𝞭 (t-T) T T T 𝞭 (t) t
  • 6. DELAYED IMPULSES -- PULSE TRAIN 𝛿 𝑡 𝛿 𝑡 − 𝑇 𝛿 𝑡 − 2𝑇 𝛿 𝑡 − 3𝑇 ⋮ + ⟹ 𝛿 𝑡 + 𝛿 𝑡 − 𝑇 + 𝛿 𝑡 − 2𝑇 + 𝛿 𝑡 − 3𝑇 + ⋯ Impulse Function, e.g amplitude 10 units Delayed by T seconds Delayed by 2T seconds Delayed by 3T seconds (Adding the above signals) Also called a pulse train 𝑝 𝑡 = 𝐾=0 ∞ 𝛿 𝑡 − 𝐾𝑇
  • 7. Need to discretize analog signals (in time and amplitude) to handle with digital computation. t Sampled signal, r*(t) = r(t) x p(t) r*(t) The sampled-data signal resulting from multiplying r(t) by p(t) ANALOG TO DIGITAL CONVERSION A/D MATHEMATICAL EXPLANATION × = t r(t) t p(t)
  • 8.        k k kT t kT r t r 0 ) ( ) ( ) (  ANALOG TO DIGITAL CONVERSION A/D t r(t) An analog signal r(t) t å ¥ = = * - = k k kT t kT r t r 0 ) ( ) ( ) ( d å ¥ = = * - = k k kT t kT r t r 0 ) ( ) ( ) ( d The amplitude at the kTth instant is
  • 9. Digital to Analog conversion D/A • Essentially a sample and hold circuit. Usually uses a zero-order-hold (ZOH) to keep output fixed at latest digital value until the next sample time arrives • The ZOH introduces a very significant time delay unless the sampling frequency is very high f(kT) m(t) ⟹ results in an analog signal (continuous time-discrete value)
  • 10. Zero Order Hold (ZOH) • A ZOH is a device that holds the value it receives from the sampler. It captures and remembers that value for the following T seconds, where T is the sampling period (=1/sampling rate). • We need to find the impact of adding a transfer function
  • 11. Determine the closed-loop transfer function, Y(s)/R(s). a. The sampled-data control system of a process in its closed-loop form is as shown. ) ( 1 ) ( 1 s s s G   ZOH G(s) Y(s) R(s) T=1 sec + - Example (this is from a later slide, so don’t worry at the moment)
  • 12. Zero Order Hold (ZOH) • A ZOH is a device that holds the value it receives from the sampler. It captures and remembers that value for the following T seconds, where T is the sampling period (=1/sampling rate). • We need to find the impact of adding a transfer function • When we apply an impulse to a system, the Laplace transform of the resulting output is the system’s transfer function. • We use this concept to derive the transfer function for a ZOH. • The sampler and the resulting output appears as follows:
  • 13. Zero Order Hold r(t) r*(t) T r(t) r*(t) r(t) r*(t) T r(t) r*(t) m(t) 𝑟 𝑡 = 𝛿 𝑡 m(t) Sample (record the value) and holding it Lets understand this box or the hold function
  • 14. The hold function 10/16/2023 14 u(t-3) or in this case with T=3 u(t-T) u(t) m(t) = u(t) - u(t-T) The hold function can be expressed as, 𝑚 𝑡 = 𝑢 𝑡 − 𝑢 𝑡 − 𝑇 1 𝑠 − 1 𝑠 𝑒−𝑠𝑇 𝑀(𝑠) = 1 − 𝑒−𝑠𝑇 𝑠 𝑀 𝑠 = • Any delayed function results in 𝑒−𝑠𝑇 in the Laplace domain. • 𝑓 𝑡 ⇌ 𝐹 𝑠 • 𝑓 𝑡 − 𝑇 ⇌ 𝐹 𝑠 𝑒−𝑠𝑇 • Check Laplace transform properties
  • 15. Zero-Order Hold The output, m(t), is expressed as, the transfer function of ZOH, call it , GZOH (s), is: r(t) r*(t) T r(t) r*(t) r(t) r*(t) T r(t) r*(t) m(t) 𝑚 𝑡 = 𝑢 𝑡 − 𝑢 𝑡 − 𝑇 𝑀 𝑠 = 1 𝑠 − 1 𝑠 𝑒−𝑠𝑇 𝑀(𝑠) = 1 − 𝑒−𝑠𝑇 𝑠 For an impulse input, [𝑟 𝑡 = 𝛿 𝑡 ⟺ 𝑅 𝑠 = 1], 𝐺𝑍𝑂𝐻 = 𝑀(𝑠) 𝑅(𝑠) = 1 − 𝑒−𝑠𝑇 𝑠 1 = 1 − 𝑒−𝑠𝑇 𝑠
  • 16. Why do we need digitalization… ? • Suggest any aerospace system • Present a general model/block diagram/dynamic equation • Discuss • Suggest reasons, why is there a need to digitalize the system • Submit to BlackBoard 10/16/2023 16
  • 17. Why Digital Signal and Digital Systems…? • Accuracy • Design Flexibility • Speed • Cost • Storage • Implementation errors
  • 18. In This lecture we discussed… • What and why of digital system • Continuous and discrete time system/signal • Basic block diagram of digital system • Some basic signals • Introduction to A/D and D/A • Zero Order Hold • Physical and mathematical representation • Finally, conclusion on the advantages of using digital systems