SlideShare a Scribd company logo
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 2015
Pritchardmabutho
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
AJAL 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 Transform
Praveen430329
 
1 radar signal processing
1 radar signal processing1 radar signal processing
1 radar signal processing
Solo Hermelin
 
Seminar 20091023 heydt_presentation
Seminar 20091023 heydt_presentationSeminar 20091023 heydt_presentation
Seminar 20091023 heydt_presentationdouglaslyon
 
lecture3_2.pdf
lecture3_2.pdflecture3_2.pdf
lecture3_2.pdf
PatrickMumba7
 
Module1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxModule1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptx
realme6igamerr
 
Tf
TfTf
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
Dr.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 transform
Sandilya Sridhara
 
Classification of-signals-systems-ppt
Classification of-signals-systems-pptClassification of-signals-systems-ppt
Classification of-signals-systems-ppt
MayankSharma1126
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
VairaPrakash2
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
VairaPrakash2
 
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
Gayathri Krishnamoorthy
 
Basic concepts
Basic conceptsBasic concepts
Basic concepts
Syed Zaid Irshad
 
time domain analysis.pptx
time domain analysis.pptxtime domain analysis.pptx
time domain analysis.pptx
deepaMS4
 
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
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
abidiqbal55
 

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).pptx
SaadAli105813
 
04 Transfer Function.pptx
04 Transfer Function.pptx04 Transfer Function.pptx
04 Transfer Function.pptx
SaadAli105813
 
03 Introduction to Laplace Transforms.pptx
03 Introduction to Laplace Transforms.pptx03 Introduction to Laplace Transforms.pptx
03 Introduction to Laplace Transforms.pptx
SaadAli105813
 
02 Mathematical Modelling.pptx
02 Mathematical Modelling.pptx02 Mathematical Modelling.pptx
02 Mathematical Modelling.pptx
SaadAli105813
 
01 Introduction to AE 313.pptx
01 Introduction to AE 313.pptx01 Introduction to AE 313.pptx
01 Introduction to AE 313.pptx
SaadAli105813
 
ICACR 2023 final (1).pptx
ICACR 2023 final (1).pptxICACR 2023 final (1).pptx
ICACR 2023 final (1).pptx
SaadAli105813
 

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

Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 

Recently uploaded (20)

Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 

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