ECE 5671/6671 Lab 3. Impedance Measurement and Parameter Estimation of a DC Motor

Similar documents
ECE 5671/6671 LAB 6. Wound-Field Synchronous Generators

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r

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

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

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

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

ECE 5670/ Lab 6. Parameter Estimation of a Brushless DC Motor. Objectives

Lab 2: Introduction to Real Time Workshop

dspace and Real-Time Interface in Simulink

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

Open Loop Frequency Response

dspace DS1103 Control Workstation Tutorial and DC Motor Speed Control Project Proposal

PID Control with Derivative Filtering and Integral Anti-Windup for a DC Servo

NOVA technical note #8 1. Case study: how to use cutoff conditions in a FRA frequency scan?

dspace DS1103 Control Workstation Tutorial and DC Motor Speed Control Project Report

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

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

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

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

PREDICTIVE CONTROL OF INDUCTION MOTOR DRIVE USING DSPACE

Servo Closed Loop Speed Control Transient Characteristics and Disturbances

Outline. Goals Project Description/Requirements. Equipment Implementation Progress Summary References

Laboratory Tutorial#1

Digital Control Lab Exp#8: PID CONTROLLER

PMSM Control Using a Three-Phase, Six-Step 120 Modulation Inverter

UNIT 2: DC MOTOR POSITION CONTROL

Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm

SYNCHRONOUS MACHINES

GE 320: Introduction to Control Systems

Modeling and System Identification for a DC Servo

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

Introduction to MS150

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Lab 2: Quanser Hardware and Proportional Control

Lab 4 An FPGA Based Digital System Design ReadMeFirst

DC and AC Circuits. Objective. Theory. 1. Direct Current (DC) R-C Circuit

Experiment Guide: RC/RLC Filters and LabVIEW

Electrical Theory. Power Principles and Phase Angle. PJM State & Member Training Dept. PJM /22/2018

DC SERVO MOTOR CONTROL SYSTEM

LAB 8: Activity P52: LRC Circuit

DISCUSSION OF FUNDAMENTALS

Practical Assignment 1: Arduino interface with Simulink

7 Lab: Motor control for orientation and angular speed

Implementation of discretized vector control strategies for induction machines

Voltage Compensation of AC Transmission Lines Using a STATCOM

Laboratory Experiment #1 Introduction to Spectral Analysis

EE 461 Experiment #1 Digital Control of DC Servomotor

Figure C-1 (p. 907) MATLAB window showing how to access Simulink. The Simulink Library Browser button is shown circled.

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

ES442 Final Project AM & FM De/Modulation Using SIMULINK

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Experiment # 4. Frequency Modulation

SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

ECE 2274 Lab 1 (Intro)

ECE 201 LAB 8 TRANSFORMERS & SINUSOIDAL STEADY STATE ANALYSIS

ECE 231 Laboratory Exercise 3 Oscilloscope/Function-Generator Operation ECE 231 Laboratory Exercise 3 Oscilloscope/Function Generator Operation

Alternating Current. Slide 1 / 69. Slide 2 / 69. Slide 3 / 69. Topics to be covered. Sources of Alternating EMF. Sources of alternating EMF

Alternating Current. Slide 2 / 69. Slide 1 / 69. Slide 3 / 69. Slide 4 / 69. Slide 6 / 69. Slide 5 / 69. Topics to be covered

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

HILINK REAL-TIME HARDWARE-IN-THE-LOOP CONTROL PLATFORM FOR MATLAB/SIMULINK

MEM01: DC-Motor Servomechanism

Generator Operation with Speed and Voltage Regulation

Voltage-Versus-Speed Characteristic of a Wind Turbine Generator

EE 501 Lab 1 Exploring Transistor Characteristics

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Lab 3 Swinging pendulum experiment

Lab 3: AC Low pass filters (version 1.3)

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

Lab E5: Filters and Complex Impedance

Construction Electrician Level 2

Electrical Machines (EE-343) For TE (ELECTRICAL)

Laboratory Assignment 1 Sampling Phenomena

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

Getting Started Guide

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Chapter -3 ANALYSIS OF HVDC SYSTEM MODEL. Basically the HVDC transmission consists in the basic case of two

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

Example Data for Electric Drives Experiment 6. Analysis and Control of a Permanent Magnet AC (PMAC) Motor

Lab 1: First Order CT Systems, Blockdiagrams, Introduction

Chapter 3: Multi Domain - a servo mechanism

RAPID CONTROL PROTOTYPING FOR ELECTRIC DRIVES

Software User Manual

EE 340L Experiment 6: Synchronous Generator - Stand-Alone Operation

9063 Data Acquisition and Control Interface

AP Physics C. Alternating Current. Chapter Problems. Sources of Alternating EMF

Data Acquisition and Control Interface

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

TRWinProg 101by Chris Bowman October 10

Modelling and Simulation of a DC Motor Drive

STEADY STATE REACTANCE

Dynamic Power Factor Correction Using a STATCOM

ECE 5670/6670 Lab 7 Brushless DC Motor Control with 6-Step Commutation. Objectives

EE 410/510: Electromechanical Systems Chapter 5

Lab Exercise 9: Stepper and Servo Motors

Courseware Sample F0

AC System Monitoring Device

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

ECE 2274 MOSFET Voltmeter. Richard Cooper

Transcription:

ECE 5671/6671 Lab 3 Impedance Measurement and Parameter Estimation of a DC Motor 1. Introduction The objective of this lab is to become more familiar with the hardware and software used in the Electric Generator labs by running a set of experiments using Simulink and dspace ControlDesk. The first experiment is to measure the real and reactive powers of a single phase RL load and to calculate its resistance and reactance. The second experiment is to design an open-loop voltage controller to control the speed of a DC generator, operated as a motor. The captured data will then be used to estimate the electric parameters of the DC generator. Note that the two machines (i.e., the squirrel-cage induction generator and the DC generator) are not coupled at any point in this experiment. 2. Experiment Be sure to read the dspace DS1104 Control Work Station and Simulink Tutorial (Lab 1) for basic hardware and software setup used in this lab. Equipment needed: dspace I/O box PEDB with ribbon cable and +12V supply Squirrel-cage Induction Generator (SCIG) DC Generator (DCG), frame mounted Rack of Cables 2.1 Power and Impedance Measurement of an SCIG For the first part of the lab, you will design a Simulink model to measure the apparent (S), real (P), and reactive (Q) powers consumed by the induction generator at standstill. Consider the following figure for the induction generator winding connection: To A1 on PEDB To B1 on PEDB Open Figure 1: SCIG windings connection

The following variables will be calculated as in Homework 1: = ) ) = ) ) = )= ) ) = )) = 1) 2) 3) 4) 5) 6) 2.1.1 Simulink model Start by downloading the lab_3.mdl file and lab_3.lay layout file provided on the lab website. The Simulink diagram should look like figure 2. Be sure to modify the saturation block and limit the output voltage to 5V in order to prevent possible damage to the SCIG windings. Change the Vd in the gain block named Ratio to 42, referring to the 42V DC supply. Figure 2: Simulink model to generate AC voltage Use the analog-to-digital channel to measure the current and place an averaging block with 167 samples (n=167) to find the average current. Do not forget to also change the gain in the averaging block to 1/167. This is similar to the averaging blocks created for current and velocity in lab 1. The averaging length corresponds to one period at 60Hz or two periods at 120Hz. Follow equations 1-6 to create a Simulink model that calculates the RMS current and apparent, real, and reactive powers. Also, add Inverter Board Control Function blocks from the tutorial to the Simulink model to Stop/Start and Reset the board. Set the sampling time

to 100µs by inputting Ts = 1e-4 in the MATLAB command window, or entering it in in the initialization function by typing Ts = 1e-4 in File > Model Properties>>InitFcn. Check for the correct model configuration parameters. The following should be the standard settings for every Simulink model created henceforth (these can also be found on the checklist file on the lab website, but are provided here for convenience): > Simulation > Model Configuration Parameters >> Solver > Start time= 0.0, Stop time= inf, Type = Fixed step, Solver= Ode1 (Euler). >> Data Import/ Export > Uncheck Limit data points to last: (integer). >> Optimization > Uncheck Block reduction. >>Expand optimization by clicking on the drop down list > Signals and Parameters > Uncheck Signal storage reuse. >> Code generation > set System target file to rti1104.tlc by choosing it in the browse options. It was stated in the lab1 tutorial that the program starts running immediately after being built in the Simulink window. To give the user the capability of starting the program when desired, or ready to do so, the following setting can be modified in the Simulink window >> Expand Code generation by clicking on the dropdown list > RTI simulation options > ensure that the Initial simulation state is set to STOP. Review the rest of the settings that are prone to give you build errors, as given in the tutorial handout. Then, build the Simulink model by typing Ctrl+B. Hint: From/Goto blocks can be used in Simulink to make signal routing cleaner and easier to read. These are found in the Library Browser under Signal Routing. 2.1.2 Electric parameter measurement Before connecting the SCIG to the PEDB, use a multimeter to measure the resistance between two phases. The resistance value will also be measured using an AC current. When the step described below will be completed, compare the two values. Refer to the tutorial for the hardware setup and connections. Connect any two phases of the SCIG to phases A1 and B1 on the Inverter Board, as shown in figure 1. Also, connect the ADCH 5 on the dspace I/O box to the CURR. A1 on the PEDB with a BNC cable. As described in the dspace DS1104 Control Work Station and Simulink tutorial, create a new project and experiment. Navigate to the Layouting tab on the top and import the layout previously downloaded. This layout will have radio buttons (with the appropriate values) set up to RUN and STOP through the simstate (simulation state) variable. The simstate variable (which can be found amongst the list of variables when the.sdf file is selected in

the Variables window ) has already been mapped to the radio button block. The RUN button should be engaged after going online, to activate the experiment program. And then, the Start_stop and Reset check boxes will be used to control the relaying of commands to the motor through the PEDB (this is of course when your layout is ready to run the experiment). Modify the layout by adding appropriate instruments to apply a specified peak voltage and display the RMS current and voltage, apparent, real and reactive powers. Make sure your PEDB is powered as described in the tutorial. Using dspace, apply 1VPEAK to the windings and measure the line-to-line current and powers at 60Hz frequency. Note that the generator will not be rotating; you are merely measuring the power dissipated within the electrical components of the generator. Make necessary modifications to the Simulink model to calculate the line-to-line resistance, reactance, and inductance of the SCIG from measured powers. Keep the experiment disengaged and the board unpowered while you make these modifications as this could take a while. If you would like to check your answers in real time, you can add display boxes in dspace that will display the values of these or other parameters you would like to view. Record these values in a table. 2.2 Parameter Estimation of DC Motor In this part of the lab, you will measure the electrical parameters of a DC generator using dspace. For this purpose, first design an open-loop controller in Simulink to control the speed of the DC generator. Refer to section V of the dspace DS1104 Control Work Station and Simulink Tutorial for details about the Simulink model of an open loop voltage controller for a DC machine and dspace ControlDesk. Note that this model will be used in future labs to control the speed of a prime mover to rotate other generators. Understanding this model and how the system works will make the future labs easier. Also, note that throughout this lab the DC generator will be operated as and referred to as a DC motor. Consider the following model for a DC motor: ) i (t) = Figure 3: Model of a DC Motor The mathematical model of DC motor can be described as follows:

= + + where the parameters and their units are as following: h.. h In steady-state, equation 7 becomes: = + This equation will be used to calculate the armature resistance and the back-emf constant of the DC motor for slowly varying voltages. 2.2.1 Simulink Model Make necessary adjustment to the Simulink model of the open-loop voltage controller presented in section-v of the dspace DS1104 Control Work Station and Simulink Tutorial. Keep in mind to change the delay length to 167 in the averaging block pertaining to the motor current. Make sure to include Stop/Start, Reset and Zero Encoder commands as well as the ability to read the data from the encoder and the current of the motor. Do not forget to set the model configuration parameters as described in section 2.1.1. Next, create a new experiment. This time, you will be taught to create the simstate radio button block. In the layout, >>Instrument Selector > Standard Instruments > select Radio Button and draw it on the layout. You will see that a block with two radio buttons will be created. This number can be changed by accessing the instrument properties (this however, isn t necessary, since you need two radio button as you saw in the previous part of this lab). >> Right click on the instrument > Instrument Properties > Radio button > Buttons (click on the browse button along this row). In the resulting Buttons window, you can change the names and values of the buttons. 7) 8)

>> Select Button 1 > under the properties, enter STOP for the Text and change the Value to 0. >> Select Button 2 > under the properties, enter RUN for the Text and change the Value to 2. Now, drag and drop the simstate variable in the radio button block in the layout, as done before. Design the rest of the ControlDesk layout in dspace to take the measurements. 2.2.2 Connection For the hardware setup and connections, also refer to the dspace DS1104 Control Work Station and Simulink Tutorial. Before running the measurement, make sure that the encoder is measuring the position and velocity of the DC motor properly by rotating the DC motor shaft one revolution, 360 degree, and confirming the motor shaft position on the dspace ControlDesk. Because the encoder reads a negative value for a positive voltage applied, make sure that the Simulink model inverts the encoder data as done in the lab tutorial. Also, check the analog-to-digital channel, and make sure that it is measuring the correct values. For this purpose, you can follow the analog-to-digital converter and digital-to-analog converter sections in the tutorial. 2.2.3 Measurement Once the layout is set up, arrange for automatic data export in.mat format. Apply a trigger rule using the Start_Stop variable for a positive edge of 0.5. There should be no need for a trigger delay. Ensure that your duration trigger is set to a value approximately, if not, greater than the time you suppose you will need to record the following set of data. Put the program on RUN mode. Click on Start Triggered Recording button on the recorder. Check the Start_Stop check button and apply steps of increasing voltage, for example 5, 10, 15, 20, and 25V in succession at approximately regular intervals. Click on the Stop Recording button, reduce the voltage and stop the motor. Measure the current, velocity, and position of the DC motor as they change (engage plotters) and tabulate current and velocity for each increment of voltage. Note that the angular velocity unit in the mathematical DC motor model (Eq.7) is in rad/sec. In MATLAB, filter the noise observed in the data if necessary, using a Butterworth filter as follows: [b,a] =butter(3,0.1); omega_filtered = filtfilt(b,a,omega) This code creates a third-order filter with a cutoff frequency of 500 Hz (0.1/(2*Ts) where 0.1 is the 2 nd argument in the function butter and Ts (sampling period) is 0.0001 as set in MATLAB. Compare the filtered data with the original; you should notice the reduction of noise.

With the data obtained above, and the steady-state equation (Eq. 8), it is possible to obtain a plot of the Voltage/Current vs Velocity/Current, which should satisfy the following equation: = + By fitting a line to the plot, derive the back-emf constant and the armature resistance of the DC motor. Hint: you may use Matlab function POLYFIT to fit the data. 3. Report Requirements: Use the following as a guideline when preparing the lab report: Introduction with objectives Include the equipment number of all of the major components used Summary of procedures and equations used to calculate the electrical parameters in both experiments Provide screen shots of the Simulink models Calculated RMS voltage and current, line-to-line real, reactive, and apparent power of the AC induction motor Calculated resistance, reactance and inductance values for AC induction motor Plots showing the measured current, velocity and position of the DC motor for the different values of voltage. Table showing the measured current and velocity of the DC motor for the different values of voltage. Plot the Voltage/Current vs. Velocity/Current Calculated resistance and back EMF constant for the DC generator Conclusion (Describe what worked well and did not work well in this lab, and make suggestions for possible improvements.) 9)