EE 370L Controls Laboratory. Laboratory Exercise #E1 Motor Control

Similar documents
Using MATLAB/ Simulink in the designing of Undergraduate Electric Machinery Courses

Application Notes. Calculating Mechanical Power Requirements. P rot = T x W

CHAPTER THREE DC MOTOR OVERVIEW AND MATHEMATICAL MODEL

Figure1: Kone EcoDisc electric elevator drive [2]

View Numbers and Units

Application Information

Application Note CTAN #234

Modelling of electronic throttle body for position control system development

StepSERVO Tuning Guide

Appendix A: Motion Control Theory

Closed Loop Control of Separately Excited DC Motor

Reduction of Self Induced Vibration in Rotary Stirling Cycle Coolers

Simscape Getting Started Guide. R2014a

ME 466 PERFORMANCE OF ROAD VEHICLES 2016 Spring Homework 3 Assigned on Due date:

Mechatronics Chapter 10 Actuators 10-3

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives

Modeling the Neuro-Fuzzy Control with the Dynamic Model of the Permanent Magnet DC Motor

Mathematical Modelling and Simulation Of Semi- Active Suspension System For An 8 8 Armoured Wheeled Vehicle With 11 DOF

Force-feedback control of steering wheels

Using CompactRIO to Build a Virtual Driver of Hybrid Wheeled Vehicle Gabriel Kost 1,a, Andrzej Nierychlok 1,b*

PERFORMANCE ANALYSIS OF BLDC MOTOR SPEED CONTROL USING PI CONTROLLER

EECS 461 Final Project: Adaptive Cruise Control

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPT OF MECHANICAL ENGINEERING

Data Sheet. Size 1 and 2 Stepper Motors. 7.5 stepper motors Size 1 (RS stock no ) Size 2 (RS stock no ) Data Pack B

Motor Technologies Motor Sizing 101

CHAPTER 3 DESIGN OF THE LIMITED ANGLE BRUSHLESS TORQUE MOTOR

Omni Series Motors. Applimotion Motors & Actuators TORQUE. Low-Profile Direct Drive Motors for the World s Machines and Robots PRODUCT DATA SHEET

3. DESCRIPTION OF SHAKING TABLE SYSTEM COMPONENTS

Features IN THIS CHAPTER

Tutorials Tutorial 3 - Automotive Powertrain and Vehicle Simulation

SECTION A DYNAMICS. Attempt any two questions from this section

Vehicle Dynamics and Drive Control for Adaptive Cruise Vehicles

Electric Drives Experiment 3 Experimental Characterization of a DC Motor s Mechanical Parameters and its Torque-Speed Behavior

Unit 8 ~ Learning Guide Name:

Technical Guide No. 7. Dimensioning of a Drive system

4. Electromechanical Systems. Karadeniz Technical University Department of Electrical and Electronics Engineering Trabzon, Turkey.

CHAPTER 4 MODELING OF PERMANENT MAGNET SYNCHRONOUS GENERATOR BASED WIND ENERGY CONVERSION SYSTEM

Robot components: Actuators

Silencer Series Brushless DC Motors

A SIMPLIFIED METHOD FOR ENERGIZING THE SOLENOID COIL BASED ON ELECTROMAGNETIC RELAYS

Robot components: Actuators

Robot Arm with Conveyor Belts

Exercise 2-1. The Separately-Excited DC Motor N S EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. Simplified equivalent circuit of a dc motor

COMPARISON OF PERFORMANCE FEATURES

MSD: Case Studies D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

3rd International Conference on Material, Mechanical and Manufacturing Engineering (IC3ME 2015)

SLM/SLG SERIES. SLM Series Motors/SLG Series Gearmotors BRUSHLESS AC OR DC SERVO MOTOR / INTEGRATED SERVO GEARMOTOR

AUTOMATIC VEHICLE STABILIZATION SYSTEM Gaurav Pednekar 1, Raunak Borwankar 2 and Purva Sawant 3 1, 2, 3

Simplus

Step Motor. Mechatronics Device Report Yisheng Zhang 04/02/03. What Is A Step Motor?

RH Series. Features. Structure. High resolution High resolution of maximum 400,000 pulses/revolution ( /pulse) combining a HarmonicDrive.

Torque Ripple Reduction and Speed Performance of BLDCM Drive with Hysteresis Current Controller

Performance of DC Motor Supplied From Single Phase AC-DC Rectifier

ABS. Prof. R.G. Longoria Spring v. 1. ME 379M/397 Vehicle System Dynamics and Control

Ultra Series: Crossed Roller Ultra Precision Stages

Faraday's Law of Induction

Utilizing Kollmorgen Goldline Series Servo Motors with the AKD Drive

Power Supply Selection

Sensorless Brushless DC-Servomotors

One-Cycle Average Torque Control of Brushless DC Machine Drive Systems

Mechatronics and Electrical Drives

SOME FACTORS THAT INFLUENCE THE PERFORMANCE OF

Good Winding Starts the First 5 Seconds Part 2 Drives Clarence Klassen, P.Eng.

Electric Vehicle Mathematical Modelling and Simulation Using MATLAB-Simulink

Dynamic Behavior Analysis of Hydraulic Power Steering Systems

Parameter Design and Tuning Tool for Electric Power Steering System

Principles and types of analog and digital ammeters and voltmeters

Contents GENERAL MOTOR TERMINOLOGY TABLES... 9 BASIC MOTOR PARAMETERS CONTACT INFORMATION... 11

Prepared By: Ahmad Firdaus Bin Ahmad Zaidi

Motor Modeling And Position Control Lab Week 3 Closed

Silencer Series Brushless DC Motors

Screw Driven automation tables

Pre-lab Questions: Please review chapters 19 and 20 of your textbook

Modelling and Simulation Specialists

Session 5 Wind Turbine Scaling and Control W. E. Leithead

Driven Damped Harmonic Oscillations

2014 ELECTRICAL TECHNOLOGY

Applied Mechatronics. Fran Marquez and Gabriel Domingues Lund, 29/11/2018. Industrial Electrical Engineering and Automation Lund University, Sweden

Gearmotors & Gearheads. Servo Motors & Drives. Linear & Rotary Positioning Stages. Direct Drive Rotary Table Product Manual

Vehicle Dynamic Simulation Using A Non-Linear Finite Element Simulation Program (LS-DYNA)

Chapter 5. Design of Control Mechanism of Variable Suspension System. 5.1: Introduction: Objective of the Mechanism:

KahramanmarasSutcuImamUnive rsity Journal of EngineeringSciences

Laboratory Exercise 12 THERMAL EFFICIENCY

Faraday s Law of Induction III

Section 18: Fuses, Heaters, Parameters

TUTORIAL Motor Control Design Suite

Development Of Three Wheeler Electric Vehicle With BLDC Motor

AP Physics B: Ch 20 Magnetism and Ch 21 EM Induction

G Prasad 1, Venkateswara Reddy M 2, Dr. P V N Prasad 3, Dr. G Tulasi Ram Das 4

Safety Considerations

Implementation of SMC for BLDC Motor Drive

MRZJW3-MOTSZ71E. General-Purpose AC Servo. Installation Guide. Capacity Selection Software

ELEN 236 DC Motors 1 DC Motors

14 Single- Phase A.C. Motors I

CHAPTER 3 BRUSHLESS DC MOTOR

INVESTIGATION OF DYNAMIC BRAKING OF ELECTRIC VEHICLES POWERED BY PERMANENT MAGNET DC MOTOR

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Semi-Active Suspension for an Automobile

Pre-lab Questions: Please review chapters 19 and 20 of your textbook

Linear Flexible Joint Cart Plus Single Inverted Pendulum (LFJC+SIP)

Transcription:

1. Learning Objectives EE 370L Controls Laboratory Laboratory Exercise #E1 Motor Control Department of Electrical and Computer Engineering University of Nevada, at Las Vegas To demonstrate the concept of motor control. In order to do this we must first determine the transfer function for the motor and amplifier hardware. 2. Equipment Usage 1. In this laboratory exercise, you will use MATLAB and SIMULINK software to model a DC motor and controller. 2. In this laboratory, we will be dealing with the feedback system and a specifically designed tachometer and monitoring system.

3. Fundamentals

4. Matlab Commands A common actuator in control systems is the DC motor. It directly provides rotary motion and, coupled with wheels or drums and cables, can provide transitional motion. The electric circuit of the armature and the free body diagram of the rotor are shown in the following figure: For this example, we will assume the following values for the physical parameters. * moment of inertia of the rotor (J) = 0.01 kg.m^2/s^2 * damping ratio of the mechanical system (b) = 0.1 Nms * electromotive force constant (K=Ke=Kt) = 0.01 Nm/Amp * electric resistance (R) = 1 ohm * electric inductance (L) = 0.5 H * input (V): Source Voltage * output (theta): position of shaft * The rotor and shaft are assumed to be rigid The motor torque, T, is related to the armature current, i, by a constant factor Kt. The back emf, e, is related to the rotational velocity by the following equations:

In SI units (which we will use), Kt (armature constant) is equal to Ke (motor constant). Building the Model This system will be modeled by summing the torques acting on the rotor inertia and integrating the acceleration to give the velocity. Also, Kirchoff's laws will be applied to the armature circuit. Open Simulink and open a new model window. First, we will model the integrals of the rotational acceleration and of the rate of change of armature current. Insert an Integrator block (from the Linear block library) and draw lines to and from its input and output terminals. Label the input line "d2/dt2(theta)" and the output line "d/dt(theta)" as shown below. To add such a label, double click in the empty space just above the line. Insert another Integrator block above the previous one and draw lines to and from its input and output terminals. Label the input line "d/dt(i)" and the output line "i".

Next, we will start to model both Newton's law and Kirchoff's law. These laws applied to the motor system give the following equations: The angular acceleration is equal to 1/J multiplied by the sum of two terms (one pos., one neg.). Similarly, the derivative of current is equal to 1/L multiplied by the sum of three terms (one pos., two neg.). Insert two Gain blocks, (from the Linear block library) one attached to each of the integrators. Edit the gain block corresponding to angular acceleration by double-clicking it and changing its value to "1/J". Change the label of this Gain block to "inertia" by clicking on the word "Gain" underneath the block. Similarly, edit the other Gain's value to "1/L" and it's label to Inductance. Insert two Sum blocks (from the Linear block library), one attached by a line to each of the Gain blocks. Edit the signs of the Sum block corresponding to rotation to "+-" since one term is positive and one is negative. Edit the signs of the other Sum block to "-+-" to represent the signs of the terms in Kirchoff's equation.

Now, we will add in the torques which are represented in Newton's equation. First, we will add in the damping torque. Insert a gain block below the inertia block, select it by single-clicking on it, and select Flip from the Format menu (or type Ctrl-F) to flip it left-to-right. Set the gain value to "b" and rename this block to "damping". Tap a line (hold Ctrl while drawing) off the rotational integrator's output and connect it to the input of the damping gain block. Draw a line from the damping gain output to the negative input of the rotational Sum block. Next, we will add in the torque from the armature. Insert a gain block attached to the positive input of the rotational Sum block with a line. Edit its value to "K" to represent the motor constant and Label it "Kt". Continue drawing the line leading from the current integrator and connect it to the Kt gain block.

Now, we will add in the voltage terms which are represented in Kirchoff's equation. First, we will add in the voltage drop across the coil resistance. Insert a gain block above the inductance block, and flip it left-to-right. Set the gain value to "R" and rename this block to "Resistance". Tap a line (hold Ctrl while drawing) off the current integrator's output and connect it to the input of the resistance gain block. Draw a line from the resistance gain output to the upper negative input of the current equation Sum block. Next, we will add in the back emf from the motor. Insert a gain block attached to the other negative input of the current Sum block with a line. Edit its value to "K" to represent the motor constant and Label it "Ke". Tap a line off the rotational integrator output and connect it to the Ke gain block.

The third voltage term in the Kirchoff equation is the control input, V. We will apply a step input. Insert a Step block (from the Sources block library) and connect it with a line to the positive input of the current Sum block. To view the output speed, insert a Scope (from the Sinks block library) connected to the output of the rotational integrator. To provide an appropriate unit step input at t=0, double-click the Step block and set the Step Time to "0".

Open-loop response To simulate this system, first, an appropriate simulation time must be set. Select Parameters from the Simulation menu and enter "3" in the Stop Time field. 3 seconds is long enough to view the open-loop response. The physical parameters must now be set. Run the following commands at the MATLAB prompt: J=0.01; b=0.1; K=0.01; R=1; L=0.5; Run the simulation (Ctrl-t or Start on the Simulation menu). When the simulation is finished, double-click on the scope and hit its autoscale button. You should see the following output. Extracting a Linear Model into MATLAB A linear model of the system (in state space or transfer function form) can be extracted from a Simulink model into MATLAB. This is done through the use of In and Out Connection blocks and the MATLAB function linmod. First, replace the Step Block and Scope Block with an In Connection Block and an Out Connection Block, respectively (these blocks can be found in the Connections block library). This defines the input and output of the system for the extraction process.

Save your file as "motormod.mdl" (select Save As from the File menu). MATLAB will extract the linear model from the saved model file, not from the open model window. At the MATLAB prompt, enter the following commands: [A,B,C,D]=linmod('motormodel') [num,den]=ss2tf(a,b,c,d) You should see the following output, providing both state-space and transfer function models of the system. A = -10.0000 1.0000-0.0200-2.0000 B = 0 2 C = 1 0 D = 0

num = 0 0.0000 2.0000 den = 1.0000 12.0000 20.0200 To verify the model extraction, we will generate an open-loop step response of the extracted transfer function in MATLAB. Enter the following command in MATLAB. step(num,den); You should see the following plot which is equivalent to the Scope's output. Implementing Lag Compensator Control In the motor speed control root locus example a Lag Compensator was designed with the following transfer function. To implement this in Simulink, we will contain the open-loop system from earlier in this page in a Subsystem block. Create a new model window in Simulink.

Drag a Subsystem block from the Connections block library into your new model window. Double click on this block. You will see a blank window representing the contents of the subsystem (which is currently empty). Open your previously saved model of the Motor Speed system, motormod.mdl. Select all from the Edit menu (or Ctrl-A), and select Copy from the Edit menu (or Ctrl-C). Select the blank subsystem window from your new model and select Paste from the Edit menu (or Ctrl-V). You should see your original system in this new subsystem window. Close this window. You should now see input and output terminals on the Subsystem block. Name this block "plant model". Now, we will insert a Lag Compensator into a closed-loop around the plant model. First, we will feed back the plant output. Draw a line extending from the plant output. Insert a Sum block and assign "+-" to its inputs. Tap a line of the output line and draw it to the negative input of the Sum block.

The output of the Sum block will provide the error signal. We will feed this into a Lag Compensator. Insert a Transfer Function Block after the summer and connect them with a line. Edit this block and change the Numerator field to "[50 50]" and the Denominator field to "[1 0.01]". Label this block "Lag Compensator". Finally, we will apply a step input and view the output on a scope. Attach a step block to the free input of the feedback Sum block and attach a Scope block to the plant output. Double-click the Step block and set the Step Time to "0".

You can download our version of the closed-loop system here. Closed-loop response To simulate this system, first, an appropriate simulation time must be set. Select Parameters from the Simulation menu and enter "3" in the Stop Time field. The design requirements included a settling time of less than 2 sec, so we simulate for 3 sec to view the output. The physical parameters must now be set. Run the following commands at the MATLAB prompt: J=0.01; b=0.1; K=0.01; R=1; L=0.5; Run the simulation (Ctrl-t or Start on the Simulation menu). When the simulation is finished, double-click on the scope and hit its autoscale button. You should see the following output.

5. Prelab Task 1: Construct Simulink model of the model and perform the closed loop simulation of the motor with Lag compensator as shown above. 6. Experiment Task 1: Construct a Motor Speed Controller as shown below and find closed loop time constant of the circuit. Open the feedback loop and find the open loop time constant of the circuit. Calculate the component values following the design procedures as shown below: 1) Determine the gain: Gain, G = -R 2 /R 1. Input control voltage shall capable of producing the needed output voltage to drive the motor. Gain of -10 is chosen in the schematic. 2) Determine the winding resistance, R M, by measuring with ohmmeter. 3) Find the series resistor R S < R M R 1 /R 2 ((12*1K)/10K = 1.2, used a 1 ohm resistor in the schematic). R 2 10K 4) Calculate R 3 : R 3 R R 12 10K 5K M 2 R S R 1 1 1K Note: To find the time constant, apply a step input and measure the output response. Open loop step response of the motor follows a single pole behavior as follows:

B G(s) B A s A 1 s A At 0.63*B/A, t = 1/A. From this time constant, we can measure the B/A Task 2: Construct a Motor Speed Controller with tachometer feedback as shown below: The tachometer works essentially as a voltage generator, with the output voltage proportional to the magnitude of the angular velocity of the input shaft. Tachometers are used in control systems in many ways; they can be used as a speed indicator to provide shaft-speed readout or to provide speed feedback signal in the case of speed control systems. A schematic diagram of the tachometer is given below.

Servo motor [MT150F]: Motor produces a torque of the order of 8 oz-in (600 gm-cm) at 2A input current. The inertia is about 3x10 5 Kg m 2. The output shaft may be fitted with a brake disc and/or an inertia disc to load the motor. A second shaft on the side of the motor is coupled to the main shaft by 30:1 gears (the smaller shaft rotates slower than the main shaft). The tachometer with terminals +, - and common (ground) is attached to the motor. The transfer function of the motor is: (s) K M 1 1 K M E(s) b 1 s m 1 s m where, (s) E(s) K M K M b m output speed Laplace transform input voltage Laplace transform motor constant (torque units/volt) motor torque constant [(rad/sec)/volt] motor shaft viscous friction coefficient [torque units/(rad/sec)] motor time constant (sec) Motor output speed as a function of input is as follows: (t) K M b t t (1 e m ) K (1 e m ) M a) Apply a square wave at the reference input from +2.5V to -2.5V, observe the overshoot (overshoot in the range of 30% expected). b) Design a PID controller to have the overshoot less than 10%. 7. Submission 1) Compare the performance of two feedback systems and summarize your findings.