00000-A
Agenda
PMSM vector control
First-Order Effects
z Motor parameters
z Back EMF,
z Reluctance and Cogging torque
Second-Order Effects
z
z
z
z
Third-Order Effects
z Fixed point vs. floating point calculations
z MCU/DSP architecture
Q&A
Stator Windings
Stator
Rotor
Parameter
Value
Motor Pole
Phase
Voltage
130 V
Current
1.5 A
Power
1/5 hp
Speed
2500 rpm
Inductance
27 mh
Stator Resistor
5.1 ohm
Hall sensors
Vector Control
Current loop is inside, speed loop is outside
Sensorless control has flux and position observer
r*
Commanded speed *
iq
r
id = 0
*
Observed
actual
speed
Inverse
Park transform
*
Uq
iq
Ud
,
T 1 ( )
Inverse
Clarke transform
U
id
Park transform
iq
Clarke transform
ia
id
T ( )
Current loop
r
Speed loop
ib
First-Order Effects
Category
Speed (rpm)
2500
81
Rated Voltage
130V
Motor HP
1/5
51
38
9.2
24
0.0115
42
Length XH (inch)
4.06
Weight (lbs)
Product Type
34B3BEBL
Accessory Shaft
NO
Connection Diagram
BLDC Connection
11
Second-Order Effects
12
13
4010
4010
4008
4008
4006
4006
4004
Speed in RPM
Speed in RPM
4004
4002
4000
3998
3996
4000
3998
3996
3994
3994
3992
3992
3990
3990
0
10
20
30
40
50
60
70
14
4002
80
20
40
60
80
100
120
140
15
Current
ON
A+
A+
Current
ON
A+
Current
A-
ON
A-
16
A-
ON
A-
17
18
19
20
8000
6000
4000
Sine value
2000
40
79
118
157
196
235
274
313
352
-2000
-6000
-8000
angle
-10000
F = 50Hz
U-V current
Magnitude
Bus Voltage
Maximum Line-to-line
Voltage is 86% of Vbus
-1
W
-2
0
10
20
30
40
50
time (ms)
21
The modified sine modulation has new PWM values which recover the lost
phase to phase voltage
The current value per phase can now achieve the desired maximum value
sin +1/6sin3
PWM @20kHz,
F = 50Hz
U-V current
Magnitude
-1
-2
0
10
20
30
time (ms)
22
40
50
Third-Order Effects
23
a-axis
iw
Id
b-axis
Iq
d-axis
iv
a-axis
b-axis
Clarke Transformation
i 1 2
i =
3
0
q-axis
1 i
a
2 i
3 b
i
2 c
Park Transformation
I d cos
I =
q sin
sin i
cos i
24
r*
Commanded speed *
iq
r
Speed Regulator
id = 0
*
Observed
actual
speed
iq
id
Inverse
Inverse
Park transform
Clarke transform
*
Uq
*
iq PI
U
d,q
,
Regulator
to
id PI
Regulator
Ud
,
T 1 ( )
to
a, b, c
Voltage
Source
3-phase
Inverter
SIN
PWM
Clarke transform
ia
,
to
d,q
id
PWM1~6
Motor Model
Based Flux and
Position Observer
Park transform
iq
DC Bus
T ( )
a,b,c
to
ib
Current loop
3-phase
PMSM
Speed Estimation
Speed loop
Parameter
Fixed-Point
Floating point
Ratio
Comments
40
26
0.65
13816
7597
0.55
25
Processor utilization and computational performance are third-order effects that can
impact control loop response/performance and ability to perform other tasks
z
26
27
Wait state penalty due to slow flash is another third-order effect that impedes
processor performance
This can be mitigated by selecting a processor that has zero wait states up to the max
CPU clock
28
The designer typically wants to have an automatic triggering of A/D conversion start
relative to some point within the PWM timing cycle
Having an advanced timer set with double buffering allows for asymmetric PWM and
flexibility to set A/D conversion start trigger anywhere on the PWM timing cycle
This is especially advantageous when implementing single-shunt sensorless vector
control
Interrupt skipping capability can allow designer to set up current loop interrupt at a
fixed multiple of the PWM frequency to help reduce CPU utilization
Summary
Renesas motor control team has shared our experiences
within the engineering community
A summary of first-, second- and third-order effects has
been presented
z First-order effects are system-level effects all designers must
satisfy in order to have properly functioning motor control
system
z Second-order effects are pronounced in high-performance
motor control implementations such as vector control
z Identifying and mitigating third-order effects results in a more
optimized and robust design
The RX62T and RX62N DSC are very well suited for dealing
with second- and third-order effects
29
Jeff Shoemaker
Jeffrey.Shoemaker@Renesas.com
Thank you
30