1 / 46

Class 4

Systems and Solutions. Class 4. 1 st Order Systems. 1 st Order Systems. 1 st Order Systems. Step Input Ramp Input Harmonic Input. 1 st Order Systems with Step Input. 1 st Order Systems with Step Input Solution by Integration. Error Ratio.

race
Télécharger la présentation

Class 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Systems and Solutions Class 4

  2. 1st Order Systems

  3. 1st Order Systems

  4. 1st Order Systems Step Input Ramp Input Harmonic Input

  5. 1st Order Systems with Step Input

  6. 1st Order Systems with Step InputSolution by Integration Error Ratio

  7. 1st Order Systems with Step InputError Ratio and Excitation Ratio Error: Output deviation from input Excitation: Output deviation from its initial value

  8. 1st Order Systems with Step InputSolution by Superposition

  9. 1st Order Systems with Step InputSolution by Laplace Transform

  10. 1st Order Systems with Unit Step Input and Unit Time Constant MATLAB Simulation by Transfer Function >> num=1; >> den=[1 1]; >> sys = tf(num,den); >> step(sys) >> grid Transfer Function

  11. 1st Order Systems with Unit Step Input and Unit Time Constant MATLAB Simulation by Simulink

  12. 1st Order Systems with Ramp Input

  13. 1st Order Systems with Ramp InputSolution by Superposition

  14. 1st Order Systems with Ramp InputSteady State Error and Relative Error

  15. 1st Order Systems with Ramp InputRelative Input and Relative Excitation Relative Input 1 Relative Excitation

  16. 1st Order Systems with Ramp InputSolution by Laplace Transform

  17. 1st Order Systems with Unit Ramp Input and Unit Time Constant MATLAB Simulation by Transfer Function >> num = [0 0 1]; >> den = [1 1 0]; >> t=0:0.1:5; >> sys = step(num,den,t); >> plot(t,sys,'o',t,t,'-') >> grid • MATLAB does not have a ‘ramp’ command to plot the ramp response of the system. However, note that the response, Rst(s) of a system with transfer function G(s) to unit step input is Rst(s) = G(s)/s, and its response to a unit ramp input is Rrmp(s) = G(s)/s2 = (G(s)/s)/s . Thus, the response of G(s) to unit ramp is equal to the response of H(s) = G(s)/s to unit step. • We may use MATLAB’s ‘step’ command to obtain the ramp response of a system G(s) simply by obtaining the step response of H(s) = G(s)/s to unit step.

  18. 1st Order Systems with Unit Step Input and Unit Time Constant MATLAB Simulation by Simulink

  19. 1st Order Systems with Harmonic Input

  20. 1st Order Systems with Harmonic InputSolution by Superposition τAω A Kh ϕ ωt

  21. 1st Order Systems with Harmonic InputAmplitude Ratio and Phase f(t) x(t) ra ϕ ϕ(τω) ra(τω) τω

  22. 1st Order Systems with Harmonic InputSolution by Complex Exponential y z = Aeiωt A ωt x Euler’s Identity Multiplication & Division Rules y Complex Conjugate z = Aeiωt A ωt Power Rules x -ωt z* = Ae-iωt

  23. Second Order Systems • In the system shown, the input displacement, xi, will cause a deflection in the spring, and some time will be needed for the output displacement xo to reach the input displacement. xo xi c m k

  24. Second Order Systems xi xo c m k • If m/k << 1 s2 and c/k << 1 s, the system may be approximated as a zero order system with unity gain. • If, on the other hand, m/k << 1 s2 , but c/k is not, the system may be approximated by a first order system. Systems with a storage and dissipative capability but negligible inertial may be modeled using a first-order differential equation.

  25. Example – Automobile Accelerometer • Consider the accelerometer used in seismic and vibration engineering to determine the motion of large bodies to which the accelerometer is attached. • The acceleration of the large body places the piezoelectric crystal into compression or tension, causing a surface charge to develop on the crystal. The charge is proportional to the motion. As the large body moves, the mass of the accelerometer will move with an inertial response. The stiffness of the spring, k, provides a restoring force to move the accelerometer mass back to equilibrium while internal frictional damping, c, opposes any displacement away from equilibrium. xi xo c m Piezoelectric crystal k

  26. Zero-Order systems • Can we model the system below as a zero-order system? If the mass, stiffness, and damping coefficient satisfy certain conditions, we may. xo xi c m k

  27. First Order Systems • Measurement systems that contain storage elements do not respond instantaneously to changes in input. The bulb thermometer is a good example. When the ambient temperature changes, the liquid inside the bulb will need to store a certain amount of energy in order for it to reach the temperature of the environment. The temperature of the bulb sensor changes with time until this equilibrium is reached, which accounts physically for its lag in response. • In general, systems with a storage or dissipative capability but negligible inertial forces may be modeled using a first-order differential equation.

  28. 1st Order Systems with Step Input Excitation ratio may also be called response ratio = current response / desired response Error Ratio Excitation Ratio • Note that the excitation ratio also represents the system response in case of x0=0 and K=1

  29. Example 1 • A bulb thermometer with a time constant τ =100 s. is subjected to a step change in the input temperature. Find the time needed for the response ratio to reach 90%

  30. Example 1 Solution • A bulb thermometer with a time constant τ =100 s. is subjected to a step change in the input temperature. Find the time needed for the response ratio to reach 90%

  31. 1st Order Systems with Ramp Input

  32. 1st Order Systems with Harmonic Input

  33. 1st Order Systems with Harmonic Input

  34. 1st Order Systems with Harmonic Input • The amplitude ratio, Ar(ω), and the corresponding phase shift, ϕ, are plotted vs. ωτ. The effects of τ and ω on frequency response are shown. • For those values of ωτ for which the system responds with Ar near unity, the measurement system transfers all or nearly all of the input signal amplitude to the output and with very little time delay; that is, X will be nearly equal to F in magnitude and ϕ will be near zero degrees.

  35. 1st Order Systems with Harmonic Input • At large values of ωτ the measurement system filters out any frequency information of the input signal by responding with very small amplitudes, which is seen by the small Ar(ω) , and by large time delays, as evidenced by increasingly nonzero ϕ.

  36. 1st Order Systems with Harmonic Input • Any equal product of ω and τ produces the same results. If we wanted to measure signals with high-frequency content, then we would need a system having a small τ. • On the other hand, systems of large τ may be adequate to measure signals of low-frequency content. Often the trade-offs compete available technology against cost. dB = 20 log Ar(ω)

  37. 1st Order Systems with Harmonic Input • The dynamic error,δ(ω), of a system is defined as • δ(ω) = (X(ω) – F)/F • δ(ω) = Ar(ω) –1 • It is a measure of the inability of a system to adequately reconstruct the amplitude of the input signal for a particular input frequency. We normally want measurement systems to have an amplitude ratio at or near unity over the anticipated frequency band of the input signal to minimize δ(ω) . • As perfect reproduction of the input signal is not possible, some dynamic error is inevitable. We need some way to quantify this. For a first-order system, we define a frequency bandwidth as the frequency band over which Ar(ω) > 0.707; in terms of the decibel defined as • dB = 20 log Ar(ω) • This is the band of frequencies within which Ar(ω) remains above 3 dB

  38. Example 2 A temperature sensor is to be selected to measure temperature within a reaction vessel. It is suspected that the temperature will behave as a simple periodic waveform with a frequency somewhere between 1 and 5 Hz. Sensors of several sizes are available, each with a known time constant. Based on time constant, select a suitable sensor, assuming that a dynamic error of 2% is acceptable.

  39. Example 2. Solution • A temperature sensor is to be selected to measure temperature within a reaction vessel. It is suspected that the temperature will behave as a simple periodic waveform with a frequency somewhere between 1 and 5 Hz. Sensors of several sizes are available, each with a known time constant. Based on time constant, select a suitable sensor, assuming that an absolute value for the dynamic error of 2% is acceptable. • Accordingly, a sensor having a time constant of 6.4 ms or less will work.

  40. Example 2. Solution • A temperature sensor is to be selected to measure temperature within a reaction vessel. It is suspected that the temperature will behave as a simple periodic waveform with a frequency somewhere between 1 and 5 Hz. Sensors of several sizes are available, each with a known time constant. Based on time constant, select a suitable sensor, assuming that an absolute value for the dynamic error of 2% is acceptable. • Accordingly, a sensor having a time constant of 6.4 ms or less will work.

  41. 2nd Order Systems • Example: • Spring – mass damper • RLC Circuits • Accelerometers • Mathematical Model:

  42. 2nd Order Systems with step input

  43. 2nd Order Systems with step input

  44. 2nd Order Systems with step input

  45. 2nd Order Systems with periodic input

  46. 2nd Order Systems with step input

More Related