You are on page 1of 2

ENG267 Control Systems and Process

Dynamics
Assignment For Topic 9
Due Monday - Wednesday – 24-26 Oct 2011

Important Note: There is no need to submit this assignment, but rather you need to arrange a
time to formally demonstrate your work to Linh Vu On Monday 24th and Wednesday 26th of
October. At that time you may also be asked to personally explain some of your working. You
will not be given complete marks if adequate and appropriate responses or explanations cannot
be provided. This is to ascertain your knowledge and competency on the material which was
submitted by your partner and yourself. The mark will also be based on how much of the
requirements were implemented.

Problem 1

In Simulink use the signal generator to generate a square form having the amplitude of 2 and the
frequency of 0.2 Hertz. To this output add

 Uncorrelated normal (Gaussian) distributed random signal having a standard


deviation of 1and sample time of 0.1.
 Uniformly distributed random signal having a minimum value of -3 and
maximum value of 3 and sample time of 0.1.

i. Do suitable frequency histograms for two set of noisy data to verify that the "output
noise" is normal (Gaussian) distributed.

ii. Use the exponential filter with two values of   0.2 and   0.8 . Plot the filtered and
unfiltered output in a same graph.

iii. Use the moving average filter with three-point average and six-point average. Plot the
filtered and unfiltered output in a same graph.

iv. Use two first order analog filters having gain of 2 and, one filter having time constant of
5 and the other having time constant of 0.5. Plot the filtered and unfiltered output in a
same graph.
Problem 2
 You are required to develop a LabVIEW program, which is a "realtime" discrete time
simulation of a second order system. However, two models must be developed, one using
the "exact" method of discretization and the other using the "finite difference" method.
They must both be contained in the same program with the ability of displaying the
results simultaneously on the same plot. The program should allow for the parameters of
the second order system to be easily changed, via appropriate front panel controls. These
parameters must include the gain, natural time constant and damping coefficient of the
equivalent continuous time system. The program should also then display the
denominator coefficients (i.e. normal parameters which would be entered as the transfer
function if using SIMULINK).

 Your program should also allow for several different types of inputs such as either
manually via a front panel slider, sinusoidal input or a triangle wave. In the case of the
sine and triangle wave, there should be two sliders to be able to alter the amplitude and
offset of the signal. The sampling time must be something able to be chosen from the
front panel at startup.

 When implementing your program, you must allow for under, critical and overdamped
cases. The second order underdamped case is handled automatically via the appropriate
formulas. In the critical and overdamped case, this corresponds to 2 real, similar and
distinct poles respectively. In terms of overall implementation, have a case statement
which depending on the different ranges of zeta, executes different difference equations.

You might also like