New Reply

How do we add the affect of the sampling rate to the difference equation?

 
Share Thread Thread Tools
Jan13-11, 05:11 PM   #1
 

How do we add the affect of the sampling rate to the difference equation?


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].
  1. Dashed blue line: The original input function (i.e.; sin(t))
  2. Red line: Integration of sin(t) with initial value of -1.0. (H(s) = 1/s)
  3. Green line: Differentiation of sin(t). (H(s) = s)
  4. Magenta line: Integration of sin(t) with initial value of -1.0. (H(z) = 1/(1-z^(1)))
  5. Black line: Differentiation of sin(t). (H(z) = 1 - z^(-1))

My algorithm is working in computer, so it uses z-transform. I transformed continuous time transfer functions to discrete time using bilinear transformation.
[LATEX]s = \frac{2}{T_d}\times\frac{1-z^{-1}}{1+z^{-1}}[/LATEX]

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.
How do I normalize the output of a discrete time system? I mean, I want to make the amplitude of the output signal independent of sampling rate.

Sampling rate = 1 samples/second

Unitary sampling rate, all the signals have the same amplitude.

Sampling rate = 2 samples/second


Sampling rate = 10 samples/second

Notice that, output of discrete time differentiator is almost a horizontal line.
And also notice that, originally continuous systems are well behaving.

Sampling rate = 100 samples/second

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?
 
PhysOrg.com
PhysOrg
engineering news on PhysOrg.com

>> Researchers use light projector and single-pixel detectors to create 3-D images
>> GPS solution provides 3-minute tsunami alerts
>> Single-pixel power: Scientists make 3-D images without a camera
New Reply

Tags
control, sampling, transfer function
Thread Tools


Similar Threads for: How do we add the affect of the sampling rate to the difference equation?
Thread Forum Replies
How does Sampling affect a Spectrum? Electrical Engineering 1
Lab Investigation of factors that affect the rate of reactions Biology, Chemistry & Other Homework 0
Z-transform for a signal with an unknown sampling rate Calculus & Beyond Homework 2
Sampling above the Nyquist rate...but Electrical Engineering 4
coursework help: the affect on a plant on the rate of photosynthesis Biology, Chemistry & Other Homework 4