Fixed bug

PI controller integrator is now working correctly.
This commit is contained in:
EmanuelFeru
2020-10-20 17:47:32 +02:00
parent f0b1c85465
commit d5b1086d2e
297 changed files with 172052 additions and 137537 deletions
File diff suppressed because it is too large Load Diff
+304 -289
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'BLDC_controller'.
*
* Model version : 1.1284
* Model version : 1.1296
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
* C/C++ source code generated on : Sun Oct 11 21:38:56 2020
* C/C++ source code generated on : Tue Oct 20 17:29:57 2020
*
* Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex
@@ -30,167 +30,174 @@
/* Forward declaration for rtModel */
typedef struct tag_RTM RT_MODEL;
/* Block signals and states (auto storage) for system '<S12>/Counter' */
/* Block signals and states (auto storage) for system '<S13>/Counter' */
typedef struct {
int16_T UnitDelay_DSTATE; /* '<S17>/UnitDelay' */
int16_T UnitDelay_DSTATE; /* '<S18>/UnitDelay' */
} DW_Counter;
/* Block signals and states (auto storage) for system '<S57>/PI_clamp_fixdt' */
/* Block signals and states (auto storage) for system '<S50>/Low_Pass_Filter' */
typedef struct {
int32_T ResettableDelay_DSTATE; /* '<S71>/Resettable Delay' */
uint8_T icLoad; /* '<S71>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE; /* '<S68>/UnitDelay1' */
} DW_PI_clamp_fixdt;
/* Block signals and states (auto storage) for system '<S55>/PI_clamp_fixdt' */
typedef struct {
int32_T ResettableDelay_DSTATE; /* '<S61>/Resettable Delay' */
uint8_T icLoad; /* '<S61>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE; /* '<S59>/UnitDelay1' */
} DW_PI_clamp_fixdt_i;
/* Block signals and states (auto storage) for system '<S56>/PI_clamp_fixdt' */
typedef struct {
int16_T ResettableDelay_DSTATE; /* '<S66>/Resettable Delay' */
uint8_T icLoad; /* '<S66>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE; /* '<S63>/UnitDelay1' */
} DW_PI_clamp_fixdt_e;
/* Block signals and states (auto storage) for system '<S43>/Low_Pass_Filter' */
typedef struct {
int32_T UnitDelay1_DSTATE[2]; /* '<S53>/UnitDelay1' */
int32_T UnitDelay1_DSTATE[2]; /* '<S56>/UnitDelay1' */
} DW_Low_Pass_Filter;
/* Block signals and states (auto storage) for system '<S76>/I_backCalc_fixdt' */
/* Block signals and states (auto storage) for system '<S25>/Counter' */
typedef struct {
int32_T UnitDelay_DSTATE; /* '<S81>/UnitDelay' */
int32_T UnitDelay_DSTATE_h; /* '<S83>/UnitDelay' */
} DW_I_backCalc_fixdt;
uint16_T UnitDelay_DSTATE; /* '<S30>/UnitDelay' */
} DW_Counter_b;
/* Block signals and states (auto storage) for system '<S23>/Counter' */
/* Block signals and states (auto storage) for system '<S21>/either_edge' */
typedef struct {
uint16_T UnitDelay_DSTATE; /* '<S28>/UnitDelay' */
} DW_Counter_l;
/* Block signals and states (auto storage) for system '<S19>/either_edge' */
typedef struct {
boolean_T UnitDelay_DSTATE; /* '<S24>/UnitDelay' */
boolean_T UnitDelay_DSTATE; /* '<S26>/UnitDelay' */
} DW_either_edge;
/* Block signals and states (auto storage) for system '<S3>/Debounce_Filter' */
/* Block signals and states (auto storage) for system '<S20>/Debounce_Filter' */
typedef struct {
DW_either_edge either_edge_k; /* '<S19>/either_edge' */
DW_Counter_l Counter_h; /* '<S22>/Counter' */
DW_Counter_l Counter_i0; /* '<S23>/Counter' */
boolean_T UnitDelay_DSTATE; /* '<S19>/UnitDelay' */
DW_either_edge either_edge_p; /* '<S21>/either_edge' */
DW_Counter_b Counter_e; /* '<S24>/Counter' */
DW_Counter_b Counter_n1; /* '<S25>/Counter' */
boolean_T UnitDelay_DSTATE; /* '<S21>/UnitDelay' */
} DW_Debounce_Filter;
/* Block signals and states (auto storage) for system '<S83>/I_backCalc_fixdt' */
typedef struct {
int32_T UnitDelay_DSTATE; /* '<S88>/UnitDelay' */
int32_T UnitDelay_DSTATE_m; /* '<S90>/UnitDelay' */
} DW_I_backCalc_fixdt;
/* Block signals and states (auto storage) for system '<S63>/PI_clamp_fixdt' */
typedef struct {
int32_T ResettableDelay_DSTATE; /* '<S77>/Resettable Delay' */
uint8_T icLoad; /* '<S77>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE; /* '<S74>/UnitDelay1' */
} DW_PI_clamp_fixdt;
/* Block signals and states (auto storage) for system '<S61>/PI_clamp_fixdt' */
typedef struct {
int32_T ResettableDelay_DSTATE; /* '<S67>/Resettable Delay' */
uint8_T icLoad; /* '<S67>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE; /* '<S65>/UnitDelay1' */
} DW_PI_clamp_fixdt_m;
/* Block signals and states (auto storage) for system '<S62>/PI_clamp_fixdt' */
typedef struct {
int16_T ResettableDelay_DSTATE; /* '<S72>/Resettable Delay' */
uint8_T icLoad; /* '<S72>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE; /* '<S69>/UnitDelay1' */
} DW_PI_clamp_fixdt_g;
/* Block signals and states (auto storage) for system '<Root>' */
typedef struct {
DW_either_edge either_edge_a; /* '<S3>/either_edge' */
DW_Debounce_Filter Debounce_Filter_f;/* '<S3>/Debounce_Filter' */
DW_I_backCalc_fixdt I_backCalc_fixdt_g;/* '<S75>/I_backCalc_fixdt' */
DW_I_backCalc_fixdt I_backCalc_fixdt1;/* '<S76>/I_backCalc_fixdt1' */
DW_I_backCalc_fixdt I_backCalc_fixdt_i;/* '<S76>/I_backCalc_fixdt' */
DW_Low_Pass_Filter Low_Pass_Filter_m;/* '<S43>/Low_Pass_Filter' */
DW_PI_clamp_fixdt_e PI_clamp_fixdt_at;/* '<S56>/PI_clamp_fixdt' */
DW_PI_clamp_fixdt_i PI_clamp_fixdt_oc;/* '<S55>/PI_clamp_fixdt' */
DW_PI_clamp_fixdt PI_clamp_fixdt_k; /* '<S57>/PI_clamp_fixdt' */
DW_Counter Counter_e; /* '<S12>/Counter' */
int32_T Divide1; /* '<S74>/Divide1' */
int32_T UnitDelay_DSTATE; /* '<S38>/UnitDelay' */
int16_T Gain4[3]; /* '<S45>/Gain4' */
int16_T DataTypeConversion[2]; /* '<S53>/Data Type Conversion' */
int16_T z_counterRawPrev; /* '<S16>/z_counterRawPrev' */
int16_T Merge1; /* '<S31>/Merge1' */
int16_T Divide3; /* '<S5>/Divide3' */
int16_T Vd_max1; /* '<S47>/Vd_max1' */
int16_T Gain3; /* '<S47>/Gain3' */
int16_T Vq_max_M1; /* '<S47>/Vq_max_M1' */
int16_T Gain5; /* '<S47>/Gain5' */
int16_T i_max; /* '<S47>/i_max' */
int16_T Divide1_a; /* '<S47>/Divide1' */
int16_T Gain1; /* '<S47>/Gain1' */
int16_T Gain4_c; /* '<S47>/Gain4' */
int16_T Switch2; /* '<S80>/Switch2' */
int16_T Switch2_l; /* '<S86>/Switch2' */
int16_T Switch2_c; /* '<S84>/Switch2' */
int16_T Merge; /* '<S44>/Merge' */
int16_T Switch1; /* '<S72>/Switch1' */
int16_T Divide11; /* '<S16>/Divide11' */
int16_T UnitDelay3_DSTATE; /* '<S12>/UnitDelay3' */
int16_T UnitDelay4_DSTATE; /* '<S16>/UnitDelay4' */
int16_T UnitDelay2_DSTATE; /* '<S16>/UnitDelay2' */
int16_T UnitDelay3_DSTATE_o; /* '<S16>/UnitDelay3' */
int16_T UnitDelay5_DSTATE; /* '<S16>/UnitDelay5' */
int16_T UnitDelay4_DSTATE_e; /* '<S12>/UnitDelay4' */
int16_T UnitDelay4_DSTATE_eu; /* '<S7>/UnitDelay4' */
int16_T UnitDelay4_DSTATE_h; /* '<S6>/UnitDelay4' */
int8_T Switch2_e; /* '<S11>/Switch2' */
int8_T UnitDelay2_DSTATE_b; /* '<S11>/UnitDelay2' */
int8_T If4_ActiveSubsystem; /* '<S1>/If4' */
int8_T If1_ActiveSubsystem; /* '<S1>/If1' */
int8_T If2_ActiveSubsystem; /* '<S31>/If2' */
int8_T If2_ActiveSubsystem_a; /* '<S6>/If2' */
int8_T If1_ActiveSubsystem_e; /* '<S6>/If1' */
int8_T SwitchCase_ActiveSubsystem; /* '<S44>/Switch Case' */
uint8_T z_ctrlMod; /* '<S4>/F03_02_Control_Mode_Manager' */
uint8_T UnitDelay3_DSTATE_fy; /* '<S9>/UnitDelay3' */
uint8_T UnitDelay1_DSTATE; /* '<S9>/UnitDelay1' */
uint8_T UnitDelay2_DSTATE_f; /* '<S9>/UnitDelay2' */
uint8_T is_active_c1_BLDC_controller;/* '<S4>/F03_02_Control_Mode_Manager' */
uint8_T is_c1_BLDC_controller; /* '<S4>/F03_02_Control_Mode_Manager' */
uint8_T is_ACTIVE; /* '<S4>/F03_02_Control_Mode_Manager' */
boolean_T Merge_n; /* '<S19>/Merge' */
boolean_T dz_cntTrnsDet; /* '<S16>/dz_cntTrnsDet' */
boolean_T UnitDelay2_DSTATE_g; /* '<S8>/UnitDelay2' */
boolean_T UnitDelay5_DSTATE_l; /* '<S8>/UnitDelay5' */
boolean_T UnitDelay6_DSTATE; /* '<S8>/UnitDelay6' */
boolean_T UnitDelay_DSTATE_b; /* '<S37>/UnitDelay' */
boolean_T UnitDelay1_DSTATE_n; /* '<S16>/UnitDelay1' */
boolean_T n_commDeacv_Mode; /* '<S12>/n_commDeacv' */
boolean_T dz_cntTrnsDet_Mode; /* '<S16>/dz_cntTrnsDet' */
DW_PI_clamp_fixdt_g PI_clamp_fixdt_kh;/* '<S62>/PI_clamp_fixdt' */
DW_PI_clamp_fixdt_m PI_clamp_fixdt_l4;/* '<S61>/PI_clamp_fixdt' */
DW_PI_clamp_fixdt PI_clamp_fixdt_i; /* '<S63>/PI_clamp_fixdt' */
DW_I_backCalc_fixdt I_backCalc_fixdt_j;/* '<S82>/I_backCalc_fixdt' */
DW_I_backCalc_fixdt I_backCalc_fixdt1;/* '<S83>/I_backCalc_fixdt1' */
DW_I_backCalc_fixdt I_backCalc_fixdt_i;/* '<S83>/I_backCalc_fixdt' */
DW_either_edge either_edge_i; /* '<S20>/either_edge' */
DW_Debounce_Filter Debounce_Filter_k;/* '<S20>/Debounce_Filter' */
DW_Low_Pass_Filter Low_Pass_Filter_m;/* '<S50>/Low_Pass_Filter' */
DW_Counter Counter_e; /* '<S13>/Counter' */
int32_T Divide1; /* '<S81>/Divide1' */
int32_T UnitDelay_DSTATE; /* '<S40>/UnitDelay' */
int16_T Gain4_e[3]; /* '<S57>/Gain4' */
int16_T DataTypeConversion[2]; /* '<S56>/Data Type Conversion' */
int16_T z_counterRawPrev; /* '<S17>/z_counterRawPrev' */
int16_T Merge; /* '<S59>/Merge' */
int16_T Switch1; /* '<S78>/Switch1' */
int16_T Vd_max1; /* '<S80>/Vd_max1' */
int16_T Gain3; /* '<S80>/Gain3' */
int16_T Vq_max_M1; /* '<S80>/Vq_max_M1' */
int16_T Gain5; /* '<S80>/Gain5' */
int16_T i_max; /* '<S80>/i_max' */
int16_T Divide1_n; /* '<S80>/Divide1' */
int16_T Gain1; /* '<S80>/Gain1' */
int16_T Gain4; /* '<S80>/Gain4' */
int16_T Switch2_i; /* '<S87>/Switch2' */
int16_T Switch2_o; /* '<S93>/Switch2' */
int16_T Switch2_a; /* '<S91>/Switch2' */
int16_T Divide3; /* '<S42>/Divide3' */
int16_T Merge1; /* '<S33>/Merge1' */
int16_T Abs1; /* '<S5>/Abs1' */
int16_T Abs5_h; /* '<S50>/Abs5' */
int16_T Divide11; /* '<S17>/Divide11' */
int16_T r_sin_M1; /* '<S52>/r_sin_M1' */
int16_T r_cos_M1; /* '<S52>/r_cos_M1' */
int16_T UnitDelay3_DSTATE; /* '<S13>/UnitDelay3' */
int16_T UnitDelay4_DSTATE; /* '<S17>/UnitDelay4' */
int16_T UnitDelay2_DSTATE; /* '<S17>/UnitDelay2' */
int16_T UnitDelay3_DSTATE_o; /* '<S17>/UnitDelay3' */
int16_T UnitDelay5_DSTATE; /* '<S17>/UnitDelay5' */
int16_T UnitDelay4_DSTATE_e; /* '<S13>/UnitDelay4' */
int16_T UnitDelay4_DSTATE_eu; /* '<S8>/UnitDelay4' */
int8_T Switch2_e; /* '<S12>/Switch2' */
int8_T UnitDelay2_DSTATE_b; /* '<S12>/UnitDelay2' */
int8_T If1_ActiveSubsystem; /* '<S7>/If1' */
int8_T If2_ActiveSubsystem; /* '<S7>/If2' */
int8_T If1_ActiveSubsystem_j; /* '<S47>/If1' */
int8_T SwitchCase_ActiveSubsystem; /* '<S59>/Switch Case' */
int8_T If1_ActiveSubsystem_a; /* '<S59>/If1' */
int8_T If1_ActiveSubsystem_o; /* '<S48>/If1' */
int8_T SwitchCase_ActiveSubsystem_d; /* '<S80>/Switch Case' */
int8_T If2_ActiveSubsystem_f; /* '<S33>/If2' */
int8_T If2_ActiveSubsystem_a; /* '<S45>/If2' */
uint8_T z_ctrlMod; /* '<S5>/F03_02_Control_Mode_Manager' */
uint8_T UnitDelay3_DSTATE_fy; /* '<S10>/UnitDelay3' */
uint8_T UnitDelay1_DSTATE; /* '<S10>/UnitDelay1' */
uint8_T UnitDelay2_DSTATE_f; /* '<S10>/UnitDelay2' */
uint8_T UnitDelay_DSTATE_e; /* '<S20>/UnitDelay' */
uint8_T is_active_c1_BLDC_controller;/* '<S5>/F03_02_Control_Mode_Manager' */
uint8_T is_c1_BLDC_controller; /* '<S5>/F03_02_Control_Mode_Manager' */
uint8_T is_ACTIVE; /* '<S5>/F03_02_Control_Mode_Manager' */
boolean_T Merge_p; /* '<S21>/Merge' */
boolean_T dz_cntTrnsDet; /* '<S17>/dz_cntTrnsDet' */
boolean_T UnitDelay2_DSTATE_c; /* '<S2>/UnitDelay2' */
boolean_T UnitDelay5_DSTATE_m; /* '<S2>/UnitDelay5' */
boolean_T UnitDelay6_DSTATE; /* '<S2>/UnitDelay6' */
boolean_T UnitDelay_DSTATE_b; /* '<S39>/UnitDelay' */
boolean_T UnitDelay1_DSTATE_n; /* '<S17>/UnitDelay1' */
boolean_T n_commDeacv_Mode; /* '<S13>/n_commDeacv' */
boolean_T dz_cntTrnsDet_Mode; /* '<S17>/dz_cntTrnsDet' */
} DW;
/* Constant parameters (auto storage) */
typedef struct {
/* Computed Parameter: r_sin3PhaA_M1_Table
* Referenced by: '<S89>/r_sin3PhaA_M1'
*/
int16_T r_sin3PhaA_M1_Table[181];
/* Computed Parameter: r_sin3PhaB_M1_Table
* Referenced by: '<S89>/r_sin3PhaB_M1'
*/
int16_T r_sin3PhaB_M1_Table[181];
/* Computed Parameter: r_sin3PhaC_M1_Table
* Referenced by: '<S89>/r_sin3PhaC_M1'
*/
int16_T r_sin3PhaC_M1_Table[181];
/* Computed Parameter: r_sin_M1_Table
* Referenced by: '<S49>/r_sin_M1'
* Referenced by: '<S52>/r_sin_M1'
*/
int16_T r_sin_M1_Table[181];
/* Computed Parameter: r_cos_M1_Table
* Referenced by: '<S49>/r_cos_M1'
* Referenced by: '<S52>/r_cos_M1'
*/
int16_T r_cos_M1_Table[181];
/* Computed Parameter: r_sin3PhaA_M1_Table
* Referenced by: '<S96>/r_sin3PhaA_M1'
*/
int16_T r_sin3PhaA_M1_Table[181];
/* Computed Parameter: r_sin3PhaB_M1_Table
* Referenced by: '<S96>/r_sin3PhaB_M1'
*/
int16_T r_sin3PhaB_M1_Table[181];
/* Computed Parameter: r_sin3PhaC_M1_Table
* Referenced by: '<S96>/r_sin3PhaC_M1'
*/
int16_T r_sin3PhaC_M1_Table[181];
/* Computed Parameter: iq_maxSca_M1_Table
* Referenced by: '<S47>/iq_maxSca_M1'
* Referenced by: '<S80>/iq_maxSca_M1'
*/
uint16_T iq_maxSca_M1_Table[50];
/* Computed Parameter: z_commutMap_M1_table
* Referenced by: '<S87>/z_commutMap_M1'
* Referenced by: '<S94>/z_commutMap_M1'
*/
int8_T z_commutMap_M1_table[18];
/* Computed Parameter: vec_hallToPos_Value
* Referenced by: '<S10>/vec_hallToPos'
* Referenced by: '<S11>/vec_hallToPos'
*/
int8_T vec_hallToPos_Value[8];
} ConstP;
@@ -224,145 +231,145 @@ typedef struct {
/* Parameters (auto storage) */
struct P_ {
int32_T dV_openRate; /* Variable: dV_openRate
* Referenced by: '<S35>/dV_openRate'
* Referenced by: '<S37>/dV_openRate'
*/
int16_T dz_cntTrnsDetHi; /* Variable: dz_cntTrnsDetHi
* Referenced by: '<S16>/dz_cntTrnsDet'
* Referenced by: '<S17>/dz_cntTrnsDet'
*/
int16_T dz_cntTrnsDetLo; /* Variable: dz_cntTrnsDetLo
* Referenced by: '<S16>/dz_cntTrnsDet'
* Referenced by: '<S17>/dz_cntTrnsDet'
*/
int16_T n_cruiseMotTgt; /* Variable: n_cruiseMotTgt
* Referenced by: '<S55>/n_cruiseMotTgt'
* Referenced by: '<S61>/n_cruiseMotTgt'
*/
int16_T z_maxCntRst; /* Variable: z_maxCntRst
* Referenced by:
* '<S12>/Counter'
* '<S12>/z_maxCntRst'
* '<S12>/z_maxCntRst2'
* '<S12>/UnitDelay3'
* '<S16>/z_counter'
* '<S13>/Counter'
* '<S13>/z_maxCntRst'
* '<S13>/z_maxCntRst2'
* '<S13>/UnitDelay3'
* '<S17>/z_counter'
*/
uint16_T cf_speedCoef; /* Variable: cf_speedCoef
* Referenced by: '<S16>/cf_speedCoef'
* Referenced by: '<S17>/cf_speedCoef'
*/
uint16_T t_errDequal; /* Variable: t_errDequal
* Referenced by: '<S3>/t_errDequal'
* Referenced by: '<S20>/t_errDequal'
*/
uint16_T t_errQual; /* Variable: t_errQual
* Referenced by: '<S3>/t_errQual'
* Referenced by: '<S20>/t_errQual'
*/
int16_T Vd_max; /* Variable: Vd_max
* Referenced by:
* '<S47>/Vd_max1'
* '<S34>/Vd_max'
* '<S36>/Vd_max'
* '<S80>/Vd_max1'
*/
int16_T Vq_max_M1[46]; /* Variable: Vq_max_M1
* Referenced by: '<S47>/Vq_max_M1'
* Referenced by: '<S80>/Vq_max_M1'
*/
int16_T Vq_max_XA[46]; /* Variable: Vq_max_XA
* Referenced by: '<S47>/Vq_max_XA'
* Referenced by: '<S80>/Vq_max_XA'
*/
int16_T a_phaAdvMax; /* Variable: a_phaAdvMax
* Referenced by: '<S5>/a_phaAdvMax'
* Referenced by: '<S42>/a_phaAdvMax'
*/
int16_T i_max; /* Variable: i_max
* Referenced by:
* '<S47>/i_max'
* '<S34>/i_max'
* '<S36>/i_max'
* '<S80>/i_max'
*/
int16_T id_fieldWeakMax; /* Variable: id_fieldWeakMax
* Referenced by: '<S5>/id_fieldWeakMax'
* Referenced by: '<S42>/id_fieldWeakMax'
*/
int16_T n_commAcvLo; /* Variable: n_commAcvLo
* Referenced by: '<S12>/n_commDeacv'
* Referenced by: '<S13>/n_commDeacv'
*/
int16_T n_commDeacvHi; /* Variable: n_commDeacvHi
* Referenced by: '<S12>/n_commDeacv'
* Referenced by: '<S13>/n_commDeacv'
*/
int16_T n_fieldWeakAuthHi; /* Variable: n_fieldWeakAuthHi
* Referenced by: '<S5>/n_fieldWeakAuthHi'
* Referenced by: '<S42>/n_fieldWeakAuthHi'
*/
int16_T n_fieldWeakAuthLo; /* Variable: n_fieldWeakAuthLo
* Referenced by: '<S5>/n_fieldWeakAuthLo'
* Referenced by: '<S42>/n_fieldWeakAuthLo'
*/
int16_T n_max; /* Variable: n_max
* Referenced by:
* '<S47>/n_max1'
* '<S34>/n_max'
* '<S36>/n_max'
* '<S80>/n_max1'
*/
int16_T n_stdStillDet; /* Variable: n_stdStillDet
* Referenced by: '<S12>/n_stdStillDet'
* Referenced by: '<S13>/n_stdStillDet'
*/
int16_T r_errInpTgtThres; /* Variable: r_errInpTgtThres
* Referenced by: '<S3>/r_errInpTgtThres'
* Referenced by: '<S20>/r_errInpTgtThres'
*/
int16_T r_fieldWeakHi; /* Variable: r_fieldWeakHi
* Referenced by: '<S5>/r_fieldWeakHi'
* Referenced by: '<S42>/r_fieldWeakHi'
*/
int16_T r_fieldWeakLo; /* Variable: r_fieldWeakLo
* Referenced by: '<S5>/r_fieldWeakLo'
* Referenced by: '<S42>/r_fieldWeakLo'
*/
uint16_T cf_KbLimProt; /* Variable: cf_KbLimProt
* Referenced by:
* '<S75>/cf_KbLimProt'
* '<S76>/cf_KbLimProt'
* '<S82>/cf_KbLimProt'
* '<S83>/cf_KbLimProt'
*/
uint16_T cf_idKp; /* Variable: cf_idKp
* Referenced by: '<S57>/cf_idKp1'
* Referenced by: '<S63>/cf_idKp1'
*/
uint16_T cf_iqKp; /* Variable: cf_iqKp
* Referenced by: '<S56>/cf_iqKp'
* Referenced by: '<S62>/cf_iqKp'
*/
uint16_T cf_nKp; /* Variable: cf_nKp
* Referenced by: '<S55>/cf_nKp'
* Referenced by: '<S61>/cf_nKp'
*/
uint16_T cf_currFilt; /* Variable: cf_currFilt
* Referenced by: '<S43>/cf_currFilt'
* Referenced by: '<S50>/cf_currFilt'
*/
uint16_T cf_idKi; /* Variable: cf_idKi
* Referenced by: '<S57>/cf_idKi1'
* Referenced by: '<S63>/cf_idKi1'
*/
uint16_T cf_iqKi; /* Variable: cf_iqKi
* Referenced by: '<S56>/cf_iqKi'
* Referenced by: '<S62>/cf_iqKi'
*/
uint16_T cf_iqKiLimProt; /* Variable: cf_iqKiLimProt
* Referenced by:
* '<S74>/cf_iqKiLimProt'
* '<S76>/cf_iqKiLimProt'
* '<S81>/cf_iqKiLimProt'
* '<S83>/cf_iqKiLimProt'
*/
uint16_T cf_nKi; /* Variable: cf_nKi
* Referenced by: '<S55>/cf_nKi'
* Referenced by: '<S61>/cf_nKi'
*/
uint16_T cf_nKiLimProt; /* Variable: cf_nKiLimProt
* Referenced by:
* '<S75>/cf_nKiLimProt'
* '<S76>/cf_nKiLimProt'
* '<S82>/cf_nKiLimProt'
* '<S83>/cf_nKiLimProt'
*/
uint8_T n_polePairs; /* Variable: n_polePairs
* Referenced by: '<S14>/n_polePairs'
* Referenced by: '<S15>/n_polePairs'
*/
uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel
* Referenced by: '<S1>/z_ctrlTypSel'
*/
uint8_T z_selPhaCurMeasABC; /* Variable: z_selPhaCurMeasABC
* Referenced by: '<S42>/z_selPhaCurMeasABC'
* Referenced by: '<S49>/z_selPhaCurMeasABC'
*/
boolean_T b_angleMeasEna; /* Variable: b_angleMeasEna
* Referenced by:
* '<S2>/b_angleMeasEna'
* '<S12>/b_angleMeasEna'
* '<S3>/b_angleMeasEna'
* '<S13>/b_angleMeasEna'
*/
boolean_T b_cruiseCtrlEna; /* Variable: b_cruiseCtrlEna
* Referenced by: '<S1>/b_cruiseCtrlEna'
*/
boolean_T b_diagEna; /* Variable: b_diagEna
* Referenced by: '<S1>/b_diagEna'
* Referenced by: '<S4>/b_diagEna'
*/
boolean_T b_fieldWeakEna; /* Variable: b_fieldWeakEna
* Referenced by:
* '<S1>/b_fieldWeakEna'
* '<S90>/b_fieldWeakEna'
* '<S6>/b_fieldWeakEna'
* '<S97>/b_fieldWeakEna'
*/
};
@@ -387,33 +394,34 @@ extern void BLDC_controller_step(RT_MODEL *const rtM);
/*-
* These blocks were eliminated from the model due to optimizations:
*
* Block '<S12>/Scope2' : Unused code path elimination
* Block '<S13>/Scope' : Unused code path elimination
* Block '<S39>/Data Type Duplicate' : Unused code path elimination
* Block '<S39>/Data Type Propagation' : Unused code path elimination
* Block '<S40>/Data Type Duplicate' : Unused code path elimination
* Block '<S40>/Data Type Propagation' : Unused code path elimination
* Block '<S13>/Scope2' : Unused code path elimination
* Block '<S14>/Scope' : Unused code path elimination
* Block '<S41>/Data Type Duplicate' : Unused code path elimination
* Block '<S41>/Data Type Propagation' : Unused code path elimination
* Block '<S64>/Data Type Duplicate' : Unused code path elimination
* Block '<S64>/Data Type Propagation' : Unused code path elimination
* Block '<S69>/Data Type Duplicate' : Unused code path elimination
* Block '<S69>/Data Type Propagation' : Unused code path elimination
* Block '<S73>/Data Type Duplicate' : Unused code path elimination
* Block '<S73>/Data Type Propagation' : Unused code path elimination
* Block '<S77>/Data Type Duplicate' : Unused code path elimination
* Block '<S77>/Data Type Propagation' : Unused code path elimination
* Block '<S80>/Data Type Duplicate' : Unused code path elimination
* Block '<S80>/Data Type Propagation' : Unused code path elimination
* Block '<S43>/Data Type Duplicate' : Unused code path elimination
* Block '<S43>/Data Type Propagation' : Unused code path elimination
* Block '<S44>/Data Type Duplicate' : Unused code path elimination
* Block '<S44>/Data Type Propagation' : Unused code path elimination
* Block '<S70>/Data Type Duplicate' : Unused code path elimination
* Block '<S70>/Data Type Propagation' : Unused code path elimination
* Block '<S75>/Data Type Duplicate' : Unused code path elimination
* Block '<S75>/Data Type Propagation' : Unused code path elimination
* Block '<S79>/Data Type Duplicate' : Unused code path elimination
* Block '<S79>/Data Type Propagation' : Unused code path elimination
* Block '<S84>/Data Type Duplicate' : Unused code path elimination
* Block '<S84>/Data Type Propagation' : Unused code path elimination
* Block '<S86>/Data Type Duplicate' : Unused code path elimination
* Block '<S86>/Data Type Propagation' : Unused code path elimination
* Block '<S6>/Scope12' : Unused code path elimination
* Block '<S6>/Scope8' : Unused code path elimination
* Block '<S90>/Scope' : Unused code path elimination
* Block '<S66>/Data Type Conversion1' : Eliminate redundant data type conversion
* Block '<S8>/Data Type Conversion' : Eliminate redundant data type conversion
* Block '<S87>/Data Type Duplicate' : Unused code path elimination
* Block '<S87>/Data Type Propagation' : Unused code path elimination
* Block '<S91>/Data Type Duplicate' : Unused code path elimination
* Block '<S91>/Data Type Propagation' : Unused code path elimination
* Block '<S93>/Data Type Duplicate' : Unused code path elimination
* Block '<S93>/Data Type Propagation' : Unused code path elimination
* Block '<S7>/Scope12' : Unused code path elimination
* Block '<S7>/Scope8' : Unused code path elimination
* Block '<S7>/toNegative' : Unused code path elimination
* Block '<S97>/Scope' : Unused code path elimination
* Block '<S2>/Data Type Conversion' : Eliminate redundant data type conversion
* Block '<S72>/Data Type Conversion1' : Eliminate redundant data type conversion
*/
/*-
@@ -435,96 +443,103 @@ extern void BLDC_controller_step(RT_MODEL *const rtM);
*
* '<Root>' : 'BLDCmotor_FOC_R2017b_fixdt'
* '<S1>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller'
* '<S2>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations'
* '<S3>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics'
* '<S4>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager'
* '<S5>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening'
* '<S6>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control'
* '<S7>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management'
* '<S8>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler'
* '<S9>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector'
* '<S10>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation'
* '<S11>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection'
* '<S12>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation'
* '<S13>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation'
* '<S14>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement'
* '<S15>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter'
* '<S16>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation'
* '<S17>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay'
* '<S18>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement/Modulo_fixdt'
* '<S19>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter'
* '<S20>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/either_edge'
* '<S21>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Default'
* '<S22>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification'
* '<S23>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification'
* '<S24>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/either_edge'
* '<S25>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter'
* '<S26>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter/rst_Delay'
* '<S27>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter'
* '<S28>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter/rst_Delay'
* '<S29>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_01_Mode_Transition_Calculation'
* '<S30>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager'
* '<S31>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis'
* '<S32>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type'
* '<S33>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode'
* '<S34>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type'
* '<S35>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode'
* '<S36>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter'
* '<S37>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init'
* '<S38>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1'
* '<S39>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic'
* '<S40>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic'
* '<S41>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic1'
* '<S42>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform'
* '<S43>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering'
* '<S44>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC'
* '<S45>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Clarke_Transform'
* '<S46>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Park_Transform'
* '<S47>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations'
* '<S48>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Park_Transform'
* '<S49>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Sine_Cosine_Approximation'
* '<S50>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAB'
* '<S51>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAC'
* '<S52>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesBC'
* '<S53>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering/Low_Pass_Filter'
* '<S54>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Open_Mode'
* '<S55>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode'
* '<S56>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode'
* '<S57>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation'
* '<S58>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode'
* '<S59>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt'
* '<S60>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Clamping_circuit'
* '<S61>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Integrator'
* '<S62>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Saturation_hit'
* '<S63>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt'
* '<S64>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/Saturation Dynamic1'
* '<S65>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Clamping_circuit'
* '<S66>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Integrator'
* '<S67>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Saturation_hit'
* '<S68>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt'
* '<S69>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/Saturation Dynamic'
* '<S70>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit'
* '<S71>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Integrator'
* '<S72>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Saturation_hit'
* '<S73>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode/Saturation Dynamic1'
* '<S74>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection'
* '<S75>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection'
* '<S76>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection'
* '<S77>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection/Saturation Dynamic'
* '<S78>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt'
* '<S79>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Integrator'
* '<S80>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1'
* '<S81>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt'
* '<S82>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1'
* '<S83>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator'
* '<S84>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1'
* '<S85>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator'
* '<S86>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1'
* '<S87>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/COM_Method'
* '<S88>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/FOC_Method'
* '<S89>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method'
* '<S90>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation'
* '<S91>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation/Modulo_fixdt'
* '<S2>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Call_Scheduler'
* '<S3>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations'
* '<S4>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics'
* '<S5>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager'
* '<S6>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening'
* '<S7>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control'
* '<S8>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management'
* '<S9>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler'
* '<S10>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector'
* '<S11>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation'
* '<S12>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection'
* '<S13>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation'
* '<S14>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation'
* '<S15>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement'
* '<S16>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter'
* '<S17>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation'
* '<S18>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay'
* '<S19>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement/Modulo_fixdt'
* '<S20>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled'
* '<S21>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter'
* '<S22>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/either_edge'
* '<S23>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Default'
* '<S24>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification'
* '<S25>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification'
* '<S26>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/either_edge'
* '<S27>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter'
* '<S28>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter/rst_Delay'
* '<S29>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter'
* '<S30>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter/rst_Delay'
* '<S31>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_01_Mode_Transition_Calculation'
* '<S32>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager'
* '<S33>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis'
* '<S34>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type'
* '<S35>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode'
* '<S36>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type'
* '<S37>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode'
* '<S38>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter'
* '<S39>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init'
* '<S40>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1'
* '<S41>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic'
* '<S42>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled'
* '<S43>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic'
* '<S44>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic1'
* '<S45>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward'
* '<S46>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse'
* '<S47>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC'
* '<S48>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations'
* '<S49>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform'
* '<S50>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering'
* '<S51>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Park_Transform'
* '<S52>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation'
* '<S53>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAB'
* '<S54>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAC'
* '<S55>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesBC'
* '<S56>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering/Low_Pass_Filter'
* '<S57>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Clarke_Transform'
* '<S58>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Park_Transform'
* '<S59>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled'
* '<S60>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Open_Mode'
* '<S61>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode'
* '<S62>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode'
* '<S63>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation'
* '<S64>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode'
* '<S65>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt'
* '<S66>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Clamping_circuit'
* '<S67>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Integrator'
* '<S68>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Saturation_hit'
* '<S69>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt'
* '<S70>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/Saturation Dynamic1'
* '<S71>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Clamping_circuit'
* '<S72>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Integrator'
* '<S73>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Saturation_hit'
* '<S74>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt'
* '<S75>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/Saturation Dynamic'
* '<S76>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit'
* '<S77>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Integrator'
* '<S78>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Saturation_hit'
* '<S79>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode/Saturation Dynamic1'
* '<S80>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled'
* '<S81>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection'
* '<S82>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection'
* '<S83>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection'
* '<S84>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection/Saturation Dynamic'
* '<S85>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt'
* '<S86>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Integrator'
* '<S87>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1'
* '<S88>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt'
* '<S89>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1'
* '<S90>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator'
* '<S91>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1'
* '<S92>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator'
* '<S93>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1'
* '<S94>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/COM_Method'
* '<S95>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/FOC_Method'
* '<S96>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method'
* '<S97>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation'
* '<S98>' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation/Modulo_fixdt'
*/
#endif /* RTW_HEADER_BLDC_controller_h_ */
+50 -50
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'BLDC_controller'.
*
* Model version : 1.1284
* Model version : 1.1296
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
* C/C++ source code generated on : Sun Oct 11 21:38:56 2020
* C/C++ source code generated on : Tue Oct 20 17:29:57 2020
*
* Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex
@@ -21,8 +21,50 @@
/* Constant parameters (auto storage) */
const ConstP rtConstP = {
/* Computed Parameter: r_sin_M1_Table
* Referenced by: '<S52>/r_sin_M1'
*/
{ 8192, 8682, 9162, 9630, 10087, 10531, 10963, 11381, 11786, 12176, 12551,
12911, 13255, 13583, 13894, 14189, 14466, 14726, 14968, 15191, 15396, 15582,
15749, 15897, 16026, 16135, 16225, 16294, 16344, 16374, 16384, 16374, 16344,
16294, 16225, 16135, 16026, 15897, 15749, 15582, 15396, 15191, 14968, 14726,
14466, 14189, 13894, 13583, 13255, 12911, 12551, 12176, 11786, 11381, 10963,
10531, 10087, 9630, 9162, 8682, 8192, 7692, 7182, 6664, 6138, 5604, 5063,
4516, 3964, 3406, 2845, 2280, 1713, 1143, 572, 0, -572, -1143, -1713, -2280,
-2845, -3406, -3964, -4516, -5063, -5604, -6138, -6664, -7182, -7692, -8192,
-8682, -9162, -9630, -10087, -10531, -10963, -11381, -11786, -12176, -12551,
-12911, -13255, -13583, -13894, -14189, -14466, -14726, -14968, -15191,
-15396, -15582, -15749, -15897, -16026, -16135, -16225, -16294, -16344,
-16374, -16384, -16374, -16344, -16294, -16225, -16135, -16026, -15897,
-15749, -15582, -15396, -15191, -14968, -14726, -14466, -14189, -13894,
-13583, -13255, -12911, -12551, -12176, -11786, -11381, -10963, -10531,
-10087, -9630, -9162, -8682, -8192, -7692, -7182, -6664, -6138, -5604, -5063,
-4516, -3964, -3406, -2845, -2280, -1713, -1143, -572, 0, 572, 1143, 1713,
2280, 2845, 3406, 3964, 4516, 5063, 5604, 6138, 6664, 7182, 7692, 8192 },
/* Computed Parameter: r_cos_M1_Table
* Referenced by: '<S52>/r_cos_M1'
*/
{ 14189, 13894, 13583, 13255, 12911, 12551, 12176, 11786, 11381, 10963, 10531,
10087, 9630, 9162, 8682, 8192, 7692, 7182, 6664, 6138, 5604, 5063, 4516,
3964, 3406, 2845, 2280, 1713, 1143, 572, 0, -572, -1143, -1713, -2280, -2845,
-3406, -3964, -4516, -5063, -5604, -6138, -6664, -7182, -7692, -8192, -8682,
-9162, -9630, -10087, -10531, -10963, -11381, -11786, -12176, -12551, -12911,
-13255, -13583, -13894, -14189, -14466, -14726, -14968, -15191, -15396,
-15582, -15749, -15897, -16026, -16135, -16225, -16294, -16344, -16374,
-16384, -16374, -16344, -16294, -16225, -16135, -16026, -15897, -15749,
-15582, -15396, -15191, -14968, -14726, -14466, -14189, -13894, -13583,
-13255, -12911, -12551, -12176, -11786, -11381, -10963, -10531, -10087,
-9630, -9162, -8682, -8192, -7692, -7182, -6664, -6138, -5604, -5063, -4516,
-3964, -3406, -2845, -2280, -1713, -1143, -572, 0, 572, 1143, 1713, 2280,
2845, 3406, 3964, 4516, 5063, 5604, 6138, 6664, 7182, 7692, 8192, 8682, 9162,
9630, 10087, 10531, 10963, 11381, 11786, 12176, 12551, 12911, 13255, 13583,
13894, 14189, 14466, 14726, 14968, 15191, 15396, 15582, 15749, 15897, 16026,
16135, 16225, 16294, 16344, 16374, 16384, 16374, 16344, 16294, 16225, 16135,
16026, 15897, 15749, 15582, 15396, 15191, 14968, 14726, 14466, 14189 },
/* Computed Parameter: r_sin3PhaA_M1_Table
* Referenced by: '<S89>/r_sin3PhaA_M1'
* Referenced by: '<S96>/r_sin3PhaA_M1'
*/
{ -13091, -13634, -14126, -14565, -14953, -15289, -15577, -15816, -16009,
-16159, -16269, -16340, -16377, -16383, -16362, -16317, -16253, -16172,
@@ -44,7 +86,7 @@ const ConstP rtConstP = {
-9623, -10411, -11154, -11849, -12496, -13091 },
/* Computed Parameter: r_sin3PhaB_M1_Table
* Referenced by: '<S89>/r_sin3PhaB_M1'
* Referenced by: '<S96>/r_sin3PhaB_M1'
*/
{ 15172, 15180, 15206, 15248, 15306, 15377, 15461, 15555, 15656, 15762, 15870,
15977, 16079, 16172, 16253, 16317, 16362, 16383, 16377, 16340, 16269, 16159,
@@ -66,7 +108,7 @@ const ConstP rtConstP = {
15377, 15306, 15248, 15206, 15180, 15172 },
/* Computed Parameter: r_sin3PhaC_M1_Table
* Referenced by: '<S89>/r_sin3PhaC_M1'
* Referenced by: '<S96>/r_sin3PhaC_M1'
*/
{ -13091, -12496, -11849, -11154, -10411, -9623, -8791, -7921, -7014, -6075,
-5107, -4115, -3104, -2077, -1041, 0, 1041, 2077, 3104, 4115, 5107, 6075,
@@ -87,50 +129,8 @@ const ConstP rtConstP = {
-16362, -16383, -16377, -16340, -16269, -16159, -16009, -15816, -15577,
-15289, -14953, -14565, -14126, -13634, -13091 },
/* Computed Parameter: r_sin_M1_Table
* Referenced by: '<S49>/r_sin_M1'
*/
{ 8192, 8682, 9162, 9630, 10087, 10531, 10963, 11381, 11786, 12176, 12551,
12911, 13255, 13583, 13894, 14189, 14466, 14726, 14968, 15191, 15396, 15582,
15749, 15897, 16026, 16135, 16225, 16294, 16344, 16374, 16384, 16374, 16344,
16294, 16225, 16135, 16026, 15897, 15749, 15582, 15396, 15191, 14968, 14726,
14466, 14189, 13894, 13583, 13255, 12911, 12551, 12176, 11786, 11381, 10963,
10531, 10087, 9630, 9162, 8682, 8192, 7692, 7182, 6664, 6138, 5604, 5063,
4516, 3964, 3406, 2845, 2280, 1713, 1143, 572, 0, -572, -1143, -1713, -2280,
-2845, -3406, -3964, -4516, -5063, -5604, -6138, -6664, -7182, -7692, -8192,
-8682, -9162, -9630, -10087, -10531, -10963, -11381, -11786, -12176, -12551,
-12911, -13255, -13583, -13894, -14189, -14466, -14726, -14968, -15191,
-15396, -15582, -15749, -15897, -16026, -16135, -16225, -16294, -16344,
-16374, -16384, -16374, -16344, -16294, -16225, -16135, -16026, -15897,
-15749, -15582, -15396, -15191, -14968, -14726, -14466, -14189, -13894,
-13583, -13255, -12911, -12551, -12176, -11786, -11381, -10963, -10531,
-10087, -9630, -9162, -8682, -8192, -7692, -7182, -6664, -6138, -5604, -5063,
-4516, -3964, -3406, -2845, -2280, -1713, -1143, -572, 0, 572, 1143, 1713,
2280, 2845, 3406, 3964, 4516, 5063, 5604, 6138, 6664, 7182, 7692, 8192 },
/* Computed Parameter: r_cos_M1_Table
* Referenced by: '<S49>/r_cos_M1'
*/
{ 14189, 13894, 13583, 13255, 12911, 12551, 12176, 11786, 11381, 10963, 10531,
10087, 9630, 9162, 8682, 8192, 7692, 7182, 6664, 6138, 5604, 5063, 4516,
3964, 3406, 2845, 2280, 1713, 1143, 572, 0, -572, -1143, -1713, -2280, -2845,
-3406, -3964, -4516, -5063, -5604, -6138, -6664, -7182, -7692, -8192, -8682,
-9162, -9630, -10087, -10531, -10963, -11381, -11786, -12176, -12551, -12911,
-13255, -13583, -13894, -14189, -14466, -14726, -14968, -15191, -15396,
-15582, -15749, -15897, -16026, -16135, -16225, -16294, -16344, -16374,
-16384, -16374, -16344, -16294, -16225, -16135, -16026, -15897, -15749,
-15582, -15396, -15191, -14968, -14726, -14466, -14189, -13894, -13583,
-13255, -12911, -12551, -12176, -11786, -11381, -10963, -10531, -10087,
-9630, -9162, -8682, -8192, -7692, -7182, -6664, -6138, -5604, -5063, -4516,
-3964, -3406, -2845, -2280, -1713, -1143, -572, 0, 572, 1143, 1713, 2280,
2845, 3406, 3964, 4516, 5063, 5604, 6138, 6664, 7182, 7692, 8192, 8682, 9162,
9630, 10087, 10531, 10963, 11381, 11786, 12176, 12551, 12911, 13255, 13583,
13894, 14189, 14466, 14726, 14968, 15191, 15396, 15582, 15749, 15897, 16026,
16135, 16225, 16294, 16344, 16374, 16384, 16374, 16344, 16294, 16225, 16135,
16026, 15897, 15749, 15582, 15396, 15191, 14968, 14726, 14466, 14189 },
/* Computed Parameter: iq_maxSca_M1_Table
* Referenced by: '<S47>/iq_maxSca_M1'
* Referenced by: '<S80>/iq_maxSca_M1'
*/
{ 65535U, 65523U, 65484U, 65418U, 65326U, 65207U, 65062U, 64890U, 64691U,
64465U, 64211U, 63930U, 63620U, 63281U, 62913U, 62516U, 62088U, 61630U,
@@ -140,12 +140,12 @@ const ConstP rtConstP = {
28540U, 25655U, 22323U, 18304U, 12974U },
/* Computed Parameter: z_commutMap_M1_table
* Referenced by: '<S87>/z_commutMap_M1'
* Referenced by: '<S94>/z_commutMap_M1'
*/
{ -1, 1, 0, -1, 0, 1, 0, -1, 1, 1, -1, 0, 1, 0, -1, 0, 1, -1 },
/* Computed Parameter: vec_hallToPos_Value
* Referenced by: '<S10>/vec_hallToPos'
* Referenced by: '<S11>/vec_hallToPos'
*/
{ 0, 2, 0, 1, 4, 3, 5, 0 }
};
+53 -53
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'BLDC_controller'.
*
* Model version : 1.1284
* Model version : 1.1296
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
* C/C++ source code generated on : Sun Oct 11 21:38:56 2020
* C/C++ source code generated on : Tue Oct 20 17:29:57 2020
*
* Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex
@@ -26,59 +26,59 @@ static RT_MODEL rtM_;
static RT_MODEL *const rtMPtr = &rtM_; /* Real-time model */
static P rtP = {
/* Variable: dV_openRate
* Referenced by: '<S35>/dV_openRate'
* Referenced by: '<S37>/dV_openRate'
*/
12288,
/* Variable: dz_cntTrnsDetHi
* Referenced by: '<S16>/dz_cntTrnsDet'
* Referenced by: '<S17>/dz_cntTrnsDet'
*/
40,
/* Variable: dz_cntTrnsDetLo
* Referenced by: '<S16>/dz_cntTrnsDet'
* Referenced by: '<S17>/dz_cntTrnsDet'
*/
20,
/* Variable: n_cruiseMotTgt
* Referenced by: '<S55>/n_cruiseMotTgt'
* Referenced by: '<S61>/n_cruiseMotTgt'
*/
0,
/* Variable: z_maxCntRst
* Referenced by:
* '<S12>/Counter'
* '<S12>/z_maxCntRst'
* '<S12>/z_maxCntRst2'
* '<S12>/UnitDelay3'
* '<S16>/z_counter'
* '<S13>/Counter'
* '<S13>/z_maxCntRst'
* '<S13>/z_maxCntRst2'
* '<S13>/UnitDelay3'
* '<S17>/z_counter'
*/
2000,
/* Variable: cf_speedCoef
* Referenced by: '<S16>/cf_speedCoef'
* Referenced by: '<S17>/cf_speedCoef'
*/
10667U,
/* Variable: t_errDequal
* Referenced by: '<S3>/t_errDequal'
* Referenced by: '<S20>/t_errDequal'
*/
9600U,
/* Variable: t_errQual
* Referenced by: '<S3>/t_errQual'
* Referenced by: '<S20>/t_errQual'
*/
1280U,
/* Variable: Vd_max
* Referenced by:
* '<S47>/Vd_max1'
* '<S34>/Vd_max'
* '<S36>/Vd_max'
* '<S80>/Vd_max1'
*/
14400,
/* Variable: Vq_max_M1
* Referenced by: '<S47>/Vq_max_M1'
* Referenced by: '<S80>/Vq_max_M1'
*/
{ 14400, 14396, 14386, 14368, 14343, 14311, 14271, 14225, 14171, 14109, 14040,
13963, 13879, 13786, 13685, 13576, 13459, 13333, 13198, 13053, 12900, 12736,
@@ -86,7 +86,7 @@ static P rtP = {
9790, 9433, 9051, 8640, 8196, 7713, 7184, 6597, 5935, 5170, 4245, 3019, 0 },
/* Variable: Vq_max_XA
* Referenced by: '<S47>/Vq_max_XA'
* Referenced by: '<S80>/Vq_max_XA'
*/
{ 0, 320, 640, 960, 1280, 1600, 1920, 2240, 2560, 2880, 3200, 3520, 3840, 4160,
4480, 4800, 5120, 5440, 5760, 6080, 6400, 6720, 7040, 7360, 7680, 8000, 8320,
@@ -94,127 +94,127 @@ static P rtP = {
12160, 12480, 12800, 13120, 13440, 13760, 14080, 14400 },
/* Variable: a_phaAdvMax
* Referenced by: '<S5>/a_phaAdvMax'
* Referenced by: '<S42>/a_phaAdvMax'
*/
400,
/* Variable: i_max
* Referenced by:
* '<S47>/i_max'
* '<S34>/i_max'
* '<S36>/i_max'
* '<S80>/i_max'
*/
12000,
/* Variable: id_fieldWeakMax
* Referenced by: '<S5>/id_fieldWeakMax'
* Referenced by: '<S42>/id_fieldWeakMax'
*/
4000,
/* Variable: n_commAcvLo
* Referenced by: '<S12>/n_commDeacv'
* Referenced by: '<S13>/n_commDeacv'
*/
240,
/* Variable: n_commDeacvHi
* Referenced by: '<S12>/n_commDeacv'
* Referenced by: '<S13>/n_commDeacv'
*/
480,
/* Variable: n_fieldWeakAuthHi
* Referenced by: '<S5>/n_fieldWeakAuthHi'
* Referenced by: '<S42>/n_fieldWeakAuthHi'
*/
6400,
/* Variable: n_fieldWeakAuthLo
* Referenced by: '<S5>/n_fieldWeakAuthLo'
* Referenced by: '<S42>/n_fieldWeakAuthLo'
*/
4800,
/* Variable: n_max
* Referenced by:
* '<S47>/n_max1'
* '<S34>/n_max'
* '<S36>/n_max'
* '<S80>/n_max1'
*/
24000,
16000,
/* Variable: n_stdStillDet
* Referenced by: '<S12>/n_stdStillDet'
* Referenced by: '<S13>/n_stdStillDet'
*/
48,
/* Variable: r_errInpTgtThres
* Referenced by: '<S3>/r_errInpTgtThres'
* Referenced by: '<S20>/r_errInpTgtThres'
*/
9600,
/* Variable: r_fieldWeakHi
* Referenced by: '<S5>/r_fieldWeakHi'
* Referenced by: '<S42>/r_fieldWeakHi'
*/
16000,
/* Variable: r_fieldWeakLo
* Referenced by: '<S5>/r_fieldWeakLo'
* Referenced by: '<S42>/r_fieldWeakLo'
*/
12000,
/* Variable: cf_KbLimProt
* Referenced by:
* '<S75>/cf_KbLimProt'
* '<S76>/cf_KbLimProt'
* '<S82>/cf_KbLimProt'
* '<S83>/cf_KbLimProt'
*/
768U,
/* Variable: cf_idKp
* Referenced by: '<S57>/cf_idKp1'
* Referenced by: '<S63>/cf_idKp1'
*/
819U,
/* Variable: cf_iqKp
* Referenced by: '<S56>/cf_iqKp'
* Referenced by: '<S62>/cf_iqKp'
*/
1229U,
/* Variable: cf_nKp
* Referenced by: '<S55>/cf_nKp'
* Referenced by: '<S61>/cf_nKp'
*/
4833U,
/* Variable: cf_currFilt
* Referenced by: '<S43>/cf_currFilt'
* Referenced by: '<S50>/cf_currFilt'
*/
7864U,
/* Variable: cf_idKi
* Referenced by: '<S57>/cf_idKi1'
* Referenced by: '<S63>/cf_idKi1'
*/
737U,
/* Variable: cf_iqKi
* Referenced by: '<S56>/cf_iqKi'
* Referenced by: '<S62>/cf_iqKi'
*/
1229U,
/* Variable: cf_iqKiLimProt
* Referenced by:
* '<S74>/cf_iqKiLimProt'
* '<S76>/cf_iqKiLimProt'
* '<S81>/cf_iqKiLimProt'
* '<S83>/cf_iqKiLimProt'
*/
737U,
/* Variable: cf_nKi
* Referenced by: '<S55>/cf_nKi'
* Referenced by: '<S61>/cf_nKi'
*/
251U,
/* Variable: cf_nKiLimProt
* Referenced by:
* '<S75>/cf_nKiLimProt'
* '<S76>/cf_nKiLimProt'
* '<S82>/cf_nKiLimProt'
* '<S83>/cf_nKiLimProt'
*/
246U,
/* Variable: n_polePairs
* Referenced by: '<S14>/n_polePairs'
* Referenced by: '<S15>/n_polePairs'
*/
15U,
@@ -224,14 +224,14 @@ static P rtP = {
2U,
/* Variable: z_selPhaCurMeasABC
* Referenced by: '<S42>/z_selPhaCurMeasABC'
* Referenced by: '<S49>/z_selPhaCurMeasABC'
*/
0U,
/* Variable: b_angleMeasEna
* Referenced by:
* '<S2>/b_angleMeasEna'
* '<S12>/b_angleMeasEna'
* '<S3>/b_angleMeasEna'
* '<S13>/b_angleMeasEna'
*/
0,
@@ -241,14 +241,14 @@ static P rtP = {
0,
/* Variable: b_diagEna
* Referenced by: '<S1>/b_diagEna'
* Referenced by: '<S4>/b_diagEna'
*/
1,
/* Variable: b_fieldWeakEna
* Referenced by:
* '<S1>/b_fieldWeakEna'
* '<S90>/b_fieldWeakEna'
* '<S6>/b_fieldWeakEna'
* '<S97>/b_fieldWeakEna'
*/
0
}; /* Modifiable parameters */
@@ -8,7 +8,7 @@
"sid":"BLDCmotor_FOC_R2017b_fixdt",
"name":"BLDCmotor_FOC_R2017b_fixdt",
"fullname":"BLDCmotor_FOC_R2017b_fixdt",
"label":"BLDCmotor_FOC_R2017b_fixdt*",
"label":"BLDCmotor_FOC_R2017b_fixdt",
"parent":0,
"descendants":[
2,
@@ -103,7 +103,14 @@
91,
92,
93,
94
94,
95,
96,
97,
98,
99,
100,
101
],
"hierarchyUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json",
"backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json"
@@ -438,7 +438,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10035:572#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10035",
@@ -489,7 +489,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10035:571#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10035",
@@ -540,7 +540,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10035:2906#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10035",
@@ -591,7 +591,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10035:570#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10035",
@@ -642,7 +642,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10035:573#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10035",
@@ -117,7 +117,7 @@
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:10035:573">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,259,158)">
<image height="110" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAABuCAYAAABLNmGvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABgklEQVR4nO3bMU/CQBjG8T+msrDqwsLkh3H24+viwtIOdYABBh3uJRwKpM/Vw5o8v+TSxpT2n1clMXgz4AV4BB7iWFMLdHHMV/f9wiZiltmqaQHM43wPbIGPcxc2pEktgVWsmu7juAM2QJ997UfYYWIr4KlyGKRJbUiTai+F3d0gpIjDVA5TOUw12bBmwDWzgvt+FrzmxGQn5jCVw1QOUzlM5TCVw1QOUzlM5TCVw1QOUzlM5TCVw1QOUzlM5TCVw1QOUzlM5TCVw1QOUzlM5TDVZMOGfFg/+oP3EpOdmMNUDlM5TDXkfey14L6j/zt0SNhbwX1vElYyseeC15yoNbHRak1stH89sT8Jm+z7mMNUDlM5TOUwlcNU/ktc5TCVw1QOUzWkPY4LLuxz/GXvwDqe2ZN2pO4vhXWcbl+taR2rI238vBrWxvlh+2pN+ebiPp63uxaWb1+tqY9n9Az4VrZxQc9xerVsY22y49mwGWnX85z0w1/7F2Afa5edH5aZAXwBy2hNB2BkAcsAAAAASUVORK5CYII=" y="0"/>
<image height="110" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAABuCAYAAABLNmGvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABXElEQVR4nO3bMW+CQBjG8T8NdXFtFxenfqJ+/6GLCwzXAQcY2uFe0rMV40N7DcPzSy4Qg/LPqRtvA7wCz8BTHGvqgD6O5eq/X9hGzKFYNe2BXZxPwBl4v3ZhS96pA3CMVdNjHEdgAFLx2o+weceOwEvlMMg7NZB3qlsKe/iHkFUcpnKYymGqzYa1d1zTrPjcjxXvubDZHXOYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymEqh6kcpnKYymGqzYbd89j8rx+BX2OzO+YwlcNUDlO15BnHPQtzjn/sDTjFPRN5InVaCuu5HF+t6RSrJw9+3gzr4nweX62pHC5Ocb/xVlg5vlpTinsk7vgqu7gg8bV7tZxjDcXxalhDnnrekX/8tf8AU6yxOJ+XmQF8ApBRRWSeKub5AAAAAElFTkSuQmCC" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,260,159)">
<path d="M0,0 L30,0 L30,102 L0,102 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
@@ -519,5 +519,5 @@
<!--RAWSTRING-->
</g>
</g>
<!--generated on windows @ 2020-10-11 21:39:38 W. Europe Daylight Time-->
<!--generated on windows @ 2020-10-20 17:30:45 W. Europe Daylight Time-->
</svg>

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 446 KiB

After

Width:  |  Height:  |  Size: 338 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 86 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

@@ -1,936 +0,0 @@
[
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:10",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
"name":"y",
"label":"y",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"EnsureOutportIsVirtual",
"InitialOutput",
"MustResolveToSignalObject",
"OutputWhenDisabled",
"OutputWhenUnConnected",
"OutputWhenUnconnectedValue",
"SignalName",
"SignalObject",
"SourceOfInitialOutputValue",
"StorageClass",
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
"1",
"Port number",
"OutMin",
"OutMax",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"off",
"[]",
"off",
"held",
"off",
"0",
"",
[
],
"Dialog",
"Auto",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Outport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:9",
"className":"Simulink.RelationalOperator",
"icon":"WebViewIcon3",
"name":"UpperRelop",
"label":"UpperRelop",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Operator",
"InputSameDT",
"OutDataTypeStr",
"RndMeth",
"SampleTime",
"ZeroCross"
],
"values":[
"<",
"off",
"boolean",
"Nearest",
"-1",
"on"
],
"tabs":[
"Main",
"Data Type",
"-Other"
],
"tabs_idx":[
0,
1,
4
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"RelationalOperator",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:8",
"className":"Simulink.Switch",
"icon":"WebViewIcon3",
"name":"Switch2",
"label":"Switch2",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Criteria",
"InputSameDT",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"AllowDiffInputSizes",
"SampleTime",
"Threshold",
"ZeroCross"
],
"values":[
"u2 ~= 0",
"off",
"OutMin",
"OutMax",
"Inherit: Inherit via back propagation",
"off",
"Floor",
"off",
"off",
"-1",
"0",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
1,
9
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Switch",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:7",
"className":"Simulink.Switch",
"icon":"WebViewIcon3",
"name":"Switch",
"label":"Switch",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Criteria",
"InputSameDT",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"AllowDiffInputSizes",
"SampleTime",
"Threshold",
"ZeroCross"
],
"values":[
"u2 ~= 0",
"off",
"[]",
"[]",
"Inherit: Inherit via back propagation",
"off",
"Floor",
"off",
"off",
"-1",
"0",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
1,
9
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Switch",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:6",
"className":"Simulink.RelationalOperator",
"icon":"WebViewIcon3",
"name":"LowerRelop1",
"label":"LowerRelop1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Operator",
"InputSameDT",
"OutDataTypeStr",
"RndMeth",
"SampleTime",
"ZeroCross"
],
"values":[
">",
"off",
"boolean",
"Nearest",
"-1",
"on"
],
"tabs":[
"Main",
"Data Type",
"-Other"
],
"tabs_idx":[
0,
1,
4
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"RelationalOperator",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:5",
"className":"Simulink.SFunction",
"icon":"WebViewIcon3",
"name":"Data Type Propagation",
"label":"Data Type Propagation",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"PropDataTypeMode",
"PropDataType",
"IfRefDouble",
"IfRefSingle",
"IsSigned",
"NumBitsBase",
"NumBitsMult",
"NumBitsAdd",
"NumBitsAllowFinal",
"PropScalingMode",
"PropScaling",
"ValuesUsedBestPrec",
"SlopeBase",
"SlopeMult",
"SlopeAdd",
"BiasBase",
"BiasMult",
"BiasAdd"
],
"values":[
"Inherit via propagation rule",
"fixdt(1, 16)",
"double",
"single",
"IsSigned1",
"NumBits1",
"1",
"0",
"1:128",
"Inherit via propagation rule",
"2^-10",
"[5 -7]",
"Slope1",
"1",
"0",
"Bias1",
"1",
"0"
],
"tabs":[
],
"tabs_idx":[
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"S-Function",
"masktype":"Data Type Propagation"
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:4",
"className":"Simulink.DataTypeDuplicate",
"icon":"WebViewIcon3",
"name":"Data Type Duplicate",
"label":"Data Type Duplicate",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"NumInputPorts"
],
"values":[
"2"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"DataTypeDuplicate",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:3",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"lo",
"label":"lo",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"3",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:2",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"u",
"label":"u",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"2",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:1",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"up",
"label":"up",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"1",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:1#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:2#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:3#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:7#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:8#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:6#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:9#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
}
]
@@ -1,936 +0,0 @@
[
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:10",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
"name":"y",
"label":"y",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"EnsureOutportIsVirtual",
"InitialOutput",
"MustResolveToSignalObject",
"OutputWhenDisabled",
"OutputWhenUnConnected",
"OutputWhenUnconnectedValue",
"SignalName",
"SignalObject",
"SourceOfInitialOutputValue",
"StorageClass",
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
"1",
"Port number",
"OutMin",
"OutMax",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"off",
"[]",
"off",
"held",
"off",
"0",
"",
[
],
"Dialog",
"Auto",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Outport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:9",
"className":"Simulink.RelationalOperator",
"icon":"WebViewIcon3",
"name":"UpperRelop",
"label":"UpperRelop",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Operator",
"InputSameDT",
"OutDataTypeStr",
"RndMeth",
"SampleTime",
"ZeroCross"
],
"values":[
"<",
"off",
"boolean",
"Nearest",
"-1",
"on"
],
"tabs":[
"Main",
"Data Type",
"-Other"
],
"tabs_idx":[
0,
1,
4
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"RelationalOperator",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:8",
"className":"Simulink.Switch",
"icon":"WebViewIcon3",
"name":"Switch2",
"label":"Switch2",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Criteria",
"InputSameDT",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"AllowDiffInputSizes",
"SampleTime",
"Threshold",
"ZeroCross"
],
"values":[
"u2 ~= 0",
"off",
"OutMin",
"OutMax",
"Inherit: Inherit via back propagation",
"off",
"Floor",
"off",
"off",
"-1",
"0",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
1,
9
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Switch",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:7",
"className":"Simulink.Switch",
"icon":"WebViewIcon3",
"name":"Switch",
"label":"Switch",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Criteria",
"InputSameDT",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"AllowDiffInputSizes",
"SampleTime",
"Threshold",
"ZeroCross"
],
"values":[
"u2 ~= 0",
"off",
"[]",
"[]",
"Inherit: Inherit via back propagation",
"off",
"Floor",
"off",
"off",
"-1",
"0",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
1,
9
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Switch",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:6",
"className":"Simulink.RelationalOperator",
"icon":"WebViewIcon3",
"name":"LowerRelop1",
"label":"LowerRelop1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Operator",
"InputSameDT",
"OutDataTypeStr",
"RndMeth",
"SampleTime",
"ZeroCross"
],
"values":[
">",
"off",
"boolean",
"Nearest",
"-1",
"on"
],
"tabs":[
"Main",
"Data Type",
"-Other"
],
"tabs_idx":[
0,
1,
4
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"RelationalOperator",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:5",
"className":"Simulink.SFunction",
"icon":"WebViewIcon3",
"name":"Data Type Propagation",
"label":"Data Type Propagation",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"PropDataTypeMode",
"PropDataType",
"IfRefDouble",
"IfRefSingle",
"IsSigned",
"NumBitsBase",
"NumBitsMult",
"NumBitsAdd",
"NumBitsAllowFinal",
"PropScalingMode",
"PropScaling",
"ValuesUsedBestPrec",
"SlopeBase",
"SlopeMult",
"SlopeAdd",
"BiasBase",
"BiasMult",
"BiasAdd"
],
"values":[
"Inherit via propagation rule",
"fixdt(1, 16)",
"double",
"single",
"IsSigned1",
"NumBits1",
"1",
"0",
"1:128",
"Inherit via propagation rule",
"2^-10",
"[5 -7]",
"Slope1",
"1",
"0",
"Bias1",
"1",
"0"
],
"tabs":[
],
"tabs_idx":[
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"S-Function",
"masktype":"Data Type Propagation"
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:4",
"className":"Simulink.DataTypeDuplicate",
"icon":"WebViewIcon3",
"name":"Data Type Duplicate",
"label":"Data Type Duplicate",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"NumInputPorts"
],
"values":[
"2"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"DataTypeDuplicate",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:3",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"lo",
"label":"lo",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"3",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:2",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"u",
"label":"u",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"2",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:1",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"up",
"label":"up",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"1",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:1#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:2#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:3#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:7#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:8#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:6#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:9#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895",
"inspector":{
"params":[
"SignalNameFromLabel",
"MustResolveToSignal",
"ShowPropagatedSignal",
"DataLogging",
"TestPoint",
"SignalObjectPackage",
"StorageClass",
"Description",
"documentLink"
],
"values":[
"",
"off",
"off",
"off",
"off",
"Simulink",
"Auto",
"",
""
],
"tabs":[
"Parameter Attributes",
"Logging and Accessibility",
"Code Generation",
"Documentation"
],
"tabs_idx":[
0,
3,
5,
7
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":[
]
}
]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 176 KiB

@@ -128,6 +128,65 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11037",
"className":"Simulink.Sum",
"icon":"WebViewIcon3",
"name":"Sum1",
"label":"Sum1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"IconShape",
"Inputs",
"InputSameDT",
"AccumDataTypeStr",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"CollapseDim",
"CollapseMode",
"SampleTime"
],
"values":[
"rectangular",
"++",
"off",
"Inherit: Inherit via internal rule",
"[]",
"[]",
"fixdt(1,16,4)",
"off",
"Simplest",
"on",
"1",
"All dimensions",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
10
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Sum",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11038",
"className":"Simulink.Outport",
@@ -208,6 +267,39 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11035",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto15",
"label":"Goto15",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaB",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11036",
"className":"Simulink.SignalConversion",
@@ -241,65 +333,6 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11037",
"className":"Simulink.Sum",
"icon":"WebViewIcon3",
"name":"Sum1",
"label":"Sum1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"IconShape",
"Inputs",
"InputSameDT",
"AccumDataTypeStr",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"CollapseDim",
"CollapseMode",
"SampleTime"
],
"values":[
"rectangular",
"++",
"off",
"Inherit: Inherit via internal rule",
"[]",
"[]",
"fixdt(1,16,4)",
"off",
"Simplest",
"on",
"1",
"All dimensions",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
10
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Sum",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11034",
"className":"Simulink.Goto",
@@ -333,6 +366,37 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11031",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From1",
"label":"From1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaB",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11032",
"className":"Simulink.Gain",
@@ -392,6 +456,37 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11030",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From",
"label":"From",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaA",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11033",
"className":"Simulink.Gain",
@@ -451,199 +546,6 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11031",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From1",
"label":"From1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaB",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11030",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From",
"label":"From",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaA",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11029",
"className":"Simulink.ActionPort",
"icon":"WebViewIcon3",
"name":"Action Port",
"label":"Action Port",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"InitializeStates",
"PropagateVarSize"
],
"values":[
"held",
"Only when execution is resumed"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"ActionPort",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11035",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto15",
"label":"Goto15",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaB",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11028",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"i_phaB",
"label":"i_phaB",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"2",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11027",
"className":"Simulink.Inport",
@@ -711,10 +613,108 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11028",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
"name":"i_phaB",
"label":"i_phaB",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"InputConnect",
"Interpolate",
"LatchByDelayingOutsideSignal",
"LatchInputForFeedbackSignals",
"OutputFunctionCall"
],
"values":[
"2",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"",
"on",
"off",
"off",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Inport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11029",
"className":"Simulink.ActionPort",
"icon":"WebViewIcon3",
"name":"Action Port",
"label":"Action Port",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
"inspector":{
"params":[
"InitializeStates",
"PropagateVarSize"
],
"values":[
"held",
"Only when execution is resumed"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"ActionPort",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11028#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -765,7 +765,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11027#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -816,7 +816,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11030#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -867,7 +867,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11032#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -918,7 +918,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11031#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -969,7 +969,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11033#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -1020,7 +1020,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11037#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -1071,7 +1071,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11036#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11026",
@@ -110,6 +110,78 @@
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11037">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,539,171)">
<image height="119" preserveAspectRatio="none" width="33" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAB3CAYAAACNMymFAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABNklEQVRoge3bMU/CUBhG4ReDLKy6sDD5i/z/gwtLO9ShDLA43O/EqkCM3oHhPMnNbUjTnly6fqskr0mekzzV3suQZKx9ucbvN67rxbvF6mWbZFPX5yTHJO+XblynncAuyb5WL4+1n5LMSabFbz8iOIl9kpeOEUk7gTntBIZrEQ+dX/onRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGIG7iFinDYltc2VQ7B/ekhzq+VPaWN75WsSYrzN8vRxqjWkTcTcjhrpmhq+X5ZTkVM8+3YpYzvD1MtXzpvzi7xjqhimfp9LDsda82C9GrNJGNTdpH2bPj/Nc67S4Zkn37wOUk0Nzj91kZQAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,540,172)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip11">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip11)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="543,200 547,200" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip12">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip12)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="545,198 545,202" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip13">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip13)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="543,255 547,255" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip14">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip14)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="545,253 545,257" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,540,172)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,567,228)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip15">
<path d="M-554,-151 L101.742,-151 L101.742,72 L-554,72 L-554,-151 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip15)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,567,216)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11038">
@@ -122,11 +194,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip11">
<clipPath id="clip17">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip11)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,645,140)">
<g clip-path="url(#clip17)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,645,140)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
</g>
<!--RAWSTRING-->
@@ -144,11 +216,11 @@
<path d="M-23.7422,0 L23.7422,0 L23.7422,14 L-23.7422,14 L-23.7422,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip12">
<clipPath id="clip18">
<path d="M-608.258,-84 L47.4844,-84 L47.4844,139 L-608.258,139 L-608.258,-84 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip12)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,621.258,149)">
<g clip-path="url(#clip18)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,621.258,149)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="45.4844" x="1" xml:space="preserve" y="10">i_alphaAB</text>
</g>
<!--RAWSTRING-->
@@ -158,6 +230,39 @@
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11035">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,69,168)">
<image height="20" preserveAspectRatio="none" width="128" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAUCAYAAABFyTWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABaUlEQVRoge2Zy27CMBBFD2AoJH38/+d1w6ZZBKmkEWlRFzMWxnIgC3sRmCNdOQErSJnrO05YcJ+lygFr1YtqO3J86zt/DRdc28jLF9DoGKqJJ7roPHexU+cbvb4DVsBCZeSjRu4zwAB0wCE10SEFKlHsse/8b61UlgD5Wet4Ao5AG3x2hTdAhbjmVVUDO5UvXC4jhAngE8cSID8DUvwDEv+jBgjx8b8F3oAPHWtVxbUprNgzJzZAiiXinh1ihncdfVJUXApvxZ4Z1n+fnCkJ8If0kx9kRf8iu8oWawGzJzbAGSlwWGy/i7RN4APigB5Z5T3wTdnHwI3KHgPL8gnskd1/iyT2kJroDdDrub0Iegz2qgZ5DLxpgJAzlzZQyhT2Krg84avgFmnjp9TEKZvAnKbwCRC2AEuA/LTIym+50wJy3vipprAEKE+nOkZjF08svfJSpoj/C7AEyM+gOgXHXoZhGIZhGMaz8w/7glXF59GMEgAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,169)">
<path d="M30,0 L120,0 L120,12 L30,12 L0,6 L30,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip20">
<path d="M-74,-5 L46,-5 L46,7 L-74,7 L-74,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,174)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,169)">
<path d="M30,0 L120,0 L120,12 L30,12 L0,6 L30,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11036">
@@ -170,84 +275,20 @@
<!--RAWSTRING-->
<g data-tags="blk*">
<defs>
<clipPath id="clip14">
<clipPath id="clip22">
<path d="M0,0 L20,0 L20,18 L0,18 L0,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip14)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,445,131)">
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,445,131)">
<path d="M0,0 L20,0 L20,18 L0,18 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip19">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip19)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M5,4 L13,4 L13,12 L5,12 L5,4 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip20">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M3.14286,2.71429 L6.57143,2.71429 L6.57143,6.14286 L3.14286,6.14286 L3.14286,2.71429 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip21">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip21)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M5,17 L13,17 L13,25 L5,25 L5,17 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip22">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M3.14286,8.28571 L6.57143,8.28571 L6.57143,11.7143 L3.14286,11.7143 L3.14286,8.28571 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip23">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip23)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M5,30 L13,30 L13,38 L5,38 L5,30 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip24">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M3.14286,13.8571 L6.57143,13.8571 L6.57143,17.2857 L3.14286,17.2857 L3.14286,13.8571 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip25">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip25)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M28,9 L36,9 L36,17 L28,17 L28,9 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip26">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip26)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,4.85714 L16.4286,4.85714 L16.4286,8.28571 L13,8.28571 L13,4.85714 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip27">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip27)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M28,17 L36,17 L36,25 L28,25 L28,17 z" fill-rule="nonzero" vector-effect="none"/>
<path d="M5,4 L13,4 L13,12 L5,12 L5,4 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip28">
@@ -255,7 +296,7 @@
</clipPath>
</defs>
<g clip-path="url(#clip28)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,8.28571 L16.4286,8.28571 L16.4286,11.7143 L13,11.7143 L13,8.28571 z" fill-rule="nonzero" vector-effect="none"/>
<path d="M3.14286,2.71429 L6.57143,2.71429 L6.57143,6.14286 L3.14286,6.14286 L3.14286,2.71429 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip29">
@@ -263,7 +304,7 @@
</clipPath>
</defs>
<g clip-path="url(#clip29)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M28,25 L36,25 L36,33 L28,33 L28,25 z" fill-rule="nonzero" vector-effect="none"/>
<path d="M5,17 L13,17 L13,25 L5,25 L5,17 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip30">
@@ -271,15 +312,15 @@
</clipPath>
</defs>
<g clip-path="url(#clip30)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,11.7143 L16.4286,11.7143 L16.4286,15.1429 L13,15.1429 L13,11.7143 z" fill-rule="nonzero" vector-effect="none"/>
<path d="M3.14286,8.28571 L6.57143,8.28571 L6.57143,11.7143 L3.14286,11.7143 L3.14286,8.28571 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip31">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip31)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,6.57143 L6.57143,4.42857" fill-rule="nonzero" vector-effect="none"/>
<g clip-path="url(#clip31)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M5,30 L13,30 L13,38 L5,38 L5,30 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip32">
@@ -287,14 +328,78 @@
</clipPath>
</defs>
<g clip-path="url(#clip32)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,10 L6.57143,10" fill-rule="nonzero" vector-effect="none"/>
<path d="M3.14286,13.8571 L6.57143,13.8571 L6.57143,17.2857 L3.14286,17.2857 L3.14286,13.8571 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip33">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip33)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M28,9 L36,9 L36,17 L28,17 L28,9 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip34">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip33)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<g clip-path="url(#clip34)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,4.85714 L16.4286,4.85714 L16.4286,8.28571 L13,8.28571 L13,4.85714 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip35">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip35)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M28,17 L36,17 L36,25 L28,25 L28,17 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip36">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip36)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,8.28571 L16.4286,8.28571 L16.4286,11.7143 L13,11.7143 L13,8.28571 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip37">
<path d="M-2,0 L43,0 L43,42 L-2,42 L-2,0 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip37)" fill="#ababab" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.428571,0,0,0.428571,446.429,131)">
<path d="M28,25 L36,25 L36,33 L28,33 L28,25 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip38">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip38)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,11.7143 L16.4286,11.7143 L16.4286,15.1429 L13,15.1429 L13,11.7143 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip39">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip39)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,6.57143 L6.57143,4.42857" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip40">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip40)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,10 L6.57143,10" fill-rule="nonzero" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip41">
<path d="M0,1 L20,1 L20,19 L0,19 L0,1 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip41)" fill="none" opacity="1" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,445.429,130)">
<path d="M13,13.4286 L6.57143,15.5714" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
@@ -320,83 +425,11 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip44">
<clipPath id="clip52">
<path d="M-454,-61 L201.742,-61 L201.742,162 L-454,162 L-454,-61 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip44)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,467,126)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11037">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,539,171)">
<image height="119" preserveAspectRatio="none" width="33" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAB3CAYAAACNMymFAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABNklEQVRoge3bMU/CUBhG4ReDLKy6sDD5i/z/gwtLO9ShDLA43O/EqkCM3oHhPMnNbUjTnly6fqskr0mekzzV3suQZKx9ucbvN67rxbvF6mWbZFPX5yTHJO+XblynncAuyb5WL4+1n5LMSabFbz8iOIl9kpeOEUk7gTntBIZrEQ+dX/onRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGIG7iFinDYltc2VQ7B/ekhzq+VPaWN75WsSYrzN8vRxqjWkTcTcjhrpmhq+X5ZTkVM8+3YpYzvD1MtXzpvzi7xjqhimfp9LDsda82C9GrNJGNTdpH2bPj/Nc67S4Zkn37wOUk0Nzj91kZQAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,540,172)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip46">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip46)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="543,200 547,200" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip47">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip47)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="545,198 545,202" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip48">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip48)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="543,255 547,255" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip49">
<path d="M539.5,171.5 L564.5,171.5 L564.5,282.5 L539.5,282.5 L539.5,171.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip49)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="545,253 545,257" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,540,172)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,567,228)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip50">
<path d="M-554,-151 L101.742,-151 L101.742,72 L-554,72 L-554,-151 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip50)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,567,216)">
<g clip-path="url(#clip52)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,467,126)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -418,11 +451,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip52">
<clipPath id="clip54">
<path d="M-74,-5 L46,-5 L46,7 L-74,7 L-74,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip52)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,139)">
<g clip-path="url(#clip54)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,139)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaA]</text>
</g>
<!--RAWSTRING-->
@@ -439,102 +472,6 @@
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11032">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,424,231)">
<image height="54" preserveAspectRatio="none" width="68" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA2CAYAAAB++T94AAAACXBIWXMAAA7EAAAOxAGVKw4bAAADcUlEQVRoge2a6W7bMBCEPzlqDifO0QsoWqAP0599/6dIjziJ47N2f6wW3NCiLVGRIzoegIDhBIY1nhnuLpkBP4ALoA+cAvfeegSegAkwA/4BS/YUOfAJuAGugAHrhOh6AEbAGJgCc4Sc1c6/dYtQQj4DH4H3rJNQRs4jQo6qZs6eqOYI+Al8Bb4B3xH76DoPrD5wBpwgpOZAVnxm0orJgUvgA/AFIWWMKKDMMiE7WUtNeG6ppJADPeAY+dWvEWVcIvYZUU7ONmL8IF6QiKVy8zrDyV8JGiAPNUbIiVHNIwkFcR54v1esHMmJc0Q1N8gvX1c1dvse0+EgDhGiyJDgPUJUc4ZY6gpnKVXJNrXYNcJZao5YqhOq2UaIhVrqCFGNWkpVU2apKqopq21eDXUIUWTFOgbeIao5R1Sj5MSophNBHEOIRZmlBshupaqpQ4pfEauldhbETQmx8IO4z3oQx5CjqpkiqmnVUi9JiGJTEE+IV41aaoqz1Iurpg1CLEJBfI2riJtY6sWDuG1CFH4Qn+JqG1VNbEVsm8zGQbwrQixCllLVNLGUqkbnNrUt9RqEWFQJ4rrE+E1mrSB+bUIUvmrUUrYijmkXbEVcKYi7QoiFH8Ra20ypVxE/eK8rTfu6SIhiUxBXtdRf4E+x7nDkrJDwTYoQC2spbRdCTeYQIeB38b9LnLp6uMleKVIhxMIGsapmgCjnongvQzLjnufjzUofnjKSq1TbwBIJxDliBb92Ucs84LbdysSlQoiG4AJ5yAluzBAq4oZIkN4hhM0IBKlFlwlZFWuBqEFnu036H1uslRLTRUJWOEvMcJZ4U4WZtcQMt03GDrOTLd1DAelXmnvd3Kka1BJN2n87UUuq/d8UkGW9R5WATHJAZANSLWGn8nUtkeQI0Q9IrRli1WBP+5IaMvsB+SaPIfyA3GSJbcQke1BlA9KvGWLPXZI8yiwLyG2WCP0t2cPuKgFZp4JM9jqEDchNF2aqqiHJCzOaC7bFjm2qtIxO8krVEvnST8jsIHTpzlfDkPBkWy2R5KW7e2Qge4yoJKaCtDVDZwIyBjlwi8xWZ1TfMfymqpMBGYMc+IVIe4TMIqtUkEkEZAxUIWMkP04ot8Sbuvx/izy8Hh+WVZCtN1Vdgc0QhW2x984S26BnpxbJ1AwHHHDAAQd0HP8BMvJ1BYPRvvEAAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,425,232)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip54">
<path d="M-22,-23 L38,-23 L38,23 L-22,23 L-22,-23 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip54)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,447,255)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">2/sqrt(3)</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,425,232)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,487,253)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip55">
<path d="M-474,-176 L181.742,-176 L181.742,47 L-474,47 L-474,-176 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip55)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,487,241)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11033">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,424,176)">
<image height="54" preserveAspectRatio="none" width="68" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA2CAYAAAB++T94AAAACXBIWXMAAA7EAAAOxAGVKw4bAAADcUlEQVRoge2a6W7bMBCEPzlqDifO0QsoWqAP0599/6dIjziJ47N2f6wW3NCiLVGRIzoegIDhBIY1nhnuLpkBP4ALoA+cAvfeegSegAkwA/4BS/YUOfAJuAGugAHrhOh6AEbAGJgCc4Sc1c6/dYtQQj4DH4H3rJNQRs4jQo6qZs6eqOYI+Al8Bb4B3xH76DoPrD5wBpwgpOZAVnxm0orJgUvgA/AFIWWMKKDMMiE7WUtNeG6ppJADPeAY+dWvEWVcIvYZUU7ONmL8IF6QiKVy8zrDyV8JGiAPNUbIiVHNIwkFcR54v1esHMmJc0Q1N8gvX1c1dvse0+EgDhGiyJDgPUJUc4ZY6gpnKVXJNrXYNcJZao5YqhOq2UaIhVrqCFGNWkpVU2apKqopq21eDXUIUWTFOgbeIao5R1Sj5MSophNBHEOIRZmlBshupaqpQ4pfEauldhbETQmx8IO4z3oQx5CjqpkiqmnVUi9JiGJTEE+IV41aaoqz1Iurpg1CLEJBfI2riJtY6sWDuG1CFH4Qn+JqG1VNbEVsm8zGQbwrQixCllLVNLGUqkbnNrUt9RqEWFQJ4rrE+E1mrSB+bUIUvmrUUrYijmkXbEVcKYi7QoiFH8Ra20ypVxE/eK8rTfu6SIhiUxBXtdRf4E+x7nDkrJDwTYoQC2spbRdCTeYQIeB38b9LnLp6uMleKVIhxMIGsapmgCjnongvQzLjnufjzUofnjKSq1TbwBIJxDliBb92Ucs84LbdysSlQoiG4AJ5yAluzBAq4oZIkN4hhM0IBKlFlwlZFWuBqEFnu036H1uslRLTRUJWOEvMcJZ4U4WZtcQMt03GDrOTLd1DAelXmnvd3Kka1BJN2n87UUuq/d8UkGW9R5WATHJAZANSLWGn8nUtkeQI0Q9IrRli1WBP+5IaMvsB+SaPIfyA3GSJbcQke1BlA9KvGWLPXZI8yiwLyG2WCP0t2cPuKgFZp4JM9jqEDchNF2aqqiHJCzOaC7bFjm2qtIxO8krVEvnST8jsIHTpzlfDkPBkWy2R5KW7e2Qge4yoJKaCtDVDZwIyBjlwi8xWZ1TfMfymqpMBGYMc+IVIe4TMIqtUkEkEZAxUIWMkP04ot8Sbuvx/izy8Hh+WVZCtN1Vdgc0QhW2x984S26BnpxbJ1AwHHHDAAQd0HP8BMvJ1BYPRvvEAAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,425,177)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip57">
<path d="M-22,-23 L38,-23 L38,23 L-22,23 L-22,-23 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip57)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,447,200)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">1/sqrt(3)</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,425,177)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,487,198)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip58">
<path d="M-474,-121 L181.742,-121 L181.742,102 L-474,102 L-474,-121 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip58)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,487,186)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11031">
@@ -547,11 +484,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip60">
<clipPath id="clip56">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip60)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,254,254)">
<g clip-path="url(#clip56)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,254,254)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
@@ -569,11 +506,59 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip61">
<clipPath id="clip57">
<path d="M-319,-176 L336.742,-176 L336.742,47 L-319,47 L-319,-176 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip61)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,332,241)">
<g clip-path="url(#clip57)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,332,241)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11032">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,424,231)">
<image height="54" preserveAspectRatio="none" width="68" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA2CAYAAAB++T94AAAACXBIWXMAAA7EAAAOxAGVKw4bAAADcUlEQVRoge2a6W7bMBCEPzlqDifO0QsoWqAP0599/6dIjziJ47N2f6wW3NCiLVGRIzoegIDhBIY1nhnuLpkBP4ALoA+cAvfeegSegAkwA/4BS/YUOfAJuAGugAHrhOh6AEbAGJgCc4Sc1c6/dYtQQj4DH4H3rJNQRs4jQo6qZs6eqOYI+Al8Bb4B3xH76DoPrD5wBpwgpOZAVnxm0orJgUvgA/AFIWWMKKDMMiE7WUtNeG6ppJADPeAY+dWvEWVcIvYZUU7ONmL8IF6QiKVy8zrDyV8JGiAPNUbIiVHNIwkFcR54v1esHMmJc0Q1N8gvX1c1dvse0+EgDhGiyJDgPUJUc4ZY6gpnKVXJNrXYNcJZao5YqhOq2UaIhVrqCFGNWkpVU2apKqopq21eDXUIUWTFOgbeIao5R1Sj5MSophNBHEOIRZmlBshupaqpQ4pfEauldhbETQmx8IO4z3oQx5CjqpkiqmnVUi9JiGJTEE+IV41aaoqz1Iurpg1CLEJBfI2riJtY6sWDuG1CFH4Qn+JqG1VNbEVsm8zGQbwrQixCllLVNLGUqkbnNrUt9RqEWFQJ4rrE+E1mrSB+bUIUvmrUUrYijmkXbEVcKYi7QoiFH8Ra20ypVxE/eK8rTfu6SIhiUxBXtdRf4E+x7nDkrJDwTYoQC2spbRdCTeYQIeB38b9LnLp6uMleKVIhxMIGsapmgCjnongvQzLjnufjzUofnjKSq1TbwBIJxDliBb92Ucs84LbdysSlQoiG4AJ5yAluzBAq4oZIkN4hhM0IBKlFlwlZFWuBqEFnu036H1uslRLTRUJWOEvMcJZ4U4WZtcQMt03GDrOTLd1DAelXmnvd3Kka1BJN2n87UUuq/d8UkGW9R5WATHJAZANSLWGn8nUtkeQI0Q9IrRli1WBP+5IaMvsB+SaPIfyA3GSJbcQke1BlA9KvGWLPXZI8yiwLyG2WCP0t2cPuKgFZp4JM9jqEDchNF2aqqiHJCzOaC7bFjm2qtIxO8krVEvnST8jsIHTpzlfDkPBkWy2R5KW7e2Qge4yoJKaCtDVDZwIyBjlwi8xWZ1TfMfymqpMBGYMc+IVIe4TMIqtUkEkEZAxUIWMkP04ot8Sbuvx/izy8Hh+WVZCtN1Vdgc0QhW2x984S26BnpxbJ1AwHHHDAAQd0HP8BMvJ1BYPRvvEAAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,425,232)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip59">
<path d="M-22,-23 L38,-23 L38,23 L-22,23 L-22,-23 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip59)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,447,255)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">2/sqrt(3)</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,425,232)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,487,253)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip60">
<path d="M-474,-176 L181.742,-176 L181.742,47 L-474,47 L-474,-176 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip60)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,487,241)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -595,11 +580,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip63">
<clipPath id="clip62">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip63)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,254,139)">
<g clip-path="url(#clip62)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,254,139)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaA]</text>
</g>
<!--RAWSTRING-->
@@ -617,11 +602,11 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip64">
<clipPath id="clip63">
<path d="M-319,-61 L336.742,-61 L336.742,162 L-319,162 L-319,-61 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip64)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,332,126)">
<g clip-path="url(#clip63)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,332,126)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -633,139 +618,43 @@
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11029">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,69)">
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABLElEQVRoge2ZMU7DQBBFX9CSJi00aVJxIu7BYbgeNDRp7GJTJIVdQDFr8UEGWUoczOo/abSraBTPPo238KyAR+AeuCtrbTRAW1aN9ntiIgRsJWpjA6zLvgdOwGEsMREdsQV2JWrjtqwdcASy/PYF7Ywd8HCN6v6AnhBxIF6RURk316xo6ViGYBmCZQiWIViGYBmCZQhpQs7T7FVchudz/2CKjJdzH/JfmCLjdfYqFoJlCL5AhSmd8T57FQvBnSFYhmAZgmUIliFYhmAZQiK+Fm/44YtxBbwBe+KcmZib9GOJiZgs6ZClNvYlWmJU8KuMpuyHIUtt6HgxE2fsxhIHGTpkqY1MnCsz4TVpSkLms0tq4lTiKOuojBUxa10TF2iNl2hfopP9EMYYYy7BBzxYR2nfYxv2AAAAAElFTkSuQmCC" y="0"/>
<g id="BLDCmotor_FOC_R2017b_fixdt:11033">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,424,176)">
<image height="54" preserveAspectRatio="none" width="68" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA2CAYAAAB++T94AAAACXBIWXMAAA7EAAAOxAGVKw4bAAADcUlEQVRoge2a6W7bMBCEPzlqDifO0QsoWqAP0599/6dIjziJ47N2f6wW3NCiLVGRIzoegIDhBIY1nhnuLpkBP4ALoA+cAvfeegSegAkwA/4BS/YUOfAJuAGugAHrhOh6AEbAGJgCc4Sc1c6/dYtQQj4DH4H3rJNQRs4jQo6qZs6eqOYI+Al8Bb4B3xH76DoPrD5wBpwgpOZAVnxm0orJgUvgA/AFIWWMKKDMMiE7WUtNeG6ppJADPeAY+dWvEWVcIvYZUU7ONmL8IF6QiKVy8zrDyV8JGiAPNUbIiVHNIwkFcR54v1esHMmJc0Q1N8gvX1c1dvse0+EgDhGiyJDgPUJUc4ZY6gpnKVXJNrXYNcJZao5YqhOq2UaIhVrqCFGNWkpVU2apKqopq21eDXUIUWTFOgbeIao5R1Sj5MSophNBHEOIRZmlBshupaqpQ4pfEauldhbETQmx8IO4z3oQx5CjqpkiqmnVUi9JiGJTEE+IV41aaoqz1Iurpg1CLEJBfI2riJtY6sWDuG1CFH4Qn+JqG1VNbEVsm8zGQbwrQixCllLVNLGUqkbnNrUt9RqEWFQJ4rrE+E1mrSB+bUIUvmrUUrYijmkXbEVcKYi7QoiFH8Ra20ypVxE/eK8rTfu6SIhiUxBXtdRf4E+x7nDkrJDwTYoQC2spbRdCTeYQIeB38b9LnLp6uMleKVIhxMIGsapmgCjnongvQzLjnufjzUofnjKSq1TbwBIJxDliBb92Ucs84LbdysSlQoiG4AJ5yAluzBAq4oZIkN4hhM0IBKlFlwlZFWuBqEFnu036H1uslRLTRUJWOEvMcJZ4U4WZtcQMt03GDrOTLd1DAelXmnvd3Kka1BJN2n87UUuq/d8UkGW9R5WATHJAZANSLWGn8nUtkeQI0Q9IrRli1WBP+5IaMvsB+SaPIfyA3GSJbcQke1BlA9KvGWLPXZI8yiwLyG2WCP0t2cPuKgFZp4JM9jqEDchNF2aqqiHJCzOaC7bFjm2qtIxO8krVEvnST8jsIHTpzlfDkPBkWy2R5KW7e2Qge4yoJKaCtDVDZwIyBjlwi8xWZ1TfMfymqpMBGYMc+IVIe4TMIqtUkEkEZAxUIWMkP04ot8Sbuvx/izy8Hh+WVZCtN1Vdgc0QhW2x984S26BnpxbJ1AwHHHDAAQd0HP8BMvJ1BYPRvvEAAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,70)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,425,177)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip66">
<path d="M-29,-14 L30,-14 L30,14 L-29,14 L-29,-14 z"/>
<clipPath id="clip65">
<path d="M-22,-23 L38,-23 L38,23 L-22,23 L-22,-23 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip66)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,84)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="17.1719" x="-8.57812" xml:space="preserve" y="3.5">if { }</text>
<g clip-path="url(#clip65)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,447,200)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">1/sqrt(3)</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,115,70)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,144.5,100)">
<path d="M-25.3984,0 L25.3984,0 L25.3984,14 L-25.3984,14 L-25.3984,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip67">
<path d="M-106.102,-35 L549.641,-35 L549.641,188 L-106.102,188 L-106.102,-35 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip67)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,119.102,100)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="48.7969" x="1" xml:space="preserve" y="10">Action Port</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11035">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,69,168)">
<image height="20" preserveAspectRatio="none" width="128" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAUCAYAAABFyTWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABaUlEQVRoge2Zy27CMBBFD2AoJH38/+d1w6ZZBKmkEWlRFzMWxnIgC3sRmCNdOQErSJnrO05YcJ+lygFr1YtqO3J86zt/DRdc28jLF9DoGKqJJ7roPHexU+cbvb4DVsBCZeSjRu4zwAB0wCE10SEFKlHsse/8b61UlgD5Wet4Ao5AG3x2hTdAhbjmVVUDO5UvXC4jhAngE8cSID8DUvwDEv+jBgjx8b8F3oAPHWtVxbUprNgzJzZAiiXinh1ihncdfVJUXApvxZ4Z1n+fnCkJ8If0kx9kRf8iu8oWawGzJzbAGSlwWGy/i7RN4APigB5Z5T3wTdnHwI3KHgPL8gnskd1/iyT2kJroDdDrub0Iegz2qgZ5DLxpgJAzlzZQyhT2Krg84avgFmnjp9TEKZvAnKbwCRC2AEuA/LTIym+50wJy3vipprAEKE+nOkZjF08svfJSpoj/C7AEyM+gOgXHXoZhGIZhGMaz8w/7glXF59GMEgAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,70,169)">
<path d="M30,0 L120,0 L120,12 L30,12 L0,6 L30,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip69">
<path d="M-74,-5 L46,-5 L46,7 L-74,7 L-74,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip69)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,174)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,70,169)">
<path d="M30,0 L120,0 L120,12 L30,12 L0,6 L30,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11028">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,14,167)">
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#00d1d1" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,15,168)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip71">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip71)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,30,175)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,15,168)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,30,184)">
<path d="M-16.5312,0 L16.5312,0 L16.5312,14 L-16.5312,14 L-16.5312,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip72">
<path d="M-0.46875,-119 L655.273,-119 L655.273,104 L-0.46875,104 L-0.46875,-119 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip72)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,13.4688,184)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="31.0625" x="1" xml:space="preserve" y="10">i_phaB</text>
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,425,177)">
<path d="M0,0 L60,23 L0,46 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,47,173)">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,487,198)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip73">
<path d="M-34,-96 L621.742,-96 L621.742,127 L-34,127 L-34,-96 z"/>
<clipPath id="clip66">
<path d="M-474,-121 L181.742,-121 L181.742,102 L-474,102 L-474,-121 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip73)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,47,161)">
<g clip-path="url(#clip66)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,487,186)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -787,11 +676,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip75">
<clipPath id="clip68">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip75)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,30,140)">
<g clip-path="url(#clip68)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,30,140)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
</g>
<!--RAWSTRING-->
@@ -809,11 +698,11 @@
<path d="M-16.5312,0 L16.5312,0 L16.5312,14 L-16.5312,14 L-16.5312,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip76">
<clipPath id="clip69">
<path d="M-0.46875,-84 L655.273,-84 L655.273,139 L-0.46875,139 L-0.46875,-84 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip76)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,13.4688,149)">
<g clip-path="url(#clip69)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,13.4688,149)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="31.0625" x="1" xml:space="preserve" y="10">i_phaA</text>
</g>
<!--RAWSTRING-->
@@ -824,11 +713,11 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip77">
<clipPath id="clip70">
<path d="M-34,-61 L621.742,-61 L621.742,162 L-34,162 L-34,-61 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip77)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,47,126)">
<g clip-path="url(#clip70)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,47,126)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -838,6 +727,117 @@
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11028">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,14,167)">
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#00d1d1" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,15,168)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip72">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip72)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,30,175)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,15,168)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,30,184)">
<path d="M-16.5312,0 L16.5312,0 L16.5312,14 L-16.5312,14 L-16.5312,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip73">
<path d="M-0.46875,-119 L655.273,-119 L655.273,104 L-0.46875,104 L-0.46875,-119 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip73)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,13.4688,184)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="31.0625" x="1" xml:space="preserve" y="10">i_phaB</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,47,173)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip74">
<path d="M-34,-96 L621.742,-96 L621.742,127 L-34,127 L-34,-96 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip74)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,47,161)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11029">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,114,69)">
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABoUlEQVRoge2ZwU7CQBBAH6bigateuJAY+SK/1a/RixfU0GgRW4GieJhpGLDAIqSadV4y2dIsy+5jt+ywLeAauADOtYyNIZBqaSNdr5ggAromYqMDtPW6BApgVFcxQWZEF+hpxMapljMgBzJzbwU7M3pAv4ne/QIlImKELJFaGSdN9uiv4zIMLsPgMgwuw+AyDC7D4DIMSUCdG6ClEcJC4xPZ9b0jm50n4EHjEckNXoA3rbuLM2AOfGz53IMIkXFHuIiKBdLpkqWMKjlKgWfgFZgQJgJkp1wAU0TynCMIsDQho0AGPkLygldgrPfLPdq8NO/NEclTbWPTbNmLEBm3/EyGXSYFMoBCX0+QQezzzV4hMqoYI0ss1/YOpomZURehS8PSZ1XGupiDCZXxL/CfVoPLMLgMg8swuAyDyzC4DEOC5AwdNvxjHAH3wAAZZ8aWNCBBEid7yBIbA40UyY+2yhjqdXXIEhv2eDFDxjirq1jJsIcssZGxzJh3LpOhVshYzpKYKFjNmnM2yGghZ61t5AEa40O0ypRnfM+eHcdxnGPwBcoAmzmj4+7OAAAAAElFTkSuQmCC" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,115,70)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip76">
<path d="M-29,-14 L30,-14 L30,14 L-29,14 L-29,-14 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip76)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,84)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="17.1719" x="-8.57812" xml:space="preserve" y="3.5">if { }</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,115,70)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,144.5,100)">
<path d="M-25.3984,0 L25.3984,0 L25.3984,14 L-25.3984,14 L-25.3984,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip77">
<path d="M-106.102,-35 L549.641,-35 L549.641,188 L-106.102,188 L-106.102,-35 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip77)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,119.102,100)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="48.7969" x="1" xml:space="preserve" y="10">Action Port</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11028#out:1">
<!--RAWSTRING-->
<g data-tags="PathIntersectionsEnabledTag">
@@ -972,5 +972,5 @@
<!--RAWSTRING-->
</g>
</g>
<!--generated on windows @ 2020-10-11 21:39:22 W. Europe Daylight Time-->
<!--generated on windows @ 2020-10-20 17:30:28 W. Europe Daylight Time-->
</svg>

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

@@ -48,226 +48,6 @@
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11051",
"className":"Simulink.SignalConversion",
"icon":"WebViewIcon3",
"name":"Signal Conversion2",
"label":"Signal Conversion2",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"ConversionOutput",
"OutDataTypeStr",
"OverrideOpt"
],
"values":[
"Signal copy",
"Inherit: auto",
"off"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"SignalConversion",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11050",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto15",
"label":"Goto15",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaA",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11049",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto13",
"label":"Goto13",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaC",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11047",
"className":"Simulink.Gain",
"icon":"WebViewIcon3",
"name":"Gain2",
"label":"Gain2",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"Gain",
"Multiplication",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"ParamMin",
"ParamMax",
"ParamDataTypeStr",
"SampleTime"
],
"values":[
"2/sqrt(3)",
"Element-wise(K.*u)",
"[]",
"[]",
"Inherit: Same as input",
"off",
"Zero",
"off",
"[]",
"[]",
"Inherit: Inherit via internal rule",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
8,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Gain",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11046",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From1",
"label":"From1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaC",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11045",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From",
"label":"From",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaA",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11054",
"className":"Simulink.Outport",
@@ -428,6 +208,254 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11052",
"className":"Simulink.Sum",
"icon":"WebViewIcon3",
"name":"Sum1",
"label":"Sum1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"IconShape",
"Inputs",
"InputSameDT",
"AccumDataTypeStr",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"CollapseDim",
"CollapseMode",
"SampleTime"
],
"values":[
"rectangular",
"--",
"off",
"Inherit: Inherit via internal rule",
"[]",
"[]",
"fixdt(1,16,4)",
"off",
"Simplest",
"on",
"1",
"All dimensions",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
10
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Sum",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11051",
"className":"Simulink.SignalConversion",
"icon":"WebViewIcon3",
"name":"Signal Conversion2",
"label":"Signal Conversion2",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"ConversionOutput",
"OutDataTypeStr",
"OverrideOpt"
],
"values":[
"Signal copy",
"Inherit: auto",
"off"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"SignalConversion",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11049",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto13",
"label":"Goto13",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaC",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11048",
"className":"Simulink.Gain",
"icon":"WebViewIcon3",
"name":"Gain4",
"label":"Gain4",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"Gain",
"Multiplication",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"ParamMin",
"ParamMax",
"ParamDataTypeStr",
"SampleTime"
],
"values":[
"1/sqrt(3)",
"Element-wise(K.*u)",
"[]",
"[]",
"Inherit: Same as input",
"off",
"Zero",
"off",
"[]",
"[]",
"Inherit: Inherit via internal rule",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
8,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Gain",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11050",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto15",
"label":"Goto15",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaA",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11046",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From1",
"label":"From1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaC",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11044",
"className":"Simulink.ActionPort",
@@ -459,6 +487,37 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11045",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From",
"label":"From",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaA",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11043",
"className":"Simulink.Inport",
@@ -526,124 +585,6 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11048",
"className":"Simulink.Gain",
"icon":"WebViewIcon3",
"name":"Gain4",
"label":"Gain4",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"Gain",
"Multiplication",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"ParamMin",
"ParamMax",
"ParamDataTypeStr",
"SampleTime"
],
"values":[
"1/sqrt(3)",
"Element-wise(K.*u)",
"[]",
"[]",
"Inherit: Same as input",
"off",
"Zero",
"off",
"[]",
"[]",
"Inherit: Inherit via internal rule",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
8,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Gain",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11052",
"className":"Simulink.Sum",
"icon":"WebViewIcon3",
"name":"Sum1",
"label":"Sum1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"IconShape",
"Inputs",
"InputSameDT",
"AccumDataTypeStr",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"CollapseDim",
"CollapseMode",
"SampleTime"
],
"values":[
"rectangular",
"--",
"off",
"Inherit: Inherit via internal rule",
"[]",
"[]",
"fixdt(1,16,4)",
"off",
"Simplest",
"on",
"1",
"All dimensions",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
10
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Sum",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11042",
"className":"Simulink.Inport",
@@ -711,10 +652,69 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11047",
"className":"Simulink.Gain",
"icon":"WebViewIcon3",
"name":"Gain2",
"label":"Gain2",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
"inspector":{
"params":[
"Gain",
"Multiplication",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"ParamMin",
"ParamMax",
"ParamDataTypeStr",
"SampleTime"
],
"values":[
"2/sqrt(3)",
"Element-wise(K.*u)",
"[]",
"[]",
"Inherit: Same as input",
"off",
"Zero",
"off",
"[]",
"[]",
"Inherit: Inherit via internal rule",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
8,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Gain",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11051#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -765,7 +765,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11052#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -816,7 +816,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11048#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -867,7 +867,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11046#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -918,7 +918,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11047#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -969,7 +969,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11045#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -1020,7 +1020,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11043#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
@@ -1071,7 +1071,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11042#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11041",
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 66 KiB

@@ -48,86 +48,6 @@
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11070",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
"name":"i_betaBC",
"label":"i_betaBC",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"EnsureOutportIsVirtual",
"InitialOutput",
"MustResolveToSignalObject",
"OutputWhenDisabled",
"OutputWhenUnConnected",
"OutputWhenUnconnectedValue",
"SignalName",
"SignalObject",
"SourceOfInitialOutputValue",
"StorageClass",
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
"2",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"off",
"[]",
"off",
"held",
"off",
"0",
"",
[
],
"Dialog",
"Auto",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Outport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11069",
"className":"Simulink.Outport",
@@ -267,6 +187,65 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11067",
"className":"Simulink.Sum",
"icon":"WebViewIcon3",
"name":"Sum1",
"label":"Sum1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"IconShape",
"Inputs",
"InputSameDT",
"AccumDataTypeStr",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"CollapseDim",
"CollapseMode",
"SampleTime"
],
"values":[
"rectangular",
"--",
"off",
"Inherit: Inherit via internal rule",
"[]",
"[]",
"fixdt(1,16,4)",
"off",
"Simplest",
"on",
"1",
"All dimensions",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
10
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Sum",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11066",
"className":"Simulink.Goto",
@@ -360,19 +339,83 @@
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11062",
"sid":"BLDCmotor_FOC_R2017b_fixdt:11063",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From4",
"label":"From4",
"name":"From5",
"label":"From5",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaC",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11065",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto13",
"label":"Goto13",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaB",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11061",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From3",
"label":"From3",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaC",
"Tag"
],
"tabs":[
@@ -421,6 +464,86 @@
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11070",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
"name":"i_betaBC",
"label":"i_betaBC",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"Port",
"IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"Unit",
"PortDimensions",
"VarSizeSig",
"SampleTime",
"SignalType",
"BusOutputAsStruct",
"EnsureOutportIsVirtual",
"InitialOutput",
"MustResolveToSignalObject",
"OutputWhenDisabled",
"OutputWhenUnConnected",
"OutputWhenUnconnectedValue",
"SignalName",
"SignalObject",
"SourceOfInitialOutputValue",
"StorageClass",
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
"2",
"Port number",
"[]",
"[]",
"Inherit: auto",
"off",
"inherit",
"-1",
"Inherit",
"-1",
"auto",
"off",
"off",
"[]",
"off",
"held",
"off",
"0",
"",
[
],
"Dialog",
"Auto",
"off"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
11
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Outport",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11059",
"className":"Simulink.ActionPort",
@@ -520,142 +643,19 @@
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11063",
"sid":"BLDCmotor_FOC_R2017b_fixdt:11062",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From5",
"label":"From5",
"name":"From4",
"label":"From4",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaC",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"From",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11067",
"className":"Simulink.Sum",
"icon":"WebViewIcon3",
"name":"Sum1",
"label":"Sum1",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"IconShape",
"Inputs",
"InputSameDT",
"AccumDataTypeStr",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
"RndMeth",
"SaturateOnIntegerOverflow",
"CollapseDim",
"CollapseMode",
"SampleTime"
],
"values":[
"rectangular",
"--",
"off",
"Inherit: Inherit via internal rule",
"[]",
"[]",
"fixdt(1,16,4)",
"off",
"Simplest",
"on",
"1",
"All dimensions",
"-1"
],
"tabs":[
"Main",
"Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
2,
10
]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Sum",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11065",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
"name":"Goto13",
"label":"Goto13",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"GotoTag",
"TagVisibility",
"IconDisplay"
],
"values":[
"i_phaB",
"local",
"Tag"
],
"tabs":[
"Parameter Attributes"
],
"tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
"blocktype":"Goto",
"masktype":""
}
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11061",
"className":"Simulink.From",
"icon":"WebViewIcon3",
"name":"From3",
"label":"From3",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
"inspector":{
"params":[
"GotoTag",
"IconDisplay"
],
"values":[
"i_phaC",
"Tag"
],
"tabs":[
@@ -743,7 +743,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11061#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -794,7 +794,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11060#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -845,7 +845,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11063#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -896,7 +896,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11064#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -947,7 +947,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11068#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -998,7 +998,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11062#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -1049,7 +1049,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11067#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -1100,7 +1100,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11057#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -1151,7 +1151,7 @@
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11058#out:1",
"className":"Simulink.Line",
"icon":"WebViewIcon5",
"icon":"WebViewIcon6",
"name":"",
"label":"",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11056",
@@ -62,54 +62,6 @@
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11070">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,734,347)">
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#ff8000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,735,348)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip8">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip8)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,750,355)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,735,348)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,750,364)">
<path d="M-21.5234,0 L21.5234,0 L21.5234,14 L-21.5234,14 L-21.5234,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip9">
<path d="M-585.477,-269 L45.5469,-269 L45.5469,49 L-585.477,49 L-585.477,-269 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip9)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,728.477,364)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="41.0469" x="1" xml:space="preserve" y="10">i_betaBC</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11069">
@@ -122,11 +74,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip11">
<clipPath id="clip8">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip11)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,750,210)">
<g clip-path="url(#clip8)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,750,210)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
</g>
<!--RAWSTRING-->
@@ -144,11 +96,11 @@
<path d="M-24.0234,0 L24.0234,0 L24.0234,14 L-24.0234,14 L-24.0234,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip12">
<clipPath id="clip9">
<path d="M-582.977,-124 L48.0469,-124 L48.0469,194 L-582.977,194 L-582.977,-124 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip12)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,725.977,219)">
<g clip-path="url(#clip9)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,725.977,219)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="46.0469" x="1" xml:space="preserve" y="10">i_alphaBC</text>
</g>
<!--RAWSTRING-->
@@ -170,27 +122,27 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip14">
<clipPath id="clip11">
<path d="M544.5,296.5 L569.5,296.5 L569.5,407.5 L544.5,407.5 L544.5,296.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip14)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<g clip-path="url(#clip11)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="548,325 552,325" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip15">
<clipPath id="clip12">
<path d="M544.5,296.5 L569.5,296.5 L569.5,407.5 L544.5,407.5 L544.5,296.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip15)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<g clip-path="url(#clip12)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="550,323 550,327" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip16">
<clipPath id="clip13">
<path d="M544.5,296.5 L569.5,296.5 L569.5,407.5 L544.5,407.5 L544.5,296.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip16)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<g clip-path="url(#clip13)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="548,380 552,380" vector-effect="none"/>
</g>
<!--RAWSTRING-->
@@ -208,11 +160,67 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip17">
<clipPath id="clip14">
<path d="M-429,-246 L202.023,-246 L202.023,72 L-429,72 L-429,-246 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip17)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,572,341)">
<g clip-path="url(#clip14)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,572,341)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11067">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,544,151)">
<image height="119" preserveAspectRatio="none" width="33" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAB3CAYAAACNMymFAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABNklEQVRoge3bMU/CUBhG4ReDLKy6sDD5i/z/gwtLO9ShDLA43O/EqkCM3oHhPMnNbUjTnly6fqskr0mekzzV3suQZKx9ucbvN67rxbvF6mWbZFPX5yTHJO+XblynncAuyb5WL4+1n5LMSabFbz8iOIl9kpeOEUk7gTntBIZrEQ+dX/onRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGIG7iFinDYltc2VQ7B/ekhzq+VPaWN75WsSYrzN8vRxqjWkTcTcjhrpmhq+X5ZTkVM8+3YpYzvD1MtXzpvzi7xjqhimfp9LDsda82C9GrNJGNTdpH2bPj/Nc67S4Zkn37wOUk0Nzj91kZQAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,545,152)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip16">
<path d="M544.5,151.5 L569.5,151.5 L569.5,262.5 L544.5,262.5 L544.5,151.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip16)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="548,180 552,180" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip17">
<path d="M544.5,151.5 L569.5,151.5 L569.5,262.5 L544.5,262.5 L544.5,151.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip17)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="548,235 552,235" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,545,152)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,572,208)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip18">
<path d="M-429,-101 L202.023,-101 L202.023,217 L-429,217 L-429,-101 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip18)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,572,196)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -234,11 +242,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip19">
<clipPath id="clip20">
<path d="M-74,-5 L46,-5 L46,7 L-74,7 L-74,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip19)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,274,214)">
<g clip-path="url(#clip20)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,274,214)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">[i_phaC]</text>
</g>
<!--RAWSTRING-->
@@ -267,11 +275,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip21">
<clipPath id="clip22">
<path d="M-22,-23 L38,-23 L38,23 L-22,23 L-22,-23 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip21)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,647,355)">
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,647,355)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">1/sqrt(3)</text>
</g>
<!--RAWSTRING-->
@@ -289,218 +297,11 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip22">
<clipPath id="clip23">
<path d="M-544,-246 L87.0234,-246 L87.0234,72 L-544,72 L-544,-246 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip22)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,687,341)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11062">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,354,318)">
<image height="20" preserveAspectRatio="none" width="128" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAUCAYAAABFyTWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABUUlEQVRoge2ZzU7CUBCFv2pl41Y3bFj5RL7/E+DCHwq0/LmYuelFiwIdqiTnS05oC5n05kxn5pYCeAYegQf/FLFsXWtg5apdywPHP32XYqyz2GdTYqaPM4k4dq4NZtgaaDhs9OBJUWJP/hiYuEQsWywBNuxXgAjjeydFXgEmwFPcugX29Oct4LcKcI7xS2DhqoCZqwLmtMmQqtEeZfSKxR4FcOu682t9kiKZPccMroAP4M3j1sDNKTeoBBieY5MiGZ7MnmFmv/vvG040u4veAcR1owowPBEtYIH19U3fm1ECXJahh8A08R9NCUyBe9p+JGL5ug1sXENvA7/tAMAS4AUY+fkqaNHCuIoXQVM/brBpU8Ty718FTz1ghe0nRRx5BchbQM0fmN1FSoA58EpbDUQcx1aAi5vdRYH9FzDChkANgrF0VYBcg5othBBCCCEEAJ+G2WlPPBfvMwAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,355,319)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip24">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,324)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,355,319)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,477,323)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip25">
<path d="M-334,-216 L297.023,-216 L297.023,102 L-334,102 L-334,-216 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip25)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,311)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11060">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,354,173)">
<image height="20" preserveAspectRatio="none" width="128" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAUCAYAAABFyTWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABUUlEQVRoge2ZzU7CUBCFv2pl41Y3bFj5RL7/E+DCHwq0/LmYuelFiwIdqiTnS05oC5n05kxn5pYCeAYegQf/FLFsXWtg5apdywPHP32XYqyz2GdTYqaPM4k4dq4NZtgaaDhs9OBJUWJP/hiYuEQsWywBNuxXgAjjeydFXgEmwFPcugX29Oct4LcKcI7xS2DhqoCZqwLmtMmQqtEeZfSKxR4FcOu682t9kiKZPccMroAP4M3j1sDNKTeoBBieY5MiGZ7MnmFmv/vvG040u4veAcR1owowPBEtYIH19U3fm1ECXJahh8A08R9NCUyBe9p+JGL5ug1sXENvA7/tAMAS4AUY+fkqaNHCuIoXQVM/brBpU8Ty718FTz1ghe0nRRx5BchbQM0fmN1FSoA58EpbDUQcx1aAi5vdRYH9FzDChkANgrF0VYBcg5othBBCCCEEAJ+G2WlPPBfvMwAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,355,174)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip27">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip27)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,179)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,355,174)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,477,178)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip28">
<path d="M-334,-71 L297.023,-71 L297.023,247 L-334,247 L-334,-71 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip28)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,166)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11059">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,244,114)">
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABLElEQVRoge2ZMU7DQBBFX9CSJi00aVJxIu7BYbgeNDRp7GJTJIVdQDFr8UEGWUoczOo/abSraBTPPo238KyAR+AeuCtrbTRAW1aN9ntiIgRsJWpjA6zLvgdOwGEsMREdsQV2JWrjtqwdcASy/PYF7Ywd8HCN6v6AnhBxIF6RURk316xo6ViGYBmCZQiWIViGYBmCZQhpQs7T7FVchudz/2CKjJdzH/JfmCLjdfYqFoJlCL5AhSmd8T57FQvBnSFYhmAZgmUIliFYhmAZQiK+Fm/44YtxBbwBe+KcmZib9GOJiZgs6ZClNvYlWmJU8KuMpuyHIUtt6HgxE2fsxhIHGTpkqY1MnCsz4TVpSkLms0tq4lTiKOuojBUxa10TF2iNl2hfopP9EMYYYy7BBzxYR2nfYxv2AAAAAElFTkSuQmCC" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,245,115)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip30">
<path d="M-29,-14 L30,-14 L30,14 L-29,14 L-29,-14 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip30)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,274,129)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="35.4844" x="-17.7344" xml:space="preserve" y="3.5">elseif { }</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,245,115)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,274.5,145)">
<path d="M-25.3984,0 L25.3984,0 L25.3984,14 L-25.3984,14 L-25.3984,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip31">
<path d="M-106.102,-50 L524.922,-50 L524.922,268 L-106.102,268 L-106.102,-50 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip31)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,249.102,145)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="48.7969" x="1" xml:space="preserve" y="10">Action Port</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11058">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,207)">
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#00d1d1" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,145,208)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip33">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip33)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,160,215)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,145,208)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,160,224)">
<path d="M-16.8125,0 L16.8125,0 L16.8125,14 L-16.8125,14 L-16.8125,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip34">
<path d="M-0.1875,-129 L630.836,-129 L630.836,189 L-0.1875,189 L-0.1875,-129 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip34)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,143.188,224)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="31.625" x="1" xml:space="preserve" y="10">i_phaC</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,177,213)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip35">
<path d="M-34,-106 L597.023,-106 L597.023,212 L-34,212 L-34,-106 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip35)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,177,201)">
<g clip-path="url(#clip23)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,687,341)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -522,11 +323,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip37">
<clipPath id="clip25">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip37)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,379)">
<g clip-path="url(#clip25)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,379)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">[i_phaC]</text>
</g>
<!--RAWSTRING-->
@@ -544,67 +345,11 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip38">
<clipPath id="clip26">
<path d="M-334,-271 L297.023,-271 L297.023,47 L-334,47 L-334,-271 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip38)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,366)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11067">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,544,151)">
<image height="119" preserveAspectRatio="none" width="33" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAB3CAYAAACNMymFAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABNklEQVRoge3bMU/CUBhG4ReDLKy6sDD5i/z/gwtLO9ShDLA43O/EqkCM3oHhPMnNbUjTnly6fqskr0mekzzV3suQZKx9ucbvN67rxbvF6mWbZFPX5yTHJO+XblynncAuyb5WL4+1n5LMSabFbz8iOIl9kpeOEUk7gTntBIZrEQ+dX/onRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGAEjYASMgBEwAkbACBgBI2AEjIARMAJGwAgYASNgBIyAETACRsAIGIG7iFinDYltc2VQ7B/ekhzq+VPaWN75WsSYrzN8vRxqjWkTcTcjhrpmhq+X5ZTkVM8+3YpYzvD1MtXzpvzi7xjqhimfp9LDsda82C9GrNJGNTdpH2bPj/Nc67S4Zkn37wOUk0Nzj91kZQAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,545,152)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip40">
<path d="M544.5,151.5 L569.5,151.5 L569.5,262.5 L544.5,262.5 L544.5,151.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip40)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="548,180 552,180" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip41">
<path d="M544.5,151.5 L569.5,151.5 L569.5,262.5 L544.5,262.5 L544.5,151.5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip41)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
<polyline fill="none" points="548,235 552,235" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,545,152)">
<path d="M0,0 L25,0 L25,111 L0,111 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,572,208)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip42">
<path d="M-429,-101 L202.023,-101 L202.023,217 L-429,217 L-429,-101 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip42)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,572,196)">
<g clip-path="url(#clip26)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,366)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -626,11 +371,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip44">
<clipPath id="clip28">
<path d="M-74,-5 L46,-5 L46,7 L-74,7 L-74,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip44)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,274,179)">
<g clip-path="url(#clip28)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,274,179)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
@@ -659,11 +404,11 @@
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip46">
<clipPath id="clip30">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip46)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,234)">
<g clip-path="url(#clip30)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,234)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="37.1562" x="-18.5781" xml:space="preserve" y="3.5">[i_phaC]</text>
</g>
<!--RAWSTRING-->
@@ -681,11 +426,266 @@
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip47">
<clipPath id="clip31">
<path d="M-334,-126 L297.023,-126 L297.023,192 L-334,192 L-334,-126 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip47)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,221)">
<g clip-path="url(#clip31)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,221)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11060">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,354,173)">
<image height="20" preserveAspectRatio="none" width="128" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAUCAYAAABFyTWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABUUlEQVRoge2ZzU7CUBCFv2pl41Y3bFj5RL7/E+DCHwq0/LmYuelFiwIdqiTnS05oC5n05kxn5pYCeAYegQf/FLFsXWtg5apdywPHP32XYqyz2GdTYqaPM4k4dq4NZtgaaDhs9OBJUWJP/hiYuEQsWywBNuxXgAjjeydFXgEmwFPcugX29Oct4LcKcI7xS2DhqoCZqwLmtMmQqtEeZfSKxR4FcOu682t9kiKZPccMroAP4M3j1sDNKTeoBBieY5MiGZ7MnmFmv/vvG040u4veAcR1owowPBEtYIH19U3fm1ECXJahh8A08R9NCUyBe9p+JGL5ug1sXENvA7/tAMAS4AUY+fkqaNHCuIoXQVM/brBpU8Ty718FTz1ghe0nRRx5BchbQM0fmN1FSoA58EpbDUQcx1aAi5vdRYH9FzDChkANgrF0VYBcg5othBBCCCEEAJ+G2WlPPBfvMwAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,355,174)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip33">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip33)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,179)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,355,174)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,477,178)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip34">
<path d="M-334,-71 L297.023,-71 L297.023,247 L-334,247 L-334,-71 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip34)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,166)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11070">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,734,347)">
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#ff8000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,735,348)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip36">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip36)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,750,355)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,735,348)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,750,364)">
<path d="M-21.5234,0 L21.5234,0 L21.5234,14 L-21.5234,14 L-21.5234,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip37">
<path d="M-585.477,-269 L45.5469,-269 L45.5469,49 L-585.477,49 L-585.477,-269 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip37)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,728.477,364)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="41.0469" x="1" xml:space="preserve" y="10">i_betaBC</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11059">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,244,114)">
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABh0lEQVRoge2ZwU7CQBBAH6Zy4aoXLpz8Ir/Dn/Ff/Bq4eEFNG21RKilRPMw0DFroVk0l67xksqVMmt2X3bLDDoBL4Bw40zY2UiDT1kb2OTFBBIxNxMYIGOr1GiiBoikxQWbEGJhoxMapthWwBHJzbwc7MybARR+9+wPWiIgCWSKNMk767NGx4zIMLsPgMgwuw+AyDC7D4DIMSUDODTDQCGGj8Y7s+l6Rzc4DcKdxj9QGT8CL5rZx1fL9dWD/9hIiY0a4iJoN8Ibs/GoZdXGUAY/AAlgRJgJg2rEPnelDRokMvEDqggXwrPfXHZ4569iHzoTImPI9GXaZlEhtUOrnFSJi0+GZRyHjpzOjKUKXRq+EyvgX+E+rwWUYXIbBZRhchsFlGFyGIUFqhhF7/jGOgFtgjowz50AZkCCFkz1kiY25RobURwdlpHpdH7LEhj1ezJExVk2JtQx7yBIbOduKuXWZpJqQs50lMVGyWzUv2SNjgJy1DpEXaIwv0bpSrvhaPTuO4zi/wQc2SIJd3eVWgAAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,245,115)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip39">
<path d="M-29,-14 L30,-14 L30,14 L-29,14 L-29,-14 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip39)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,274,129)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="35.4844" x="-17.7344" xml:space="preserve" y="3.5">elseif { }</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,245,115)">
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,274.5,145)">
<path d="M-25.3984,0 L25.3984,0 L25.3984,14 L-25.3984,14 L-25.3984,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip40">
<path d="M-106.102,-50 L524.922,-50 L524.922,268 L-106.102,268 L-106.102,-50 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip40)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,249.102,145)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="48.7969" x="1" xml:space="preserve" y="10">Action Port</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11058">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,144,207)">
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
</g>
<g clip-path="none" fill="#00d1d1" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,145,208)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip42">
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip42)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,160,215)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,145,208)">
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk BlockName">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,160,224)">
<path d="M-16.8125,0 L16.8125,0 L16.8125,14 L-16.8125,14 L-16.8125,0 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip43">
<path d="M-0.1875,-129 L630.836,-129 L630.836,189 L-0.1875,189 L-0.1875,-129 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip43)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,143.188,224)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="31.625" x="1" xml:space="preserve" y="10">i_phaC</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,177,213)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip44">
<path d="M-34,-106 L597.023,-106 L597.023,212 L-34,212 L-34,-106 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip44)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,177,201)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<!--RAWSTRING-->
<g id="BLDCmotor_FOC_R2017b_fixdt:11062">
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,354,318)">
<image height="20" preserveAspectRatio="none" width="128" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAUCAYAAABFyTWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABUUlEQVRoge2ZzU7CUBCFv2pl41Y3bFj5RL7/E+DCHwq0/LmYuelFiwIdqiTnS05oC5n05kxn5pYCeAYegQf/FLFsXWtg5apdywPHP32XYqyz2GdTYqaPM4k4dq4NZtgaaDhs9OBJUWJP/hiYuEQsWywBNuxXgAjjeydFXgEmwFPcugX29Oct4LcKcI7xS2DhqoCZqwLmtMmQqtEeZfSKxR4FcOu682t9kiKZPccMroAP4M3j1sDNKTeoBBieY5MiGZ7MnmFmv/vvG040u4veAcR1owowPBEtYIH19U3fm1ECXJahh8A08R9NCUyBe9p+JGL5ug1sXENvA7/tAMAS4AUY+fkqaNHCuIoXQVM/brBpU8Ty718FTz1ghe0nRRx5BchbQM0fmN1FSoA58EpbDUQcx1aAi5vdRYH9FzDChkANgrF0VYBcg5othBBCCCEEAJ+G2WlPPBfvMwAAAABJRU5ErkJggg==" y="0"/>
</g>
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,355,319)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
<g data-tags="blk">
<defs>
<clipPath id="clip46">
<path d="M-44,-5 L76,-5 L76,7 L-44,7 L-44,-5 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip46)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,399,324)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="36.5938" x="-18.2969" xml:space="preserve" y="3.5">[i_phaB]</text>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="blk frame">
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,355,319)">
<path d="M0,0 L90,0 L120,6 L90,12 L0,12 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
</g>
<!--RAWSTRING-->
</g>
<!--RAWSTRING-->
<g data-tags="portannotationpanel PortDataTypeString">
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,477,323)">
<path d="M0,-12 L46.4844,-12 L46.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
</g>
<defs>
<clipPath id="clip47">
<path d="M-334,-216 L297.023,-216 L297.023,102 L-334,102 L-334,-216 z"/>
</clipPath>
</defs>
<g clip-path="url(#clip47)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,477,311)">
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="44.4844" x="1" xml:space="preserve" y="9">sfix16_En4</text>
</g>
<!--RAWSTRING-->
@@ -886,5 +886,5 @@
<!--RAWSTRING-->
</g>
</g>
<!--generated on windows @ 2020-10-11 21:39:22 W. Europe Daylight Time-->
<!--generated on windows @ 2020-10-20 17:30:28 W. Europe Daylight Time-->
</svg>

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 208 KiB

@@ -44,51 +44,6 @@
"finder":[
]
},
{
"sid":"BLDCmotor_FOC_R2017b_fixdt:11200:28",
"className":"Stateflow.State",
"icon":"WebViewIcon8",
"name":"VOLTAGE_MODE",
"label":"VOLTAGE_MODE",
"parent":"BLDCmotor_FOC_R2017b_fixdt:11200",
"inspector":{
"params":[
"HasOutputData",
"InlineOption",
"LabelString",
"DataLogging",
"TestPoint",