<< Chapter < Page Chapter >> Page >
The objective of this lab is to review of the behavior of second-order systems. Students will use gain a better understanding of the importance system identification. Students will also develop a hands-on understanding of the concept of hardware gain and why it will play a crucial role in controller design. System Identification will be implemented in LabVIEW using the System Identification Toolkit.

System identification for the rectilinear plant

Objectives

  • Review of the behavior of second-order systems
  • Understand the importance of system identification
  • Understand the concept of hardware gain and why it will play a crucial role in controller design

Pre-lab

  • Derive the equations of motion for the 1DOF spring-mass system with friction damping shown below and find the transfer function. Simulate the unforced, natural response in LabVIEW to an initial displacement of 3.0 c m (look for the Initial Response function in the Control Design Toolkit). Determine the natural frequency from the plot. Use the following parameters: M = 3.0 k g k = 350 N / m c = 4.0 Nsec / m
    1DOF Spring-Mass System with Friction Damping

Lab procedure

  • Power on the PXI, and while it's booting up configure the plant as explained in the next step.
  • Clamp the second and third mass carriages, and attach the medium stiffness spring between the first and second carriage as shown in Fig. 2. Secure four 0.5 k g brass weights to the first and second carriages.
    Rectilinear Plant System ID Configurations
  • Start LabVIEW on your host PC and target the RT system.
  • Open the Lab 2 - Rectilinear System Identification.vi file, enter a loop time of 0.005 seconds, and then run the VI. Also, turn on the amplifier now.
  • Reset the encoders if necessary and enter the parameters to execute a zero amplitude step with a dwell time of 4000 m s . Prepare to manually displace the first mass carriage. When you are ready, execute the step command, and manually displace the first carriage approximately 3 c m , then release it. Observe the natural response of the carriage, and wait for the system to finish executing the trajectory and acquiring the data.
  • Recall that for underdamped systems, the damped natural frequency is related to the undamped natural frequency through the following relationship:
    ω d = ω n 1 - ζ 2
    and it follows that
    ω n = ω d 1 - ζ 2
    Therefore, for light damping (small values of ζ)
    ω n ω d
    For the purposes of plant identification, you may assume that the damping due to friction in the system is sufficiently small to satisfy the above condition. Plot the encoder 1 position data and calculate the natural frequency of this system in both H z and r a d / sec . Call this value ω n m11 (the subscript m11 denotes mass #1 trial #1). Use only oscillations with amplitude greater than 1000 counts in your calculation. This is because smaller amplitudes start to become dominated by nonlinear friction effects.
  • Remove the four brass weights and repeat steps 5 and 6 to obtain ω n m12 for the unloaded carriage. Decrease the execution time if necessary.
  • Measure the initial cycle amplitude X 0 and the last cycle amplitude X n for the n cycles measured in Step 6. Using relationships associated with the logarithmic decrement find the damping ratio (call it ζ m12 ) as
    ζ 1 - ζ 2 = 1 2 pi n ln X 0 X n - ζ 1 2 pi n ln X 0 X n
  • Configure the plant as shown in Fig. 2b where the first mass carriage is now clamped and the second is free. Repeat steps 5 through 8 for the second mass carriage to obtain ω n m21 , ω n m22 and ζ m22 . How does this damping ratio compare with that for the first mass? Be sure to save this plotted data as it will be used in the next experiment.
  • Connect the mass carriage extension bracket and dashpot to the second mass as shown in Fig. 2c, and load four brass weights onto the second mass carriage. Open the damping (air flow) adjustment knob 2.0 turns from the fully closed position. Perform the necessary steps to obtain ζ d where the "d" subscript denotes the dashpot. For this calculation use amplitudes 500 counts.
  • Each brass weight has a mass of 0.5 ± 0.01 k g . (You may weigh the pieces if a more precise value is desired). Call the mass of the four weights combined m w . Recall that the dynamics for a second-order system in terms of the Laplace variable s is given by s 2 + 2 ζ ω n s + ω n 2 Compare the above with the equations of motion you derived in terms of mass, damping coefficient, and spring constant ( m , c , and k ). Use your knowledge of second-order systems along with your recorded values of ω n m11 and ω n m12 to solve for the unloaded carriage mass m c1 , and spring constant k . Repeat these calculations for the trials involving the second mass carriage and spring, mc2 and k. Since the same spring was used in the experiments, the values for k that result from the above calculations should be very close. You may use the average of the two for all future calculations and experiments. Call this value k m e d to denote the medium stiffness spring. Now with your recorded values for ζ calculate c 1 , the damping coefficient for the first mass carriage. Repeat this calculation to find the damping coefficient for the second mass carriage, c 2 . Finally, calculate the damping coefficient of the dashpot, c d .
  • Remove the carriage extension bracket and dashpot from the second mass carriage, replace the medium stiffness spring with the high stiffness spring, and perform the necessary steps to obtain the resulting natural frequency ω m23 . Repeat this frequency measurement using the least stiff spring to obtain ω m24 .Now you can compute k high and k l o w . All dynamic parameters have been identified! Values for m c1 and m c2 for any configuration of masses may be found by adding the calculated mass contribution of the weights to that of the unloaded carriages. Be sure that you have filled in all of the system parameters in the table provided before proceeding.
    The following is necessary to establish the hardware gain for control modeling purposes.
  • Remove the spring connecting the first and second carriages and secure four 0.5 k g brass weights onto the first carriage. Using the stop blocks, secure the second mass carriage clear from the first, and remove any stop blocks that are constraining the first carriage. Verify that the masses are secure and that the carriage slides freely. Position the first mass approximately 3 c m to the left (negative x 1 position) of its center of travel.
  • Perform a 2.0 V bidirectional step with a dwell time of 75 m s (recall that on the PXI, ± 2 15 counts corresponds to a voltage of ± 10 V ).
  • Plot the velocity data and observe the four segments of the profile with nominal shapes of: linear increase (constant acceleration), nearly constant velocity (zero acceleration), linear decrease (constant deceleration), and constant. Obtain the acceleration from the linear, positive-sloped segment of the velocity profile. Repeat this for the negative-sloped segment. You may call these two values x .. 1 e a c c and x .. 1 e d e c , respectively. Be sure that you account for the scaling of velocity data that is shown on the front panel graph indicator, and remember to include units in your calculation.Calculate the average of the magnitudes of the positive and negative accelerations (call this value x .. 1 e ) to be used in obtaining k h w below.
  • Recall that the hardware gain for this system is given by k h w = k c k a k t k m p k e p k e where k c , the DAC gain, = 10 V / 32 , 768 DAC counts k a , the servo amp gain, = to be determined Amps / V k t , the servo motor torque constant, = to be determined N m / A m p k m p , the motor pinion pitch radius inverse, = 26.25 m - 1 k e p , the encoder pinion pitch radius inverse, = 89 m - 1 k e , the encoder gain, = 16 , 000 pulses/2 π radians Using what you have learned about hardware gain, calculate a value for the product k a k t . Use this value to compute the hardware gain k h w .
  • Save any files or plots of interest. Stop and exit the VI, power off the amplifier and PXI, and return all plant materials tothe instructor.

Post-lab

  • Complete the table below making sure to include units.
    Post Lab Table
  • How do your values of m c1 and c 1 compare with m c2 and c 2 . Can you explain why they may be different?
  • What were your values for ζ m12 and ζ m22 Are these values sufficiently small for the approximations made in steps 6 and 8 tobe valid?
  • Explain the importance of accurately identifying the plant parameters and hardware gain in terms of how they will affectcontroller design.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Control systems laboratory. OpenStax CNX. Oct 20, 2005 Download for free at http://cnx.org/content/col10302/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Control systems laboratory' conversation and receive update notifications?

Ask