GE 320: Introduction to Control Systems

Similar documents
Motomatic Servo Control

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

5 Lab 5: Position Control Systems - Week 2

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

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

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

Lab Exercise 9: Stepper and Servo Motors

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

Lab 2: Introduction to Real Time Workshop

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

Teaching Mechanical Students to Build and Analyze Motor Controllers

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

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

SERVO MOTOR CONTROL TRAINER

2.737 Mechatronics Laboratory Assignment 1: Servomotor Control

Massachusetts Institute of Technology. Lab 2: Characterization of Lab System Components

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following

Laboratory Tutorial#1

Introduction to MS150

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

sin(wt) y(t) Exciter Vibrating armature ENME599 1

Each individual is to report on the design, simulations, construction, and testing according to the reporting guidelines attached.

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

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

Remote Laboratory Operation: Web Technology Successes

Penn State Erie, The Behrend College School of Engineering

ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES

Ver. 4/5/2002, 1:11 PM 1

MEM 01 DC MOTOR-BASED SERVOMECHANISM WITH TACHOMETER FEEDBACK

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

LAB 2 Circuit Tools and Voltage Waveforms

Sfwr Eng/TRON 3DX4, Lab 4 Introduction to Computer Based Control

EE 3CL4: Introduction to Control Systems Lab 1: Introduction

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

EE 210: CIRCUITS AND DEVICES

LABORATORY 3 v1 CIRCUIT ELEMENTS

Motor Modeling and Position Control Lab 3 MAE 334

Physics 4B, Lab # 2 Circuit Tools and Voltage Waveforms

UNIVERSITY OF JORDAN Mechatronics Engineering Department Measurements & Control Lab Experiment no.1 DC Servo Motor

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

Module: Arduino as Signal Generator

DC SERVO MOTOR CONTROL SYSTEM

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

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Experiment Number 1. Revised: Fall 2018 Introduction to MATLAB Simulink and Simulink Resistor Simulations Preface:

EE 462G Laboratory #1 Measuring Capacitance

Lab 2: Quanser Hardware and Proportional Control

Tech Note #3: Setting up a Servo Axis For Closed Loop Position Control Application note by Tim McIntosh September 10, 2001

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

Laboratory 14. Lab 14. Vibration Measurement With an Accelerometer

Experiment 13: LR Circuit

EE283 Laboratory Exercise 1-Page 1

Experiment 1 Basic Resistive Circuit Parameters

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

Industrial Control Equipment. ACS-1000 Analog Control System

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

EGRE 101 DC Motor II

Actuators. EECS461, Lecture 5, updated September 16,

EE 233 Circuit Theory Lab 3: First-Order Filters

Servo Closed Loop Speed Control Transient Characteristics and Disturbances

Exercise 1. Basic PWM DC Motor Drive EXERCISE OBJECTIVE DISCUSSION OUTLINE. Block diagram of a basic PWM dc motor drive DISCUSSION

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

BME/ISE 3511 Bioelectronics I - Laboratory Exercise #4. Variable Resistors (Potentiometers and Rheostats)

EE 482 : CONTROL SYSTEMS Lab Manual

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

Lab #2 Voltage and Current Division

Automatic Control Systems 2017 Spring Semester

Fig. 1. NI Elvis System

DC CIRCUITS AND OHM'S LAW

EE 3302 LAB 1 EQIUPMENT ORIENTATION

EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism

Rectilinear System. Introduction. Hardware

Effective Teaching Learning Process for PID Controller Based on Experimental Setup with LabVIEW

Time-Varying Signals

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

Open Loop Frequency Response

Laboratory experiments and reports

EE 461 Experiment #1 Digital Control of DC Servomotor

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Bidirectional PWM DC Motor Drive with Regenerative Braking

A Do-and-See Approach for Learning Mechatronics Concepts

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents:

Sensors and Sensing Motors, Encoders and Motor Control

Equipment: You will use the bench power supply, function generator and oscilloscope.

EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage)

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

Experiment 1: Circuits Experiment Board

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

1. To study the influence of the gain on the transient response of a position servo. 2. To study the effect of velocity feedback.

Exercise 9: inductor-resistor-capacitor (LRC) circuits

Real Analog - Circuits 1 Chapter 1: Lab Projects

Sensors and Sensing Motors, Encoders and Motor Control

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

Transcription:

GE 320: Introduction to Control Systems Laboratory Section Manual 1 Welcome to GE 320.. 1 www.softbankrobotics.com 1

1 Introduction This section summarizes the course content and outlines the general procedure and reporting requirements. 1.1 Objectives of the Labs 1 through 5 Gain a familiarity with standard laboratory instruments including the oscilloscope, multi-meter, DC power supply and myrio. Learn HP VEE, MATLAB, and LabVIEW the PC software we use in the lab. Gain working experience with DC motors, the direct measurement of their physical properties for use in deriving a transfer function, and the indirect measurement of the motor transfer function using frequency response methods. Design and implement the control for a DC servo motor. 1.2 General Lab requirements It is important to complete the pre-lab exercises BEFORE the lab as they are designed to present information required to understand the lab experiments. Each lab is weighted equally in calculating the final grade. Your pre-lab is considered as a prerequisite for you to be given a lab grade. No pre-lab = 20% off lab grade. All submitted lab reports should be typed. If pre-lab or post-lab questions contain equations, they can be neatly handwritten. It is your responsibility to contact your TA well in advance if you need to miss a lab. Your TA will explain how to make up the lab. 1.3 Lab report requirements A report on each completed lab session is to be completed and turned into your TA one week after your lab session, as instructed by TA. Laboratory reports, beyond common group data, are expected to be individually written. The report should include the following sections: o Introduction: A brief statement of what was achieved in the lab. What was the 'essence' of the lab? (3 lines) You should not just copy and paste the problem statements for this section, but in your own words explain the goal of the lab. o Evaluation and Results: Calculations should be explained and graphical results fully labeled. A typed copy of the data sheet should be appended. 2

o Discussion: Compare experimental results to the expected ones. This is the most important part of the report. If something went wrong, explain how and why. If a result seems unlikely give reasons. Attempts to pass invalid data as correct will be heavily penalized. o Reflection: Please include a reflection of at least 100 words about the experiment. This can include answers to the following questions: What aspects of this laboratory assignment met or did not meet your expectations? How did this assignment surprise, excite, or frustrate you? What lessons did you learn from this assignment? What questions do you still have? Note: this section is not graded and does not count toward the two-page limit. o Each submission must have your name, your TA s name and section as well as the experiment date and time. The reports will be graded considering: o Overall appearance of the report. Are all the sections present? Technical correctness? Are results and discrepancies identified and explained? Is the test data attached? o If the report is LONGER than 2 PAGES, then the report WON T BE GRADED and a final grade of ZERO will be given. o Points will be divided as follows: Prelab: 20 points Introduction: 5 points Results: 25 points Discussion and post lab questions: 45 points General Format, spelling, and grammar: 5 points 3

1.4 Introduction to Control Systems These days, more machines are controlled without any human assistance. This is not an easy task; therefore many theories have been proposed in order to achieve this goal. One of the most reliable theories is Feedback Control. The basic idea behind Feedback Control is to design and construct a piece of equipment capable of forcing the system to behave the way one wants it to. This piece of equipment is called a controller (or compensator). Depending on the system, the controller can vary from a gearbox, to an analog circuit, to a digital computer. Controllers, for the most part, use sensors to measure the actual behavior of the system (output), and compare it to the desired behavior (reference). This comparison is the error signal of the feedback loop. Using this information, controllers manipulate the input signal to the system in such a way the system behaves as desired. Reference error Controller Control Effort Plant Output Sensor Controllers are built from mechanical or electrical building blocks. Most controllers are implemented in a program using sensors to understand the behavior of the system and actuators to command the system. One of the objectives of this lab is to teach you how to implement a controller. In this course, we will be using LabVIEW. You will be introduced to two basic sensors: the potentiometer and the tachometer. These sensors can be used to determine a DC-motor s position and angular velocity, respectively. 1.5 Equipment Introduction This section is intended to familiarize you with some of the instruments you will be using in the next few weeks. Let us start with identifying the equipment: Locate each apparatus on your bench and refer to the equipment information sheet for a brief description: National Instruments myrio Multimeter Oscilloscope HP power supply and the patch panel Motor, potentiometer, tachometer and flywheel. 4

1.6 Measurable Events and Electric Signals Any measurable event can be mapped to an electric signal. This mapping is usually done with sensors. Sensors are electronic devices, which measure a physical event and output a proportional electrical signal. Mapping example: The mathematical formula for the pressure sensor in this example maps the input (pressure) to an output (Voltage) with the following model: Gain is defined as the ratio of the value of the output signal to input signal at steady state. In the first lab session, we will calculate the gain values in the mathematical models for the potentiometer and tachometer. 5

1.7 National Instruments myrio The National Instruments myrio is an embedded hardware device with built in data acquisition capability. The myrio contains a dual-core ARM processor that is similar to what runs most cell phones and tablet computers. LabVIEW is the most common programming language used to program the myrio. Throughout the semester, you will use the myrio to collect and plot data as well as implement the controller. 1.8 Control Systems Building Blocks In SE 320, one of the methods of controller design we will cover is proportional, integral, and derivative (PID) control. In order to implement this type of control system in hardware or software, you need three building blocks: summation, derivative, and integrator. Each of these have pre-built blocks in LabVIEW. Each block is shown in Figure 1 below. Figure 1 - LabVIEW Blocks 1.9 Electrical Sensors in the Lab The electrical sensors that we will use in the lab include the following: o Rotational Potentiometer: Voltage varies as a function of rotational position (angle). (Figure 2). o Tachometer: output a voltage depending how fast the tachometer s shaft is rotating (Figure 3). Figure 2 - Diagram of rotational potentiometer 6

Figure 3 - Diagram of a Tachometer 7

2 Lab 1: Tachometer, Potentiometer, Motor Dead Zone 2.1 Introduction In this lab session, you will learn about to two basic sensors: the potentiometer and the tachometer. These sensors can be used to determine a DC-motor s position and speed, respectively. Finally, you will be introduced to the DC-motor s dead zone and how to deal with it. 2.2 Pre Lab 1. In your own words, define and describe a sensor. 2. What does sensor calibration mean? 3. What is a potentiometer? a. Find at least 2 different kinds of potentiometers and explain how they work. b. The potentiometer in the lab has 340 degrees of electrical travel and 5V will be applied across it. What is the potentiometer s gain in V/rad c. What do you expect the output voltage from a circular potentiometer (spinning at constant angular velocity) to look like? 4. What is a tachometer? a. What are the units of input and output of a tachometer? b. If the period of one revolution of a motor is 0.03sec and the resulting output of an attached tachometer is 6V, what is the tachometer gain in V- s/radian? 5. Explain Faraday s Law in your own words. How does this account for torque being produced in a DC motor? 6. Make sure to read the equipment information documented at http://coecsl.ece.illinois.edu/ge320/ge320_equipmanual.pdf 8

2.3 Objectives By the end of this lab, you will be able to: Explain the physical reason for dead zone in a DC motor. Identify the motor parameters sensed by the tachometer and potentiometer. Determine the relationship in time between the tachometer and potentiometer outputs. 2.4 Reference Section 2.8, Sensors in Feedback Control Systems 2.5 Calibration and Dead Zone This section of the lab focuses on taking measurements to determine the dead zone of the motor, calibrate the potentiometer and the tachometer. 2.5.1 Motor Dead Zone Estimation Any motor requires a certain amount of power before it can rotate freely. We will find this value by varying the amount of current and voltage we apply to the motor. In HP VEE, open the file: n:/labs/ge320/exp1/deadzone.vxe Connect the HP variable power supply to the motor, from the patch panel. 9

Turn on the HP power supply. Click the Reset button and set the output enable to off. This controls the HP power supply that is output on the patch panel, which you must now connect to the motor. Locate the HP power supply at your bench. Set the maximum current to 2 amps and turn output enable on. You will now begin to measure the motor dead zone in Volts. Set the voltage to 0 initially, and begin increasing voltage in 0.2 V increments. After each step, check to see if the motor rotates with a smooth continuous motion. Show this to you TA and record the voltage and current values on the data sheet. Turn off output enable. This is the motor dead zone in Volts, measured with a limited current of 2 amps. We now consider the dead zone measured in amps: Set the voltage to 5 times the voltage dead zone value, and turn on output enable. Set the current to 0 initially, and begin increasing current in 0.05 A increments. After each step, check to see if the motor rotates with a smooth, continuous motion. Record these values. 10

2.5.2 Calibration of Potentiometer As you discovered in the prelab, the potentiometer is a variable resistor (usually carbon deposited) or variable voltage divider. The slider of the potentiometer has a friction contact to the potentiometer s base resistor. Movement of the slider allows for a variance in the resistance from the slider to the end points of the potentiometer. Some sensors have non-linear outputs, due to their construction and properties. Therefore, we will be examining the linearity of the potentiometer output. Open the file: n:/labs/ge320/exp1/pot_cali.vxe. Connect the potentiometer to the motor; the shaft of the motor has to be attached to the potentiometer. Use the 5V power supply from the patch panel to power the potentiometer. Scope the output from the potentiometer. Refer to the equipment manual for help if needed. Click the reset button on the power supply and then check that the output Enable switch is off. Set the voltage to 5 volts and the current to 2 amps. Set the trigger level on the scope to 2.4 V. Finally update the parameters of the real scope by clicking the Send New Scope Parameters button. You are now ready SHOW THE TA. Note: While using the VEE Pro software to control the oscilloscope you should not use the actual knobs of the oscilloscope. VEE Pro does not realize that you have changed a setting and will return your data incorrectly scaled. Turn the output enable switch on and the motor should begin to spin. Turn the 5V 11

power supply to the potentiometer on and the waveform representing the output from the potentiometer should appear on the scope. Change the Time Base parameter on the virtual scope to fit an entire period of the potentiometers signal. Note: Don t forget to update the real scope s parameters by hitting the Send New Scope Parameters again. Click Collect Data from Scope and a copy should appear on your screen. Sketch two wavelengths on the data sheet and turn off the power. How linear is the potentiometer? You should find it very linear so just record the potentiometer gain found in the prelab on your data sheet. 12

2.5.3 Calibration of Tachometer As you discovered in the prelab, a tachometer produces a voltage directly proportional to the angular velocity of its shaft. In this lab we will measure the proportionality constant or gain in units of voltage / unit angular velocity. Leave the equipment as setup above but use the multimeter to measure the tachometer output. Open the file n:/labs/ge320/exp1/tach_cal.vxe Set the trigger level on the scope to 2.4 V. Reset the power supply window, turn the output off, and set the current to 2 amps. Set the voltage to 5 volts and then turn the power on. The motor will spin, and a waveform will appear on the oscilloscope. Record the output value from the tachometer and click Collect Data from Scope. Now, use the triangles to measure exactly one period. Record this value and compute the angular velocity. The ratio of the voltage to the angular velocity (in rad /sec) is the tachometer gain. Repeat the above step in 1V increments up to 9 V. Show the TA. This concludes the first lab session. Disconnect all wires and return them to the side of your bench. Log off the computer, turn off all the equipment, and put your chair at your bench before leaving the lab. 13

2.6 Post Lab Include the answers to the following questions in your lab report 1. What is the difference between the functionality of a tachometer and a motor? 2. What causes the motor to have a dead zone? 3. Why is it that when the voltage was set to five times the dead zone, but the current was limited, the motor did not have unimpeded, continuous rotation? 4. Based on this experiment, what do you think causes the motor to spin? 5. When you observe the potentiometer output, what is the shape of the output? Include a sketch of the potentiometer output. 6. Is the potentiometer linear? Why is there a small flat section at the bottom of the waveform? How does the motor speed affect the waveform? 14

2.7 Data Sheet Motor Dead zone Voltage Dead Zone Current Dead Zone Voltage Voltage Current Current Potentiometer Gain GAIN (V/rad) Tachometer Calibration Voltage Period Angular Velocity Tachometer voltage Tachometer Gain 5 V 6 V 7 V 8 V 9 V Average (V*sec / rad) **Include a sketch of the potentiometer output 15