Professional Documents
Culture Documents
Eduardo Viramontes
Applications Engineer
TM
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
Agenda
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Anatomy
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Anatomy
Brushed DC Rotor
Commutator
Stator
The
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Fundamentals
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Fundamentals
N
+ _
S
+ _
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Fundamentals
N
+ _
S
+ _
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Fundamentals
S N S
_ +
N
_ +
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Motor Fundamentals
N N S
+ _
S
+ _
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
Induction
Sinusoidal
Brushless
SR
Stepper
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
10
Brushed DC Motors
Rotation due to electromagnetic force Continues rotation with multiple coils Undesirable effects due to friction and current reversing
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
11
Induction
Sinusoidal
Brushless
Reluctance
SR
Stepper
Robots Traction Control Servo Systems Hard Drives Fans Sewing Machines Treadmills Industrial Machines
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
12
Easier to cool
(Higher specific outputs)
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
13
Brushed DC motor
Brushed commutation Periodic maintenance is required Shorter Moderately Flat. Higher speeds produces higher friction and this reduces torque. Lower Mechanical limitations by the brushes Lower Simple A controller is required only when variable speed is desired
BLDC Motor
Electronic commutation based on Hall position sensors Less required due to absence of brushless Longer Flat Higher No mechanical limitation Higher Permanent magnets Complex and expensive A controller is always required
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
14
Induction
Sinusoidal
Brushless
Reluctance
SR
Stepper
Washing Machines Vacuum Cleaners Machine tools Food Processors Fans Small Appliances
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
15
Switched Reluctance
Both The
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
16
Induction
Sinusoidal
Brushless
Reluctance
SR
Stepper
Cruise Control Air Vents Medical Scanners Gauges Office Equipment Printers Instrumentation
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
17
Stepper Motor
These
takes four complete cycles of the control system to rotate motor through one cycle. This is because the Rotor has 4 poles
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
18
Induction
Sinusoidal
Brushless
Reluctance
SR
Stepper
Permanent Magnet Surface PM Interior PM Wound Field Get name from sinusoidial windings
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
19
Both motors have identical construction. The difference is in stator winding only. The BLDC has distributed stator winding in order to have trapezoidal Back-EMF. The PMSM motor has distributed stator winding in order to have sinusoidal Back-EMF.
Phase B Phase B Phase C Phase C
Phase A Phase A
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
20
Induction
Sinusoidal
Brushless
Reluctance
SR
Stepper
Large Appliances HVAC Blowers Fan Pumps Industrial Controls Lifts Inverters
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
21
Induction Machines
Invented over a century ago by Nikola Tesla
Stator same as BLDC Difference in rotor construction If properly controlled Provides constant torque Low torque ripple
No permanent magnets Think of it as a rotating transformer. Stator is the primary Rotor is the secondary Rotor current is induced from stator current
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
22
Indu ced
Torque
curr ent
The motor torque is generated by an interaction between the stator magnetic field and induced rotor magnetic field
NO BRUSHES, NO PERMANENT MAGNETS
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
23
Induction
Sinusoidal
Brushless
Reluctance
SR
Stepper
Permanent Magnet Surface PM Interior PM Wound Field Unpractical for large motors yet practical in small sizes
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
24
Reluctance
If
the rotating field of a motor is de-energized, it will still develop 10 or 15% of synchronous torque slots are cut into the conductor-less rotor of an induction motor, corresponding to the stator slots, a synchronous reluctance motor results like an induction motor but runs with a small amount of synchronous torque
If
Starts
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
25
TM
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
27
A
A C
B C
Star connection
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
28
+ -
A B B
Delta connection
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
29
H3 B A H2 C B H1
N N
C S A
H1 H2 H3 1 0 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
30
S
TM
3 pole pairs
H1
9 coils
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
31
H2
N
S
TM
H3
1 pole pairs
2 pole pairs
N
4 pole pairs
S
N N
H3
H1 B A H2 C A B H3 S C
H3 B A H2 C B H1
N N
A S H2 B
C N
C S A
H1
H1 H2 H3 1 0 1
H1 H2 H3 1 0 1
H1 H2 H3 1 0 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
32
TM
1 pole pair
H3 A
2 pole pairs
B H1
4 pole pairs
B H3
H2
H2
H2
N
C A H3
H1 H2 H3 1 0 1
H1 H1 H2 H3 1 0 1
H1 H2 H3 1 0 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
33
N
S S
A
N
H1
TM
Voltage applied on two phases only It creates 6 flux vectors Phases are power based on rotor position The process is called commutation
Phases voltage
Power Stage
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
34
Before commutation
After commutation
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
35
Controller
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
36
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
37
of commutation table
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
38
iSb
All three phases are powered by sinewave shifted by 120
iS
iSa iSc
We are able to generate stator field to any position over 360
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
39
Sinusoidal control
More complex PWM generation (sinewave has to be generated) Smooth torque (stator flux rotates fluently) Very quiet Requires sensor with high resolution
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
40
effect sensor is a transducer that varies its output voltage in response to changes in magnetic field Hall sensors are used for proximity switching, positioning, speed detection and current sensing applications In this case, hall sensors are used in On/Off mode
Hall Sensor Everytime a magnetic field is sensed, a change in voltage can be detected Permanent Magnet
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
41
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
42
Lab1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
43
6.
Jumper J13 APMOTOR board
7. 8
LED array
3
2. BDM
1
3.
BLDC Motor
1. Power
Supply (9V DC)
J13
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
44
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
45
3. Click next
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
46
1. Select AC16DaugherCard.h
3. Click next
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
47
Processor Expert
1. Click next
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
48
C Options
1. Click next
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
49
PC-Lint Options
1. Click Finish
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
50
1. Click On Make
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
51
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
52
It is important to know the rotor position in order to maintain the rotating magnetic field
_ +
B-C
_ +
C-A
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
53
3-Phase Inverter
Vb
Q1
Q2
Q3 A B C
With the 3-phase inverter, you can control which phases need to be fed in order to turn the motor
Q4
Q5
Q6
0v
Q1, Q2 and Q3 is where the current goes in the motor and Q4, Q5 and Q6 is where the current goes out of the motor
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
54
A
N S
B C
C B
BLDC Motor
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
55
B C
C B
BLDC Motor
H1 1 1 1 0 0 0
H2 0 0 1 1 1 0
H3 1 0 0 0 1 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
56
B C
C B
BLDC Motor
H1 1 1 1 0 0 0
H2 0 0 1 1 1 0
H3 1 0 0 0 1 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
57
C A B
BLDC Motor
H1 1 1 1 0 0 0
H2 0 0 1 1 1 0
H3 1 0 0 0 1 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
58
C B
BLDC Motor
H1 1 1 1 0 0 0
H2 0 0 1 1 1 0
H3 1 0 0 0 1 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
59
C B
BLDC Motor
H1 1 1 1 0 0 0
H2 0 0 1 1 1 0
H3 1 0 0 0 1 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
60
H1 1 1 1 0 0 0
H2 0 0 1 1 1 0
H3 1 0 0 0 1 1
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
61
Lab 1
Make a program that On/Off transistors
TO DO:
Enable
Switch1 to enable commutations Enable 3-Phase Inverter LEDs will still reflect HALL Effect sensors Each time Switch1 is pressed, we will advance one step in the commutation table Commutation table will tell us which transistors to turn on When Switch1 is not pressed, turn OFF transistors
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
62
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
63
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
64
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
65
TURNOFFTRANSISTORS();
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
66
4. Click On Run
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
67
Lab2
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
68
Lab 2
Make a program that On/Off transistors
TO DO: Enable Switch5 to enable commutations Check Hall Effect sensors to evaluate which commutation state motor is in When Hall Effect sensors changes state, transistors will commutate
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
69
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
70
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
71
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
72
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
73
4. Click On Run
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
74
Sensorless Sensing
Sensors
are expensive and take up space Several techniques can be used to determine the motor position/speed without an external device These techniques are based on the electrical characteristics of motors, mainly on their inductance characteristics:
Based
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
75
BEMF
-
BEMF is just an acronym for Back Electromagnetic Force Back electromagnetic force is a fancy term for the generator characteristics of a motor As has been shown not all phases of the motor are on at the same time BEMF voltage can be measured on the inactive phases of the motor The characteristics of the voltage curve generated by BEMF can tell the position/speed of the motor The method that will be exposed is the zero crossing method. When BEMF voltage equals zero, the motor is in a specific position By measuring the zero crosses against time, the speed of the motor can be determined
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
76
Phase A
Phase B
Phase C
A CH4
0V
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
77
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
78
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
79
Udcbus
Rshunt
HB1
A
Idcbus
V0
HB2
BLDC Motor
HB3
C
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
80
+ + C
V0
HB2
+ HB3 + C
+ HB3 + -
HB3
UDCB reference
GND reference
Virtual CP reference
Udcbus
BLDC
Rshunt Idcbus
B
V0
HB2
HB1
HB3
BLDC Motor
V0
HB2
+ -
HB1 + -
Udcb + -
HB1
HB2
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
81
Virtual CP reference
HB1 ADC1 ADC2 ADC3 ADC4
C
UDCB reference
HB1
A B
V0
V0
HB2
HB2
HB2
ADC3
HB3
HB3
ADC1
Udcb
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
82
Application Details
ADC
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
83
30
60
90
120
150
180
210
240
270
300
330
360
- visible Back-EMF
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
84
Lab3
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
85
Application
PH A,B,C 3-phase inverter DC current sensing
3
Diagram
BLDC motor
APMOTOR board
3 outputs
9 Vdc
3 inputs
BDM
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
86
Peripheral Utilization
Timer 1
6 channels: PWM modulation for BLDC motor (complementary bipolar)
Timer 2
Time base for commutation period measurement Channel 0: commutation Channel 1: timing of application
A/D Converter
DC bus current, phase voltages (zero-cross detection)
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
87
PI Control
Proportional
Control
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
88
PI Control
Integral
Control
Ads long-term precision Takes longer to settle, but provides better precision Deals with past behavior
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
89
PI controller on AC MCU
This is the control Algorithm inplemented In AC16 MCU for Motor control
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
90
Generation
TIMER
PWM0: switching (duty cycle (50 - 100%) + dead time), negative polarity (TMP1CxSC:ELSnB =x,TMP1CxSC:ELSnA =1) PWM1: switching (duty cycle (50 - 100%) - dead time), positive polarity (TMP1CxSC:ELSnB =1,TMP1CxSC:ELSnA =0) PWM2: switching (duty cycle (50 - 100%) - dead time), positive polarity (TMP1CxSC:ELSnB =1,TMP1CxSC:ELSnA =0) PWM3: switching (duty cycle (50 - 100%) + dead time), negative polarity (TMP1CxSC:ELSnB =x,TMP1CxSC:ELSnA =1) PWM4: OFF PWM5: OFF
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
91
Dead Time
Q1
Q1
Q4
Q4
a) Center aligned PWM, Q1 and Q4 change in the same instant, it can short circuit between Vb and GND
b) Center aligned PWM, Q1 and Q4 triggered with different PWM duty cycle avoiding that both transistors turn on at the same time.
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
92
Application Details
ADC
Measurement
DC bus current, Back-EMF voltage Single result register only 3.5 us conversion time ADC measurement has to be synchronized with PWM
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
93
Application Details
ADC
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
94
Application Details
ADC
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
95
96
FlexTimer advantages
Supports up to 8 channels which can be synchronized in pairs for complementary signal generation. Dead time insertion supported by software. FTM can trigger ADC conversions automatically. Fault input supported by hardware (automatically turns of PWM pin outputs). Synchronized reloading of PWM duty cycle from several sources (ADC, analog comparator, software). Polarity for PWM output can be configured. Edge and center alligned PWM generation.
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
97
No CPU load generated to make dead time insertion. To configure simply enable dead time insertion bit and configure the number of timer counts of dead time, the rest is done by timer module.
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
98
ADC Synchronization
Reduces CPU load by saving time needed to start conversions (to detect zero-crossings or instantaneous current. When doing back-EMF sensing measurements need to be made in certain timing windows. If measurements are always taken at the same times, control algorithm is more precise.
Timer Channel ISR t1 1 ADC conversion ADC Channel ISR t3 1 Process ADC data Manual start of ADC conversion t2
Timer Channel ISR Automatic start of ADC conversion t1 ADC conversion ADC Channel ISR t3 Process ADC data
Without hardware T = t1 + t2 + t3
trigger
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
99
Title
Motor Control Part 1 Fundamentals and Freescale Solutions Motor Control Part 2 Solutions for Large Appliances and HVAC Motor Control Part 3 Solutions for Small Appliances and Health Care Applications
Demo Title
Large Appliance Demo 3-Phase PMSM Vector Control demo with Encoder Air Hockey Demonstration featuring the Flexis AC Products
Freescale Semiconductor Proprietary Information. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008.
TM
100
TM