Magnetic Levitation System

Similar documents
Rectilinear System. Introduction. Hardware

Torsion System. Encoder #3 ( 3 ) Third encoder/disk for Model 205a only. Figure 1: ECP Torsion Experiment

Magnetic Levitation System

Servo Tuning Tutorial

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

Addendum Handout for the ECE3510 Project. The magnetic levitation system that is provided for this lab is a non-linear system.

ENGS 26 CONTROL THEORY. Thermal Control System Laboratory

Penn State Erie, The Behrend College School of Engineering

SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

Magnetic Levitation System

Standard Operating Procedure

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

EC-5 MAGNETIC INDUCTION

MAGNETIC LEVITATION SUSPENSION CONTROL SYSTEM FOR REACTION WHEEL

3B SCIENTIFIC PHYSICS

Basic methods in imaging of micro and nano structures with atomic force microscopy (AFM)

Automatic Control Systems 2017 Spring Semester

Physics 4C Chabot College Scott Hildreth

UNIVERSITY OF WATERLOO Physics 360/460 Experiment #2 ATOMIC FORCE MICROSCOPY

Chapter 5. Tracking system with MEMS mirror

5 Lab 5: Position Control Systems - Week 2

Keypad Quick Reference

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

DC SERVO MOTOR CONTROL SYSTEM

GE 320: Introduction to Control Systems

Experiment P55: Light Intensity vs. Position (Light Sensor, Motion Sensor)

California University of Pennsylvania Department of Applied Engineering & Technology Electrical Engineering Technology

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

Lab 3 Swinging pendulum experiment

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Name: Lab Partner: Section: The purpose of this lab is to study induction. Faraday s law of induction and Lenz s law will be explored. B = B A (8.

FRAUNHOFER AND FRESNEL DIFFRACTION IN ONE DIMENSION

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

Advanced Motion Control Optimizes Laser Micro-Drilling

Date: Current Balance. In this lab, you will examine the interaction of two current carrying wires.

Teacher s notes Induction of a voltage in a coil: A set of simple investigations

Lab 5: Brewster s Angle and Polarization. I. Brewster s angle

Intermediate and Advanced Labs PHY3802L/PHY4822L

9/28/2010. Chapter , The McGraw-Hill Companies, Inc.

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

Different Controller Terms

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Experiment P41: Induction Magnet through a Coil (Photogate, Voltage Sensor)

Closed Loop Magnetic Levitation Control of a Rotary Inductrack System. Senior Project Proposal. Students: Austin Collins Corey West

MAE106 Laboratory Exercises Lab # 5 - PD Control of DC motor position

1.6 Beam Wander vs. Image Jitter

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE

Magnetic induction with Cobra3

Experiment 3 Topic: Dynamic System Response Week A Procedure

Lab 11. Speed Control of a D.C. motor. Motor Characterization

Electromagnetic Induction - A

Equipment and materials from stockroom:! DC Permanent-magnet Motor (If you can, get the same motor you used last time.)! Dual Power Amp!

ENSC 470/894 Lab 3 Version 6.0 (Nov. 19, 2015)

Measurement and compensation of displacement errors by non-stop synchronized data collection

FORCED HARMONIC MOTION Ken Cheney

Radiation characteristics of an array of two dipole antennas

Hydraulic Actuator Control Using an Multi-Purpose Electronic Interface Card

Magnetic induction with Cobra3

PID-control and open-loop control

Application Note #2442

Free vibration of cantilever beam FREE VIBRATION OF CANTILEVER BEAM PROCEDURE

EasyMotion User s Manual Ver

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

Advanced Servo Tuning

MEM01: DC-Motor Servomechanism

PHYS 1112L - Introductory Physics Laboratory II

Instructions for easyscan Atomic Force Microscope

Magnetic Levitation System

A Searching Analyses for Best PID Tuning Method for CNC Servo Drive

Ultrasonic. Advantages

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

I = I 0 cos 2 θ (1.1)

Basic Tuning for the SERVOSTAR 400/600

XI. Rotary Attachment Setups

Goals. Introduction. To understand the use of root mean square (rms) voltages and currents.

ME 3200 Mechatronics I Laboratory Lab 8: Angular Position and Velocity Sensors

Goals. Introduction. To understand the use of root mean square (rms) voltages and currents.

Actuator Precision Characterization

Design and Simulation of a Hybrid Controller for a Multi-Input Multi-Output Magnetic Suspension System

A Machine Tool Controller using Cascaded Servo Loops and Multiple Feedback Sensors per Axis

The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003

MEM 01 DC MOTOR-BASED SERVOMECHANISM WITH TACHOMETER FEEDBACK

Development of Control Algorithm for Ring Laser Gyroscope

Motomatic Servo Control

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

QuickBuilder PID Reference

of harmonic cancellation algorithms The internal model principle enable precision motion control Dynamic control

Programming Design ROBOTC Software

Lab 2, Analysis and Design of PID

Faraday's Law. Objective: In today's experiment you will investigate electromagnetic induction and determine the factors that affect it.

2 Thermistor + Op-Amp + Relay = Sensor + Actuator

Electric Drives Experiment 5 Four-Quadrant Operation of a PMDC Motor

Open Loop Frequency Response

ME 144L Prof. R.G. Longoria Dynamic Systems and Controls Laboratory. Department of Mechanical Engineering The University of Texas at Austin

AC Measurement of Magnetic Susceptibility

Digital Control of MS-150 Modular Position Servo System

Servo Closed Loop Speed Control Transient Characteristics and Disturbances

On the axes of Fig. 4.1, sketch the variation with displacement x of the acceleration a of a particle undergoing simple harmonic motion.

Transcription:

Introduction Magnetic Levitation System There are two experiments in this lab. The first experiment studies system nonlinear characteristics, and the second experiment studies system dynamic characteristics with a number of different control actions. Hardware The ECP Magnetic Levitation (MagLev) design (See Fig. 1) features two high flux drive coils to provide more than 4 cm of controlled levitation range. Laser sensors provide noncontacting position feedback and incorporate proprietary conditioning to electronics for signal noise reduction and ambient light rejection. The MagLev apparatus may be quickly transformed into a variety of single input single output (SISO) and multi-input multi-output (MIMO) configurations. By using repulsive force from the lower coil to levitate a single magnet, a SISO system is created, which is our focus in this experiment. Ruler clamp screw (2 pl.) Upper support arm Precision glass guide rod Protective coil cover (2 pl.) Laser Sensor (out of view, 2 pl.) 0 1 2 3 4 5 6 7 8 14 13 12 11 10 9 8 7 6 Glass rod clamp screw (2 pl.) Upper Drive Coil (Coil #2) Magnet height uler Sensor conditioning electronics Levitated magnet Lower support arm Coil current indicating LED (2 pl.) Connector 9 10 11 12 13 14 5 4 3 2 1 0 Lower Drive Coil (Coil #1) Magnet Storage Side View Front View Figure 1: ECP Magnetic Levitation Experiment Safety Specific to this experiment: select Abort Control immediately after measuring magnet height to minimize heat buildup in the coil and servo amplifiers. 1

Hardware/Software Equipment Check Prior to starting the lab, complete the following steps to ensure that the equipment is working. Step 1: With power switched off to the Control Box, enter the ECP program by double clicking on its icon. Turn on power to the control box. The laser sensors should illuminate the magnet in a thin red line on both the upper and lower magnet surfaces. Step 2: Gently raise the magnet by hand (touch the edges only with clean hands and do not obstruct the laser beam). Observe a change in the Sensors counts. The Control Loop Status should indicate "OPEN" and the Drive 1 Status, Drive 2 Status, and Servo Time Limit should all indicate "OK". 2

Experiment 1: System Identification Experiment 1a: Measurement Nonlinear Characteristics In the first part of the experiment, a polynomial fit of magnet position vs. sensor reading is to be created. The relation will be used in later parts of the lab. Procedure 1. Setup the mechanism with one magnet only resting on the lower drive coil. 2. Turn on power to the Control Box. Observe the laser light beam on the upper and lower magnet surfaces. Move the magnet manually up and down to verify that the sensor counts displayed on the Background Screen are changing. 3. Adjust the ruler so that the 0 cm position align with the top plane of the magnet. 4. Record the sensor 1 output at the 0 cm position and record in Table 1-1. Next, manually move the magnet to the 0.50 cm position and record the corresponding sensor output. Continue moving and recording the sensor data corresponding to the magnet positions listed in Table 1-1. (Note that there will be some noise in the sensor reading. Visually average the values displayed to three significant digits while holding the magnet at the given position). Table 1-1 Sensor Counts vs. Magnet Position Data Magnet Position for Sensor #1 (cm) Y 1 raw (Sensor 1, Counts) 0.00 0.50 1.00 2.00 3.00 4.00 5.00 6.00 Plot the data points of sensor counts vs. magnet position in Excel. From the plot, determine a reasonably simple polynomial function y = f(x) that accurately fit the data points. Add this polynomial to your plot. (A 2 nd or 3rd order polynomial should usually be sufficient if your data are fairly accurately obtained) The lab report must include a plot of sensor counts vs. magnet position with the polynomial fit shown over the data. Also include the fitted polynomial equation. 3

Experiment 1b: Actuation Nonlinear Characteristics Similar to 1a, the actuator (in this case, the electromagnet) also exhibits non-linear behavior. A polynomial fit of the control effort vs. magnet position needs to be created. Procedure begin control_effort1 = 5000 end 1. Enter Setup Control Algorithm via the Setup menu. Select Edit Algorithm. This opens up the control algorithm editor. Type in a simple real-time algorithm as illustrated above to activate actuator coil #1 (i.e. put control effort values on the DAC) with a constant control effort of 5000 counts. 1 Then click File on the menu bar and choose Save changes and quit. A dialogue window will pop up, asking you to enter file name to save these codes. Once you name the file, click Save and the file will be stored on the designated directory. Click Implement Algorithm. 2. Record the height of the magnet corresponding to the 5000 counts of the control effort in Table 1-2 next page. Spin the magnet slightly to reduce the effects of friction so that the true equilibrium height is recorded. 3. Change your control algorithm by reducing the control effort to 4000 counts and implement it. Notice the magnet height becomes lower. Record the magnet height in the Table corresponding to this control effort. 4. Repeat step 3 to fill in the magnet position data corresponding to other control efforts listed in Table 1-2. 5. Finally, complete the Table by determining the control effort value at which the magnet is just lifted above the support pads (i.e. the 0 + position). Again, spin the magnet to reduce the effects of friction. 1 These counts are converted to a voltage via a digital-to-analog converter (DAC), then to a current via the servo amplifier, to a magnetic field via the coil, and finally to a force by repulsion of the magnet s magnetic field. The scaling of all of these transformations affects the system gain and will be examined in more detail in the sections that follow. See also Chapter 4 for a description of the control hardware and software functionality. 4

Table 1 2. Control Effort vs. Magnet Position Data Magnet Position (cm) u 1raw (Uncompensated Control Effort, counts) 0.00 4000 5000 6000 8000 10000 12000 14000 18000 22000 Plot the data points of magnet position vs. control effort in Excel along with a curve fit. Briefly describe the trend of the nonlinear behavior of the magnet position as the control effort increases. What do you think is the physical reason for this trend? 5

Experiment 2: PD Control of the system to an equilibrium point This section will explore the control of the nonlinear system using a simple proportional and derivative (PD) controller: C(s) = kp+kds where kp is the proportional control gain and kd the derivative control gain. The control program given below will be modified and used to conduct the experiment. A sample program is stored in the PC at C:\Program Files (x86)\ecp Systems_MV\mv\Experiment2.alg. The code is a starting point. It can be loaded in and modified according to various steps of the experiment. Note a value for the variable, y1rawo, in the program needs to determine. ;******************DECLARE VARIABLES******************* #define y1cal q2 #define y1rawo q3 #define kp q4 #define kd q5 #define kdd q6 #define Ts q7 #define y1str q8 #define pos_last q15 #define u1str q16 #define u1o q17 #define u1 q18 ;************************INITIALIZE*********************** Ts = 0.000884 ;must also set Ts in dialog box. control_effort1 = 0 control_effort2 = 0 ;Specify Parameters u1o = 5000 ;gravity feedforward y1rawo = ##### ;sensor#1 counts at static equilibrium corresponding to u10 value above. You need to fill this in before implementing control. Figure out a value of the sensor counts above the curve associated with Table 1-2 data along with your curve-fitted equation, y = f(x), obtained from Table 1-1 data. kp = 0 ;proportional control gain kd = 0 ;derivative control gain kdd = kd/ts ;*************BEGIN REAL-TIME ALGORITHM************** 6

begin y1str = y1rawo- sensor1_pos ;position error u1str = -kp*(y1str) -kdd*(y1str-pos_last) ;CONTROL LAW pos_last = y1str u1 = u1str + u1o ;add gravity offset control_effort1 = u1 q10 = -y1str ;reverse polarity for plotting q11 = -cmd_pos ;reverse polarity for plotting end Experiment 2a: kp = kd = 0 In this first experiment, there are no gains used to control the system and thus the control effort is set to zero. Procedure: 1. Set kp and kd to zero and control effort u1o to 5,000 in the program. Implement the algorithm. Run the program to observe the disk to reach its equilibrium position. Press the disk down to the bottom (or raise it up) and then let go a couple of time to feel and observe how the system responds. Rotate the magnetic disk slightly to free it up from possible static friction that may prevent it from reaching its equilibrium. Observed the equilibrium position of the magnet at this control value. Convert it to the sensor counts using your curved-fitted equation you obtained with Table 1-1 data. Fill in this sensor-count value at the spot provided in the algorithm code above. 2. Enter the Command menu, and click Trajectory 1. Select Step, and input a step of 0 counts, dwell time of 2000 ms, and 1 rep. Click Okay twice to exit. This puts the controller in a mode to acquire 2 sec of data on command but without driving the actuator. 3. Set up Data Acquisition in the Data menu. Select Encoder 1 as data to acquire. Select OK to exit. Click Zero Position from the Utility menu to zero the encoder positions. 4. Select Execute from the Command menu. Manually press the disk down to the bottom plate and hold. Click Run from the Execute box and then release the disk. The disk will move up to reach its equilibrium position and the motion is recorded. 5. Export the data to save in a file using export raw data in the data menu. Use the matlab program, plotdata.m, on the class website to plot Encoder 1 position vs. time (plot key iplot=1). Use the Data Curser tool to determine the settling time and frequency of the response. The final report is expected to include: One matlab plot along with title and labels. Be sure to include Data Cursor points used in determining the frequency and settling time. - Plot of the disk response 7

Calculations or clearly indicate for the following quantities. Be sure to include units for all values: - Disk equilibrium position from the top of the plate - Disk equilibrium Sensor 1 Counts - Disk equilibrium Control effort 1 voltage - Time to settle into equilibrium - Frequency of the response Experiment 2b: Undamped free vibration (limit cycle) Procedure: By trial and error with the program, determine the maximum value of kp to make the system vibrates up and down like an undamped free vibration when the disk is pressed down (or lifted up) and let go. You may start your search of the max. kp from 0.1 and gradually up. Once you get the max. kp, the system will vibrate up and down at the same amplitude indefinitely. A system that exhibits this type of behavior is said to be displaying a limit cycle. A larger kp than this would make the system unstable, which causes the disk rapidly striking the bottom plate. Do NOT let the disk hit the bottom hard. Use the data acquisition of the PC system to record two or three seconds of the free vibration with the disk pressed down against the bottom plate to begin with. Explore the data to matlab and determine the frequency of the response from the plot with Data Curser. The final report is expected to include: One (1) MATLAB Plot along with title and labels. Be sure to include Data Cursor points in determining the frequency - Plot of the undamped response Calculations or clearly indicate for the following quantities. Be sure to include units: - Experimental value of kp used - Experimental value of the frequency of vibration Experiment 2c: Creating an unstable system In this experiment we will experimentally determine a kp that induces an unstable response. That is, with any small perturbation, the vibration will increase in time. Procedure: By trial and error with the program, determine the minimum value of kp to make the system vibrate out of control for any small perturbation. Set up your data acquisition so that you are using a step response with a step size of 0 counts, dwell of 2000 ms 8

and 1 rep. For each value of kp, start by pressing execute under command; make sure normal data sampling is selected and execute trajectory 1. Move the disk approximately 500 counts from its equilibrium position press run and then release the disk to observe its response. Use the data acquisition of the PC system to record two seconds of the free vibration and plot the results in matlab. Use Data Curser to determine the frequency of the system for the first half of vibration and compare it to the frequency of the latter half. Make brief comment on the comparison ie. did it speed up? The final report is expected to include: One plot along with title and labels. Be sure to include Data Cursor points in determining the frequency. - Plot of the unstable response Calculations or clearly indicate for the following quantities. Be sure to include units: - Experimental value of kp used - Experimental value of the frequency of the first half of response - Experimental value of the frequency of the second half of response Experiment 2d: Adding damping to the system This last test includes damping, which can create a system that has a very quick settling time, compared to the near infinite settling time of 2b. Procedure: With the kp value you determined in the previous step, explore how the addition of the derivative control component may stabilize and damp out the free vibration. Try a small positive value for kd such as 0.0001 to begin with and observe its effect on the free vibration when you press down or raise up the disk. Then increase the kd value to a point where the free vibration will damp out most quickly and reach the equilibrium fairly fast. If too large a kd value is used, it would cause the control effort to go over the limit. Experiment this and determine the best kd value for the stabilization. Your goal should be to have the fastest possible settling time. Use data acquisition to record the damped response with the disk pressed down against the bottom plate to begin with. Use MATLAB to create the plot and to accurately determine the settling time and frequency response. Note the difference of the settling time from that in Experiment 2a: Does it take more or less time to settle. Estimate the difference of the frequency from that in Experiment 2c. Is it higher, lower or no change? 9

The final report is expected to include: One plot along with title and labels. Be sure to include Data Cursor points in determining the frequency. - Plot of the damped response Calculations or clearly indicate for the following quantities. - Value of kd - If measurable, the frequency from the plot - Settling time For all the questions highlighted, the questions should be copied and pasted into the student s lab report and answered immediately thereafter. 10