Updates on BLDC controller
- added possbility to switch the Control mode while motor is spinning
- added support for Cruise control: activated by b_cruiseCtrlEna, where the target to set is n_cruiseMotTgt. (Needs small aditional handling on the application firmware to set the n_cruiseMotTgt properly to the current operation speed, immediately after activation via b_cruiseCtrlEna).
- extended Phase current measurements z_selPhaCurMeasABC : {iA,iB} = 0; {iB,iC} = 1; {iA,iC} = 2
- added interface for external motor angle measurement from as sensor, e.g., encoder. The selection can be done via b_angleMeasEna.
|
After Width: | Height: | Size: 66 KiB |
@@ -23,8 +23,8 @@
|
||||
% get_param(gcb, 'BlockType')
|
||||
|
||||
% Compile model
|
||||
BLDCmotorControl_FOC_R2017b_fixdt([],[],[],'compile');
|
||||
modelName = 'BLDCmotorControl_FOC_R2017b_fixdt';
|
||||
BLDCmotor_FOC_R2017b_fixdt([],[],[],'compile');
|
||||
modelName = 'BLDCmotor_FOC_R2017b_fixdt';
|
||||
|
||||
Parameter = '';
|
||||
DataType = '';
|
||||
@@ -89,7 +89,7 @@ for k = 1:length(Blocks)
|
||||
end
|
||||
|
||||
% Terminate compilation
|
||||
BLDCmotorControl_FOC_R2017b_fixdt([],[],[],'term');
|
||||
BLDCmotor_FOC_R2017b_fixdt([],[],[],'term');
|
||||
|
||||
% Create table
|
||||
T = table(Parameter,DataType);
|
||||
|
||||
@@ -0,0 +1,536 @@
|
||||
/*
|
||||
* File: BLDC_controller.h
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.1284
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Sun Oct 11 20:20:20 2020
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
* Emulation hardware selection:
|
||||
* Differs from embedded hardware (MATLAB Host)
|
||||
* Code generation objectives:
|
||||
* 1. Execution efficiency
|
||||
* 2. RAM efficiency
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef RTW_HEADER_BLDC_controller_h_
|
||||
#define RTW_HEADER_BLDC_controller_h_
|
||||
#include "rtwtypes.h"
|
||||
#ifndef BLDC_controller_COMMON_INCLUDES_
|
||||
# define BLDC_controller_COMMON_INCLUDES_
|
||||
#include "rtwtypes.h"
|
||||
#endif /* BLDC_controller_COMMON_INCLUDES_ */
|
||||
|
||||
/* Macros for accessing real-time model data structure */
|
||||
|
||||
/* Forward declaration for rtModel */
|
||||
typedef struct tag_RTM RT_MODEL;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S12>/Counter' */
|
||||
typedef struct {
|
||||
int16_T UnitDelay_DSTATE; /* '<S17>/UnitDelay' */
|
||||
} DW_Counter;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S57>/PI_clamp_fixdt' */
|
||||
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' */
|
||||
} DW_Low_Pass_Filter;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S76>/I_backCalc_fixdt' */
|
||||
typedef struct {
|
||||
int32_T UnitDelay_DSTATE; /* '<S81>/UnitDelay' */
|
||||
int32_T UnitDelay_DSTATE_h; /* '<S83>/UnitDelay' */
|
||||
} DW_I_backCalc_fixdt;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S23>/Counter' */
|
||||
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' */
|
||||
} DW_either_edge;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S3>/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_Debounce_Filter;
|
||||
|
||||
/* 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_p; /* '<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;
|
||||
|
||||
/* 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'
|
||||
*/
|
||||
int16_T r_sin_M1_Table[181];
|
||||
|
||||
/* Computed Parameter: r_cos_M1_Table
|
||||
* Referenced by: '<S49>/r_cos_M1'
|
||||
*/
|
||||
int16_T r_cos_M1_Table[181];
|
||||
|
||||
/* Computed Parameter: iq_maxSca_M1_Table
|
||||
* Referenced by: '<S47>/iq_maxSca_M1'
|
||||
*/
|
||||
uint16_T iq_maxSca_M1_Table[50];
|
||||
|
||||
/* Computed Parameter: z_commutMap_M1_table
|
||||
* Referenced by: '<S87>/z_commutMap_M1'
|
||||
*/
|
||||
int8_T z_commutMap_M1_table[18];
|
||||
|
||||
/* Computed Parameter: vec_hallToPos_Value
|
||||
* Referenced by: '<S10>/vec_hallToPos'
|
||||
*/
|
||||
int8_T vec_hallToPos_Value[8];
|
||||
} ConstP;
|
||||
|
||||
/* External inputs (root inport signals with auto storage) */
|
||||
typedef struct {
|
||||
boolean_T b_motEna; /* '<Root>/b_motEna' */
|
||||
uint8_T z_ctrlModReq; /* '<Root>/z_ctrlModReq' */
|
||||
int16_T r_inpTgt; /* '<Root>/r_inpTgt' */
|
||||
uint8_T b_hallA; /* '<Root>/b_hallA ' */
|
||||
uint8_T b_hallB; /* '<Root>/b_hallB' */
|
||||
uint8_T b_hallC; /* '<Root>/b_hallC' */
|
||||
int16_T i_phaAB; /* '<Root>/i_phaAB' */
|
||||
int16_T i_phaBC; /* '<Root>/i_phaBC' */
|
||||
int16_T i_DCLink; /* '<Root>/i_DCLink' */
|
||||
int16_T a_mechAngle; /* '<Root>/a_mechAngle' */
|
||||
} ExtU;
|
||||
|
||||
/* External outputs (root outports fed by signals with auto storage) */
|
||||
typedef struct {
|
||||
int16_T DC_phaA; /* '<Root>/DC_phaA' */
|
||||
int16_T DC_phaB; /* '<Root>/DC_phaB' */
|
||||
int16_T DC_phaC; /* '<Root>/DC_phaC' */
|
||||
uint8_T z_errCode; /* '<Root>/z_errCode' */
|
||||
int16_T n_mot; /* '<Root>/n_mot' */
|
||||
int16_T n_motHiRes; /* '<Root>/n_motHiRes' */
|
||||
int16_T a_elecAngle; /* '<Root>/a_elecAngle' */
|
||||
int16_T iq; /* '<Root>/iq' */
|
||||
int16_T id; /* '<Root>/id' */
|
||||
} ExtY;
|
||||
|
||||
/* Parameters (auto storage) */
|
||||
struct P_ {
|
||||
int32_T dV_openRate; /* Variable: dV_openRate
|
||||
* Referenced by: '<S35>/dV_openRate'
|
||||
*/
|
||||
int16_T dz_cntTrnsDetHi; /* Variable: dz_cntTrnsDetHi
|
||||
* Referenced by: '<S16>/dz_cntTrnsDet'
|
||||
*/
|
||||
int16_T dz_cntTrnsDetLo; /* Variable: dz_cntTrnsDetLo
|
||||
* Referenced by: '<S16>/dz_cntTrnsDet'
|
||||
*/
|
||||
int16_T n_cruiseMotTgt; /* Variable: n_cruiseMotTgt
|
||||
* Referenced by: '<S55>/n_cruiseMotTgt'
|
||||
*/
|
||||
int16_T z_maxCntRst; /* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S12>/Counter'
|
||||
* '<S12>/z_maxCntRst'
|
||||
* '<S12>/z_maxCntRst2'
|
||||
* '<S12>/UnitDelay3'
|
||||
* '<S16>/z_counter'
|
||||
*/
|
||||
uint16_T cf_speedCoef; /* Variable: cf_speedCoef
|
||||
* Referenced by: '<S16>/cf_speedCoef'
|
||||
*/
|
||||
uint16_T t_errDequal; /* Variable: t_errDequal
|
||||
* Referenced by: '<S3>/t_errDequal'
|
||||
*/
|
||||
uint16_T t_errQual; /* Variable: t_errQual
|
||||
* Referenced by: '<S3>/t_errQual'
|
||||
*/
|
||||
int16_T Vd_max; /* Variable: Vd_max
|
||||
* Referenced by:
|
||||
* '<S47>/Vd_max1'
|
||||
* '<S34>/Vd_max'
|
||||
*/
|
||||
int16_T Vq_max_M1[46]; /* Variable: Vq_max_M1
|
||||
* Referenced by: '<S47>/Vq_max_M1'
|
||||
*/
|
||||
int16_T Vq_max_XA[46]; /* Variable: Vq_max_XA
|
||||
* Referenced by: '<S47>/Vq_max_XA'
|
||||
*/
|
||||
int16_T a_phaAdvMax; /* Variable: a_phaAdvMax
|
||||
* Referenced by: '<S5>/a_phaAdvMax'
|
||||
*/
|
||||
int16_T i_max; /* Variable: i_max
|
||||
* Referenced by:
|
||||
* '<S47>/i_max'
|
||||
* '<S34>/i_max'
|
||||
*/
|
||||
int16_T id_fieldWeakMax; /* Variable: id_fieldWeakMax
|
||||
* Referenced by: '<S5>/id_fieldWeakMax'
|
||||
*/
|
||||
int16_T n_commAcvLo; /* Variable: n_commAcvLo
|
||||
* Referenced by: '<S12>/n_commDeacv'
|
||||
*/
|
||||
int16_T n_commDeacvHi; /* Variable: n_commDeacvHi
|
||||
* Referenced by: '<S12>/n_commDeacv'
|
||||
*/
|
||||
int16_T n_fieldWeakAuthHi; /* Variable: n_fieldWeakAuthHi
|
||||
* Referenced by: '<S5>/n_fieldWeakAuthHi'
|
||||
*/
|
||||
int16_T n_fieldWeakAuthLo; /* Variable: n_fieldWeakAuthLo
|
||||
* Referenced by: '<S5>/n_fieldWeakAuthLo'
|
||||
*/
|
||||
int16_T n_max; /* Variable: n_max
|
||||
* Referenced by:
|
||||
* '<S47>/n_max1'
|
||||
* '<S34>/n_max'
|
||||
*/
|
||||
int16_T n_stdStillDet; /* Variable: n_stdStillDet
|
||||
* Referenced by: '<S12>/n_stdStillDet'
|
||||
*/
|
||||
int16_T r_errInpTgtThres; /* Variable: r_errInpTgtThres
|
||||
* Referenced by: '<S3>/r_errInpTgtThres'
|
||||
*/
|
||||
int16_T r_fieldWeakHi; /* Variable: r_fieldWeakHi
|
||||
* Referenced by: '<S5>/r_fieldWeakHi'
|
||||
*/
|
||||
int16_T r_fieldWeakLo; /* Variable: r_fieldWeakLo
|
||||
* Referenced by: '<S5>/r_fieldWeakLo'
|
||||
*/
|
||||
uint16_T cf_KbLimProt; /* Variable: cf_KbLimProt
|
||||
* Referenced by:
|
||||
* '<S75>/cf_KbLimProt'
|
||||
* '<S76>/cf_KbLimProt'
|
||||
*/
|
||||
uint16_T cf_idKp; /* Variable: cf_idKp
|
||||
* Referenced by: '<S57>/cf_idKp1'
|
||||
*/
|
||||
uint16_T cf_iqKp; /* Variable: cf_iqKp
|
||||
* Referenced by: '<S56>/cf_iqKp'
|
||||
*/
|
||||
uint16_T cf_nKp; /* Variable: cf_nKp
|
||||
* Referenced by: '<S55>/cf_nKp'
|
||||
*/
|
||||
uint16_T cf_currFilt; /* Variable: cf_currFilt
|
||||
* Referenced by: '<S43>/cf_currFilt'
|
||||
*/
|
||||
uint16_T cf_idKi; /* Variable: cf_idKi
|
||||
* Referenced by: '<S57>/cf_idKi1'
|
||||
*/
|
||||
uint16_T cf_iqKi; /* Variable: cf_iqKi
|
||||
* Referenced by: '<S56>/cf_iqKi'
|
||||
*/
|
||||
uint16_T cf_iqKiLimProt; /* Variable: cf_iqKiLimProt
|
||||
* Referenced by:
|
||||
* '<S74>/cf_iqKiLimProt'
|
||||
* '<S76>/cf_iqKiLimProt'
|
||||
*/
|
||||
uint16_T cf_nKi; /* Variable: cf_nKi
|
||||
* Referenced by: '<S55>/cf_nKi'
|
||||
*/
|
||||
uint16_T cf_nKiLimProt; /* Variable: cf_nKiLimProt
|
||||
* Referenced by:
|
||||
* '<S75>/cf_nKiLimProt'
|
||||
* '<S76>/cf_nKiLimProt'
|
||||
*/
|
||||
uint8_T n_polePairs; /* Variable: n_polePairs
|
||||
* Referenced by: '<S14>/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'
|
||||
*/
|
||||
boolean_T b_angleMeasEna; /* Variable: b_angleMeasEna
|
||||
* Referenced by:
|
||||
* '<S2>/b_angleMeasEna'
|
||||
* '<S12>/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'
|
||||
*/
|
||||
boolean_T b_fieldWeakEna; /* Variable: b_fieldWeakEna
|
||||
* Referenced by:
|
||||
* '<S1>/b_fieldWeakEna'
|
||||
* '<S90>/b_fieldWeakEna'
|
||||
*/
|
||||
};
|
||||
|
||||
/* Parameters (auto storage) */
|
||||
typedef struct P_ P;
|
||||
|
||||
/* Real-time Model Data Structure */
|
||||
struct tag_RTM {
|
||||
P *defaultParam;
|
||||
ExtU *inputs;
|
||||
ExtY *outputs;
|
||||
DW *dwork;
|
||||
};
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
extern const ConstP rtConstP;
|
||||
|
||||
/* Model entry point functions */
|
||||
extern void BLDC_controller_initialize(RT_MODEL *const rtM);
|
||||
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 '<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 '<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
|
||||
*/
|
||||
|
||||
/*-
|
||||
* The generated code includes comments that allow you to trace directly
|
||||
* back to the appropriate location in the model. The basic format
|
||||
* is <system>/block_name, where system is the system number (uniquely
|
||||
* assigned by Simulink) and block_name is the name of the block.
|
||||
*
|
||||
* Note that this particular code originates from a subsystem build,
|
||||
* and has its own system numbers different from the parent model.
|
||||
* Refer to the system hierarchy for this subsystem below, and use the
|
||||
* MATLAB hilite_system command to trace the generated code back
|
||||
* to the parent model. For example,
|
||||
*
|
||||
* hilite_system('BLDCmotor_FOC_R2017b_fixdt/BLDC_controller') - opens subsystem BLDCmotor_FOC_R2017b_fixdt/BLDC_controller
|
||||
* hilite_system('BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Kp') - opens and selects block Kp
|
||||
*
|
||||
* Here is the system hierarchy for this model
|
||||
*
|
||||
* '<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'
|
||||
*/
|
||||
#endif /* RTW_HEADER_BLDC_controller_h_ */
|
||||
|
||||
/*
|
||||
* File trailer for generated code.
|
||||
*
|
||||
* [EOF]
|
||||
*/
|
||||
@@ -0,0 +1,157 @@
|
||||
/*
|
||||
* File: BLDC_controller_data.c
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.1284
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Sun Oct 11 20:20:20 2020
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
* Emulation hardware selection:
|
||||
* Differs from embedded hardware (MATLAB Host)
|
||||
* Code generation objectives:
|
||||
* 1. Execution efficiency
|
||||
* 2. RAM efficiency
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#include "BLDC_controller.h"
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
const ConstP rtConstP = {
|
||||
/* Computed Parameter: r_sin3PhaA_M1_Table
|
||||
* Referenced by: '<S89>/r_sin3PhaA_M1'
|
||||
*/
|
||||
{ -13091, -13634, -14126, -14565, -14953, -15289, -15577, -15816, -16009,
|
||||
-16159, -16269, -16340, -16377, -16383, -16362, -16317, -16253, -16172,
|
||||
-16079, -15977, -15870, -15762, -15656, -15555, -15461, -15377, -15306,
|
||||
-15248, -15206, -15180, -15172, -15180, -15206, -15248, -15306, -15377,
|
||||
-15461, -15555, -15656, -15762, -15870, -15977, -16079, -16172, -16253,
|
||||
-16317, -16362, -16383, -16377, -16340, -16269, -16159, -16009, -15816,
|
||||
-15577, -15289, -14953, -14565, -14126, -13634, -13091, -12496, -11849,
|
||||
-11154, -10411, -9623, -8791, -7921, -7014, -6075, -5107, -4115, -3104,
|
||||
-2077, -1041, 0, 1041, 2077, 3104, 4115, 5107, 6075, 7014, 7921, 8791, 9623,
|
||||
10411, 11154, 11849, 12496, 13091, 13634, 14126, 14565, 14953, 15289, 15577,
|
||||
15816, 16009, 16159, 16269, 16340, 16377, 16383, 16362, 16317, 16253, 16172,
|
||||
16079, 15977, 15870, 15762, 15656, 15555, 15461, 15377, 15306, 15248, 15206,
|
||||
15180, 15172, 15180, 15206, 15248, 15306, 15377, 15461, 15555, 15656, 15762,
|
||||
15870, 15977, 16079, 16172, 16253, 16317, 16362, 16383, 16377, 16340, 16269,
|
||||
16159, 16009, 15816, 15577, 15289, 14953, 14565, 14126, 13634, 13091, 12496,
|
||||
11849, 11154, 10411, 9623, 8791, 7921, 7014, 6075, 5107, 4115, 3104, 2077,
|
||||
1041, 0, -1041, -2077, -3104, -4115, -5107, -6075, -7014, -7921, -8791,
|
||||
-9623, -10411, -11154, -11849, -12496, -13091 },
|
||||
|
||||
/* Computed Parameter: r_sin3PhaB_M1_Table
|
||||
* Referenced by: '<S89>/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,
|
||||
16009, 15816, 15577, 15289, 14953, 14565, 14126, 13634, 13091, 12496, 11849,
|
||||
11154, 10411, 9623, 8791, 7921, 7014, 6075, 5107, 4115, 3104, 2077, 1041, 0,
|
||||
-1041, -2077, -3104, -4115, -5107, -6075, -7014, -7921, -8791, -9623, -10411,
|
||||
-11154, -11849, -12496, -13091, -13634, -14126, -14565, -14953, -15289,
|
||||
-15577, -15816, -16009, -16159, -16269, -16340, -16377, -16383, -16362,
|
||||
-16317, -16253, -16172, -16079, -15977, -15870, -15762, -15656, -15555,
|
||||
-15461, -15377, -15306, -15248, -15206, -15180, -15172, -15180, -15206,
|
||||
-15248, -15306, -15377, -15461, -15555, -15656, -15762, -15870, -15977,
|
||||
-16079, -16172, -16253, -16317, -16362, -16383, -16377, -16340, -16269,
|
||||
-16159, -16009, -15816, -15577, -15289, -14953, -14565, -14126, -13634,
|
||||
-13091, -12496, -11849, -11154, -10411, -9623, -8791, -7921, -7014, -6075,
|
||||
-5107, -4115, -3104, -2077, -1041, 0, 1041, 2077, 3104, 4115, 5107, 6075,
|
||||
7014, 7921, 8791, 9623, 10411, 11154, 11849, 12496, 13091, 13634, 14126,
|
||||
14565, 14953, 15289, 15577, 15816, 16009, 16159, 16269, 16340, 16377, 16383,
|
||||
16362, 16317, 16253, 16172, 16079, 15977, 15870, 15762, 15656, 15555, 15461,
|
||||
15377, 15306, 15248, 15206, 15180, 15172 },
|
||||
|
||||
/* Computed Parameter: r_sin3PhaC_M1_Table
|
||||
* Referenced by: '<S89>/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,
|
||||
7014, 7921, 8791, 9623, 10411, 11154, 11849, 12496, 13091, 13634, 14126,
|
||||
14565, 14953, 15289, 15577, 15816, 16009, 16159, 16269, 16340, 16377, 16383,
|
||||
16362, 16317, 16253, 16172, 16079, 15977, 15870, 15762, 15656, 15555, 15461,
|
||||
15377, 15306, 15248, 15206, 15180, 15172, 15180, 15206, 15248, 15306, 15377,
|
||||
15461, 15555, 15656, 15762, 15870, 15977, 16079, 16172, 16253, 16317, 16362,
|
||||
16383, 16377, 16340, 16269, 16159, 16009, 15816, 15577, 15289, 14953, 14565,
|
||||
14126, 13634, 13091, 12496, 11849, 11154, 10411, 9623, 8791, 7921, 7014,
|
||||
6075, 5107, 4115, 3104, 2077, 1041, 0, -1041, -2077, -3104, -4115, -5107,
|
||||
-6075, -7014, -7921, -8791, -9623, -10411, -11154, -11849, -12496, -13091,
|
||||
-13634, -14126, -14565, -14953, -15289, -15577, -15816, -16009, -16159,
|
||||
-16269, -16340, -16377, -16383, -16362, -16317, -16253, -16172, -16079,
|
||||
-15977, -15870, -15762, -15656, -15555, -15461, -15377, -15306, -15248,
|
||||
-15206, -15180, -15172, -15180, -15206, -15248, -15306, -15377, -15461,
|
||||
-15555, -15656, -15762, -15870, -15977, -16079, -16172, -16253, -16317,
|
||||
-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'
|
||||
*/
|
||||
{ 65535U, 65523U, 65484U, 65418U, 65326U, 65207U, 65062U, 64890U, 64691U,
|
||||
64465U, 64211U, 63930U, 63620U, 63281U, 62913U, 62516U, 62088U, 61630U,
|
||||
61140U, 60618U, 60062U, 59473U, 58848U, 58187U, 57489U, 56752U, 55974U,
|
||||
55155U, 54291U, 53381U, 52422U, 51413U, 50349U, 49227U, 48043U, 46792U,
|
||||
45470U, 44069U, 42581U, 40997U, 39307U, 37494U, 35541U, 33422U, 31105U,
|
||||
28540U, 25655U, 22323U, 18304U, 12974U },
|
||||
|
||||
/* Computed Parameter: z_commutMap_M1_table
|
||||
* Referenced by: '<S87>/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'
|
||||
*/
|
||||
{ 0, 2, 0, 1, 4, 3, 5, 0 }
|
||||
};
|
||||
|
||||
/*
|
||||
* File trailer for generated code.
|
||||
*
|
||||
* [EOF]
|
||||
*/
|
||||
@@ -0,0 +1,354 @@
|
||||
/*
|
||||
* File: ert_main.c
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.1284
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Sun Oct 11 20:20:20 2020
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
* Emulation hardware selection:
|
||||
* Differs from embedded hardware (MATLAB Host)
|
||||
* Code generation objectives:
|
||||
* 1. Execution efficiency
|
||||
* 2. RAM efficiency
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h> /* This ert_main.c example uses printf/fflush */
|
||||
#include "BLDC_controller.h" /* Model's header file */
|
||||
#include "rtwtypes.h"
|
||||
|
||||
static RT_MODEL rtM_;
|
||||
static RT_MODEL *const rtMPtr = &rtM_; /* Real-time model */
|
||||
static P rtP = {
|
||||
/* Variable: dV_openRate
|
||||
* Referenced by: '<S35>/dV_openRate'
|
||||
*/
|
||||
12288,
|
||||
|
||||
/* Variable: dz_cntTrnsDetHi
|
||||
* Referenced by: '<S16>/dz_cntTrnsDet'
|
||||
*/
|
||||
40,
|
||||
|
||||
/* Variable: dz_cntTrnsDetLo
|
||||
* Referenced by: '<S16>/dz_cntTrnsDet'
|
||||
*/
|
||||
20,
|
||||
|
||||
/* Variable: n_cruiseMotTgt
|
||||
* Referenced by: '<S55>/n_cruiseMotTgt'
|
||||
*/
|
||||
0,
|
||||
|
||||
/* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S12>/Counter'
|
||||
* '<S12>/z_maxCntRst'
|
||||
* '<S12>/z_maxCntRst2'
|
||||
* '<S12>/UnitDelay3'
|
||||
* '<S16>/z_counter'
|
||||
*/
|
||||
2000,
|
||||
|
||||
/* Variable: cf_speedCoef
|
||||
* Referenced by: '<S16>/cf_speedCoef'
|
||||
*/
|
||||
10667U,
|
||||
|
||||
/* Variable: t_errDequal
|
||||
* Referenced by: '<S3>/t_errDequal'
|
||||
*/
|
||||
9600U,
|
||||
|
||||
/* Variable: t_errQual
|
||||
* Referenced by: '<S3>/t_errQual'
|
||||
*/
|
||||
1280U,
|
||||
|
||||
/* Variable: Vd_max
|
||||
* Referenced by:
|
||||
* '<S47>/Vd_max1'
|
||||
* '<S34>/Vd_max'
|
||||
*/
|
||||
14400,
|
||||
|
||||
/* Variable: Vq_max_M1
|
||||
* Referenced by: '<S47>/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,
|
||||
12562, 12377, 12181, 11973, 11753, 11520, 11273, 11011, 10733, 10438, 10124,
|
||||
9790, 9433, 9051, 8640, 8196, 7713, 7184, 6597, 5935, 5170, 4245, 3019, 0 },
|
||||
|
||||
/* Variable: Vq_max_XA
|
||||
* Referenced by: '<S47>/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,
|
||||
8640, 8960, 9280, 9600, 9920, 10240, 10560, 10880, 11200, 11520, 11840,
|
||||
12160, 12480, 12800, 13120, 13440, 13760, 14080, 14400 },
|
||||
|
||||
/* Variable: a_phaAdvMax
|
||||
* Referenced by: '<S5>/a_phaAdvMax'
|
||||
*/
|
||||
400,
|
||||
|
||||
/* Variable: i_max
|
||||
* Referenced by:
|
||||
* '<S47>/i_max'
|
||||
* '<S34>/i_max'
|
||||
*/
|
||||
12000,
|
||||
|
||||
/* Variable: id_fieldWeakMax
|
||||
* Referenced by: '<S5>/id_fieldWeakMax'
|
||||
*/
|
||||
4000,
|
||||
|
||||
/* Variable: n_commAcvLo
|
||||
* Referenced by: '<S12>/n_commDeacv'
|
||||
*/
|
||||
240,
|
||||
|
||||
/* Variable: n_commDeacvHi
|
||||
* Referenced by: '<S12>/n_commDeacv'
|
||||
*/
|
||||
480,
|
||||
|
||||
/* Variable: n_fieldWeakAuthHi
|
||||
* Referenced by: '<S5>/n_fieldWeakAuthHi'
|
||||
*/
|
||||
6400,
|
||||
|
||||
/* Variable: n_fieldWeakAuthLo
|
||||
* Referenced by: '<S5>/n_fieldWeakAuthLo'
|
||||
*/
|
||||
4800,
|
||||
|
||||
/* Variable: n_max
|
||||
* Referenced by:
|
||||
* '<S47>/n_max1'
|
||||
* '<S34>/n_max'
|
||||
*/
|
||||
24000,
|
||||
|
||||
/* Variable: n_stdStillDet
|
||||
* Referenced by: '<S12>/n_stdStillDet'
|
||||
*/
|
||||
48,
|
||||
|
||||
/* Variable: r_errInpTgtThres
|
||||
* Referenced by: '<S3>/r_errInpTgtThres'
|
||||
*/
|
||||
9600,
|
||||
|
||||
/* Variable: r_fieldWeakHi
|
||||
* Referenced by: '<S5>/r_fieldWeakHi'
|
||||
*/
|
||||
16000,
|
||||
|
||||
/* Variable: r_fieldWeakLo
|
||||
* Referenced by: '<S5>/r_fieldWeakLo'
|
||||
*/
|
||||
12000,
|
||||
|
||||
/* Variable: cf_KbLimProt
|
||||
* Referenced by:
|
||||
* '<S75>/cf_KbLimProt'
|
||||
* '<S76>/cf_KbLimProt'
|
||||
*/
|
||||
768U,
|
||||
|
||||
/* Variable: cf_idKp
|
||||
* Referenced by: '<S57>/cf_idKp1'
|
||||
*/
|
||||
819U,
|
||||
|
||||
/* Variable: cf_iqKp
|
||||
* Referenced by: '<S56>/cf_iqKp'
|
||||
*/
|
||||
1229U,
|
||||
|
||||
/* Variable: cf_nKp
|
||||
* Referenced by: '<S55>/cf_nKp'
|
||||
*/
|
||||
4833U,
|
||||
|
||||
/* Variable: cf_currFilt
|
||||
* Referenced by: '<S43>/cf_currFilt'
|
||||
*/
|
||||
7864U,
|
||||
|
||||
/* Variable: cf_idKi
|
||||
* Referenced by: '<S57>/cf_idKi1'
|
||||
*/
|
||||
737U,
|
||||
|
||||
/* Variable: cf_iqKi
|
||||
* Referenced by: '<S56>/cf_iqKi'
|
||||
*/
|
||||
1229U,
|
||||
|
||||
/* Variable: cf_iqKiLimProt
|
||||
* Referenced by:
|
||||
* '<S74>/cf_iqKiLimProt'
|
||||
* '<S76>/cf_iqKiLimProt'
|
||||
*/
|
||||
737U,
|
||||
|
||||
/* Variable: cf_nKi
|
||||
* Referenced by: '<S55>/cf_nKi'
|
||||
*/
|
||||
251U,
|
||||
|
||||
/* Variable: cf_nKiLimProt
|
||||
* Referenced by:
|
||||
* '<S75>/cf_nKiLimProt'
|
||||
* '<S76>/cf_nKiLimProt'
|
||||
*/
|
||||
246U,
|
||||
|
||||
/* Variable: n_polePairs
|
||||
* Referenced by: '<S14>/n_polePairs'
|
||||
*/
|
||||
15U,
|
||||
|
||||
/* Variable: z_ctrlTypSel
|
||||
* Referenced by: '<S1>/z_ctrlTypSel'
|
||||
*/
|
||||
2U,
|
||||
|
||||
/* Variable: z_selPhaCurMeasABC
|
||||
* Referenced by: '<S42>/z_selPhaCurMeasABC'
|
||||
*/
|
||||
0U,
|
||||
|
||||
/* Variable: b_angleMeasEna
|
||||
* Referenced by:
|
||||
* '<S2>/b_angleMeasEna'
|
||||
* '<S12>/b_angleMeasEna'
|
||||
*/
|
||||
0,
|
||||
|
||||
/* Variable: b_cruiseCtrlEna
|
||||
* Referenced by: '<S1>/b_cruiseCtrlEna'
|
||||
*/
|
||||
0,
|
||||
|
||||
/* Variable: b_diagEna
|
||||
* Referenced by: '<S1>/b_diagEna'
|
||||
*/
|
||||
1,
|
||||
|
||||
/* Variable: b_fieldWeakEna
|
||||
* Referenced by:
|
||||
* '<S1>/b_fieldWeakEna'
|
||||
* '<S90>/b_fieldWeakEna'
|
||||
*/
|
||||
0
|
||||
}; /* Modifiable parameters */
|
||||
|
||||
static DW rtDW; /* Observable states */
|
||||
static ExtU rtU; /* External inputs */
|
||||
static ExtY rtY; /* External outputs */
|
||||
|
||||
/*
|
||||
* Associating rt_OneStep with a real-time clock or interrupt service routine
|
||||
* is what makes the generated code "real-time". The function rt_OneStep is
|
||||
* always associated with the base rate of the model. Subrates are managed
|
||||
* by the base rate from inside the generated code. Enabling/disabling
|
||||
* interrupts and floating point context switches are target specific. This
|
||||
* example code indicates where these should take place relative to executing
|
||||
* the generated code step function. Overrun behavior should be tailored to
|
||||
* your application needs. This example simply sets an error status in the
|
||||
* real-time model and returns from rt_OneStep.
|
||||
*/
|
||||
void rt_OneStep(RT_MODEL *const rtM);
|
||||
void rt_OneStep(RT_MODEL *const rtM)
|
||||
{
|
||||
static boolean_T OverrunFlag = false;
|
||||
|
||||
/* Disable interrupts here */
|
||||
|
||||
/* Check for overrun */
|
||||
if (OverrunFlag) {
|
||||
return;
|
||||
}
|
||||
|
||||
OverrunFlag = true;
|
||||
|
||||
/* Save FPU context here (if necessary) */
|
||||
/* Re-enable timer or interrupt here */
|
||||
/* Set model inputs here */
|
||||
|
||||
/* Step the model */
|
||||
BLDC_controller_step(rtM);
|
||||
|
||||
/* Get model outputs here */
|
||||
|
||||
/* Indicate task complete */
|
||||
OverrunFlag = false;
|
||||
|
||||
/* Disable interrupts here */
|
||||
/* Restore FPU context here (if necessary) */
|
||||
/* Enable interrupts here */
|
||||
}
|
||||
|
||||
/*
|
||||
* The example "main" function illustrates what is required by your
|
||||
* application code to initialize, execute, and terminate the generated code.
|
||||
* Attaching rt_OneStep to a real-time clock is target specific. This example
|
||||
* illustrates how you do this relative to initializing the model.
|
||||
*/
|
||||
int_T main(int_T argc, const char *argv[])
|
||||
{
|
||||
RT_MODEL *const rtM = rtMPtr;
|
||||
|
||||
/* Unused arguments */
|
||||
(void)(argc);
|
||||
(void)(argv);
|
||||
|
||||
/* Pack model data into RTM */
|
||||
rtM->defaultParam = &rtP;
|
||||
rtM->dwork = &rtDW;
|
||||
rtM->inputs = &rtU;
|
||||
rtM->outputs = &rtY;
|
||||
|
||||
/* Initialize model */
|
||||
BLDC_controller_initialize(rtM);
|
||||
|
||||
/* Attach rt_OneStep to a timer or interrupt service routine with
|
||||
* period 6.0E-5 seconds (the model's base sample time) here. The
|
||||
* call syntax for rt_OneStep is
|
||||
*
|
||||
* rt_OneStep(rtM);
|
||||
*/
|
||||
printf("Warning: The simulation will run forever. "
|
||||
"Generated ERT main won't simulate model step behavior. "
|
||||
"To change this behavior select the 'MAT-file logging' option.\n");
|
||||
fflush((NULL));
|
||||
while (1) {
|
||||
/* Perform other application tasks here */
|
||||
}
|
||||
|
||||
/* The option 'Remove error status field in real-time model data structure'
|
||||
* is selected, therefore the following code does not need to execute.
|
||||
*/
|
||||
#if 0
|
||||
|
||||
/* Disable rt_OneStep() here */
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* File trailer for generated code.
|
||||
*
|
||||
* [EOF]
|
||||
*/
|
||||
@@ -5,10 +5,10 @@
|
||||
"sections":[
|
||||
{
|
||||
"hid":1,
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt",
|
||||
"name":"BLDCmotorControl_FOC_R2017b_fixdt",
|
||||
"fullname":"BLDCmotorControl_FOC_R2017b_fixdt",
|
||||
"label":"BLDCmotorControl_FOC_R2017b_fixdt",
|
||||
"sid":"BLDCmotor_FOC_R2017b_fixdt",
|
||||
"name":"BLDCmotor_FOC_R2017b_fixdt",
|
||||
"fullname":"BLDCmotor_FOC_R2017b_fixdt",
|
||||
"label":"BLDCmotor_FOC_R2017b_fixdt",
|
||||
"parent":0,
|
||||
"descendants":[
|
||||
2,
|
||||
@@ -100,10 +100,13 @@
|
||||
88,
|
||||
89,
|
||||
90,
|
||||
91
|
||||
91,
|
||||
92,
|
||||
93,
|
||||
94
|
||||
],
|
||||
"hierarchyUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json",
|
||||
"backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json"
|
||||
"hierarchyUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json",
|
||||
"backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json"
|
||||
}
|
||||
],
|
||||
"optViews":[
|
||||
@@ -111,5 +114,5 @@
|
||||
"display":{
|
||||
"informer":false
|
||||
},
|
||||
"iconsUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.css"
|
||||
"iconsUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
@@ -1,509 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2789",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UnitDelay",
|
||||
"label":"UnitDelay",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"StateName",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Inherited",
|
||||
"-1",
|
||||
"",
|
||||
"",
|
||||
"off",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"State Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2787",
|
||||
"className":"Simulink.DataTypeConversion",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Conversion1",
|
||||
"label":"Data Type Conversion1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"ConvertRealWorld",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"[]",
|
||||
"[]",
|
||||
"fixdt(1,16,4)",
|
||||
"off",
|
||||
"Real World Value (RWV)",
|
||||
"Floor",
|
||||
"off",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"DataTypeConversion",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2790",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"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",
|
||||
"[]",
|
||||
"[]",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2788",
|
||||
"className":"Simulink.Sum",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Sum1",
|
||||
"label":"Sum1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"IconShape",
|
||||
"Inputs",
|
||||
"InputSameDT",
|
||||
"AccumDataTypeStr",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"CollapseDim",
|
||||
"CollapseMode",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"round",
|
||||
"|++",
|
||||
"off",
|
||||
"Inherit: Same as first input",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: Same as first input",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2786",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2787#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2789#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2788#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2786#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779",
|
||||
"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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,435 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="inline" height="89.000000px" preserveAspectRatio="xMinYMin meet" viewBox="84.00 15.00 402.00 89.00" width="402.000000px" x="0" y="0" zoomAndPan="disable">
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel">
|
||||
<!--RAWSTRING-->
|
||||
<g id="background" pointer-events="none">
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,0,0)">
|
||||
<path d="M85,16 L485,16 L485,103 L85,103 L85,16 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2779">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2789">
|
||||
<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,224,62)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA4ElEQVRIie2WPQ+CMBBAH6ayuOrCwuQv8v8PLixlqAMMMOjQI57yETgSB9OXXHohR18OmvQy4AZcgLOsFjxQy6qj/i50IilUWDgBueQ90AKPqUJH7KwASgkLR1k7oAGCejYSDh2WwNUohNhZQ+zMzwkPOwQmkjAJk3CEW1GTqfz5C+Fuieb//2ESJuFmHPF2PjFzQ6/kDlSyVyDONP2csOZzALJQSdTEEWNR6CUfBiALekwMsk+3JNQDkIUg7wZWfFIvBYF3t1tpJRq1Tgoz4lyaEw+N9eD0Ep3Kh0gk9vECjJhEyDfxTKEAAAAASUVORK5CYII=" 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,225,63)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip2)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,225,63)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip8">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip8)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,233.5,73.5)">
|
||||
<path d="M-1,2 L6,2 L6,3 L-1,3 L-1,2 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip9">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip9)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,233.5,73.5)">
|
||||
<path d="M4.125,-2 L4.125,-2.1875 C3.14062,-2.1875 2.89062,-2.42188 2.89062,-2.98438 L2.89062,-10.75 L2.76562,-10.7812 L0.4375,-9.60938 L0.4375,-9.42188 L0.796875,-9.54688 C1.03125,-9.64062 1.25,-9.70312 1.375,-9.70312 C1.65625,-9.70312 1.76562,-9.51562 1.76562,-9.07812 L1.76562,-3.23438 C1.76562,-2.51562 1.5,-2.25 0.53125,-2.1875 L0.53125,-2 L4.125,-2 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip10">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip10)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,233.5,73.5)">
|
||||
<path d="M4.42188,8.57812 L4.42188,8.4375 L0.75,8.4375 L0.328125,9.9375 L0.53125,10 C0.796875,9.32812 1.04688,9.21875 1.71875,9.21875 L3.48438,9.21875 L-0.546875,14.0469 L-0.421875,14.1719 C-0.21875,14 -0.046875,13.9375 0.15625,13.9375 C0.5,13.9375 0.921875,14.1094 1.53125,14.4844 C2.17188,14.8906 2.625,15.0469 3,15.0469 C3.71875,15.0469 4.20312,14.5781 4.20312,14.0625 C4.20312,13.7812 4.01562,13.5781 3.75,13.5781 C3.54688,13.5781 3.32812,13.8125 3.3125,14.0312 C3.3125,14.125 3.34375,14.2344 3.42188,14.3906 C3.46875,14.4688 3.48438,14.5312 3.48438,14.5781 C3.48438,14.7031 3.34375,14.7812 3.14062,14.7812 C2.8125,14.7812 2.5625,14.625 2.23438,14.125 C1.70312,13.3594 1.42188,13.2188 0.671875,13.0469 L4.42188,8.57812 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--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,225,63)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,235,89)">
|
||||
<path d="M-11.9531,0 L11.9531,0 L11.9531,14 L-11.9531,14 L-11.9531,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip24">
|
||||
<path d="M-140.047,-73 L266.953,-73 L266.953,14 L-140.047,14 L-140.047,-73 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip24)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="0.6" stroke-width="1" transform="matrix(1,0,0,1,223.047,89)">
|
||||
<text fill="#000000" fill-opacity="0.6" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="21.9062" x="1" xml:space="preserve" y="10">Ini=0</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,223,77)">
|
||||
<path d="M-51.4844,0 L0,0 L0,12 L-51.4844,12 L-51.4844,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip25">
|
||||
<path d="M-88.5156,-61 L318.484,-61 L318.484,26 L-88.5156,26 L-88.5156,-61 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,171.516,77)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="49.4844" x="1" xml:space="preserve" y="9">sfix32_En20</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2787">
|
||||
<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,349,19)">
|
||||
<image height="28" preserveAspectRatio="none" width="58" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAcCAYAAAAwTqwDAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA6ElEQVRYhe2YMQ7CMAxFX1Hp0hWWLp04EfcfWLq0QxhgaBYGu8KggBhQIZGf9OUo8uAvR1GcCjgCe2CnMSdGYNJoNT0n1oi5zignWqDRdQSuwDmVWCOd7IBelRNbjTNwAYLZe8B2tAcOa1T3ZSJi8owc26TRzZoV/RI3WhputDTcaGm40dJwo6XhRkujRl78LS9e/X/OCRgQDwGZR2MqsUamcTu85sSgmpAx7a3RUdfL8JoT9islIPXPqcTFqB1ecyIgNQc+OLqjJgTu3c2Fq+piYtJohfwZNchllNuFFFWzWS9yHMf5P25oVEK9bKT5dwAAAABJRU5ErkJggg==" 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,350,20)">
|
||||
<path d="M0,0 L50,0 L50,20 L0,20 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip27">
|
||||
<path d="M0,0 L50,0 L50,20 L0,20 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip27)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,350,20)">
|
||||
<path d="M0,0 L50,0 L50,20 L0,20 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip33">
|
||||
<path d="M-19,-5 L23,-5 L23,10 L-19,10 L-19,-5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip33)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,372.5,27.5)">
|
||||
<path d="M-13.1406,3.71875 L-12.1094,3.85938 C-12.224,4.56771 -12.513,5.125 -12.9766,5.53125 C-13.4401,5.9375 -14.0156,6.14062 -14.7031,6.14062 C-15.5469,6.14062 -16.2292,5.86198 -16.75,5.30469 C-17.2708,4.7474 -17.5312,3.94792 -17.5312,2.90625 C-17.5312,2.23958 -17.4193,1.65365 -17.1953,1.14844 C-16.9714,0.643229 -16.6328,0.265625 -16.1797,0.015625 C-15.7266,-0.234375 -15.2292,-0.359375 -14.6875,-0.359375 C-14.0104,-0.359375 -13.4583,-0.190104 -13.0312,0.148438 C-12.6042,0.486979 -12.3281,0.973958 -12.2031,1.60938 L-13.2344,1.76562 C-13.3281,1.34896 -13.5,1.03385 -13.75,0.820312 C-14,0.606771 -14.3021,0.5 -14.6562,0.5 C-15.1875,0.5 -15.6172,0.690104 -15.9453,1.07031 C-16.2734,1.45052 -16.4375,2.05208 -16.4375,2.875 C-16.4375,3.71875 -16.2786,4.32812 -15.9609,4.70312 C-15.6432,5.07812 -15.224,5.26562 -14.7031,5.26562 C-14.2969,5.26562 -13.9531,5.14062 -13.6719,4.89062 C-13.3906,4.64062 -13.2135,4.25 -13.1406,3.71875 M-11.5938,2.89062 C-11.5938,1.73438 -11.276,0.880208 -10.6406,0.328125 C-10.099,-0.130208 -9.44792,-0.359375 -8.6875,-0.359375 C-7.82292,-0.359375 -7.11979,-0.0807292 -6.57812,0.476562 C-6.03646,1.03385 -5.76562,1.80729 -5.76562,2.79688 C-5.76562,3.59896 -5.88542,4.22917 -6.125,4.6875 C-6.36458,5.14583 -6.71354,5.5026 -7.17188,5.75781 C-7.63021,6.01302 -8.13542,6.14062 -8.6875,6.14062 C-9.55208,6.14062 -10.2526,5.86198 -10.7891,5.30469 C-11.3255,4.7474 -11.5938,3.94271 -11.5938,2.89062 M-10.5156,2.89062 C-10.5156,3.68229 -10.3411,4.27604 -9.99219,4.67188 C-9.64323,5.06771 -9.20833,5.26562 -8.6875,5.26562 C-8.15625,5.26562 -7.71875,5.06771 -7.375,4.67188 C-7.03125,4.27604 -6.85938,3.67188 -6.85938,2.85938 C-6.85938,2.08854 -7.03385,1.50521 -7.38281,1.10938 C-7.73177,0.713542 -8.16667,0.515625 -8.6875,0.515625 C-9.20833,0.515625 -9.64323,0.710938 -9.99219,1.10156 C-10.3411,1.49219 -10.5156,2.08854 -10.5156,2.89062 M-4.53125,6 L-4.53125,-0.21875 L-3.57812,-0.21875 L-3.57812,0.65625 C-3.13021,-0.0208333 -2.47396,-0.359375 -1.60938,-0.359375 C-1.23438,-0.359375 -0.888021,-0.291667 -0.570312,-0.15625 C-0.252604,-0.0208333 -0.015625,0.15625 0.140625,0.375 C0.296875,0.59375 0.40625,0.848958 0.46875,1.14062 C0.5,1.33854 0.515625,1.68229 0.515625,2.17188 L0.515625,6 L-0.53125,6 L-0.53125,2.21875 C-0.53125,1.78125 -0.572917,1.45833 -0.65625,1.25 C-0.739583,1.04167 -0.885417,0.872396 -1.09375,0.742188 C-1.30208,0.611979 -1.54688,0.546875 -1.82812,0.546875 C-2.27604,0.546875 -2.66406,0.690104 -2.99219,0.976562 C-3.32031,1.26302 -3.48438,1.80208 -3.48438,2.59375 L-3.48438,6 L-4.53125,6 M3.85938,6 L1.5,-0.21875 L2.60938,-0.21875 L3.95312,3.5 C4.09896,3.90625 4.22917,4.32292 4.34375,4.75 C4.4375,4.42708 4.56771,4.03646 4.73438,3.57812 L6.125,-0.21875 L7.20312,-0.21875 L4.84375,6 L3.85938,6 M12.3906,4 L13.4844,4.125 C13.3177,4.76042 13,5.25521 12.5312,5.60938 C12.0625,5.96354 11.4688,6.14062 10.75,6.14062 C9.84375,6.14062 9.1224,5.85938 8.58594,5.29688 C8.04948,4.73438 7.78125,3.94792 7.78125,2.9375 C7.78125,1.89583 8.05208,1.08594 8.59375,0.507812 C9.13542,-0.0703125 9.83333,-0.359375 10.6875,-0.359375 C11.5208,-0.359375 12.2005,-0.078125 12.7266,0.484375 C13.2526,1.04688 13.5156,1.84375 13.5156,2.875 C13.5156,2.9375 13.5156,3.03125 13.5156,3.15625 L8.875,3.15625 C8.91667,3.84375 9.11198,4.36719 9.46094,4.72656 C9.8099,5.08594 10.2396,5.26562 10.75,5.26562 C11.1458,5.26562 11.4792,5.16406 11.75,4.96094 C12.0208,4.75781 12.2344,4.4375 12.3906,4 M8.9375,2.29688 L12.4062,2.29688 C12.3646,1.76562 12.2344,1.36979 12.0156,1.10938 C11.6719,0.703125 11.2344,0.5 10.7031,0.5 C10.224,0.5 9.81771,0.661458 9.48438,0.984375 C9.15104,1.30729 8.96875,1.74479 8.9375,2.29688 M14.7969,6 L14.7969,-0.21875 L15.75,-0.21875 L15.75,0.71875 C15.9896,0.28125 16.2109,-0.0078125 16.4141,-0.148438 C16.6172,-0.289062 16.8438,-0.359375 17.0938,-0.359375 C17.4479,-0.359375 17.8073,-0.25 18.1719,-0.03125 L17.8125,0.953125 C17.5521,0.796875 17.2969,0.71875 17.0469,0.71875 C16.8177,0.71875 16.6094,0.789062 16.4219,0.929688 C16.2344,1.07031 16.1042,1.26562 16.0312,1.51562 C15.9167,1.89062 15.8594,2.29688 15.8594,2.73438 L15.8594,6 L14.7969,6 M21.0938,5.0625 L21.25,5.98438 C20.9479,6.04688 20.6823,6.07812 20.4531,6.07812 C20.0677,6.07812 19.7708,6.01823 19.5625,5.89844 C19.3542,5.77865 19.2057,5.61979 19.1172,5.42188 C19.0286,5.22396 18.9844,4.80729 18.9844,4.17188 L18.9844,0.59375 L18.2188,0.59375 L18.2188,-0.21875 L18.9844,-0.21875 L18.9844,-1.76562 L20.0312,-2.39062 L20.0312,-0.21875 L21.0938,-0.21875 L21.0938,0.59375 L20.0312,0.59375 L20.0312,4.23438 C20.0312,4.53646 20.0495,4.72917 20.0859,4.8125 C20.1224,4.89583 20.1849,4.96354 20.2734,5.01562 C20.362,5.06771 20.4844,5.09375 20.6406,5.09375 C20.7552,5.09375 20.9062,5.08333 21.0938,5.0625" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--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,350,20)">
|
||||
<path d="M0,0 L50,0 L50,20 L0,20 L0,0 z" fill-rule="evenodd" 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,402,28)">
|
||||
<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-319,0 L88,0 L88,87 L-319,87 L-319,0 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,402,16)">
|
||||
<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="BLDCmotorControl_FOC_R2017b_fixdt:10454:2790">
|
||||
<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,454,22)">
|
||||
<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,455,23)">
|
||||
<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="clip49">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 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,470,30)">
|
||||
<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-->
|
||||
</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,455,23)">
|
||||
<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,470,39)">
|
||||
<path d="M-3.5,0 L3.5,0 L3.5,14 L-3.5,14 L-3.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip50">
|
||||
<path d="M-383.5,-23 L23.5,-23 L23.5,64 L-383.5,64 L-383.5,-23 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,466.5,39)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5" x="1" xml:space="preserve" y="10">y</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2788">
|
||||
<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,179,19)">
|
||||
<image height="28" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACC0lEQVRIie2Wb0/bMBDGf0kDa1mjKgMJmJjGvv+HmkCaBFOhKg2hGW2zF35OMcZuCxLvOOmR8+d8j8/nu3MGfAXGwASogGPgBPim70OgwMkKWAI1cA9MgTtgBsz1/QnYkJBCRiuRnAJnQgWUCcKFSEpgBBwAuXQ20ulShBORfQcugB8i3MfDMfAFGHhkK2AN/EsRVvLsAvgFXALne3o49v6tgWegFdlzzMsCF7MzeXYJ/JTHpVZfAJn0Oy1gJBx6C2lx8WuEpUhfEZ7Qx+1c75Ngq0wy+nhZzFrcFtfy/EGoY4Q5LlaVN5pnIZkvA+mUmufbmABHWtgryXFxKL1xF1mMNLSxlXAYoIgpJqQQaWhjuI2wCJDFFBOSReYboruUxz5+pOS4I+0jWiES0kXmG9YpwmWA1RsILf9CG9EcNELLHxvb1OoCWUvXn2tjkyIscDVx5o0jLWRbevhk94GN+S7CKX0OjenLVaq02TYuNPfGw9QjjIZmgKsOuYwaOlzl7+SNFeYl8Chv/gJ/gN/AlZ5vcf1xId2ohzNcktr2rXCx2Kc93QDXHtlM/1q29MM5fT5abGr2a0+2lbe83M5o/Iyw1vNGik8y+N4rRtI7I7Q7iB2GBtde7nZ4OBesFTWan7zPQH/6rM9ZIT7yECNseNloWxIdPkXov1vxPfBgB8pOq+E95fBTPuVt8h8hv9hLNIZhvAAAAABJRU5ErkJggg==" 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,180,20)">
|
||||
<path d="M20,10 C20,15.5228 15.5228,20 10,20 C4.47715,20 0,15.5228 0,10 C0,4.47715 4.47715,0 10,0 C15.5228,0 20,4.47715 20,10 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip52">
|
||||
<path d="M179.5,19.5 L199.5,19.5 L199.5,39.5 L179.5,39.5 L179.5,19.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,0.5,0.5)">
|
||||
<polyline fill="none" points="183,30 187,30" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip53">
|
||||
<path d="M179.5,19.5 L199.5,19.5 L199.5,39.5 L179.5,39.5 L179.5,19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip53)" 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="185,28 185,32" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip54">
|
||||
<path d="M179.5,19.5 L199.5,19.5 L199.5,39.5 L179.5,39.5 L179.5,19.5 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,0.5,0.5)">
|
||||
<polyline fill="none" points="188,35 192,35" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip55">
|
||||
<path d="M179.5,19.5 L199.5,19.5 L199.5,39.5 L179.5,39.5 L179.5,19.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip55)" 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="190,33 190,37" 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,180,20)">
|
||||
<path d="M20,10 C20,15.5228 15.5228,20 10,20 C4.47715,20 0,15.5228 0,10 C0,4.47715 4.47715,0 10,0 C15.5228,0 20,4.47715 20,10 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,202,28)">
|
||||
<path d="M0,-12 L51.4844,-12 L51.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip56">
|
||||
<path d="M-119,0 L288,0 L288,87 L-119,87 L-119,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip56)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,202,16)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="49.4844" x="1" xml:space="preserve" y="9">sfix32_En20</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2786">
|
||||
<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,84,22)">
|
||||
<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,85,23)">
|
||||
<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="clip58">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip58)" 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,100,30)">
|
||||
<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-->
|
||||
</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,85,23)">
|
||||
<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,100,39)">
|
||||
<path d="M-3.77344,0 L3.77344,0 L3.77344,14 L-3.77344,14 L-3.77344,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip59">
|
||||
<path d="M-13.2266,-23 L393.773,-23 L393.773,64 L-13.2266,64 L-13.2266,-23 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip59)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,96.2266,39)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="1" xml:space="preserve" y="10">u</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,117,28)">
|
||||
<path d="M0,-12 L51.4844,-12 L51.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip60">
|
||||
<path d="M-34,0 L373,0 L373,87 L-34,87 L-34,0 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,117,16)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="49.4844" x="1" xml:space="preserve" y="9">sfix32_En20</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2787#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,455,30)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<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,0,0)">
|
||||
<path d="M400,30 L447,30" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2789#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(6.12323e-17,-1,1,6.12323e-17,190,40)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<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,0,0)">
|
||||
<path d="M225,75 L190,75 L190,48" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2788#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<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,0,0)">
|
||||
<path d="M200,30 L285,30" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,350,30)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<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,0,0)">
|
||||
<path d="M285,30 L342,30" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(-1,1.22465e-16,-1.22465e-16,-1,245,75)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<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,0,0)">
|
||||
<path d="M285,30 L285,75 L253,75" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,285,30)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_FOC_R2017b_fixdt:10454:2786#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,180,30)">
|
||||
<path d="M0,0 L-8,-4 L-8,4 L0,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<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,0,0)">
|
||||
<path d="M115,30 L172,30" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2020-03-24 11:02:00 W. Europe Standard Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
@@ -1,509 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2790",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"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",
|
||||
"[]",
|
||||
"[]",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2789",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UnitDelay",
|
||||
"label":"UnitDelay",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"StateName",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Inherited",
|
||||
"-1",
|
||||
"",
|
||||
"",
|
||||
"off",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"State Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2787",
|
||||
"className":"Simulink.DataTypeConversion",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Conversion1",
|
||||
"label":"Data Type Conversion1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"ConvertRealWorld",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"[]",
|
||||
"[]",
|
||||
"fixdt(1,16,4)",
|
||||
"off",
|
||||
"Real World Value (RWV)",
|
||||
"Floor",
|
||||
"off",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"DataTypeConversion",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2786",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2788",
|
||||
"className":"Simulink.Sum",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Sum1",
|
||||
"label":"Sum1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"IconShape",
|
||||
"Inputs",
|
||||
"InputSameDT",
|
||||
"AccumDataTypeStr",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"CollapseDim",
|
||||
"CollapseMode",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"round",
|
||||
"|++",
|
||||
"off",
|
||||
"Inherit: Same as first input",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: Same as first input",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2787#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2789#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2788#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2786#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779",
|
||||
"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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
@@ -1,936 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507:10",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:9",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UpperRelop",
|
||||
"label":"UpperRelop",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:8",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch2",
|
||||
"label":"Switch2",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:7",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch",
|
||||
"label":"Switch",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:6",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"LowerRelop1",
|
||||
"label":"LowerRelop1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:5",
|
||||
"className":"Simulink.SFunction",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Propagation",
|
||||
"label":"Data Type Propagation",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:4",
|
||||
"className":"Simulink.DataTypeDuplicate",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Duplicate",
|
||||
"label":"Data Type Duplicate",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumInputPorts"
|
||||
],
|
||||
"values":[
|
||||
"2"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"DataTypeDuplicate",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507:3",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"lo",
|
||||
"label":"lo",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:2",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:1",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"up",
|
||||
"label":"up",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:1#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:2#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:3#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:7#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:8#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:6#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10507:9#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:10",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:9",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UpperRelop",
|
||||
"label":"UpperRelop",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:8",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch2",
|
||||
"label":"Switch2",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:7",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch",
|
||||
"label":"Switch",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:6",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"LowerRelop1",
|
||||
"label":"LowerRelop1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:5",
|
||||
"className":"Simulink.SFunction",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Propagation",
|
||||
"label":"Data Type Propagation",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:4",
|
||||
"className":"Simulink.DataTypeDuplicate",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Duplicate",
|
||||
"label":"Data Type Duplicate",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumInputPorts"
|
||||
],
|
||||
"values":[
|
||||
"2"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"DataTypeDuplicate",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10508:3",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"lo",
|
||||
"label":"lo",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:2",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:1",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"up",
|
||||
"label":"up",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:1#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:2#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:3#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:7#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:8#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:6#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10508:9#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
|
||||
"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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,936 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:10",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:9",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UpperRelop",
|
||||
"label":"UpperRelop",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:8",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch2",
|
||||
"label":"Switch2",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:7",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch",
|
||||
"label":"Switch",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:6",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"LowerRelop1",
|
||||
"label":"LowerRelop1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:5",
|
||||
"className":"Simulink.SFunction",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Propagation",
|
||||
"label":"Data Type Propagation",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:4",
|
||||
"className":"Simulink.DataTypeDuplicate",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Duplicate",
|
||||
"label":"Data Type Duplicate",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumInputPorts"
|
||||
],
|
||||
"values":[
|
||||
"2"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"DataTypeDuplicate",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:3",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"lo",
|
||||
"label":"lo",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:2",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:1",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"up",
|
||||
"label":"up",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:1#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:2#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:3#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:7#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:8#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:6#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895:9#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745: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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,936 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:10",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:9",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UpperRelop",
|
||||
"label":"UpperRelop",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:8",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch2",
|
||||
"label":"Switch2",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:7",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch",
|
||||
"label":"Switch",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:6",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"LowerRelop1",
|
||||
"label":"LowerRelop1",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:5",
|
||||
"className":"Simulink.SFunction",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Propagation",
|
||||
"label":"Data Type Propagation",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:4",
|
||||
"className":"Simulink.DataTypeDuplicate",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Duplicate",
|
||||
"label":"Data Type Duplicate",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:3",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"lo",
|
||||
"label":"lo",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:2",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:1",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"up",
|
||||
"label":"up",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:1#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:2#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:3#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:7#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:8#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:6#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895:9#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,936 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:10",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:9",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UpperRelop",
|
||||
"label":"UpperRelop",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:8",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch2",
|
||||
"label":"Switch2",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:7",
|
||||
"className":"Simulink.Switch",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Switch",
|
||||
"label":"Switch",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:6",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"LowerRelop1",
|
||||
"label":"LowerRelop1",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:5",
|
||||
"className":"Simulink.SFunction",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Propagation",
|
||||
"label":"Data Type Propagation",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:4",
|
||||
"className":"Simulink.DataTypeDuplicate",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Duplicate",
|
||||
"label":"Data Type Duplicate",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:3",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"lo",
|
||||
"label":"lo",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:2",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:1",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"up",
|
||||
"label":"up",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:1#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:2#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:3#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:7#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:8#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:6#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895:9#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1,509 +0,0 @@
|
||||
[
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2788",
|
||||
"className":"Simulink.Sum",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Sum1",
|
||||
"label":"Sum1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"IconShape",
|
||||
"Inputs",
|
||||
"InputSameDT",
|
||||
"AccumDataTypeStr",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"CollapseDim",
|
||||
"CollapseMode",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"round",
|
||||
"|++",
|
||||
"off",
|
||||
"Inherit: Same as first input",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: Same as first input",
|
||||
"off",
|
||||
"Simplest",
|
||||
"off",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2789",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"UnitDelay",
|
||||
"label":"UnitDelay",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"StateName",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Inherited",
|
||||
"-1",
|
||||
"",
|
||||
"",
|
||||
"off",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"State Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2790",
|
||||
"className":"Simulink.Outport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"y",
|
||||
"label":"y",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"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",
|
||||
"[]",
|
||||
"[]",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2787",
|
||||
"className":"Simulink.DataTypeConversion",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"Data Type Conversion1",
|
||||
"label":"Data Type Conversion1",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"ConvertRealWorld",
|
||||
"RndMeth",
|
||||
"SaturateOnIntegerOverflow",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"[]",
|
||||
"[]",
|
||||
"fixdt(1,16,4)",
|
||||
"off",
|
||||
"Real World Value (RWV)",
|
||||
"Floor",
|
||||
"off",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"DataTypeConversion",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2786",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon3",
|
||||
"name":"u",
|
||||
"label":"u",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2787#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2789#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2788#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"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":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2786#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon5",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779",
|
||||
"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":[
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 4.6 KiB |