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

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

MEM01: DC-Motor Servomechanism

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

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

UNIT 2: DC MOTOR POSITION CONTROL

ME451: Control Systems. Course roadmap

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

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #2

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

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

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

Experiment 1 LRC Transients

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

Ball and Beam. Workbook BB01. Student Version

Module 08 Controller Designs: Compensators and PIDs

ECE212H1F University of Toronto 2017 EXPERIMENT #4 FIRST AND SECOND ORDER CIRCUITS ECE212H1F

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

MM7 Practical Issues Using PID Controllers


Background (What Do Line and Load Transients Tell Us about a Power Supply?)

5 Lab 5: Position Control Systems - Week 2

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

The period is the time required for one complete oscillation of the function.

Lab 23 Microcomputer-Based Motor Controller

Teaching Mechanical Students to Build and Analyze Motor Controllers

Phys Lecture 5. Motors

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

CHAPTER-III MODELING AND IMPLEMENTATION OF PMBLDC MOTOR DRIVE

, answer the next six questions.

FlexLab and LevLab: A Portable Lab for Dynamics and Control Teaching

Sensors and Sensing Motors, Encoders and Motor Control

Poles and Zeros of H(s), Analog Computers and Active Filters

Motor Modeling and Position Control Lab 3 MAE 334

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Experiment 9. PID Controller

Penn State Erie, The Behrend College School of Engineering

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

Digital Control Technologies for Switching Power Converters

2.7.3 Measurement noise. Signal variance

7 Lab: Motor control for orientation and angular speed

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

Reduction of Multiple Subsystems

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

Digital Control Lab Exp#8: PID CONTROLLER

EE 42/100: Lecture 8. 1 st -Order RC Transient Example, Introduction to 2 nd -Order Transients. EE 42/100 Summer 2012, UC Berkeley T.

ECE 5670/ Lab 5. Closed-Loop Control of a Stepper Motor. Objectives

Open Loop Frequency Response

Modeling Amplifiers as Analog Filters Increases SPICE Simulation Speed

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

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer

Open Access Pulse-Width Modulated Amplifier for DC Servo System and Its Matlab Simulation

EC CONTROL SYSTEMS ENGINEERING

STUDY OF RC AND RL CIRCUITS Venue: Microelectronics Laboratory in E2 L2

The Embedded System. - Development and analysis of an Embedded DC-motor controller - by Embedded System Team

Automatic Control Systems 2017 Spring Semester

Lecture 4 ECEN 4517/5517

ME 375 System Modeling and Analysis

DC MOTOR SPEED CONTROL USING PID CONTROLLER. Fatiha Loucif

DC SERVO MOTOR CONTROL SYSTEM

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

Today s topic: frequency response. Chapter 4

Closed-loop System, PID Controller

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

Dynamic Vibration Absorber

Rotary Motion Servo Plant: SRV02. Rotary Experiment #17: 2D Ball Balancer. 2D Ball Balancer Control using QUARC. Instructor Manual

Optimal Control System Design

Lecture 5 Introduction to control

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

Laboratory Investigation of Variable Speed Control of Synchronous Generator With a Boost Converter for Wind Turbine Applications

A Comparison And Evaluation of common Pid Tuning Methods

Robot Actuators. Motors and Control. Stepper Motor Basics. Increased Resolution. Stepper motors. DC motors AC motors. Physics review: Nature is lazy.

EE 560 Electric Machines and Drives. Autumn 2014 Final Project. Contents

ECE317 : Feedback and Control

Electronics Design Laboratory Lecture #4. ECEN 2270 Electronics Design Laboratory

CDS 101/110: Lecture 8.2 PID Control

EXPERIMENT 8: LRC CIRCUITS

Magnetic Force Compensation Methods in Bearingless Induction Motor

Fundamentals of Servo Motion Control

Position Control of DC Motor by Compensating Strategies

EE 370/L Feedback and Control Systems Lab Section Post-Lab Report. EE 370L Feedback and Control Systems Lab

An Introduction to Proportional- Integral-Derivative (PID) Controllers

Implementation of discretized vector control strategies for induction machines

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

Lab 2: Quanser Hardware and Proportional Control

Chapter 8. Natural and Step Responses of RLC Circuits

Sensors and Sensing Motors, Encoders and Motor Control

#8A RLC Circuits: Free Oscillations

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

E x p e r i m e n t 3 Characterization of DC Motor: Part 1

DEGREE: Biomedical Engineering YEAR: TERM: 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Physics 8.02 Spring 2005 Experiment 10: LR and Undriven LRC Circuits

BSNL TTA Question Paper Control Systems Specialization 2007

Feedback Systems. Many embedded system applications involve the concept of feedback. Sometimes feedback is designed into systems: Actuator

Chapter 6. Small signal analysis and control design of LLC converter

Numerical Oscillations in EMTP-Like Programs

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

IDENTIFICATION AND CONTROL OF DC MOTORS

Transcription:

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

Motor Speed Control Project 1. Generate PWM waveform 2. Amplify the waveform to drive the motor 3. Measure motor speed 4. Estimate motor parameters from measured data 5. Regulate speed with a controller 12v DC Motor Tachometer 9v Power Amplifier Supply Labs 11/12 Computer System Speed Measurement

Goals of this lab Experimentally determine the control system model of the motor/hardware setup Measure response to a step input (determine time constant, gain, etc.) This model will be used in the design of a speed controller

Motor control system modeled as a feedback system (Frequency domain model) PWM signal Software User entry (system input) Tachometer + comparator/counter (period) or envelope detector (amplitude)

Simplified system model Switch setting Setpoint R(s) + _ Error E(S) Controller C(S) Duty cycle of PWM signal Control Action X(S) Motor and Electronics The Plant G(S) Determine experimentally Measured Signal Y(S) Computer Software period or amplitude

What goes into the plant G(s)? Amplifier dynamics Electrical dynamics (motor winding has inductance and resistance) Mechanical dynamics (motor rotor has inertia and experiences friction) Sensor dynamics (filter has capacitance and resistance) OVERALL: A 3rd order model (or higher)

An Empirical Modeling Approach Experimentally determine plant model, G(s) 1. Apply a step input to the Plant step change in the duty cycle of the PWM signal driving the motor 2. Measure the motor system response to this step input measure speed change over time 3. Derive parameters of G(s) from the measured response

Response y(t) of a 1st-order system to a step input x(t) y(t) Motor speed (ADC reading) x(t) Plant input = change in PWM duty cycle (at t = 0) t

First-order system model System equation: dy Kx ( t) = τ + y( t) dt x(t) = system input y(t) = system output K = gain τ = time constant Solution if step input applied at t=0 (step response): y( t) = K x( t)( 1 e t /τ ) x = input change at time t=0 Laplace transform (plant transfer function): G( s) = Y( s) X( s) = K τs +1

Experimentally determining G(s) for the first-order system After the transient period (t large), study output y: y K = = K x y x Experimentally measure change in y (after large t) to compute gain, K. At t=τ, step response is: y( τ ) = K x(1 e τ / τ y( τ ) = K x(0.632) ) Experimentally measure time at which y(t) = 63.2% of final value to determine time constant, τ.

Finding gain K x y y K = x large t t

Finding time constant τ 0.632 y y x t = 0 τ settling t time 4τ or 5τ

Verify model in MATLAB/Simulink (Controller to be added to this to compute the controller parameters.)

Later: Design a controller in Matlab/Simulink a( t) One method: Proportional-Integral-Derivative (PID) controller = K Pe( t) + K I e( t) dt + t 0 K D de( t) dt Plant Select P-I-D constants to produce the desired response. Start with P value to improve response time Use I term to eliminate steady-state error Use D term to further improve response

First-order response with delay y (t) y( t t) x t t

First-order system with delay G( s) = τ s K + e 1 ts e ts represents time delay t

Second-order step response underdamped critically damped overdamped (real, unequal poles)

Underdamped 2nd-order model G( s) = Y X ( ) 2 s ωn = K ( ) 2 2 s s + ζω s + ω 2 n n gain damping factor undamped natural frequency

2nd-order model character (a) Underdamped ( 0 < ζ < 1 ) model has complex conjugate poles: 2 s1, 2 = ζωn ± jωn 1 ζ Re Time constant: inverse of the Re part τ = 1 ζω n Im

Underdamped step response damped oscillation overshoot frequency ω d = 2π period x y y K = x settling time 4τ t

2nd-order model character (b) oscillation frequency (rad/s): Im part ω d = ω n 1 ζ 2 overshoot (% of final value) % overshoot = e Re Im π 100 a function only of damping factor

Other 2nd-order forms Critically damped model has 2 equal poles ( ) G s = s K ( τ +1) 2 Overdamped model has unequal poles ( ) G s = K ( τ s + )( τ s 1) 1 1 2 +

Lab Procedure Re-verify hardware/software from previous labs Modify software to measure the period (or voltage) of the tachometer signal following a step input Step input = change in selected speed Save values in an array that can be transferred to the host PC after the motor is stopped Plot measured speed vs. time Choose a model (1st-order? 2nd-order?) Determine model parameters and write the transfer function G(s) Compare step response of G(s) to the experimental response (suggested tool: MATLAB/Simulink)