Beruflich Dokumente
Kultur Dokumente
Class Objectives
O
What electric motors are, and how they operate How to select the best motor for your application based on the characteristics, and features of the most common electric motor types How to control these electric motors, and the resources available to assist you
1253 IMC
Slide
Agenda
O O
DC Brush Motor DC Brushless Motor Permanent Magnet Synchronous Motor AC Induction Stepper Motor Switched Reluctance Motor
Slide
1253 IMC
Slide
What is a Motor?
A Motor Converts Electrical Energy to Mechanical
F=IxB
2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
Slide
S F I F
1253 IMC
Slide
Motor Torque
Torque production
1253 IMC
Slide
Motor Torque
Summary
O
F=IxB T=(IxB)*D When B and D are constant T = K * I A When field is wound B = K * I F In wound DC motors Torque and Flux B can be controlled independently
1253 IMC
Slide
Motor Torque
F D B N B S I F F
2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
T=F x D
B
Slide 9
1253 IMC
Slide
10
Motor Classification
1253 IMC
Slide
11
Topics of Discussion:
O O O
O O O
DC Brush Motor DC Brushless Motor Permanent Magnet Synchronous Motor AC Induction Motor Stepper Motor Switched Reluctance Motor
1253 IMC
Slide
12
DC Brush Motor
O
Operating Principle:
O O O O
Rotor/Armature comprised of wire wound conductive laminates Stator has permanent magnets (or wound field) Commutation is performed through mechanical Stator contact (brushes) Synchronous, internal commutation Good controllability Permanent O On/Off, Proportional Magnet Linear torque/current curve Speed proportionate to voltage applied Requires maintenance Low overloading capability Windings Low heat dissipation
Brushes
Characteristics:
O O O O O O
Rotor
1253 IMC
Slide
13
DC Brush Motor
O
Application examples:
O O O O O O O O
Permanent Laminate Brushes Wipers Magnet Core Door locks Window lifts Antenna retractor Stator Windings Commutator Seat adjust Anti-lock Braking System Cordless hand drill Electric lawnmower
1253 IMC
Slide
14
DC Brushless Motor
O
Stator
Operating Principle:
O O O O
Permanent Magnet
Rotor comprised of permanent magnets Stator has windings Commutation is performed electronically Operates as an inside-out DC motor No sparks -> safer in explosive environments Cleaner, faster, more efficient Less noisy, more reliable Linear current/torque relationship -> smoother acceleration Good overloading capability
Windings Rotor
Characteristics:
O O O O O
1253 IMC
Slide
15
DC Brushless Motor
O
Application examples:
O O O O O
Anti-lock Braking System Disk Drive Servo Throttle control Fuel pump Rotor magnets Oil pump
Hall sensors
Stator winding
Bearings
2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
Slide
16
Windings
Rotor
Windings
1253 IMC
Rotor
Slide 17
Brushed DC Motor Brushed commutation Periodic maintenance is required Shorter Moderately flat - At higher speeds, brush friction increases, thus reducing useful torque Moderate Moderate/Low - The heat produced by the armature is dissipated in the air gap, thus increasing the temperature in the air gap and limiting specs on the output power/frame size Higher rotor inertia which limits the dynamic characteristics Lower - Mechanical limitations be the brushes
Arcs in the brushes will generate noise causing EMI in the equipment nearby Moderate - Due to increases in steel & copper. ( with wound field stator)
Slide 18
Stator
Operating Principle:
O O O O
Magnet
Rotor comprised of permanent magnets Stator has windings Commutation is performed electronically Sinusoidal Back EMF No sparks -> safer in explosive environments Windings Cleaner, faster, more efficient Less noisy, more reliable High Efficiency & Reliability Designed for high-performance Servo Applications Runs with/without Position Encoders More compact, efficient and lighter than ACIM Coupled with FOC control produces optimal torque Smooth low and high speed performance Low Audible Noise & EMI
1253 IMC
Characteristics:
O O O O O O O O O O
Rotor
Slide
19
PMSM Applications
O O O O O O
Air Conditioner & Refrigerator (AC) compressors Direct-drive washing machines Automotive Electrical power steering Machining Tools Stator windings Traction control Data Storage
Hall sensors
1253 IMC
Slide
20
PMSM Construction
O
O O O O
PMSM is an AC synchronous motor whose field excitation is provided by PMs Similar to the BLDC but BEMF is sinusoidal The Back EMF ideally contains no harmonics Leads to a reduction in audible noise Better efficiency
1253 IMC
Slide
21
AC Induction Motor
O
Operating Principle:
O O O O
Reverse of an alternator (generator) Rotor and stator carry alternating current Constructed in either 1- to 3- phase Asynchronous motor
Characteristics:
O O O O O
Low Cost to manufacture Simple, low-cost design for fixed-speed applications Lower efficiency than other motor types Speed proportionate to line frequency (50 or 60 Hz) Complex control for variable speed and torque
1253 IMC
Slide
22
ACIM Applications
O O
O O O O O
Larger horsepower motors Air Conditioner & Refrigerator compressors AC Induction motor 90% White good machines Bearings Squirrel Cage Pumps Rotor Blowers Automation Power Tools
Stator windings
1253 IMC
Other motors
Slide
23
BLDC/PMSM Motors
Flat - Enables operation at all speeds with rated load High - Since it has permanent magnets on the rotor, smaller size can be achieved for a given output power. Low - Better dynamic characteristics Rated - No special starter circuit required
AC Induction Motors
Nonlinear - Lower torque at lower speeds
Output Power/ Frame Size Rotor Inertia Starting Current Control Requirements
Moderate - Since both stator and rotor have windings, the output power to size is lower than BLDC High - Poor dynamic characteristics Approximately up to seven times rated - Starter circuit rating should be carefully selected. Normally uses a Star-Delta starter No Controller is required for fixed speed; a controller is required for variable speed
A controller is always required to keep the motor running. The same controller can be used for variable speed control
Slip
The rotor runs at a lower frequency than the stator by slip frequency and slip increases with the load on the motor
1253 IMC
Slide
24
Stepper Motor
Permanent Magnets N/S Poles
Stator
Operating Principle:
O
Rotor consists of permanent magnets with many poles Stator has two pairs of windings. Easy to position moves in steps based on pulses supplied to the stator windings Direction of rotation is changed by reversing the pulse sequence Speed control is by the frequency of pulses or pulse rate
1253 IMC
Characteristics:
O
Windings Rotor
Slide
25
Stepper Motor
O
Application examples:
O O O O O O O O
Idle speed adjust Exhaust gas re-circulation Duct airflow vanes Rotor magnets Mirror control Telescopes Antennas Bearings Toys Stator windings Many others!
1253 IMC
Slide
26
Operating Principle:
O O O O
No permanent magnets Rotor consists of iron laminates Stator similar to brushless DC motor Torque produced as a result of attraction between electromagnet and iron rotor Motor construction is simple and cheap Needs MCU control to reduce torque ripple and audible noise
1253 IMC
Rotor
Characteristics:
O
Windings
Slide
27
Application examples:
O O O O O O O O O
Fuel pump Throttle control Oil pump ABS Vacuum cleaner Lawnmower Windings Washing machine Automatic Doors in buildings and vehicles Fans
Rotor
1253 IMC
Slide
28
1253 IMC
Motor Drives
2008 Microchip Technology Incorporated. All Rights Reserved. Class Title Slide 29
Motor Drives
O O O O
Direct on line starter Relay Drive Thyristor drive Motor Soft Starter Electronic speed control
O O O
1253 IMC
Slide
30
1253 IMC
Slide
31
Motors oversized
O
1253 IMC
Slide
32
Many applications (fan, pumps) follow affinity law 20% reduction in speed ~ 50% reduction in power Application specific V/f curves Torque and slip control Noise control Reduced starting current Protection against supply disturbances Reduced Volume and Weight ie: Lower Price Fault detection and display Networked solution Standards compatible product
1253 IMC
Better performance
O O O
Other benefits
O O O O
Slide
33
Constant Torque
O
Mixers, screw feeders, extruders and positive displacement pumps High torque is required at low speed Low torque at high speed Machine tools, tractions Low torque is required at a low speed Higher torque at high speed Centrifugal loads such as fans, pumps and blowers Most energy savings from variable frequency drive
Constant Power
O O O
Variable Torque
O O O O
1253 IMC
Slide
34
Slide
35
MOSFET Driver
SMPS
PIC Microcontroller
Motor
Feedback Devices
Computer
1253 IMC
Slide
36
1253 IMC
Slide
37
1253 IMC
Slide
38
1253 IMC
Motor Control Algorithms
2008 Microchip Technology Incorporated. All Rights Reserved. Class Title Slide 39
Brush DC Motor
1253 IMC
Slide
40
DC Motor
O O O
Red is North Polarization Blue is South Polarization Opposite Polarities attract Rotor will rotate until North is aligned with South Just before alignment commutator contacts and energizes next winding Spark is generated when the commutator changes windings
1253 IMC
Slide
41
Desired Speed +-
Speed Error
Voltage
PID
Motor
Measured Speed
Speed Calculation
1253 IMC
Slide
42
O O
CCP, ECCP, MCPWM, SR Latch 10 Bit High Speed ADC Internal Comparator Internal TMRs
1253 IMC
Slide
43
O O
CCP, ECCP, MCPWM, SR Latch 10 Bit High Speed ADC Internal Comparator Internal TMRs
1253 IMC
Slide
44
O O O O
ECCP, MCPWM 10 Bit High Speed ADC Internal Comparator Change Notification Quaduature Encoder Internal TMRs
1253 IMC
Slide
45
Open Loop
Position Control?
No Yes
Torque Control?
No
External Logic
Yes
Yes
QEI Module
1253 IMC
Slide
46
The DC Motor Control Tips n Tricks document has lots of information about driving brush DC motors.
1253 IMC
Slide
47
Brushless DC Motor
1253 IMC
Slide
48
What is Commutation?
O O
Revolving Electrical Field Generation This Rotating Field is synchronized to the rotor magnet to generate torque Continuous Torque generation keeps the motor moving
1253 IMC
Slide
49
Commutation six steps per electrical rev. Phase currents rectangular Less processing power required Produces more Torque than PMSM Creates more torque ripple
O
Slide
50
Q1 Q4
Q2
R
Q3
G B
Q5
Q6
Blue Winding
+TORQUE FIRING Sector Hall State
Q3,Q5 Q1,Q5 Q1,Q6 Q2,Q6 Q2,Q4 Q3,Q4 Q3,Q5 Q1,Q5 Q1,Q6
5 5
0 4
1 6
2 2
3 3
4 1
5 5
0 4
1 6
1253 IMC
Slide
51
R
com
101
110
N
com b
N
b
S S
001
B r com g
010 B G
011
1253 IMC
Slide
52
Brushless DC Drive
Desired PIC MCU or dsPIC DSC Features
O O O
O O O O
MCPWM Fault Shutdown 10 Bit High Speed ADC Internal Comparator Change Notification Quaduature Encoder Internal TMRs
1253 IMC
Slide
53
Slide
54
Sensorless BLDC
O O
FIR Filtering of the BEMF and or using Majority Detect can help with high-speed motors or motors with distorted BEMF signals
O O
ADC (or comparators) supports the sampling of the motor phase BEMF voltages
From the voltages, the CPU determines the rotor position and drives the motor control PWM module
Phase R
Phase B
Phase G
1253 IMC
Slide
55
Firmware Commutation 2 I/O Pins Any PIC MCU or Integrated Fan Controler
Sensored Analog Yes, Fault Shut Down Only Torque Control? Opamps Comparitors, I/O Interrupts Yes 3 Shunt Resistors with OpAmp Circuits, or 3 Hall Effect Transducers & ADC Comparators, High Speed ADC, Filters
No
No
1253 IMC
Slide
56
AN957
Sensored BLDC Motor Control Using dsPIC30F2010 This application note describes a BLDC application using hall effect sensors for motor position feedback. The application source code is written in C and optimized for the dsPIC30F2010 and other 28-pin dsPIC DSC variants.
AN901
Using the dsPIC30F for Sensorless BLDC Control This application note describes a sensorless BLDC control application using the BEMF detection method. The dsPIC DSC ADC is used to detect the BEMF voltage. The application is written in C language for a dsPIC30F6010 or a dsPIC30F6010A device. The source code has parameters to adjust the open loop startup sequence and also the closed loop operation of the motor. A GUI is available in the MPLAB IDE to help set the parameters. See GS005 for more information about the GUI.
AN992
Sensorless BLDC Code for 28-Pin dsPIC30F Devices For a version of this same application that is optimized for the 28-pin dsPIC30F2010 device, see AN992. This code would also work well with other 28-pin and 40-pin dsPIC30F motor control device variants.
AN1083
Sensorless BLDC Control With Back-EMF Filtering This application note uses the dsPIC to operate a 3-phase BLDC motor without position sensors. The application samples the BEMF signals using the high-speed ADC converter and uses DSP filtering to pre-process the signals. This filtering minimizes external components. This application is optimized for high speed motor operation.
AN1160
Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function This application note describes a sensorless BLDC motor control algorithm, implemented using the dsPIC Digital Signal Controller (DSC). The algorithm works by the use of a majority function for digitally filtering the back-Electromotive Force (BEMF). Each phase of the motor is filtered to determine when to commutate the motor drive voltages. This control technique excludes the need for discrete, low-pass filtering hardware and off-chip comparators.
Masters Class
1256 MCW
dsPIC Digital Signal Controllers (DSC) Motor Control Workshop This updated workshop class provides a detailed overview of BLDC motor theory and control algorithms. The class also provides an introduction to the dsPIC30F/33F architecture, and motor control peripherals, along with an in depth look at the newest Microchips sensorless BLDC Motor Control application (AN1160) and Motor Control Graphical User Interface.
1253 IMC
Slide
57
1253 IMC
Slide
58
Sine PWM
O O O O O
VSI output is Sine modulated PWM Motor acts as a low pass filter Motor integrates PWM voltage to produce sine current Output voltage is proportional to frequency, maintaining constant V/f Space Vector Modulation allows for 100% line to line modulation
1253 IMC
Slide
59
HALL B Green Winding HALL C Blue Winding Sine Phase Sector Hall States 0 5 5 60 0 4 120 1 6 180 2 2 240 3 3 300 4 1 5 5 0 60 0 4 120 1 6
Q1 Q4
Q2
R
Q3
G B
Q5
Q6
1253 IMC
Slide
60
V/F Sinusoidal drive produces smooth control at low speed but is inefficient at high speeds FOC provides smooth control at low speeds as well as efficient control at high speeds FOC provides the best of both worlds Field Weakening
O O O O
What happens when the Back EMF approaches the supply voltage? To enable more speed the rotor field must be weakened The stator d axis current is set to a negative value Torque reduces and speed increases with field weakening
1253 IMC
Slide
61
PMSM Operation
Without FOC
S
With FOC
S
S
N
S S
N
90
S
N N N
N N N
BEMF (V)
BEMF (V)
Current (I)
Current (I)
1253 IMC
Slide
62
101
com
N
com b G b
Blue Winding
001
B
Sg
com
011
Sine Phase
60 1 6
120 2 2
180 3 3
240 300 4 1 5 5
0 5 5
60 0 4
120 1 6
1253 IMC
Slide
63
PMSM Characteristics
Torque/Current Demagnetization limit VSI current/Torque limit
I vo VS e li ltag ne
1253 IMC
Slide
64
O O O O O
MCPWM Fault Shutdown 10 Bit High Speed ADC Internal Comparator Change Notification Quaduature Encoder Internal TMRs High Speed Math
1253 IMC
Slide
65
Top of the line dynamic torque response and efficiency and the lowest system cost motor control solution
ADC supports sampling the motor voltage and currents O DSP supports Clark and Park transformations transform and two PI loops controlling torque and flux O DSP supports speed and position PI loops as determined by an estimator motor model rotor position output O The outputs of the PI loops are transformed using Space Vector Modulation to drive the MCPWM outputs to the motor
1253 IMC
Slide
66
Slide
67
AC Induction Motor
1253 IMC
Slide
68
AC Induction Motor
O O O
Simple Control for Direct On Line or Thyrisistor drive Moderate control for Voltage/Frequency drive Field Oriented/Vector Control
O O O
Smooth control at low speeds Efficient control at high speeds Complex control for variable speed and torque
O O O
Must know rotor position (velocity) for slip and vector control Rotor position sensor is eliminated for sensorless vector control strategies Sensorless control does not work at low motor speeds
1253 IMC
Slide
69
ACIM Characteristics
,U o Torque Tmax
Voltage
Uo
Vrated
Field Weakening
max
Slide
70
O O O O O
MCPWM Fault Shutdown 10 Bit High Speed ADC Internal Comparator Change Notification Quaduature Encoder Internal TMRs High Speed Math
1253 IMC
Slide
71
Top of the line dynamic torque response and efficiency and the lowest system cost motor control solution
ADC supports sampling the motor voltage and currents O DSP supports Clark and Park transformations transform and two PI loops controlling torque and flux O DSP supports speed and position PI loops as determined by an estimator motor model rotor position output O The outputs of the PI loops are transformed using Space Vector Modulation to drive the MCPWM outputs to the motor
1253 IMC
Slide
72
1253 IMC
Slide
73
Slide
74
Slide
75
BLDC
BLDC/PMSM BLDC
PMSM
1253 IMC
MCU Requirements
Algorithm Type Relative Performance Relative Cost Sensing Requirements PIC18 MIPS dsPIC DSC MIPS dsPIC DSC resources ACIM Motors Volts/Frequency* Slip Limit (V/F) Slip Optimization Slip Frequency Control Vector Control* Sensorless Vector Control Low Low Low-Medium Medium High Medium-High Low Low LowMedium High High Medium None Speed (QEI) Speed (QEI) Bus Current (ADC) Speed (QEI) 2-Phase Currents (ADC) Speed (QEI) 2-Phase Currents (ADC) 2-Phase Currents (ADC) 3-Phase Voltages (ADC) BLDC Motors Commutation with Hall Effect Sensors Sensorless Commutation Sensorless Commutation optional
current or speed loops
3 4.5 7.5 10
2 3 5 6 9 25
3-Positions (Input Capture) Back EMF (with external comparators) Back EMF (ADC)
1.5-2 6 9
0.5 2 515***
10K Bytes FLASH 256 Bytes RAM
* dsPIC30F Application Notes or demo code available ** ACIM Sinewave tables stored in program Flash memory ***Depends on motor speed and A/D sampling speed 2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
Slide
77
Stepper Motor
1253 IMC
Slide
78
Full Step
Half Step
Microstep
1253 IMC
Slide
79
Microstepping
O
Divides a Full Step into sub-steps Limits noise Reduces anti-resonance problems Low step rates High step rates
1253 IMC
Maximum torque
O O
Slide
80
Slide
81
Microstepping Summary
O O O O O
Gradual current change from one winding to another Implemented using variable DC PWM Requires more processing power Code utilizes a LUT based on Sine function Significantly reduces anti-resonances
1253 IMC
Slide
83
O O O O
CCP, ECCP,MCPWM 10 Bit High Speed ADC Internal Comparator Change Notification Quaduature Encoder Internal TMRs
1253 IMC
Slide
84
No Full Stepping Micro-Stepping (Half-Stepping) 8 I/O Pins Any PIC MCU or dsPIC DSC
Yes
Yes
1253 IMC
Slide
85
Slide
86
1253 IMC
Slide
87
The PICDEM dsPIC33F MCLV development board (DM330021) is intended for low-voltage BLDC applications up to 48 Volts at 10 Amps. It provides a low-cost method for users to evaluate and develop motor control applications using dsPIC30F or dsPIC33F motor control products via a PIM or 28-pin SOIC socket. Serial interfaces include: RS232C, CAN, LIN and USB (for RTDM). Feedback support includes: Hall-Effect Sensors, Shaft Encoder and 3 shunt resistors.
2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
Slide
88
1253 IMC
Slide
89
1253 IMC
Slide
90
Summary
O
Today we covered:
O
The characteristics, features and, applications of the most popular electric motor types including:
O O O O O O
DC Brush Motor DC Brushless Motor Permanent Magnet Synchronous AC Induction Motor Stepper Motor Switched Reluctance Motor
Slide
91
Method
Add Power Factor Correction Incorporate Field-Oriented Control
Noise Reduction
Incorporate Sinusoidal Control Remove Expensive Sensors Integrate PFC + Motor Control
Cost Reduction
Integrate controller on motor Easily Migrate to other DSCs in Portfolio Remove Crystal
Improve Reliability
1253 IMC
Slide
92
Resources
For resources and information for motor-control applications,
visit Microchips Motor Control Design Center at: www.microchip.com/motor Microchip Application Notes for Motor-Control Applications:
Using the dsPIC30F for Sensorless BLDC Control Using the dsPIC30F for Vector Control of an ACIM Sensored BLDC Motor Control Using dsPIC30F2010 An Introduction to ACIM Control Using the dsPIC30F Using the dsPIC30F2010 for Sensorless BLDC Control Sinusoidal Control of PMSM Motors with dsPIC30F Sensorless FOC for PMSM using dsPIC Sensorless BLDC using BEMF IIR Filtering Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function Getting Started with the BLDC Motors and dsPIC30F Measuring Speed and Position with the QEI Module Driving ACIM with the dsPIC DSC MCPWM Module Using the dsPIC30F Sensorless Motor Tuning Interface
2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
AN901 AN908 AN957 AN984 AN992 AN1017 AN1078 AN1083 AN1160 GS001 GS002 GS004 GS005
Slide 93
Investigate applications by motor type Download a web seminar Sign up for a training class Get answers to technical questions
1253 IMC
Slide
94
References
O O O O O O
Fitzgerald, Kingley, Kusko, Electric Machinery, 1971, McGraw Hill R. Krishnan, Electric Motor Drives, 2001, Prentice Hall DC Motors, Speed Controls, and Servo Systems, 1980 Electrocraft Corporation Novotny, Lipo, Vector Control and Dynamics of AC Drives, 2003, Oxford Press Bose, Modern Power Electronics and AC Drives, 2002, Prentice Hall Hanselman, Duane C., Brushless PermanentMagnet Motor Design, 1994, McGraw-Hill
1253 IMC
Slide
95
1253 IMC
Slide
96
1253 IMC
Appendix
2008 Microchip Technology Incorporated. All Rights Reserved. Class Title Slide 97
1253 IMC
Motor Interface/Driver
2008 Microchip Technology Incorporated. All Rights Reserved. Class Title Slide 98
Position Sensing
1253 IMC
Slide
99
Resolver
O
360
Higher Resolution. 180 (i.e. 1024 Different States per Rev) 0 A/D Module + Processing Power Resolver Externally Mounted (More Sine Expensive) Provides Absolute position feedback Cosine
1253 IMC
Resolver Output
Slide
100
360 High Resolution. (i.e. 500 Interrupts 180 per Rev) Special QEI Module + Some 0 Math Optical Encoder Externally QEA Mounted (Expensive) QEB Useful for servo INDEX applications due to resolution
1253 IMC
Slide
101
Low Resolution (i.e. 30 Interrupts per Rev) Simple External Interrupt I/Os 1 to 3 Hall effect sensors (Less Expensive) Standard position sensing for low-cost applications
1253 IMC
Slide
102
QEI Module senses motor speed and position Three Input Quadrature Encoder
O O O
Rectifier
AN1 AN7 PWM3H PWM3L PWM2H PWM2L PWM1H PWM1L FLTA AN6 AN0 QEA QEB INDEX
BLDC Motor
O O O
3-ph Inverter
Fault
Incremental Encoder
1253 IMC
Slide
103
Reliability especially aerospace, military Physical space restrictions axial length Issues surrounding sealing of connections Applications where rotor runs flooded Manufacturability alignment and duty cycle tolerance Cost especially on low power systems
1253 IMC
Slide
104
What is BEMF?
O
L
BEMF
Motor
O O
When a DC motor spins, the PM rotor, moving past the stator coils induces a electrical potential in the coils called Back EMF BEMF is directly proportional to speed BEMF = RPM/Kv In order to sense BEMF we have to spin the motor
1253 IMC
Slide
105
1253 IMC
Slide
106
DC+ A
Back EMF B
O
2008 Microchip Technology Incorporated. All Rights Reserved. 1253 IMC
DC- C
Phase A and C are energized Inactive Phase B has induced Back EMF Normally the phase which is not energized, is monitored for Back EMF Important: Motor has to be spinning
Slide 107
1253 IMC
Slide
108
Comparator Module
O O O
O O O
Dual comparators with fast 20 ns response time Each comparator has 3 selectable inputs (Cx+, Cxand voltage reference) for its two pins Programmable voltage reference (16 stage resistor ladder network and dual voltage ranges) Programmable output polarity Optional output pin and interrupt on change Optional wake up from Sleep Mode
1253 IMC
Slide
109
Current Sensing
1253 IMC
Slide
110
1253 IMC
Slide
111
1253 IMC
Slide
112
1253 IMC
Slide
113
ADC Module
O O
O O O O
O O
Up to 16 analog inputs (up to 32 on dsPIC33E) 10-bit Resolution with < +1 LSB/ > -1 LSB DNL error (dsPIC30E) 10-bit/12-bit Resolution with < +1 LSB/ > -1 LSB DNL error (dsPIC33F/33E) Sample time - 154 nS 1 us conversion time (1.1 Msps) 10-bit mode 2 us conversion time (500 ksps) 12-bit mode 4 Sample and Hold circuits 10-bit mode (1 S&H in 12-bit mode) External VREF+ and VREFProgrammable sampling sequence
O O O
Rectifier
AN1 AN7 PWM3H PWM3L PWM2H PWM2L PWM1H PWM1L FLTA AN6 AN0 QEA QEB INDEX
BLDC Motor
3-ph Inverter
Fault
O O O
Multiple conversion trigger sources Selectable result formats Conversions in Sleep and Idle
Incremental Encoder
1253 IMC
Slide
114
1253 IMC
Slide
115
High Frequency Carrier Duty Cycle Varied Over Time to Generate a Lower Frequency Signal
+V
PWM1H PWM2H PWM3H
3 Phase BLDC
PWM1L
PWM2L
PWM3L
1253 IMC
Slide
116
Module drives motor O Up to Four PWM generators O Several options allow PWM to drive many circuit types
O O O
Rectifier
AN1 AN7 PWM3H PWM3L PWM2H PWM2L PWM1H PWM1L FLTA AN6 AN0 QEA QEB INDEX
BLDC Motor
3-ph Inverter
O High
frequency @ more bits = better control of motor operation O Fault detection for safe operation
2008 Microchip Technology Incorporated. All Rights Reserved.
Fault
Incremental Encoder
1253 IMC
Slide
117
Transistor Considerations
Vsupply
Winding
1253 IMC
Slide
118
Transistor Considerations
Vsupply
Winding
1253 IMC
Slide
119
Transistor Considerations
Vsupply
Winding
1253 IMC
Slide
120
Transistor Considerations
Vsupply
Winding
1253 IMC
Slide
121
Transistor Considerations
Vsupply
P-Channel
Winding
N-Channel
1253 IMC
Slide
122
Transistor Considerations
Vsupply
N-Channel
Winding
N-Channel
1253 IMC
Slide
123
Other Considerations
O
Current limiting required if driving the motor at higher than rated voltages
1253 IMC
Slide
124
N-Channel PLOSS = Irms * 2 * RDS-ON where: RDS-ON = drain-to-source on-state resistance Irms = drain-to-source rms current
N-Channel PLOSS = Iave * VCE-SAT Where: VCE-SAT = collector-to-emitter saturation voltage Iave = collector-to-emitter average current
1253 IMC
Slide
125
Gate Charge
on Rdrv V drv CGS off
VDS 0 VGS 0 Vth turn-on t1 t3 t2 Vpl VDR turn-off t3 t2 t1
The gate drive current must not only overcome the Ciss=Cgs+Cds, but also the energy injected into the gate from the Crss = Cds.
IG 0
PDRIVE - f SW Ciss(VDR) [ 2
Crss(VDS(t)- VDS(t-1)) 2 2
1253 IMC
Slide
126
MOSFET or IGBT
O
The selection of IGBTs with rated voltages below 600V is very small.
As the voltage rating of the MOSFET increases, so does the RDS-ON and size of the device. Above 1000V, the RDS-ON of the MOSFET can no longer compete with the saturated junction of the IGBT.
1253 IMC
Slide
127
Voltage rating of the device is de-rated to 80% of its value The maximum junction temperature of the device should not exceed 120C at maximum load and maximum ambient Minimize trace inductance going to the leads of the motor from the drive circuitry The current rating for the switching element must also be able to withstand short circuit and start-up conditions
1253 IMC
Slide
128
Minimizes turn-on and off times Provides power to keep the power switch on Provides reverse bias in order to ensure the switching device remains in the off-state Amplifies the control signal Provides protection from over current
O
O O
Provides a large current for initiating turn-on, then large gate voltage at low current levels for the duration of the turn-on period May provide electrical isolation where required May provide deadtime (blanking time)
1253 IMC
Slide
129
1253 IMC
Slide
130
Gate voltage must be 10 V to 15 V higher than the drain voltage The gate voltage must be controllable from the logic, which is normally referenced to ground The power absorbed by the gate drive circuitry should not significantly affect the overall efficiency
1253 IMC
Slide
131
Low voltage static losses (PD,q(LV)) are due to the quiescent currents from the low voltage supplies
O
(e.g., VDD, VCC and VSS). In a typical 15 V application these losses amount to approximately 3.5 mW at 25C and increase to approximately 5 mW at TJ = 125C
Low voltage dynamic losses (PD,SW(LV)) on the VCC supply are due to
O
Capacitor is charging or discharging through a resistor, half of the energy that goes into charging the capacitance is dissipated in the resistor Dynamic losses associated with the switching of the internal CMOS circuitry
O O
High voltage static losses (PD,Q(HV)) are mainly due to the leakage currents in the level shifting stage. High voltage switching losses (PD,SW(HV))
O O
Due to the level shifting circuit Due to the charging and discharging of the capacitance of the highside p-well
1253 IMC
Slide
132
1253 IMC
Slide
133
International Rectifier
IR22381Q /2277S/22771S/
2214SS/22141SS (IR21381Q /2177S/21771S/ 2114SS/21141SS STMicro-electronics L6205/6225/6206/ 6226/6207/ 6227/ 6208/6228/ 6235/6229
BLDC and ac motor drives 400-V ac 3-phase systems 600-V ac 3-phase systems Dual dc or bipolar stepper motors and BLDC motors
Zetex Semiconductors
Variable or fixed speed control of single-phase brushless dc fans, blowers and pumps
Miniature TSSOP20
1253 IMC
Slide
134
Optocouplers Drive
Slide
135
The DC Motor Control Tips n Tricks document has lots of information about driving brush DC motors. Measuring Speed and Position with the QEI Module Driving ACIM with the dsPIC DSC MCPWM Module
GS002 GS004
1253 IMC
Slide
136
1253 IMC
Slide
137
DC Brush DC Brushless PMSM AC induction Stepper Motor Switched Reluctance Timer Analog to Digital Converter Pulse Width Modulation
1253 IMC
Slide
138
Electricity Basics
O
AC is Alternating Current
O O O
Think of the wall socket It is how electricity is generated! Motor is a reverse of a generator! Think of a battery Armature is energized in a DC motor
1253 IMC
DC is Direct Current
O O
Slide
139
Motor Structure
O
Armature
O O O
Device that turns in a motor Sometimes called rotor Energized in a DC motor The outside case Energized in an AC motor
1253 IMC
Stator
O O
Slide
140
Commutator
O O
Only found in DC motors Permits generation of direct current in a rotating machine Application of force Think of turning a bolt
1253 IMC
Torque
O O
Slide
141
Poles
O
AC Induction motor
O O
Number of magnetic on poles stator winding See Synchronous speed Number of PM poles on the rotor Mechanical vs. Electrical revolutions Stronger magnetic field (torque) Poles do not determine speed
PMS Motor
O O
Brush DC Motor
O O
1253 IMC
Slide
142
Torque Ripple
O O
Variation in torque (Commutation) Expressed as a percentage of torque Rotor unable keep up with stator field Caused by load
Slip
O O
1253 IMC
Slide
143
Field Weakening
O
O O
Decrease strength of the magnetic field Increases motor speed Decreases torque
1253 IMC
Slide
144
Inverter
O O
Electronic device Converts fixed frequency and fixed voltages to variable frequency and voltage Electronic speed control of an AC motor
1253 IMC
Slide
145
Speed of the rotating magnetic field in stator winding Rotor moves with the rotating stator field Speed = 120 * freq Poles
1253 IMC
Slide
146
O O
Rotor moves with the rotating stator field Six Steps per Rotor pole pair Electrical RPS = Mechanical RPS Rotor Pole Pairs
1253 IMC
Slide
147
Dynamometer
O O
1253 IMC
Slide
148
O O
No feedback basic control suitable for systems with simple loads such as fans Timer based solution May have current sense for overload / stall conditions Position / speed feedback from sensor(s) Used for accurate speed and control
1253 IMC
Slide
149
With Sensor
O
Hall Effect, Resolvers, Quadrature Encoders Measures the current flowing in the motor
O O
Measure back EMF for motors with magnets Measure inductance (L) in switched reluctance motors
1253 IMC
Slide
150
Slide
151
Trademarks
The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KeeLoq, KeeLoq logo, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, PICDEM.net, PICtail, PIC32 logo, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. 2008, Microchip Technology Incorporated. All Rights Reserved.
1253 IMC
Slide
152