Cascading filter transfer function

Click For Summary
SUMMARY

The discussion focuses on designing a three-stage cascading digital filter to integrate an AC waveform while addressing DC offset errors from the trapezoidal integration method. The transfer function for the filter is defined as H(s)=G*(1/(τs+1))^3, which is then transformed into the Z domain using the Tustin transformation. The user seeks clarification on the correct application of the Z-transform and whether to use z^{-1} in the transfer function, comparing it to MATLAB's implementation of the trapezoidal transfer function. The conversation highlights the importance of understanding transfer functions and their transformations in digital signal processing.

PREREQUISITES
  • Understanding of digital signal processing concepts
  • Familiarity with transfer functions and their mathematical representations
  • Knowledge of Z-transform and Tustin transformation
  • Experience with MATLAB and its Simulink environment
NEXT STEPS
  • Research the application of the Tustin transformation in digital filter design
  • Learn about the Z-transform and its implications for discrete-time systems
  • Explore MATLAB's implementation of digital filters, particularly the trapezoidal method
  • Study partial fraction decomposition in the context of digital signal processing
USEFUL FOR

Electrical engineers, digital signal processing practitioners, and anyone involved in designing and implementing digital filters for signal integration and processing.

stiive
Messages
2
Reaction score
0
Hi All,
I'm new to this forum. Its been awhile since university, so I've unfortuntely forgotten most of my teachings on transfer functions it seems!

Basically I am trying to design a 3 stage cascading digital filter. I am sampling an AC waveform and need to integrate the signal. I'm getting some DC offset error from pure integration (trapezoidal method), so have decided to use a cascading filter with an adjustable cut-off freq (set just above the current variable AC electrical freq), and gain multiplication to compensate for attenuation and for the integration.

I have been told that the transfer function for the 3 identical stage filter of a sine would be
H(s)=[itex]G*(\frac{1}{\tau*s+1})^{3}[/itex]

Obviously as i am sampling discretely, I need to be in Z domain
So I think i'd apply tunstin transformation(?) ;

s=[itex]\frac{2(z-1)}{T(z+1)}[/itex]

therefore,

H(Z) = G*[itex](\frac{1}{\tau[\frac{2(z-1)}{T(z+1)}]+1})^{3}[/itex]

where [itex]\tau[/itex]= cut-off freq, G = gain, T = Δtime

But from here I'm kinda stuck, and would appreciate any prompting/help in the right direction. I'm guessing i'll need to do partial fractions? I have tried this, but the answer I got I'm fairly sure is wrong as most of the terms are future sample input/outputs (ie y[n+3], x[n+3]). Is perhaps the z term meant to be [itex]z^{-1}[/itex]? For instance, I have seen in MATLAB simulink the trapezoidal transfer function as;

[itex]\frac{K*Ts(z+1)}{2(z-1)}[/itex]

whereas i think it should be;

[itex]\frac{K*Ts(z^{-1}+1)}{2(z^{-1}-1)}[/itex]

Perhaps MATLAB uses geophysical(?) definition?

Perhaps also instead of tunstin transformation, i should just use [itex]s=z^{-1}[/itex]??

Thanks for any help in advance!
 
Physics news on Phys.org
Maybe move this to Elec Eng subforum.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K