Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
General Engineering
Mechanical Engineering
Electrical Engineering
Aerospace Engineering
Nuclear Engineering
Materials Engineering
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
General Engineering
Mechanical Engineering
Electrical Engineering
Aerospace Engineering
Nuclear Engineering
Materials Engineering
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Engineering
General Engineering
How do we add the affect of the sampling rate to the difference equation?
Reply to thread
Message
[QUOTE="hkBattousai, post: 3081538, member: 86140"] I designed four different transfer function to differentiate and accumulate a given function. In my example, the given function is sin() between [0, 6*PI]. [LIST=1] [*]Dashed blue line: The original input function (i.e.; sin(t)) [*]Red line: Integration of sin(t) with initial value of -1.0. (H(s) = 1/s) [*]Green line: Differentiation of sin(t). (H(s) = s) [*]Magenta line: Integration of sin(t) with initial value of -1.0. (H(z) = 1/(1-z^(1))) [*]Black line: Differentiation of sin(t). (H(z) = 1 - z^(-1)) [/LIST] My algorithm is working in computer, so it uses z-transform. I transformed continuous time transfer functions to discrete time using bilinear transformation. [tex]s = \frac{2}{T_d}\times\frac{1-z^{-1}}{1+z^{-1}}[/tex] As you can see from the graph, the continuous time operations have the same amplitude with the input signal, because we add the affect of sampling rate during bilinear transformation. But the discrete time systems have different amplitudes with the input signal. For instance, the amplitude of the output of the integration operation increases with increasing sample rate as expected, because the number of samples accumulated increases. Similarly, the amplitude of the output of the differentiating system decreases with decreasing sampling rate. My question arises at this point. [B]How do I normalize the output of a discrete time system?[/B] I mean, I want to make the amplitude of the output signal independent of sampling rate. [B][SIZE="5"]Sampling rate = 1 samples/second[/SIZE][/B] [PLAIN][PLAIN]http://img267.imageshack.us/img267/3425/t10r.png[/PLAIN] Unitary sampling rate, all the signals have the same amplitude. [B][SIZE="5"]Sampling rate = 2 samples/second[/SIZE][/B] [PLAIN][PLAIN]http://img403.imageshack.us/img403/2950/t05.png[/PLAIN] [B][SIZE="5"]Sampling rate = 10 samples/second[/SIZE][/B] [PLAIN][PLAIN]http://img155.imageshack.us/img155/2510/t01.png[/PLAIN] Notice that, output of discrete time differentiator is almost a horizontal line. And also notice that, originally continuous systems are well behaving. [B][SIZE="5"]Sampling rate = 100 samples/second[/SIZE][/B] [PLAIN][PLAIN]http://img842.imageshack.us/img842/370/t001.png[/PLAIN] Output of integrator is so large that it cover all the graph! And a little side question; why does discrete time differentiated signal (the green one) has noise (another sinusoidal signal with higher frequency) on it? [/QUOTE]
Insert quotes…
Post reply
Forums
Engineering
General Engineering
How do we add the affect of the sampling rate to the difference equation?
Back
Top