Professional Documents
Culture Documents
ScilabTEC2011 Valeo PDF
ScilabTEC2011 Valeo PDF
Date: 28/06/2011
Summary
Introduction
Proposed Method
Deconvolution Algorithm
FFT
Examples of use
Conclusion
28/06/11I 2
Introduction
Analog Electronic Designers are
accustomed to transfer function
description in frequency domain
using Bode plots.
In most of the case, this is not straight forward (hard job) and with risk of
errors
28/06/11I 3
New Method
Transfer function extraction rely on simulation or
test in time domain using signal with large
spectrum to cover quickly the entire frequency
domain.
Proposed method is to:
inject a step signal at function input,
extract the impulse response by deconvolution algorithm
use FFT to plot transfer function in frequency domain.
Benefits are:
No dedicated test tool needed
No equivalent AC model requested
Results are processed with SCILAB
28/06/11I 4
Deconvolution Algorithm
Remind on Convolution
Mathematical Expression:
t
In( k ) + In(k + 1)
Tf ( n 1 k )
2
Tf
In
Out
28/06/11I 5
Deconvolution Algorithm
Application of the Convolution
When applied to the various terms gives:
In(0) + In(1)
Out (1) = Out (0) + dt
Tf (0)
2
TF(0) can be
computed
Then TF(1)
In(0) + In(1)
In(1) + In( 2)
Out (2) = Out (0) + dt
Tf (0)
Tf (1) + dt
2
2
In( k ) + In( k + 1)
Out (n) = Out (0) + dt
Tf ( n 1 k )
2
k =0
n 1
Then TF(n-1)
28/06/11I 6
Deconvolution Algorithm
Final Algorithm
Final formulae:
Tf (0) =
2
(Out (1) Out (0) )
dt [In(0) + In(1)]
n 1
Outx = dt In(k ) + In(k + 1) Tf (n 1 k )
2
k =1
28/06/11I 7
Deconvolution Algorithm
Remarks
DC values from the Input signal have to be
removed.
Deconvolution starts when input signal is applied
(synchronization to input signal is needed).
Due to sampling effect, input signal is factored by a
ZOH (Zero Order Hold). This will introduce a phase
shift in the extracted transfer function which must
be corrected.
ZOH t
28/06/11I 8
ut
u t Ts
1 e
j
j Ts
Ts e
j Ts
2
sin
Ts
2
Ts
2
I
FFT
Standard SCILAB algorithm used at the
beginning.
The following corrections/limitations apply:
Fs = 1/Ts
Spectrum starts at 1/(N.Ts) with N = number of points
Spectrum plotted up to Fs/10
Phase corrected to take into account sampling effect
Number of sample not limited to 2n
28/06/11I 9
28/06/11I 10
1
TF ( s ) =
1 + T0 s
1
T0 =
1Hz
2
28/06/11I 11
28/06/11I 12
Good
Matching
Extraction is
correct
28/06/11I 13
A
(1 + T0 s ) (1 + T1 s )
1
1Hz
2
1
T0 =
10 Hz
2 10
T0 =
28/06/11I 14
Transfer Function in
Frequency Domain
28/06/11I 15
Good
Matching
Extraction is
correct
I
A (1 + T0 s )
s (1 + T1 s )
1
1Hz
2
1
T0 =
10 Hz
2 10
T0 =
28/06/11I 16
Transfer Function in
Frequency Domain
28/06/11I 17
Integrator
function not
extracted !!!
I
28/06/11I 18
Transfer Function in
Frequency Domain
28/06/11I 19
Good
Matching
Now
28/06/11I 20
Transfer Function in
Frequency Domain
28/06/11I 21
Extraction is
working in
closed loop
I
Target: extraction of
the current control
loop transfer function
in order to perform
stability study
28/06/11I 22
Transfer Function in
Frequency Domain
28/06/11I 23
Fc = 460Hz
Ph margin > 90
Conclusion
Quick and Relevant method for transfer function
extraction
Applicable to Open Loop or Closed Loop System
Proposed solution (addition of a real term) to solve non
convergence problems need to be further investigated
Have to be used on several use cases to confirm
applicability and accuracy
To be continued
28/06/11I 24