16.10.2012 Views

System Optimization of Motor Resolver including Drive Circuitry and ...

System Optimization of Motor Resolver including Drive Circuitry and ...

System Optimization of Motor Resolver including Drive Circuitry and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Initialization<br />

EQU<br />

Input_AC_Mag := 1<br />

Input_AC_Freq:=12k<br />

Conductor_Ratio:=0.1<br />

Number_<strong>of</strong>_Rotor_Poles :=2<br />

Rotor_Speed :=100<br />

Rotor_Position := Rotor_Speed *(360/60) * t<br />

Tend := 45/(Rotor_Speed*(360/60))<br />

Hmin := 1/Input_AC_Freq/100<br />

Hmax := Hmin<br />

994.27m<br />

1.00<br />

-1.00<br />

0<br />

-1.00<br />

0<br />

1.00<br />

0<br />

-1.00<br />

1.00<br />

0<br />

-1.00<br />

2DGraphSel1<br />

Excitation<br />

EQU<br />

<strong>Resolver</strong> <strong>and</strong> RDC Model<br />

Vin := Input_AC_Mag * sin(2*PI*Input_AC_Freq*t)<br />

<strong>Resolver</strong>_Outpu<br />

EQU<br />

74.00m 74.50m 75.00m<br />

2DGraphSel1<br />

74.00m 74.50m<br />

75.00m<br />

2DGraphSel1<br />

74.00m 74.50m<br />

75.00m<br />

2DGraphSel1<br />

74.00m 74.50m<br />

75.00m<br />

Vout_sin := Conductor_Ratio * sin(Number_<strong>of</strong>_Rotor_Poles*Rotor_Position*(PI/180))*Vin<br />

Vout_cos := Conductor_Ratio * cos(Number_<strong>of</strong>_Rotor_Poles*Rotor_Position*(PI/180))*Vin<br />

<strong>Resolver</strong><br />

Vin<br />

VM1....<br />

Vin<br />

Vo_s...<br />

VM1....<br />

Vin<br />

Vin_ref<br />

100.00m<br />

0<br />

-100.00m<br />

100.00m<br />

45.20<br />

20.00<br />

0<br />

0<br />

-100.00m<br />

1.10<br />

500.00m<br />

-100.00m<br />

2DGraphSel1 Vout_sin<br />

Vout_cos<br />

0 25.00m 50.00m 75.00m<br />

2DGraphSel1<br />

0 25.00m 50.00m 75.00m<br />

2DGraphSel1<br />

Rotor_Position<br />

Position_out_final<br />

0 25.00m 50.00m 75.00m<br />

2DGraphSel1<br />

74.00m 74.50m 75.00m<br />

Us1....<br />

Us.V ...<br />

Pulse_pos<br />

GZ1.VAL<br />

<strong>Resolver</strong> <strong>and</strong> RDC Behavial Model<br />

Us1<br />

Uc1<br />

TRANS1<br />

TRC Vin >= 0<br />

STATE2<br />

SET: Vin_ref:=-1<br />

FML_INIT1<br />

ICA:<br />

Vin_ref:=0<br />

Vo_square:=0<br />

TRANS7<br />

Phase Shift<br />

+<br />

Magnitude Match<br />

R2<br />

V VM2<br />

C1<br />

+<br />

+<br />

+<br />

OPV52<br />

OPV53<br />

-<br />

R1<br />

OPV51<br />

-<br />

R4<br />

-<br />

R7<br />

R3<br />

STATE1<br />

SET: Vin_ref:=1<br />

TRANS2<br />

TRC Vin < 0<br />

Position<br />

EQU<br />

R5<br />

Pulse_pos:=abs(Vin_ref+Vo_square)/2<br />

Position_out:=0<br />

Position_out_temp:=0<br />

STATE7<br />

SET: t1:=t<br />

TRC (GZ1.VAL > 0) AND (Pulse_pos =0)<br />

STATE8<br />

SET: t2:=t<br />

SET: t3:=t2-t1<br />

TRANS8<br />

SET: Position_out :=Input_AC_Freq*t3*180<br />

R6<br />

WAIT<br />

TRC (GZ1.VAL < 1) AND (Pulse_pos = 1)<br />

TRANS3<br />

TRC VM1.V >= 0<br />

STATE4<br />

SET: Vo_square:=-1<br />

FML_INIT2<br />

ICA:<br />

t1:=0<br />

t2:=0<br />

R8<br />

Delay<br />

GZ1<br />

NEW_MAX<br />

STATE3<br />

+<br />

V VM1<br />

SET: Vo_square:=1<br />

TRANS4<br />

TRC VM1.V < 0<br />

ICA:<br />

Position_out_final:=0<br />

TRC Position_out>Position_out_final<br />

STATE5<br />

TRANS5<br />

SET: Position_out_final:=Position_out<br />

Classical RDC (<strong>Resolver</strong>-to-Digital Convertor<br />

True

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!