Implementing Motor Control Designs with MCUs and FPGAs

Slides:



Advertisements
Similar presentations
9.11. FLUX OBSERVERS FOR DIRECT VECTOR CONTROL WITH MOTION SENSORS
Advertisements

2003 SMMA Meeting 1 The DynaMotor TM Electronic Brushless Repulsion Motor A Novel High Torque Brushless Repulsion Motor.
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
MSP430 Motor Controller Applications
Drives & Control June 2003 A. Jansen 1 Brushless DC Motor Control with C868 and CAPCOM6.
DIGITAL CONTROL STRATEGY FOR FOUR QUADRANT OPERATION OF THREE PHASE BLDC MOTOR WITH LOAD VARIATIONS C. Sheeba Joice, S. R. Paranjothi,and V.Jaeahar Seenthil.
L.
1 DIFFERENTIAL POLARIZATION DELAY LINE Controller FINAL REPORT D0215 Supervisor : Mony Orbach Performed by: Maria Terushkin Guy Ovadia Technion – Israel.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
© 2002 Microchip Technology Incorporated. All Rights Reserved. 1 Motor Control Solutions Microchip Technology Inc.
ECGR-6185 Advanced Embedded Systems University Of North Carolina at Charlotte A. Srinivas Reddy Stepper/Servo/DC Motors.
Course Coordinator Prof. Suneet Tuli Presented by- Rupali Gupta (2012TTE2398) M.Tech 1 st Year Textile Engineering.
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
SOUTHERN TAIWAN UNIVERSITY Department of Electrical Engineering DESIGN OF FUZZY PID CONTROLLER FOR BRUSHLESS DC (BLDC)MOTOR Student: Dang Thanh Trung Subject:
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Know your Precise Position with RX600 MCU.
Vector Control of Induction Machines
1 L Fall 2003 – Introductory Digital Systems Laboratory Motors and Position Determination.
1 An FPGA-Based Novel Digital PWM Control Scheme for BLDC Motor Drives 學生 : 林哲偉 學號 :M 指導教授 : 龔應時 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL.
Southern Taiwan University of Science and Technology
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Know your Precise Position with RX600 MCU Huangsheng.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/10/27 DSP-Based Control of Sensorless.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
32-Bit-Digital Signal Controller Texas Instruments Incorporated
Using Torque-Ripple-Induced Vibration to Determine the Initial Rotor Position of a Permanent Magnet Synchronous Machine Phil Beccue, Steve Pekarek Purdue.
Lecture 9: Modeling Electromechanical Systems 1.Finish purely electrical systems Modeling in the Laplace domain Loading of cascaded elements 2.Modeling.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
ELECTRIC DRIVES INTRODUCTION TO ELECTRIC DRIVES. Electrical Drives Drives are systems employed for motion control Require prime movers Drives that employ.
Motor Tutorial Kevin M. Lynch Laboratory for Intelligent Mechanical Systems Northwestern University Evanston, IL USA.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
INTRODUCTION TO ROBOTICS Part 3: Propulsion System Robotics and Automation Copyright © Texas Education Agency, All rights reserved. 1.
VECTOR CONTROL DRIVES OF PERMANENT MAGNET SYNCHRONOUS MOTOR
AVTC Model Based Design Curriculum Development Project.
ME6405 The George W. Woodruff School of Mechanical Engineering ME 4447/ME6405 Microprocessor Control of Manufacturing Systems/Introduction to Mechatronics.
ME 440: Numerically Controlled Machine Tools
Motors & Motor Controllers
MECH 373 Instrumentation and Measurements
Introduction to Motors, servos and steppers
Hands-On Design of BLDC Motor Control with Microchip MCUs
Chapter Electromechanical Systems 6. Chapter Electromechanical Systems 6.
MULTIPHASE BRUSHLESS DC MOTOR
Final Laboratory: PWM Frequency Regulated AC/DC Rotary Convertor
Microchip Technology Inc.
Digital Control CSE 421.
Speed control of three phase induction motor
Motor Control Solutions
Microchip Technology Inc.
Electromechanical Motor Control
An FPGA Implementation of a Brushless DC Motor Speed Controller
Study on maximum torque generation for sensorless controlled brushless DC motor with trapezoidal back EMF.
Predefined Speed Control of BLDC Motor
AC and DC motors.
DCmotors and their representation:
Improved Speed Estimation in Sensorless PM Brushless AC Drives
DC MOTOR SPEED CONTROL 1. Introduction
RX23T Inverter kit Deep Dive NOVEMBER 2016.
CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Motor Control Solutions
Controlling Sensors Efficiently with MCUs
UNIT-8 INVERTERS 11/27/2018.
Mathematical Model and Characteristics Analysis of the BLDC motor
CMPUT 399 Intro Robotics & Mechatronics: Motor Control
Motors and Position Determination
The Best Choice for BLDC/PMSM Control
AC Drives Dr. Adel A. El-Samahy Department of Electrical Engineering University of Helwan.
EEM476 Power Electronics II
Motor Control Solutions
Summary of Material on Electric Drives Covered on July 24, 2019
Dynamical Operation, Vector Control, DTC and Encoder-less Operation
Electric Machine Design Course
Presentation transcript:

Implementing Motor Control Designs with MCUs and FPGAs Class 3: Device Features and Functions 3/11/2015 Warren Miller

This Week’s Agenda 3/9/15 An Introduction to Motor Control 3/10/15 Motor Control Algorithms 3/11/15 Device Features and Functions 3/12/15 Software Tools 3/13/15 Dev Kits and Reference Designs

Course Description Motor control is one of the most common MCU applications and over the years MCUs have continue to add new features and capabilities to make motor control easier to implement. Even FPGAs have evolved to address this application area. This class provides the beginner a comprehensive introduction to motor control and the experienced engineer a refresher and update on the newest devices, software tools and development kits. Students wanting to extend their knowledge are encouraged to do an optional final hands-on ‘class project’.

Today’s Topics Types of Devices Motor Control Algorithms Reminder Example Implementations Using Standard Products, Drivers, Sensors MCUs, FPGAs Examples: Brushless DC, AC Induction, Sensorless PMSM Resources

Motor Control Algorithms All about controlling voltage and current All about timing and waveform generation Feedback loop- the main concept Can be very simple or very complex Simple- low efficiency, fixed load Complex- multiple speed, dynamic load, high efficiency, low noise, low vibration, low wear, no sparks, no electrical noise, etc. Renesas Motor Control Algorithm Site

Brushed DC Motors- Example Devices MCU, Supervisor Sensors Gate Driver, MOSFET Switch ADC, Op Amp Voltage Converter Display Panel UART, Isolation, Transceiver

Brushed DC Motors- Example Devices MCU, Supervisor Sensor Voltage Converter DC Motor Controller Display Panel UART, Isolation, Transceiver TI DRV8837

Brushless DC Motors- Example Devices MCU, Supervisor Sensor Voltage Converter DC Motor Controller Display Panel UART, Isolation, Transceiver MOSFET H-Bridge ADCs

AC Induction Motors- Example Devices MCU, Supervisor UART, Isolation, Transceiver Sensors Voltage Converters IGBT, Drivers ADCs Display Panel IGBT- Insulated Gate Bipolar Transitor

Motor Control Algorithms- MCUs MCU Key Features Computation DSP, Transforms PID Control Loops Encoders Timing PWM ADC Sensors Measure Current DAC Voltage Control Interface UART, CAN, LIN Ethernet, USB Renesas Motor Control Algorithm Site

MCUs- Timing Pulse Width Modulation Number of Channels Waveform Shape Period, Duty Cycle Timer Compare Registers Period Duty Cycle Frequency vs. Resolution IGBT- Insulated Gate Bipolar Transitor

MCUs- MCPWM (dsPIC30F) MCPWM Hardware manual http://ww1.microchip.com/downloads/en/DeviceDoc/70062E.pdf MCPWM Hardware manual

Sensorless FoC of a PMSM Permanent Magnet Synchronous Motor (PMSM) Common for Appliance motor control Washing machines HVAC compressors Device used- Microchip dsPIC PWM capable timers Analog to Digital converter Quadrature Encoder Interface (QEI) DSP computation (1 cycle) MAC Fractional operations Microchip app note

Sensorless Control of a PMSM 1: Measure stator currents (ia, ib, ic) -They sum to 0 2: Convert to two axis system (ialpha, ibeta) -As viewed from the stator 3: Rotate to align with the rotor flux (id and iq) -Constant in steady state -id controls rotor flux, Iq controls torque 4: Use control loop to generate Vd and Vq voltage vectors 5: Estimate new transformation angle 6: Rotate Vq and Vd back to stationary reference with new angle 7: Transform new voltages back to Va, Vb and Vc - Create new PWM duty cycle values Key Concept- Change of Reference Stator Perspective (Fixed) Rotating Flux Speed = f( Flux vector) Rotor Perspective (Rotating) Stationary Flux Stator currents constant (in steady state) Goal: control the stator currents for desired rotor currents Can’t measure rotor currents directly! With a reference change the stator currents can be controlled like DC values Use a standard control loop Microchip app note

Clarke and Park Transforms Clarke Transform Moves a 3-axis, 2-dimensional coordinate system, referenced to the stator, into a 2-axis system Keeps the same frame of reference Ia, ib, ic (120o from each other) and sum to zero Transformed into ialpha and ibeta Stator current is now represented in a two axis orthogonal system Axis is alpha/beta Park Transform Transform into 2-axis system rotating with the rotor flux Use the rotor theta Results in values on the d/q axis Microchip app note

PID Control Background Proportional Integral Derivative (PID) Control Responds to an error signal to adjust the controller quantity Uses periodic sampling interval of sufficient frequency Error = Desired – Measured Sign indicates direction of change Proportional Term = Error * P Gain Results in small steady state error Integral Term = Sum of Error * I Gain Eliminates ‘running’ errors Differential Term = Error Difference * D Gain Needed for fast response Not typically needed in motors Select P gain for overall system control Increase I gain to reduce error to 0 I should be small wrt P Some experimenting is useful… Microchip app note

PI Control Microchip app note Three PI control loops are used Rotor speed, flux and torque Outer Loop- Motor speed Inner Loops- iq (torque) and id (flux) The Kc.Excess term is used to limit integral windup Excess = Unlimited output – Limited Output Kc term limits Excess and thus Sum Microchip app note

And the Rest… Inverse Park and Clarke Field Weakening Faster speed Position and Speed Estimation Back EMF Estimation

FPGAs Computationally Intensive High Reliability Industrial Connectivity RTOS Multiple Motors 5us Performance Closed Loops High-level Algorithm Development Fast Prototype Development and Application Exploration Function Library Altera Motor Control

Conclusion Devices MCUs, FPGAs DC Motor Sensorless PMSM

Motor Control Resources Digi-Key Product Training Modules (49) [Filter for motor control] Stepper Motor Control Fundamentals (Microchip Technology) http://dkc1.digikey.com/us/en/TOD/Microchip/StepperMotorControl/StepperMotorControl.html Control of Magnetic Fields (ST) http://dkc1.digikey.com/us/en/tod/STMicroelectronics/MagneticFields/MagneticFields.html Motor Control Topology and Drivers (ST) http://dkc1.digikey.com/us/en/tod/stmicroelectronics/Motor-Control-Smart/Motor-Control-Smart.html

Additional Resources Suppliers Tutorials and Application Notes: FOC App Note (Microchip) http://ww1.microchip.com/downloads/en/AppNotes/01078B.pdf Maxim Integrated Circuits (Sensing Circuits) http://www.maximintegrated.com/en/app-notes/index.mvp/id/4697 Trapezoidal Control of BLDC Motors (TI) http://www.ti.com/lit/an/sprabq7/sprabq7.pdf Simple Motor Control Library (ST) http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/CD00006812.pdf

This Week’s Agenda 3/9/15 An Introduction to Motor Control 3/10/15 Motor Control Algorithms 3/11/15 Device Features and Functions 3/12/15 Software Tools 3/13/15 Dev Kits and Reference Designs