32-Bit-Digital Signal Controller Texas Instruments Incorporated

Slides:



Advertisements
Similar presentations
INDUCTION MOTOR Scalar Control (squirrel cage)
Advertisements

ELECTRIC DRIVES Ion Boldea S.A.Nasar 1998 Electric Drives.
Electric Motors and Generators
MSP430 Motor Controller Applications
Electric Drives FEEDBACK LINEARIZED CONTROL Vector control was invented to produce separate flux and torque control as it is implicitely possible.
Drives & Control June 2003 A. Jansen 1 Brushless DC Motor Control with C868 and CAPCOM6.
Modeling of Induction Motor using dq0 Transformations
ECE Electric Drives Topic 4: Modeling of Induction Motor using qd0 Transformations Spring 2004.
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.
ELECTRIC DRIVES CONVERTERS IN ELECTRIC DRIVE SYSTEMS MODULE 2 Dr. Nik Rumzi Nik Idris Dept. of Energy Conversion, UTM 2009.
Field-Oriented Control of Induction Machine
PMSM Control Strategy Reference:
L.
Dr. Nik Rumzi Nik Idris Dept. of Energy Conversion, UTM 2013
ECE Electric Drives Topic 16: Control of SPM Synchronous
ECE Electric Drives Topic 17: Wound-Field Synchronous
Stepper Motors. Motors coils of conductive wire magnetic fields rotational motion –except for linear induction motor everywhere from the very large (LRT)
Synchronous Motors and Generators
Three-Phase Induction Motor Stator. Three-Phase Alternating Current.
Lesson 33 AC Generators.
Three-Phase AC machines
Three Phase Induction Motor Dynamic Modeling and Behavior Estimation
Vector Control of Induction Machines
Learning objectives Review of Electromagnetic laws
Topic 8: Simulation of Voltage-Fed Converters for AC Drives Spring 2004 ECE Electric Drives.
Induction Motors Prepared By : PRAGNESH, MEET, SAGAR, SAAVAN, KANISH
Southern Taiwan University of Science and Technology
Induction Motors.
Power System Fundamentals EE 317 Lecture 7 20 October 2010.
University of Tehran 1 Microprocessor System Design IO Applications Omid Fatemi
Induction Machine The machines are called induction machines because of the rotor voltage which produces the rotor current and the rotor magnetic field.
Adviser : Cheng-Tsung Lin Student :Nan-hui Hsieh
AC Machines Fundamentals. Introduction Synchronous machines: Motors and generators whose magnetic field is supplied by a separate dc power supply. Induction.
Electric Machine Introduction
Motors and Generators.
Electric motors KON-C2004 Mechatronics Basics Tapio Lantela, Nov 2nd, 2015.
ELECTRIC DRIVES CONVERTERS IN ELECTRIC DRIVE SYSTEMS MODULE 2
EE SOLID STATE DRIVES UNIT-V SYNCHRONOUS MOTOR DRIVES Mr.R.Essaki Raj, Senior Lecturer EE SOLID STATE DRIVES UNIT-V SYNCHRONOUS MOTOR DRIVES.
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.
AC Machines. BOOSTER Basic Function:- -Sometimes when we use electrical power we need different voltage level to main supply. It is provided by Booster.
Electromechanical Motor Control 석 사 2기 최 우 영 Systems & control Lab.
AVTC Model Based Design Curriculum Development Project.
UNIT 4: SYNCHRONOUS MOTOR DRIVES
Lesson 12a: Three Phase Induction Motors
CNC FEED DRIVES.
Introduction to Motors, servos and steppers
Hands-On Design of BLDC Motor Control with Microchip MCUs
Microchip Technology Inc.
Electric Motors and Generators
INDUCTION MOTOR Scalar Control (squirrel cage)
Microchip Technology Inc.
An FPGA Implementation of a Brushless DC Motor Speed Controller
Predefined Speed Control of BLDC Motor
Electric Machine Introduction
AC and DC motors.
Dr. Zainal salam; Power Electronics and Drives (Version 2),2002, UTMJB
Brushless DC (BLDC) Motors
RX23T Inverter kit Deep Dive NOVEMBER 2016.
Implementing Motor Control Designs with MCUs and FPGAs
Field-Oriented Control of Induction Machine
Mathematical Model and Characteristics Analysis of the BLDC motor
Field-Oriented Control of Induction Machine
AC Vector Controlled Drives Induction Motor Drives
AC Drives Dr. Adel A. El-Samahy Department of Electrical Engineering University of Helwan.
Dynamical Operation, Vector Control, DTC and Encoder-less Operation
Electric Machine Design Course
Electric Machine Design Course
Electric Machine Design Course
Electric Machine Design Course
Presentation transcript:

32-Bit-Digital Signal Controller Texas Instruments Incorporated Module 15 : C28x Digital Motor Control 32-Bit-Digital Signal Controller TMS320F2812 Texas Instruments Incorporated

Electrical Motor families Motor Classification: Direct Current Motors (DC) Alternating Current Motors (AC) Asynchronous Induction Motor (ACI) Permanent Magnet Synchronous Motor (PMSM) Synchronous Brushless DC Motor (BLDC)

3 – Phase - Motor (PMSM) c ic N S a ia ib b For most three phase machines, the winding is stationery, and magnetic field is rotating Three phase machines have three stator windings, separated 120° apart physically Three phase stator windings produce three magnetic fields, which are spaced 120°in time

3 – Phase - Motor A` A Fa B C` C B` ia Fb Fc Three stationary pulsating magnetic fields The three phase winding produces three magnetic fields, which are spaced 120° apart physically. When excited with three sine waves that are a 120° apart in phase, there are three pulsating magnetic fields. ia ib ic Phase currents The resultant of the three magnetic fields is a rotating magnetic field.

Synchronous Motor Rotor field A` B C` A B` C N S f F Stator field Rotor is carrying a constant magnetic field created either by permanent magnets or current fed coils The interaction between the rotating stator flux, and the rotor flux produces a torque which will cause the motor to rotate. The rotation of the rotor in this case will be at the same exact frequency as the applied excitation to the rotor. This is synchronous operation. Example: a 2 poles pair synchronous motor will run at 1500 r.pm for a 50Hz AC supply frequency

Synchronous Motors: BLDC and PMSM F Both (typically) have permanent-magnet rotor and a wound stator BLDC (Brushless DC) motor is a permanent-magnet brushless motor with trapezoidal back EMF PMSM (Permanent-magnet synchronous motor) is a permanent-magnet brushless motor with sinusoidal back EMF 300 900 1500 2100 2700 3300 600 00 1200 1800 2400 3000 3600 Phase A Phase B Phase C ia ib ic e Ea Hall A Hall B Hall C Back EMF of BLDC Motor Back EMF of PMSM -1,50 -1,00 -0,50 0,00 0,50 1,00 1,50 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 ea eb ec

3 – Phase Voltage Inverter Upper & lower devices can not be turned on simultaneously (dead band) DC - Voltage + Six PWM signals to control Power Switches - 3 - phase outputs to motor terminals Power Switching Devices

Scalar Control Scheme ( “ V/f ” ) * V f V/f profile  PI PWM1 + PWM2 PWM Command PWM3 3-Phase Inverter PWM4 PWM5 PWM6 Speed scaling Speed calculator Simple to implement: All you need is three sine waves feeding the motor Position information not required (optional). Doesn’t deliver good dynamic performance. Torque delivery not optimized for all speeds

Field Oriented Control (FOC) Field Oriented Control (FOC) or Vector Control, is a control strategy for 3-phases induction motors where the torque producing and magnetizing components of the stator flux are separately controlled. The approach consists in imitating the DC motors’ operation FOC will be possible with system information: currents, voltages, flux and speed.

Field Weakening Controller FOC control scheme Inverse Park  VQ Vq IQ Space Vector PWM PID  PID  D,Q PWM1 + + PWM2 PWM3 3-Phase Inverter VD Vd ID PWM4  PID PWM5 d,q + PWM6 Field Weakening Controller qr r IQ Iq ia d,q a,b,c D,Q ib ID ic† Id d,q Park T Clarke T Speed Calculator qr †: ia + ib + ic = 0 Some key mathematical components are required!

PARK transform (1929): (Vs): voltage vector applied to motor stator (index s) Park transform is a referential change

Park Transform key components (vsd, vsq, vso) are called the Park coordinates vsd: direct Park component vsq: squaring Park component vso: homo-polar Park component Vso is null for a three-phases balanced system Each pair of components is perpendicular to each other

CLARKE – Transformation Transform is usually split into CLARKE transform and one rotation CLARKE converts balanced three phase quantities into balanced two phase orthogonal quantities CLARKE vb v2 vd vq + v1= va Rotation v3 PARK TRANSFORM

PARK Transform summary Clarke v1 v2 v3 va vb Park Vd Vq Three phase rotating domain Two phase rotating domain Stationary domain IS β d Stator phase current example: Is is moving at θS and its PARK coordinates are constant in (d,q) rotating frame. Can be applied on any three-phase balanced variables (flux…) ISd q ISq α

Texas Instruments Motor Control Solution “C2000 - Digital Motor Control Library (DMC)” : Single Phase ACI Motor Control Using Constant V/Hz 3-Phase ACI Motor Constant V/Hz Control 3-Phase ACI Motor Field Oriented Control 3-Phase Sensored Field Oriented Control (PMSM) 3-Phase Sensorless Field Oriented Control (PMSM) 3-Phase Sensored Trapezoidal Control (BLDC) 3-Phase Sensorless Trapezoidal Control (BLDC)

Digital Motor Control Library (DMC-Lib) The DMC-Library is a collection of most commonly used algorithms and function blocks for motor control systems For every algorithm and function: Essential theoretical background information Data types for input/output parameters with numerical range and precision Function prototypes and calling conventions code size (program and data memory) Build Level based code examples

Digital Motor Control Library (DMC-Lib) The DMC-Lib contains PID regulators, Clarke transformers, Park transformers, Ramp generators, Sine generators, Space Vector generators, Impulse generators, and more…

Laboratory: FOC for PMSM PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 Ta iqs* vqs* vas* Voltage Source Inverter PI Inv. Park Space Vector Gen. PI Tb PWM Driver ids* vds* vds* vbs* Tc PI qlr Ileg2_ Bus Driver ADCIN1 ids ias ias Park Clarke ADCIN2 iqs ibs ibs ADCIN3 Encoder SPEED FRQ PMSM QEP_A wr QEP THETA DRV qe QEP_B dir QEP_inc TMS320F28x controller

TI Library Solution “PMSM 3-1” (sprc129) Hardware for Laboratory setup: Spectrum Digital eZdsp TMS320F2812 Spectrum Digital DMC550 drive platform 3-phase PMSM with a QEP encoder Applied Motion 40mm Alpha Motor Type: A0100-104-3-100 24V DC power supply ( DC bus voltage ) load , e.g. DC Motor as Generator PC parallel port to JTAG 5V DC ( eZdsp ) RS232 ( optional ) Oscilloscope

TI Library Solution “PMSM 3-1” (sprc129) Load 24V eZdsp RS232 (optional) DMC 550 5V DC PC- parallel port

PMSM 3-1 Laboratory Student Workbench

TI DMC Library Modules vds vds ibs vqs Park vas vbs qlr vas vbs Inv. ias ibs Clarke Variable transformation from phase ab-axis to stationary ab-axis Variable transformation from stationary ab-axis to synchronously rotating dq-axis Variable transformation from synchronously rotating dq-axis to stationary ab-axis vas vbs Space Vector Gen. Ta Tb Tc Space-vector generator producing the duty cycle ratio of PWM signals

TI DMC Library Modules vqs* iqs* iqs qe PI qe wr SPEED FRQ QEP THETA QEP_A wr SPEED FRQ QEP THETA DRV qm QEP_B dir QEP_ind dir QEP driver and shaft position and rotor direction Proportional-Integral controller Speed estimation from rotor position and rotor direction Ta ias PWM1 ADCIN1 PWM2 Ileg2_ Bus Driver PWM Driver ibs Tb PWM3 ADCIN2 PWM4 Vdc ADCIN3 Tc PWM5 PWM6 ADC driver for two line currents and DC-bus voltage measurement PWM generation

Build Level 1 Ta Vq_testing vas* Inv. Park Space Vector Gen. Tb PWM Driver Vd_testing vbs* Tc rmp_out Ramp control Ramp Gen. speed_ref key modules under test TMS320F28x controller

Code Composer Studio with Real Time Mode Load a workspace file ‘pmsm3_1.wks’ In build.h, #define BUILDLEVEL LEVEL1 Rebuild all Load program to target (..\pmsm3_1.out)

Code Composer Studio with Real Time Mode 5. In Debug menu, “Reset CPU” and then set “Real-time Mode”. Then, click “Yes” when the message box pops up. 6. Click “Run” icon

Code Composer Studio with Real Time Mode 7. Right click on watch window. Then, check “Continuous Refresh”. 8. Set “enable_flg” to 1 in watch window. (to enable T1UF interrupt and PWM drive on DMC550)

Code Composer Studio Level 1 Changing !! watch window for build 1

Results: Build Level 1 rmp_out Ta

Build Level 2 – Current verification TMS320F28x controller PWM1 Ta Vq_testing vas* PWM2 Space Vector Gen. Tb PWM3 Inv. Park PWM Driver PWM4 Vd_testing vbs* Tc PWM5 PWM6 Voltage Source Inverter qe ADCIN1 ids ias ia Ileg2_ Bus Driver ADCIN2 iqs Park ibs Clarke ib ADCIN3 key module under test Encoder Ramp Gen. Speed_ref control PMSM rmp_out

Instructions: Build Level 2 Tune the 24V Power Supply to 10 Volts with 1 Amp limit Load a workspace file ‘pmsm3_1.wks’ In build.h, #define BUILDLEVEL LEVEL2 Reset CPU, Compile, Load, start RTM and Run Switch on 24V Power Supply Set variable “enable_flg” to 1 in watch window. Try to change motor speed by setting “speed_ref” (p.u.) in watch window. Then, motor should change its speed accordingly.

Results: Build Level 2 PMSM should run open-loop smoothly The currents in the motor phases should be sinusoidal.

Build Level 3 - Tuning of dq-axis current closed loops key modules under test TMS320F28x controller vas* vbs* Inv. Park Space Vector Gen. PWM Driver Ta Tb Tc Voltage Source Inverter PMSM ia ib Ileg2_ Bus ADCIN1 ADCIN2 ADCIN3 ibs Clarke ias ids* PI rmp_out iqs Encoder PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 ids Id_ref vqs* vds* Iq_ref Ramp Gen. Speed_ref control

Instructions: Build Level 3 In build.h, #define BUILDLEVEL LEVEL3 Compile, Load, start RTM and Run Set “enable_flg” to 1 in watch window. Tune-up the PI Observe dq-axis current regulations at PI inputs (i.e., reference and feedback). For example, “pid1_iq.pid_ref_reg3” and “pid1_iq.pid_fdb_reg3”. Try to change motor speed by setting “speed_ref” (p.u.) in watch window . Then, observe dq-axis current regulations. P I D out ref fdb

Build Level 4 – Encoder verification TMS320F28x controller vas* vbs* Inv. Park Space Vector Gen. PWM Driver Ta Tb Tc Voltage Source Inverter PMSM ia ib Ileg2_ Bus ADCIN1 ADCIN2 ADCIN3 ibs Clarke ias QEP_A dir vqs* vds* PI rmp_out Theta_elec iqs Encoder QEP_B QEP_inc qm PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 ids Iq_ref Id_ref Ramp Gen. Speed_ref control QEP THETA DRV

Instructions: Build Level 4 In build.h, #define BUILDLEVEL LEVEL4 Compile, Load, start RTM and Run Set the DC-bus to 24 Volts 1 Amp Set “enable_flg” to 1 in watch window.

Results: Build Level 4 Emulated angle VS sensed angle

Results: Build Level 4 Speed reference VS real speed

Build Level 5 – close speed loop PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 Ta iqs* vqs* vas* Voltage Source Inverter PI Inv. Park Space Vector Gen. PI Tb PWM Driver ids* vds* vds* vbs* Tc PI qlr Ileg2_ Bus Driver ADCIN1 ids ias ias Park Clarke ADCIN2 iqs ibs ibs ADCIN3 Encoder SPEED FRQ PMSM QEP_A wr QEP THETA DRV qe QEP_B dir QEP_inc TMS320F28x controller

Instructions: Build Level 5 In build.h, #define BUILDLEVEL LEVEL5 Compile, Load, start RTM and Run Set the DC-bus to 24 Volts Set “enable_flg” to 1 in watch window.

Results: Build Level 5 Fastest response time with the closed loop!

Application of PMSM 3-1: img GmbH Nordhausen