15-Servo Drive System With Simulink and Simplorer PDF
15-Servo Drive System With Simulink and Simplorer PDF
15-Servo Drive System With Simulink and Simplorer PDF
Control System
(Analog, Digital, DSP, FPGA etc.)
AC/DC DC/AC
Supply
Power
DC Servo
Converter/ Converter/
Link Motor
Rectifier Inverter
Mechanical
Load
SIMPLORER Modeling Capabilities
ar al
AC/DC DC/AC
Supply
Power
br ic
Electric
DCCircuits Servo
Li han
Converter/ Converter/
y
Link
VHDL-AMS Inverter Motor
Rectifier
ec
M
Mechanical
Load
Electrical Machine Modeling
tY GAIN NEG GAIN
NEG NPG
Alternative 2:
Alternative 1: A_phase_p torque
A_phase_m
RMxprt and/or
SIMPLORER C_phase_p
B_phase_p Maxwell
Built-In Machine B_phase_m generated
Models
theta
Models
Vector Control
EQU
phiold:=phi
Phase Transformation
phi:=phiold + omel.VAL * h Using SIMPLORER
cosphi:=cos(phi) Equation Block
sinphi:=sin(phi) t Y
GAIN NEG GAIN
ut unact unactn
0.191 0.2
unctrlp
5
id:=ialpha * cosphi + ibeta * sinphi t Y
GAIN GAIN I LIMIT
unrefxy unrefx
iq:=ibeta * cosphi - ialpha * sinphi unref
1 unerr
unctrli
6k
0 10 -10
uiqref
uiqrefl
10 -10
ON/OFF Signal
Lower IGBT
ON/OFF Signal
tb>=tonb and tb>=tonmin or tb>=tonmax
Upper IGBT
Current Time
From Controller Parameters
Phase B
Overall Model
tY
GAIN NEG GAIN
tonmax := tp - tonmin
ExtVal_uiarefuiarefl uiactrli uiactrll
ialpha:=twothird * am_ma.I - onethird * (am_mb.I + am_mc.I) phiold := 0
tb>=tonb and tb>=tonmin or tb>=tonmax uiaref 9 -9 uiaerr 0.6k uiactrl 10 -10
ibeta:=sqrt3third * (am_mb.I - am_mc.I) 0 10 -10 NEG
phi := 0
id:=ialpha * cosphi + ibeta * sinphi
tc>=tp sqrt3 := sqrt(3) uiactrln LIMIT
iq:=ibeta * cosphi - ialpha * sinphi
GAIN GAIN NEG GAIN
sqrt3third := sqrt3 / 3
NEG uicctrll
vcnta:=vcnt.VAL * sin(phi) twothird := 2 / 3 ib uibact uibactn uibctrlp uicctrl 10 -10
STEP: tc:=tc+h SET: tc:=0 vcntb:=vcnt.VAL * sin(phi - 2.0944) onethird := 1 / 3 am_mb.I 4.2 uibctrln
0.153
SET: itrcn:=1 STEP: tc:=tc + h vcntc:=vcnt.VAL * sin(phi + 2.0944)
uidref := 0 GAIN LIMIT I LIMIT
SET: itrcp:=0 SET: itrcn:=0
tona:=tphalf * (kctrl * uiactrll.VAL + 1) ExtVal_uibrefuibrefl uibctrli uibctrll
SET: itrcp:=1
tonb:=tphalf * (kctrl * uibctrll.VAL + 1) uibref 9 -9 uiberr 0.6k uibctrl 10 -10
tonc:=tphalf * (kctrl * uicctrll.VAL + 1) 0 10 -10
Simulink
Controls, Systems
SIMPLORER
Electrical, Mechanical, Hydraulic, Electrical Machines, Solenoids, Sensors
Implementation
Control System
(Analog, Digital, DSP, FPGA etc.)
AC/DC IC/AC
Supply
Power
DC Servo
Converter/ Converter/
Link Motor
Rectifier Inverter
Mechanical
Load
Modified SIMPLORER Model
et_a
GND
et_b
IAP IBP ICP Simulink Link Block
et_c
C1
10m and Linkage Dialog
ta>=tp
A A A
am_ma am_mb am_mc
SET: ta:=0
STEP: := ta:=ta + h STEP: ta:=ta + h
SET: := itran:=1 SET: itran:=0 ICA: r_ma r_mb r_mc
SET: := itrap:=0
SET: itrap:=1 kctrl := .1 0.198 0.198 0.198
fp := 2.5k
tp := 1 / fp
ta>=tona and ta>=tonmin or ta>=tonmax tphalf := tp / 2 l_ma l_mb l_mc
2.7m 2.7m 2.7m
tb>=tp tonmin := 30u
tonmax := tp - tonmin
tc>=tp uibctrll
uicctrll am_ma.I
STEP: tc:=tc+h
SET: := itrcn:=1
SET: := tc:=0
STEP: := tc:=tc + h
vcnta
vcntb
SiM2SiM
SIMPLORER Link Interface
am_mb.I
am_mc.I
SET: := itrcp:=0 SET: := itrcn:=0 vcntc SiM2SiM
SET: := itrcp:=1 unref
unact
Speed Controller
Linkage
Dialog