diff --git a/01_Libraries/01_Controller/BLDC_controller_Lib.slx b/01_Libraries/01_Controller/BLDC_controller_Lib.slx index 73c4913..d92ac71 100644 Binary files a/01_Libraries/01_Controller/BLDC_controller_Lib.slx and b/01_Libraries/01_Controller/BLDC_controller_Lib.slx differ diff --git a/02_Figures/paramTable.png b/02_Figures/paramTable.png new file mode 100644 index 0000000..24e9544 Binary files /dev/null and b/02_Figures/paramTable.png differ diff --git a/03_CreateParamTable/create_tableParamType.m b/03_CreateParamTable/create_tableParamType.m index e13c855..6032710 100644 --- a/03_CreateParamTable/create_tableParamType.m +++ b/03_CreateParamTable/create_tableParamType.m @@ -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); diff --git a/03_CreateParamTable/tableParamType.xlsx b/03_CreateParamTable/tableParamType.xlsx index 077ab20..f2b6492 100644 Binary files a/03_CreateParamTable/tableParamType.xlsx and b/03_CreateParamTable/tableParamType.xlsx differ diff --git a/BLDC_controller_ert_rtw/BLDC_controller.c b/BLDC_controller_ert_rtw/BLDC_controller.c new file mode 100644 index 0000000..2aa9ce3 --- /dev/null +++ b/BLDC_controller_ert_rtw/BLDC_controller.c @@ -0,0 +1,3216 @@ +/* + * File: BLDC_controller.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" + +/* Named constants for Chart: '/F03_02_Control_Mode_Manager' */ +#define IN_ACTIVE ((uint8_T)1U) +#define IN_NO_ACTIVE_CHILD ((uint8_T)0U) +#define IN_OPEN ((uint8_T)2U) +#define IN_SPEED_MODE ((uint8_T)1U) +#define IN_TORQUE_MODE ((uint8_T)2U) +#define IN_VOLTAGE_MODE ((uint8_T)3U) +#define OPEN_MODE ((uint8_T)0U) +#define SPD_MODE ((uint8_T)2U) +#define TRQ_MODE ((uint8_T)3U) +#define VLT_MODE ((uint8_T)1U) +#ifndef UCHAR_MAX +#include +#endif + +#if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) ) +#error Code was generated for compiler with different sized uchar/char. \ +Consider adjusting Test hardware word size settings on the \ +Hardware Implementation pane to match your compiler word sizes as \ +defined in limits.h of the compiler. Alternatively, you can \ +select the Test hardware is the same as production hardware option and \ +select the Enable portable word sizes option on the Code Generation > \ +Verification pane for ERT based targets, which will disable the \ +preprocessor word size checks. +#endif + +#if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) ) +#error Code was generated for compiler with different sized ushort/short. \ +Consider adjusting Test hardware word size settings on the \ +Hardware Implementation pane to match your compiler word sizes as \ +defined in limits.h of the compiler. Alternatively, you can \ +select the Test hardware is the same as production hardware option and \ +select the Enable portable word sizes option on the Code Generation > \ +Verification pane for ERT based targets, which will disable the \ +preprocessor word size checks. +#endif + +#if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) ) +#error Code was generated for compiler with different sized uint/int. \ +Consider adjusting Test hardware word size settings on the \ +Hardware Implementation pane to match your compiler word sizes as \ +defined in limits.h of the compiler. Alternatively, you can \ +select the Test hardware is the same as production hardware option and \ +select the Enable portable word sizes option on the Code Generation > \ +Verification pane for ERT based targets, which will disable the \ +preprocessor word size checks. +#endif + +#if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) ) +#error Code was generated for compiler with different sized ulong/long. \ +Consider adjusting Test hardware word size settings on the \ +Hardware Implementation pane to match your compiler word sizes as \ +defined in limits.h of the compiler. Alternatively, you can \ +select the Test hardware is the same as production hardware option and \ +select the Enable portable word sizes option on the Code Generation > \ +Verification pane for ERT based targets, which will disable the \ +preprocessor word size checks. +#endif + +#if 0 + +/* Skip this size verification because of preprocessor limitation */ +#if ( ULLONG_MAX != (0xFFFFFFFFFFFFFFFFULL) ) || ( LLONG_MAX != (0x7FFFFFFFFFFFFFFFLL) ) +#error Code was generated for compiler with different sized ulong_long/long_long. \ +Consider adjusting Test hardware word size settings on the \ +Hardware Implementation pane to match your compiler word sizes as \ +defined in limits.h of the compiler. Alternatively, you can \ +select the Test hardware is the same as production hardware option and \ +select the Enable portable word sizes option on the Code Generation > \ +Verification pane for ERT based targets, which will disable the \ +preprocessor word size checks. +#endif +#endif + +uint8_T plook_u8s16_evencka(int16_T u, int16_T bp0, uint16_T bpSpace, uint32_T + maxIndex); +uint8_T plook_u8u16_evencka(uint16_T u, uint16_T bp0, uint16_T bpSpace, uint32_T + maxIndex); +int32_T div_nde_s32_floor(int32_T numerator, int32_T denominator); +extern void Counter_Init(DW_Counter *localDW, int16_T rtp_z_cntInit); +extern int16_T Counter(int16_T rtu_inc, int16_T rtu_max, boolean_T rtu_rst, + DW_Counter *localDW); +extern void PI_clamp_fixdt_Init(DW_PI_clamp_fixdt *localDW); +extern void PI_clamp_fixdt(int16_T rtu_err, uint16_T rtu_P, uint16_T rtu_I, + int32_T rtu_init, int16_T rtu_satMax, int16_T rtu_satMin, int32_T + rtu_ext_limProt, int16_T *rty_out, DW_PI_clamp_fixdt *localDW); +extern void PI_clamp_fixdt_g_Init(DW_PI_clamp_fixdt_i *localDW); +extern void PI_clamp_fixdt_g_Reset(DW_PI_clamp_fixdt_i *localDW); +extern int16_T PI_clamp_fixdt_o(int16_T rtu_err, uint16_T rtu_P, uint16_T rtu_I, + int16_T rtu_init, int16_T rtu_satMax, int16_T rtu_satMin, int32_T + rtu_ext_limProt, DW_PI_clamp_fixdt_i *localDW); +extern void PI_clamp_fixdt_k_Init(DW_PI_clamp_fixdt_e *localDW); +extern void PI_clamp_fixdt_b_Reset(DW_PI_clamp_fixdt_e *localDW); +extern int16_T PI_clamp_fixdt_a(int16_T rtu_err, uint16_T rtu_P, uint16_T rtu_I, + int16_T rtu_init, int16_T rtu_satMax, int16_T rtu_satMin, int32_T + rtu_ext_limProt, DW_PI_clamp_fixdt_e *localDW); +extern void Low_Pass_Filter_Reset(DW_Low_Pass_Filter *localDW); +extern void Low_Pass_Filter(const int16_T rtu_u[2], uint16_T rtu_coef, int16_T + rty_y[2], DW_Low_Pass_Filter *localDW); +extern void I_backCalc_fixdt_Init(DW_I_backCalc_fixdt *localDW, int32_T + rtp_yInit); +extern void I_backCalc_fixdt(int16_T rtu_err, uint16_T rtu_I, uint16_T rtu_Kb, + int16_T rtu_satMax, int16_T rtu_satMin, int16_T *rty_out, DW_I_backCalc_fixdt * + localDW); +extern void Counter_b_Init(DW_Counter_l *localDW, uint16_T rtp_z_cntInit); +extern uint16_T Counter_i(uint16_T rtu_inc, uint16_T rtu_max, boolean_T rtu_rst, + DW_Counter_l *localDW); +extern boolean_T either_edge(boolean_T rtu_u, DW_either_edge *localDW); +extern void Debounce_Filter_Init(DW_Debounce_Filter *localDW); +extern void Debounce_Filter(boolean_T rtu_u, uint16_T rtu_tAcv, uint16_T + rtu_tDeacv, boolean_T *rty_y, DW_Debounce_Filter *localDW); +uint8_T plook_u8s16_evencka(int16_T u, int16_T bp0, uint16_T bpSpace, uint32_T + maxIndex) +{ + uint8_T bpIndex; + uint16_T fbpIndex; + + /* Prelookup - Index only + Index Search method: 'even' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'on' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u <= bp0) { + bpIndex = 0U; + } else { + fbpIndex = (uint16_T)((uint32_T)(uint16_T)(u - bp0) / bpSpace); + if (fbpIndex < maxIndex) { + bpIndex = (uint8_T)fbpIndex; + } else { + bpIndex = (uint8_T)maxIndex; + } + } + + return bpIndex; +} + +uint8_T plook_u8u16_evencka(uint16_T u, uint16_T bp0, uint16_T bpSpace, uint32_T + maxIndex) +{ + uint8_T bpIndex; + uint16_T fbpIndex; + + /* Prelookup - Index only + Index Search method: 'even' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'on' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u <= bp0) { + bpIndex = 0U; + } else { + fbpIndex = (uint16_T)((uint32_T)(uint16_T)((uint32_T)u - bp0) / bpSpace); + if (fbpIndex < maxIndex) { + bpIndex = (uint8_T)fbpIndex; + } else { + bpIndex = (uint8_T)maxIndex; + } + } + + return bpIndex; +} + +int32_T div_nde_s32_floor(int32_T numerator, int32_T denominator) +{ + return (((numerator < 0) != (denominator < 0)) && (numerator % denominator != + 0) ? -1 : 0) + numerator / denominator; +} + +/* System initialize for atomic system: '/Counter' */ +void Counter_Init(DW_Counter *localDW, int16_T rtp_z_cntInit) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rtp_z_cntInit; +} + +/* Output and update for atomic system: '/Counter' */ +int16_T Counter(int16_T rtu_inc, int16_T rtu_max, boolean_T rtu_rst, DW_Counter * + localDW) +{ + int16_T rtu_rst_0; + int16_T rty_cnt_0; + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant23' + * UnitDelay: '/UnitDelay' + */ + if (rtu_rst) { + rtu_rst_0 = 0; + } else { + rtu_rst_0 = localDW->UnitDelay_DSTATE; + } + + /* End of Switch: '/Switch1' */ + + /* Sum: '/Sum1' */ + rty_cnt_0 = (int16_T)(rtu_inc + rtu_rst_0); + + /* MinMax: '/MinMax' */ + if (rty_cnt_0 < rtu_max) { + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rty_cnt_0; + } else { + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rtu_max; + } + + /* End of MinMax: '/MinMax' */ + return rty_cnt_0; +} + +/* System initialize for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_Init(DW_PI_clamp_fixdt *localDW) +{ + /* InitializeConditions for Delay: '/Resettable Delay' */ + localDW->icLoad = 1U; +} + +/* Output and update for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt(int16_T rtu_err, uint16_T rtu_P, uint16_T rtu_I, int32_T + rtu_init, int16_T rtu_satMax, int16_T rtu_satMin, int32_T + rtu_ext_limProt, int16_T *rty_out, DW_PI_clamp_fixdt + *localDW) +{ + boolean_T rtb_LowerRelop1_c; + boolean_T rtb_UpperRelop_e; + int32_T rtb_Sum1_n; + int32_T q0; + int32_T tmp; + int16_T tmp_0; + + /* Sum: '/Sum2' incorporates: + * Product: '/Divide2' + */ + q0 = rtu_err * rtu_I; + if ((q0 < 0) && (rtu_ext_limProt < MIN_int32_T - q0)) { + q0 = MIN_int32_T; + } else if ((q0 > 0) && (rtu_ext_limProt > MAX_int32_T - q0)) { + q0 = MAX_int32_T; + } else { + q0 += rtu_ext_limProt; + } + + /* Delay: '/Resettable Delay' */ + if (localDW->icLoad != 0) { + localDW->ResettableDelay_DSTATE = rtu_init; + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay1' + */ + if (localDW->UnitDelay1_DSTATE) { + tmp = 0; + } else { + tmp = q0; + } + + /* End of Switch: '/Switch1' */ + + /* Sum: '/Sum1' incorporates: + * Delay: '/Resettable Delay' + */ + rtb_Sum1_n = tmp + localDW->ResettableDelay_DSTATE; + + /* Product: '/Divide5' */ + tmp = (rtu_err * rtu_P) >> 11; + if (tmp > 32767) { + tmp = 32767; + } else { + if (tmp < -32768) { + tmp = -32768; + } + } + + /* Sum: '/Sum1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Product: '/Divide5' + */ + tmp = (((rtb_Sum1_n >> 16) << 1) + tmp) >> 1; + if (tmp > 32767) { + tmp = 32767; + } else { + if (tmp < -32768) { + tmp = -32768; + } + } + + /* RelationalOperator: '/LowerRelop1' incorporates: + * Sum: '/Sum1' + */ + rtb_LowerRelop1_c = ((int16_T)tmp > rtu_satMax); + + /* RelationalOperator: '/UpperRelop' incorporates: + * Sum: '/Sum1' + */ + rtb_UpperRelop_e = ((int16_T)tmp < rtu_satMin); + + /* Switch: '/Switch1' incorporates: + * Sum: '/Sum1' + * Switch: '/Switch3' + */ + if (rtb_LowerRelop1_c) { + *rty_out = rtu_satMax; + } else if (rtb_UpperRelop_e) { + /* Switch: '/Switch3' */ + *rty_out = rtu_satMin; + } else { + *rty_out = (int16_T)tmp; + } + + /* End of Switch: '/Switch1' */ + + /* Signum: '/SignDeltaU2' incorporates: + * Sum: '/Sum2' + */ + if (q0 < 0) { + q0 = -1; + } else { + q0 = (q0 > 0); + } + + /* End of Signum: '/SignDeltaU2' */ + + /* Signum: '/SignDeltaU3' incorporates: + * Sum: '/Sum1' + */ + if ((int16_T)tmp < 0) { + tmp_0 = -1; + } else { + tmp_0 = (int16_T)((int16_T)tmp > 0); + } + + /* End of Signum: '/SignDeltaU3' */ + + /* Update for UnitDelay: '/UnitDelay1' incorporates: + * DataTypeConversion: '/DataTypeConv4' + * Logic: '/AND1' + * Logic: '/AND1' + * RelationalOperator: '/Equal1' + */ + localDW->UnitDelay1_DSTATE = ((q0 == tmp_0) && (rtb_LowerRelop1_c || + rtb_UpperRelop_e)); + + /* Update for Delay: '/Resettable Delay' */ + localDW->icLoad = 0U; + localDW->ResettableDelay_DSTATE = rtb_Sum1_n; +} + +/* System initialize for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_g_Init(DW_PI_clamp_fixdt_i *localDW) +{ + /* InitializeConditions for Delay: '/Resettable Delay' */ + localDW->icLoad = 1U; +} + +/* System reset for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_g_Reset(DW_PI_clamp_fixdt_i *localDW) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay1' */ + localDW->UnitDelay1_DSTATE = false; + + /* InitializeConditions for Delay: '/Resettable Delay' */ + localDW->icLoad = 1U; +} + +/* Output and update for atomic system: '/PI_clamp_fixdt' */ +int16_T PI_clamp_fixdt_o(int16_T rtu_err, uint16_T rtu_P, uint16_T rtu_I, + int16_T rtu_init, int16_T rtu_satMax, int16_T rtu_satMin, int32_T + rtu_ext_limProt, DW_PI_clamp_fixdt_i *localDW) +{ + boolean_T rtb_LowerRelop1_l; + boolean_T rtb_UpperRelop_f2; + int32_T rtb_Sum1_o; + int32_T q0; + int32_T tmp; + int16_T tmp_0; + int16_T rty_out_0; + + /* Sum: '/Sum2' incorporates: + * Product: '/Divide2' + */ + q0 = rtu_err * rtu_I; + if ((q0 < 0) && (rtu_ext_limProt < MIN_int32_T - q0)) { + q0 = MIN_int32_T; + } else if ((q0 > 0) && (rtu_ext_limProt > MAX_int32_T - q0)) { + q0 = MAX_int32_T; + } else { + q0 += rtu_ext_limProt; + } + + /* Delay: '/Resettable Delay' */ + if (localDW->icLoad != 0) { + localDW->ResettableDelay_DSTATE = rtu_init << 16; + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay1' + */ + if (localDW->UnitDelay1_DSTATE) { + tmp = 0; + } else { + tmp = q0; + } + + /* End of Switch: '/Switch1' */ + + /* Sum: '/Sum1' incorporates: + * Delay: '/Resettable Delay' + */ + rtb_Sum1_o = tmp + localDW->ResettableDelay_DSTATE; + + /* Product: '/Divide5' */ + tmp = (rtu_err * rtu_P) >> 11; + if (tmp > 32767) { + tmp = 32767; + } else { + if (tmp < -32768) { + tmp = -32768; + } + } + + /* Sum: '/Sum1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Product: '/Divide5' + */ + tmp = (((rtb_Sum1_o >> 16) << 1) + tmp) >> 1; + if (tmp > 32767) { + tmp = 32767; + } else { + if (tmp < -32768) { + tmp = -32768; + } + } + + /* RelationalOperator: '/LowerRelop1' incorporates: + * Sum: '/Sum1' + */ + rtb_LowerRelop1_l = ((int16_T)tmp > rtu_satMax); + + /* RelationalOperator: '/UpperRelop' incorporates: + * Sum: '/Sum1' + */ + rtb_UpperRelop_f2 = ((int16_T)tmp < rtu_satMin); + + /* Switch: '/Switch1' incorporates: + * Sum: '/Sum1' + * Switch: '/Switch3' + */ + if (rtb_LowerRelop1_l) { + rty_out_0 = rtu_satMax; + } else if (rtb_UpperRelop_f2) { + /* Switch: '/Switch3' */ + rty_out_0 = rtu_satMin; + } else { + rty_out_0 = (int16_T)tmp; + } + + /* End of Switch: '/Switch1' */ + + /* Signum: '/SignDeltaU2' incorporates: + * Sum: '/Sum2' + */ + if (q0 < 0) { + q0 = -1; + } else { + q0 = (q0 > 0); + } + + /* End of Signum: '/SignDeltaU2' */ + + /* Signum: '/SignDeltaU3' incorporates: + * Sum: '/Sum1' + */ + if ((int16_T)tmp < 0) { + tmp_0 = -1; + } else { + tmp_0 = (int16_T)((int16_T)tmp > 0); + } + + /* End of Signum: '/SignDeltaU3' */ + + /* Update for UnitDelay: '/UnitDelay1' incorporates: + * DataTypeConversion: '/DataTypeConv4' + * Logic: '/AND1' + * Logic: '/AND1' + * RelationalOperator: '/Equal1' + */ + localDW->UnitDelay1_DSTATE = ((q0 == tmp_0) && (rtb_LowerRelop1_l || + rtb_UpperRelop_f2)); + + /* Update for Delay: '/Resettable Delay' */ + localDW->icLoad = 0U; + localDW->ResettableDelay_DSTATE = rtb_Sum1_o; + return rty_out_0; +} + +/* System initialize for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_k_Init(DW_PI_clamp_fixdt_e *localDW) +{ + /* InitializeConditions for Delay: '/Resettable Delay' */ + localDW->icLoad = 1U; +} + +/* System reset for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_b_Reset(DW_PI_clamp_fixdt_e *localDW) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay1' */ + localDW->UnitDelay1_DSTATE = false; + + /* InitializeConditions for Delay: '/Resettable Delay' */ + localDW->icLoad = 1U; +} + +/* Output and update for atomic system: '/PI_clamp_fixdt' */ +int16_T PI_clamp_fixdt_a(int16_T rtu_err, uint16_T rtu_P, uint16_T rtu_I, + int16_T rtu_init, int16_T rtu_satMax, int16_T rtu_satMin, int32_T + rtu_ext_limProt, DW_PI_clamp_fixdt_e *localDW) +{ + boolean_T rtb_LowerRelop1_lt; + boolean_T rtb_UpperRelop_i; + int16_T rtb_Sum1_n; + int16_T tmp; + int32_T tmp_0; + int32_T q0; + int16_T rty_out_0; + + /* Sum: '/Sum2' incorporates: + * Product: '/Divide2' + */ + q0 = rtu_err * rtu_I; + if ((q0 < 0) && (rtu_ext_limProt < MIN_int32_T - q0)) { + q0 = MIN_int32_T; + } else if ((q0 > 0) && (rtu_ext_limProt > MAX_int32_T - q0)) { + q0 = MAX_int32_T; + } else { + q0 += rtu_ext_limProt; + } + + /* Delay: '/Resettable Delay' */ + if (localDW->icLoad != 0) { + localDW->ResettableDelay_DSTATE = rtu_init; + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay1' + */ + if (localDW->UnitDelay1_DSTATE) { + tmp = 0; + } else { + tmp = (int16_T)(((q0 < 0 ? 65535 : 0) + q0) >> 16); + } + + /* End of Switch: '/Switch1' */ + + /* Sum: '/Sum1' incorporates: + * Delay: '/Resettable Delay' + */ + rtb_Sum1_n = (int16_T)(tmp + localDW->ResettableDelay_DSTATE); + + /* Product: '/Divide5' */ + tmp_0 = (rtu_err * rtu_P) >> 11; + if (tmp_0 > 32767) { + tmp_0 = 32767; + } else { + if (tmp_0 < -32768) { + tmp_0 = -32768; + } + } + + /* Sum: '/Sum1' incorporates: + * Product: '/Divide5' + */ + tmp_0 = ((rtb_Sum1_n << 1) + tmp_0) >> 1; + if (tmp_0 > 32767) { + tmp_0 = 32767; + } else { + if (tmp_0 < -32768) { + tmp_0 = -32768; + } + } + + /* RelationalOperator: '/LowerRelop1' incorporates: + * Sum: '/Sum1' + */ + rtb_LowerRelop1_lt = ((int16_T)tmp_0 > rtu_satMax); + + /* RelationalOperator: '/UpperRelop' incorporates: + * Sum: '/Sum1' + */ + rtb_UpperRelop_i = ((int16_T)tmp_0 < rtu_satMin); + + /* Switch: '/Switch1' incorporates: + * Sum: '/Sum1' + * Switch: '/Switch3' + */ + if (rtb_LowerRelop1_lt) { + rty_out_0 = rtu_satMax; + } else if (rtb_UpperRelop_i) { + /* Switch: '/Switch3' */ + rty_out_0 = rtu_satMin; + } else { + rty_out_0 = (int16_T)tmp_0; + } + + /* End of Switch: '/Switch1' */ + + /* Signum: '/SignDeltaU2' incorporates: + * Sum: '/Sum2' + */ + if (q0 < 0) { + q0 = -1; + } else { + q0 = (q0 > 0); + } + + /* End of Signum: '/SignDeltaU2' */ + + /* Signum: '/SignDeltaU3' incorporates: + * Sum: '/Sum1' + */ + if ((int16_T)tmp_0 < 0) { + tmp = -1; + } else { + tmp = (int16_T)((int16_T)tmp_0 > 0); + } + + /* End of Signum: '/SignDeltaU3' */ + + /* Update for UnitDelay: '/UnitDelay1' incorporates: + * DataTypeConversion: '/DataTypeConv4' + * Logic: '/AND1' + * Logic: '/AND1' + * RelationalOperator: '/Equal1' + */ + localDW->UnitDelay1_DSTATE = ((q0 == tmp) && (rtb_LowerRelop1_lt || + rtb_UpperRelop_i)); + + /* Update for Delay: '/Resettable Delay' */ + localDW->icLoad = 0U; + localDW->ResettableDelay_DSTATE = rtb_Sum1_n; + return rty_out_0; +} + +/* System reset for atomic system: '/Low_Pass_Filter' */ +void Low_Pass_Filter_Reset(DW_Low_Pass_Filter *localDW) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay1' */ + localDW->UnitDelay1_DSTATE[0] = 0; + localDW->UnitDelay1_DSTATE[1] = 0; +} + +/* Output and update for atomic system: '/Low_Pass_Filter' */ +void Low_Pass_Filter(const int16_T rtu_u[2], uint16_T rtu_coef, int16_T rty_y[2], + DW_Low_Pass_Filter *localDW) +{ + int32_T rtb_Sum3_g; + + /* Sum: '/Sum2' incorporates: + * UnitDelay: '/UnitDelay1' + */ + rtb_Sum3_g = rtu_u[0] - (localDW->UnitDelay1_DSTATE[0] >> 16); + if (rtb_Sum3_g > 32767) { + rtb_Sum3_g = 32767; + } else { + if (rtb_Sum3_g < -32768) { + rtb_Sum3_g = -32768; + } + } + + /* Sum: '/Sum3' incorporates: + * Product: '/Divide3' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay1' + */ + rtb_Sum3_g = rtu_coef * rtb_Sum3_g + localDW->UnitDelay1_DSTATE[0]; + + /* DataTypeConversion: '/Data Type Conversion' */ + rty_y[0] = (int16_T)(rtb_Sum3_g >> 16); + + /* Update for UnitDelay: '/UnitDelay1' */ + localDW->UnitDelay1_DSTATE[0] = rtb_Sum3_g; + + /* Sum: '/Sum2' incorporates: + * UnitDelay: '/UnitDelay1' + */ + rtb_Sum3_g = rtu_u[1] - (localDW->UnitDelay1_DSTATE[1] >> 16); + if (rtb_Sum3_g > 32767) { + rtb_Sum3_g = 32767; + } else { + if (rtb_Sum3_g < -32768) { + rtb_Sum3_g = -32768; + } + } + + /* Sum: '/Sum3' incorporates: + * Product: '/Divide3' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay1' + */ + rtb_Sum3_g = rtu_coef * rtb_Sum3_g + localDW->UnitDelay1_DSTATE[1]; + + /* DataTypeConversion: '/Data Type Conversion' */ + rty_y[1] = (int16_T)(rtb_Sum3_g >> 16); + + /* Update for UnitDelay: '/UnitDelay1' */ + localDW->UnitDelay1_DSTATE[1] = rtb_Sum3_g; +} + +/* + * System initialize for atomic system: + * '/I_backCalc_fixdt' + * '/I_backCalc_fixdt1' + * '/I_backCalc_fixdt' + */ +void I_backCalc_fixdt_Init(DW_I_backCalc_fixdt *localDW, int32_T rtp_yInit) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE_h = rtp_yInit; +} + +/* + * Output and update for atomic system: + * '/I_backCalc_fixdt' + * '/I_backCalc_fixdt1' + * '/I_backCalc_fixdt' + */ +void I_backCalc_fixdt(int16_T rtu_err, uint16_T rtu_I, uint16_T rtu_Kb, int16_T + rtu_satMax, int16_T rtu_satMin, int16_T *rty_out, + DW_I_backCalc_fixdt *localDW) +{ + int32_T rtb_Sum1_m; + int16_T rtb_DataTypeConversion1_no; + + /* Sum: '/Sum2' incorporates: + * Product: '/Divide2' + * UnitDelay: '/UnitDelay' + */ + rtb_Sum1_m = (rtu_err * rtu_I) >> 4; + if ((rtb_Sum1_m < 0) && (localDW->UnitDelay_DSTATE < MIN_int32_T - rtb_Sum1_m)) + { + rtb_Sum1_m = MIN_int32_T; + } else if ((rtb_Sum1_m > 0) && (localDW->UnitDelay_DSTATE > MAX_int32_T + - rtb_Sum1_m)) { + rtb_Sum1_m = MAX_int32_T; + } else { + rtb_Sum1_m += localDW->UnitDelay_DSTATE; + } + + /* End of Sum: '/Sum2' */ + + /* Sum: '/Sum1' incorporates: + * UnitDelay: '/UnitDelay' + */ + rtb_Sum1_m += localDW->UnitDelay_DSTATE_h; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_DataTypeConversion1_no = (int16_T)(rtb_Sum1_m >> 12); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_DataTypeConversion1_no > rtu_satMax) { + *rty_out = rtu_satMax; + } else if (rtb_DataTypeConversion1_no < rtu_satMin) { + /* Switch: '/Switch' */ + *rty_out = rtu_satMin; + } else { + *rty_out = rtb_DataTypeConversion1_no; + } + + /* End of Switch: '/Switch2' */ + + /* Update for UnitDelay: '/UnitDelay' incorporates: + * Product: '/Divide1' + * Sum: '/Sum3' + */ + localDW->UnitDelay_DSTATE = (int16_T)(*rty_out - rtb_DataTypeConversion1_no) * + rtu_Kb; + + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE_h = rtb_Sum1_m; +} + +/* + * System initialize for atomic system: + * '/Counter' + * '/Counter' + */ +void Counter_b_Init(DW_Counter_l *localDW, uint16_T rtp_z_cntInit) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rtp_z_cntInit; +} + +/* + * Output and update for atomic system: + * '/Counter' + * '/Counter' + */ +uint16_T Counter_i(uint16_T rtu_inc, uint16_T rtu_max, boolean_T rtu_rst, + DW_Counter_l *localDW) +{ + uint16_T rtu_rst_0; + uint16_T rty_cnt_0; + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant23' + * UnitDelay: '/UnitDelay' + */ + if (rtu_rst) { + rtu_rst_0 = 0U; + } else { + rtu_rst_0 = localDW->UnitDelay_DSTATE; + } + + /* End of Switch: '/Switch1' */ + + /* Sum: '/Sum1' */ + rty_cnt_0 = (uint16_T)((uint32_T)rtu_inc + rtu_rst_0); + + /* MinMax: '/MinMax' */ + if (rty_cnt_0 < rtu_max) { + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rty_cnt_0; + } else { + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rtu_max; + } + + /* End of MinMax: '/MinMax' */ + return rty_cnt_0; +} + +/* + * Output and update for atomic system: + * '/either_edge' + * '/either_edge' + */ +boolean_T either_edge(boolean_T rtu_u, DW_either_edge *localDW) +{ + boolean_T rty_y_0; + + /* RelationalOperator: '/Relational Operator' incorporates: + * UnitDelay: '/UnitDelay' + */ + rty_y_0 = (rtu_u != localDW->UnitDelay_DSTATE); + + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = rtu_u; + return rty_y_0; +} + +/* System initialize for atomic system: '/Debounce_Filter' */ +void Debounce_Filter_Init(DW_Debounce_Filter *localDW) +{ + /* SystemInitialize for IfAction SubSystem: '/Qualification' */ + + /* SystemInitialize for Atomic SubSystem: '/Counter' */ + Counter_b_Init(&localDW->Counter_i0, 0U); + + /* End of SystemInitialize for SubSystem: '/Counter' */ + + /* End of SystemInitialize for SubSystem: '/Qualification' */ + + /* SystemInitialize for IfAction SubSystem: '/Dequalification' */ + + /* SystemInitialize for Atomic SubSystem: '/Counter' */ + Counter_b_Init(&localDW->Counter_h, 0U); + + /* End of SystemInitialize for SubSystem: '/Counter' */ + + /* End of SystemInitialize for SubSystem: '/Dequalification' */ +} + +/* Output and update for atomic system: '/Debounce_Filter' */ +void Debounce_Filter(boolean_T rtu_u, uint16_T rtu_tAcv, uint16_T rtu_tDeacv, + boolean_T *rty_y, DW_Debounce_Filter *localDW) +{ + boolean_T rtb_UnitDelay_o; + uint16_T rtb_Sum1_l; + boolean_T rtb_RelationalOperator_f; + + /* UnitDelay: '/UnitDelay' */ + rtb_UnitDelay_o = localDW->UnitDelay_DSTATE; + + /* Outputs for Atomic SubSystem: '/either_edge' */ + rtb_RelationalOperator_f = either_edge(rtu_u, &localDW->either_edge_k); + + /* End of Outputs for SubSystem: '/either_edge' */ + + /* If: '/If2' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant6' + * Inport: '/yPrev' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + */ + if (rtu_u && (!rtb_UnitDelay_o)) { + /* Outputs for IfAction SubSystem: '/Qualification' incorporates: + * ActionPort: '/Action Port' + */ + + /* Outputs for Atomic SubSystem: '/Counter' */ + rtb_Sum1_l = (uint16_T) Counter_i(1U, rtu_tAcv, rtb_RelationalOperator_f, + &localDW->Counter_i0); + + /* End of Outputs for SubSystem: '/Counter' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * RelationalOperator: '/Relational Operator2' + */ + *rty_y = (rtb_Sum1_l > rtu_tAcv); + + /* End of Outputs for SubSystem: '/Qualification' */ + } else if ((!rtu_u) && rtb_UnitDelay_o) { + /* Outputs for IfAction SubSystem: '/Dequalification' incorporates: + * ActionPort: '/Action Port' + */ + + /* Outputs for Atomic SubSystem: '/Counter' */ + rtb_Sum1_l = (uint16_T) Counter_i(1U, rtu_tDeacv, rtb_RelationalOperator_f, + &localDW->Counter_h); + + /* End of Outputs for SubSystem: '/Counter' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * RelationalOperator: '/Relational Operator2' + */ + *rty_y = !(rtb_Sum1_l > rtu_tDeacv); + + /* End of Outputs for SubSystem: '/Dequalification' */ + } else { + /* Outputs for IfAction SubSystem: '/Default' incorporates: + * ActionPort: '/Action Port' + */ + *rty_y = rtb_UnitDelay_o; + + /* End of Outputs for SubSystem: '/Default' */ + } + + /* End of If: '/If2' */ + + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = *rty_y; +} + +/* Model step function */ +void BLDC_controller_step(RT_MODEL *const rtM) +{ + P *rtP = ((P *) rtM->defaultParam); + DW *rtDW = ((DW *) rtM->dwork); + ExtU *rtU = (ExtU *) rtM->inputs; + ExtY *rtY = (ExtY *) rtM->outputs; + uint8_T rtb_Sum; + boolean_T rtb_LogicalOperator; + int8_T rtb_Sum2_h; + boolean_T rtb_RelationalOperator4_d; + boolean_T rtb_RelationalOperator1_m; + uint8_T rtb_Sum_l; + boolean_T rtb_LogicalOperator2_p; + boolean_T rtb_LogicalOperator4; + int16_T rtb_Switch2_k; + int16_T rtb_Abs5; + int16_T rtb_DataTypeConversion2; + int16_T rtb_Switch1_l; + int16_T rtb_Saturation1; + int16_T rtb_Divide2_h; + int16_T rtb_Merge; + int16_T rtb_Switch2_l; + int32_T rtb_DataTypeConversion; + int16_T rtb_toNegative; + int32_T rtb_Switch1; + int32_T rtb_Sum1; + int32_T rtb_Gain3; + int16_T rtb_TmpSignalConversionAtLow_Pa[2]; + int16_T tmp[4]; + int8_T UnitDelay3; + int16_T rtb_Merge_f_idx_2; + + /* Outputs for Atomic SubSystem: '/BLDC_controller' */ + /* Sum: '/Sum' incorporates: + * Gain: '/g_Ha' + * Gain: '/g_Hb' + * Inport: '/b_hallA ' + * Inport: '/b_hallB' + * Inport: '/b_hallC' + */ + rtb_Sum = (uint8_T)((uint32_T)(uint8_T)((uint32_T)(uint8_T)(rtU->b_hallA << 2) + + (uint8_T)(rtU->b_hallB << 1)) + rtU->b_hallC); + + /* Logic: '/Logical Operator' incorporates: + * Inport: '/b_hallA ' + * Inport: '/b_hallB' + * Inport: '/b_hallC' + * UnitDelay: '/UnitDelay1' + * UnitDelay: '/UnitDelay2' + * UnitDelay: '/UnitDelay3' + */ + rtb_LogicalOperator = (boolean_T)((rtU->b_hallA != 0) ^ (rtU->b_hallB != 0) ^ + (rtU->b_hallC != 0) ^ (rtDW->UnitDelay3_DSTATE_fy != 0) ^ + (rtDW->UnitDelay1_DSTATE != 0)) ^ (rtDW->UnitDelay2_DSTATE_f != 0); + + /* If: '/If2' incorporates: + * If: '/If2' + * Inport: '/z_counterRawPrev' + * UnitDelay: '/UnitDelay3' + */ + if (rtb_LogicalOperator) { + /* Outputs for IfAction SubSystem: '/F01_03_Direction_Detection' incorporates: + * ActionPort: '/Action Port' + */ + /* UnitDelay: '/UnitDelay3' */ + UnitDelay3 = rtDW->Switch2_e; + + /* Sum: '/Sum2' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + * UnitDelay: '/UnitDelay2' + */ + rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[rtb_Sum] - + rtDW->UnitDelay2_DSTATE_b); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant20' + * Constant: '/Constant23' + * Constant: '/Constant24' + * Constant: '/Constant8' + * Logic: '/Logical Operator3' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator6' + */ + if ((rtb_Sum2_h == 1) || (rtb_Sum2_h == -5)) { + rtDW->Switch2_e = 1; + } else { + rtDW->Switch2_e = -1; + } + + /* End of Switch: '/Switch2' */ + + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + */ + rtDW->UnitDelay2_DSTATE_b = rtConstP.vec_hallToPos_Value[rtb_Sum]; + + /* End of Outputs for SubSystem: '/F01_03_Direction_Detection' */ + + /* Outputs for IfAction SubSystem: '/Raw_Motor_Speed_Estimation' incorporates: + * ActionPort: '/Action Port' + */ + rtDW->z_counterRawPrev = rtDW->UnitDelay3_DSTATE; + + /* Sum: '/Sum7' incorporates: + * Inport: '/z_counterRawPrev' + * UnitDelay: '/UnitDelay3' + * UnitDelay: '/UnitDelay4' + */ + rtb_Switch2_k = (int16_T)(rtDW->z_counterRawPrev - rtDW->UnitDelay4_DSTATE); + + /* Abs: '/Abs2' */ + if (rtb_Switch2_k < 0) { + rtb_Switch1_l = (int16_T)-rtb_Switch2_k; + } else { + rtb_Switch1_l = rtb_Switch2_k; + } + + /* End of Abs: '/Abs2' */ + + /* Relay: '/dz_cntTrnsDet' */ + if (rtb_Switch1_l >= rtP->dz_cntTrnsDetHi) { + rtDW->dz_cntTrnsDet_Mode = true; + } else { + if (rtb_Switch1_l <= rtP->dz_cntTrnsDetLo) { + rtDW->dz_cntTrnsDet_Mode = false; + } + } + + rtDW->dz_cntTrnsDet = rtDW->dz_cntTrnsDet_Mode; + + /* End of Relay: '/dz_cntTrnsDet' */ + + /* RelationalOperator: '/Relational Operator4' */ + rtb_RelationalOperator4_d = (rtDW->Switch2_e != UnitDelay3); + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant4' + * Logic: '/Logical Operator1' + * Switch: '/Switch1' + * Switch: '/Switch2' + * UnitDelay: '/UnitDelay1' + */ + if (rtb_RelationalOperator4_d && rtDW->UnitDelay1_DSTATE_n) { + rtb_Switch1_l = 0; + } else if (rtb_RelationalOperator4_d) { + /* Switch: '/Switch2' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtb_Switch1_l = rtDW->UnitDelay4_DSTATE_e; + } else if (rtDW->dz_cntTrnsDet) { + /* Switch: '/Switch1' incorporates: + * Constant: '/cf_speedCoef' + * Product: '/Divide14' + * Switch: '/Switch2' + */ + rtb_Switch1_l = (int16_T)((rtP->cf_speedCoef << 4) / + rtDW->z_counterRawPrev); + } else { + /* Switch: '/Switch1' incorporates: + * Constant: '/cf_speedCoef' + * Gain: '/g_Ha' + * Product: '/Divide13' + * Sum: '/Sum13' + * Switch: '/Switch2' + * UnitDelay: '/UnitDelay2' + * UnitDelay: '/UnitDelay3' + * UnitDelay: '/UnitDelay5' + */ + rtb_Switch1_l = (int16_T)(((uint16_T)(rtP->cf_speedCoef << 2) << 4) / + (int16_T)(((rtDW->UnitDelay2_DSTATE + rtDW->UnitDelay3_DSTATE_o) + + rtDW->UnitDelay5_DSTATE) + rtDW->z_counterRawPrev)); + } + + /* End of Switch: '/Switch3' */ + + /* Product: '/Divide11' */ + rtDW->Divide11 = (int16_T)(rtb_Switch1_l * rtDW->Switch2_e); + + /* Update for UnitDelay: '/UnitDelay4' */ + rtDW->UnitDelay4_DSTATE = rtDW->z_counterRawPrev; + + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * UnitDelay: '/UnitDelay3' + */ + rtDW->UnitDelay2_DSTATE = rtDW->UnitDelay3_DSTATE_o; + + /* Update for UnitDelay: '/UnitDelay3' incorporates: + * UnitDelay: '/UnitDelay5' + */ + rtDW->UnitDelay3_DSTATE_o = rtDW->UnitDelay5_DSTATE; + + /* Update for UnitDelay: '/UnitDelay5' */ + rtDW->UnitDelay5_DSTATE = rtDW->z_counterRawPrev; + + /* Update for UnitDelay: '/UnitDelay1' */ + rtDW->UnitDelay1_DSTATE_n = rtb_RelationalOperator4_d; + + /* End of Outputs for SubSystem: '/Raw_Motor_Speed_Estimation' */ + } + + /* End of If: '/If2' */ + + /* Outputs for Atomic SubSystem: '/Counter' */ + + /* Constant: '/Constant6' incorporates: + * Constant: '/z_maxCntRst2' + */ + rtb_Switch1_l = (int16_T) Counter(1, rtP->z_maxCntRst, rtb_LogicalOperator, + &rtDW->Counter_e); + + /* End of Outputs for SubSystem: '/Counter' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' + * Constant: '/z_maxCntRst' + * RelationalOperator: '/Relational Operator2' + */ + if (rtb_Switch1_l > rtP->z_maxCntRst) { + rtb_Switch2_k = 0; + } else { + rtb_Switch2_k = rtDW->Divide11; + } + + /* End of Switch: '/Switch2' */ + + /* Abs: '/Abs5' */ + if (rtb_Switch2_k < 0) { + rtb_Abs5 = (int16_T)-rtb_Switch2_k; + } else { + rtb_Abs5 = rtb_Switch2_k; + } + + /* End of Abs: '/Abs5' */ + + /* Relay: '/n_commDeacv' */ + if (rtb_Abs5 >= rtP->n_commDeacvHi) { + rtDW->n_commDeacv_Mode = true; + } else { + if (rtb_Abs5 <= rtP->n_commAcvLo) { + rtDW->n_commDeacv_Mode = false; + } + } + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/b_angleMeasEna' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * Relay: '/n_commDeacv' + */ + rtb_LogicalOperator = (rtP->b_angleMeasEna || (rtDW->n_commDeacv_Mode && + (!rtDW->dz_cntTrnsDet))); + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Inport: '/r_inpTgt' + */ + rtb_DataTypeConversion2 = (int16_T)(rtU->r_inpTgt << 4); + + /* UnitDelay: '/UnitDelay2' */ + rtb_RelationalOperator4_d = rtDW->UnitDelay2_DSTATE_g; + + /* If: '/If2' incorporates: + * Constant: '/b_diagEna' + * Constant: '/CTRL_COMM2' + * Constant: '/t_errDequal' + * Constant: '/t_errQual' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator2' + * UnitDelay: '/UnitDelay2' + */ + if (rtP->b_diagEna && rtDW->UnitDelay2_DSTATE_g) { + /* Outputs for IfAction SubSystem: '/F02_Diagnostics' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch3' incorporates: + * Abs: '/Abs4' + * Constant: '/n_stdStillDet' + * Constant: '/CTRL_COMM4' + * Constant: '/r_errInpTgtThres' + * Inport: '/b_motEna' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator9' + * RelationalOperator: '/Relational Operator7' + * S-Function (sfix_bitop): '/Bitwise Operator1' + * UnitDelay: '/UnitDelay' + * UnitDelay: '/UnitDelay4' + */ + if ((rtY->z_errCode & 4) != 0) { + rtb_RelationalOperator1_m = true; + } else { + if (rtDW->UnitDelay4_DSTATE_eu < 0) { + /* Abs: '/Abs4' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtb_Merge_f_idx_2 = (int16_T)-rtDW->UnitDelay4_DSTATE_eu; + } else { + /* Abs: '/Abs4' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtb_Merge_f_idx_2 = rtDW->UnitDelay4_DSTATE_eu; + } + + rtb_RelationalOperator1_m = (rtU->b_motEna && (rtb_Abs5 < + rtP->n_stdStillDet) && (rtb_Merge_f_idx_2 > rtP->r_errInpTgtThres)); + } + + /* End of Switch: '/Switch3' */ + + /* Sum: '/Sum' incorporates: + * Constant: '/CTRL_COMM' + * Constant: '/CTRL_COMM1' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/g_Hb' + * Gain: '/g_Hb1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + */ + rtb_Sum_l = (uint8_T)(((uint32_T)((rtb_Sum == 7) << 1) + (rtb_Sum == 0)) + + (rtb_RelationalOperator1_m << 2)); + + /* Outputs for Atomic SubSystem: '/Debounce_Filter' */ + Debounce_Filter(rtb_Sum_l != 0, rtP->t_errQual, rtP->t_errDequal, + &rtDW->Merge_n, &rtDW->Debounce_Filter_f); + + /* End of Outputs for SubSystem: '/Debounce_Filter' */ + + /* Outputs for Atomic SubSystem: '/either_edge' */ + rtb_RelationalOperator1_m = either_edge(rtDW->Merge_n, &rtDW->either_edge_a); + + /* End of Outputs for SubSystem: '/either_edge' */ + + /* Switch: '/Switch1' incorporates: + * Constant: '/CTRL_COMM2' + * Constant: '/t_errDequal' + * Constant: '/t_errQual' + * RelationalOperator: '/Relational Operator2' + */ + if (rtb_RelationalOperator1_m) { + /* Outport: '/z_errCode' */ + rtY->z_errCode = rtb_Sum_l; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/F02_Diagnostics' */ + } + + /* End of If: '/If2' */ + + /* If: '/If4' incorporates: + * UnitDelay: '/UnitDelay2' + */ + rtb_Sum2_h = rtDW->If4_ActiveSubsystem; + UnitDelay3 = -1; + if (rtDW->UnitDelay2_DSTATE_g) { + UnitDelay3 = 0; + } + + rtDW->If4_ActiveSubsystem = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for If: '/If2' */ + rtDW->If2_ActiveSubsystem = -1; + } + + if (UnitDelay3 == 0) { + /* Outputs for IfAction SubSystem: '/F03_Control_Mode_Manager' incorporates: + * ActionPort: '/Action Port' + */ + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/b_cruiseCtrlEna' + * Constant: '/constant1' + * Inport: '/z_ctrlModReq' + * RelationalOperator: '/Relational Operator1' + */ + rtb_RelationalOperator1_m = ((rtU->z_ctrlModReq == 2) || + rtP->b_cruiseCtrlEna); + + /* Logic: '/Logical Operator2' incorporates: + * Constant: '/b_cruiseCtrlEna' + * Constant: '/constant' + * Inport: '/z_ctrlModReq' + * Logic: '/Logical Operator5' + * RelationalOperator: '/Relational Operator4' + */ + rtb_LogicalOperator2_p = ((rtU->z_ctrlModReq == 3) && (!rtP->b_cruiseCtrlEna)); + + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/constant8' + * Inport: '/b_motEna' + * Inport: '/z_ctrlModReq' + * Logic: '/Logical Operator7' + * RelationalOperator: '/Relational Operator10' + */ + rtb_LogicalOperator4 = (rtDW->Merge_n || (!rtU->b_motEna) || + (rtU->z_ctrlModReq == 0)); + + /* Chart: '/F03_02_Control_Mode_Manager' incorporates: + * Constant: '/constant5' + * Inport: '/z_ctrlModReq' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator6' + * Logic: '/Logical Operator9' + * RelationalOperator: '/Relational Operator5' + */ + if (rtDW->is_active_c1_BLDC_controller == 0U) { + rtDW->is_active_c1_BLDC_controller = 1U; + rtDW->is_c1_BLDC_controller = IN_OPEN; + rtDW->z_ctrlMod = OPEN_MODE; + } else if (rtDW->is_c1_BLDC_controller == IN_ACTIVE) { + if (rtb_LogicalOperator4) { + rtDW->is_ACTIVE = IN_NO_ACTIVE_CHILD; + rtDW->is_c1_BLDC_controller = IN_OPEN; + rtDW->z_ctrlMod = OPEN_MODE; + } else { + switch (rtDW->is_ACTIVE) { + case IN_SPEED_MODE: + rtDW->z_ctrlMod = SPD_MODE; + if (!rtb_RelationalOperator1_m) { + rtDW->is_ACTIVE = IN_NO_ACTIVE_CHILD; + if (rtb_LogicalOperator2_p) { + rtDW->is_ACTIVE = IN_TORQUE_MODE; + rtDW->z_ctrlMod = TRQ_MODE; + } else { + rtDW->is_ACTIVE = IN_VOLTAGE_MODE; + rtDW->z_ctrlMod = VLT_MODE; + } + } + break; + + case IN_TORQUE_MODE: + rtDW->z_ctrlMod = TRQ_MODE; + if (!rtb_LogicalOperator2_p) { + rtDW->is_ACTIVE = IN_NO_ACTIVE_CHILD; + if (rtb_RelationalOperator1_m) { + rtDW->is_ACTIVE = IN_SPEED_MODE; + rtDW->z_ctrlMod = SPD_MODE; + } else { + rtDW->is_ACTIVE = IN_VOLTAGE_MODE; + rtDW->z_ctrlMod = VLT_MODE; + } + } + break; + + default: + rtDW->z_ctrlMod = VLT_MODE; + if (rtb_LogicalOperator2_p || rtb_RelationalOperator1_m) { + rtDW->is_ACTIVE = IN_NO_ACTIVE_CHILD; + if (rtb_LogicalOperator2_p) { + rtDW->is_ACTIVE = IN_TORQUE_MODE; + rtDW->z_ctrlMod = TRQ_MODE; + } else if (rtb_RelationalOperator1_m) { + rtDW->is_ACTIVE = IN_SPEED_MODE; + rtDW->z_ctrlMod = SPD_MODE; + } else { + rtDW->is_ACTIVE = IN_VOLTAGE_MODE; + rtDW->z_ctrlMod = VLT_MODE; + } + } + break; + } + } + } else { + rtDW->z_ctrlMod = OPEN_MODE; + if ((!rtb_LogicalOperator4) && ((rtU->z_ctrlModReq == 1) || + rtb_RelationalOperator1_m || rtb_LogicalOperator2_p)) { + rtDW->is_c1_BLDC_controller = IN_ACTIVE; + if (rtb_LogicalOperator2_p) { + rtDW->is_ACTIVE = IN_TORQUE_MODE; + rtDW->z_ctrlMod = TRQ_MODE; + } else if (rtb_RelationalOperator1_m) { + rtDW->is_ACTIVE = IN_SPEED_MODE; + rtDW->z_ctrlMod = SPD_MODE; + } else { + rtDW->is_ACTIVE = IN_VOLTAGE_MODE; + rtDW->z_ctrlMod = VLT_MODE; + } + } + } + + /* End of Chart: '/F03_02_Control_Mode_Manager' */ + + /* If: '/If1' incorporates: + * Constant: '/z_ctrlTypSel' + * Inport: '/r_inpTgt' + * Saturate: '/Saturation' + */ + if (rtP->z_ctrlTypSel == 2) { + /* Outputs for IfAction SubSystem: '/FOC_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion: '/TmpSignal ConversionAtSelectorInport1' incorporates: + * Constant: '/Vd_max' + * Constant: '/constant1' + * Constant: '/i_max' + * Constant: '/n_max' + */ + tmp[0] = 0; + tmp[1] = rtP->Vd_max; + tmp[2] = rtP->n_max; + tmp[3] = rtP->i_max; + + /* End of Outputs for SubSystem: '/FOC_Control_Type' */ + + /* Saturate: '/Saturation' */ + if (rtb_DataTypeConversion2 > 16000) { + rtb_Merge = 16000; + } else if (rtb_DataTypeConversion2 < -16000) { + rtb_Merge = -16000; + } else { + rtb_Merge = rtb_DataTypeConversion2; + } + + /* Outputs for IfAction SubSystem: '/FOC_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* Product: '/Divide1' incorporates: + * Inport: '/z_ctrlModReq' + * Product: '/Divide4' + * Selector: '/Selector' + */ + rtb_Merge = (int16_T)(((uint16_T)((tmp[rtU->z_ctrlModReq] << 5) / 125) * + rtb_Merge) >> 12); + + /* End of Outputs for SubSystem: '/FOC_Control_Type' */ + } else if (rtb_DataTypeConversion2 > 16000) { + /* Outputs for IfAction SubSystem: '/Default_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Inport: '/r_inpTgt' + */ + rtb_Merge = 16000; + + /* End of Outputs for SubSystem: '/Default_Control_Type' */ + } else if (rtb_DataTypeConversion2 < -16000) { + /* Outputs for IfAction SubSystem: '/Default_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Inport: '/r_inpTgt' + */ + rtb_Merge = -16000; + + /* End of Outputs for SubSystem: '/Default_Control_Type' */ + } else { + /* Outputs for IfAction SubSystem: '/Default_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + rtb_Merge = rtb_DataTypeConversion2; + + /* End of Outputs for SubSystem: '/Default_Control_Type' */ + } + + /* End of If: '/If1' */ + + /* If: '/If2' incorporates: + * Inport: '/r_inpTgtScaRaw' + */ + rtb_Sum2_h = rtDW->If2_ActiveSubsystem; + UnitDelay3 = (int8_T)!(rtDW->z_ctrlMod == 0); + rtDW->If2_ActiveSubsystem = UnitDelay3; + switch (UnitDelay3) { + case 0: + if (UnitDelay3 != rtb_Sum2_h) { + /* SystemReset for IfAction SubSystem: '/Open_Mode' incorporates: + * ActionPort: '/Action Port' + */ + /* SystemReset for Atomic SubSystem: '/rising_edge_init' */ + /* SystemReset for If: '/If2' incorporates: + * UnitDelay: '/UnitDelay' + * UnitDelay: '/UnitDelay' + */ + rtDW->UnitDelay_DSTATE_b = true; + + /* End of SystemReset for SubSystem: '/rising_edge_init' */ + + /* SystemReset for Atomic SubSystem: '/Rate_Limiter' */ + rtDW->UnitDelay_DSTATE = 0; + + /* End of SystemReset for SubSystem: '/Rate_Limiter' */ + /* End of SystemReset for SubSystem: '/Open_Mode' */ + } + + /* Outputs for IfAction SubSystem: '/Open_Mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtb_Gain3 = rtDW->UnitDelay4_DSTATE_eu << 12; + rtb_DataTypeConversion = (rtb_Gain3 & 134217728) != 0 ? rtb_Gain3 | + -134217728 : rtb_Gain3 & 134217727; + + /* Outputs for Atomic SubSystem: '/rising_edge_init' */ + /* UnitDelay: '/UnitDelay' */ + rtb_RelationalOperator1_m = rtDW->UnitDelay_DSTATE_b; + + /* Update for UnitDelay: '/UnitDelay' incorporates: + * Constant: '/Constant' + */ + rtDW->UnitDelay_DSTATE_b = false; + + /* End of Outputs for SubSystem: '/rising_edge_init' */ + + /* Outputs for Atomic SubSystem: '/Rate_Limiter' */ + /* Switch: '/Switch1' incorporates: + * UnitDelay: '/UnitDelay' + */ + if (rtb_RelationalOperator1_m) { + rtb_Switch1 = rtb_DataTypeConversion; + } else { + rtb_Switch1 = rtDW->UnitDelay_DSTATE; + } + + /* End of Switch: '/Switch1' */ + + /* Sum: '/Sum1' */ + rtb_Gain3 = -rtb_Switch1; + rtb_Sum1 = (rtb_Gain3 & 134217728) != 0 ? rtb_Gain3 | -134217728 : + rtb_Gain3 & 134217727; + + /* Switch: '/Switch2' incorporates: + * Constant: '/dV_openRate' + * RelationalOperator: '/LowerRelop1' + */ + if (rtb_Sum1 > rtP->dV_openRate) { + rtb_Sum1 = rtP->dV_openRate; + } else { + /* Gain: '/Gain3' */ + rtb_Gain3 = -rtP->dV_openRate; + rtb_Gain3 = (rtb_Gain3 & 134217728) != 0 ? rtb_Gain3 | -134217728 : + rtb_Gain3 & 134217727; + + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + */ + if (rtb_Sum1 < rtb_Gain3) { + rtb_Sum1 = rtb_Gain3; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum2' */ + rtb_Gain3 = rtb_Sum1 + rtb_Switch1; + rtb_Switch1 = (rtb_Gain3 & 134217728) != 0 ? rtb_Gain3 | -134217728 : + rtb_Gain3 & 134217727; + + /* Switch: '/Switch2' */ + if (rtb_RelationalOperator1_m) { + /* Update for UnitDelay: '/UnitDelay' */ + rtDW->UnitDelay_DSTATE = rtb_DataTypeConversion; + } else { + /* Update for UnitDelay: '/UnitDelay' */ + rtDW->UnitDelay_DSTATE = rtb_Switch1; + } + + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Rate_Limiter' */ + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW->Merge1 = (int16_T)(rtb_Switch1 >> 12); + + /* End of Outputs for SubSystem: '/Open_Mode' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Default_Mode' incorporates: + * ActionPort: '/Action Port' + */ + rtDW->Merge1 = rtb_Merge; + + /* End of Outputs for SubSystem: '/Default_Mode' */ + break; + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/F03_Control_Mode_Manager' */ + } + + /* End of If: '/If4' */ + + /* UnitDelay: '/UnitDelay5' */ + rtb_RelationalOperator1_m = rtDW->UnitDelay5_DSTATE_l; + + /* Saturate: '/Saturation' incorporates: + * Inport: '/i_phaAB' + */ + rtb_Gain3 = rtU->i_phaAB << 4; + if (rtb_Gain3 >= 27200) { + rtb_Merge = 27200; + } else if (rtb_Gain3 <= -27200) { + rtb_Merge = -27200; + } else { + rtb_Merge = (int16_T)(rtU->i_phaAB << 4); + } + + /* End of Saturate: '/Saturation' */ + + /* Saturate: '/Saturation1' incorporates: + * Inport: '/i_phaBC' + */ + rtb_Gain3 = rtU->i_phaBC << 4; + if (rtb_Gain3 >= 27200) { + rtb_Saturation1 = 27200; + } else if (rtb_Gain3 <= -27200) { + rtb_Saturation1 = -27200; + } else { + rtb_Saturation1 = (int16_T)(rtU->i_phaBC << 4); + } + + /* End of Saturate: '/Saturation1' */ + + /* If: '/If1' incorporates: + * Constant: '/b_angleMeasEna' + */ + switch ((int8_T)rtP->b_angleMeasEna) { + case 0: + /* Outputs for IfAction SubSystem: '/F01_05_Electrical_Angle_Estimation' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant16' + * Product: '/Divide1' + * Product: '/Divide3' + * RelationalOperator: '/Relational Operator7' + * Sum: '/Sum3' + * Switch: '/Switch3' + */ + if (rtb_LogicalOperator) { + /* MinMax: '/MinMax' */ + rtb_Divide2_h = rtb_Switch1_l; + if (!(rtb_Divide2_h < rtDW->z_counterRawPrev)) { + rtb_Divide2_h = rtDW->z_counterRawPrev; + } + + /* End of MinMax: '/MinMax' */ + + /* Switch: '/Switch3' incorporates: + * Constant: '/vec_hallToPos' + * Constant: '/Constant16' + * RelationalOperator: '/Relational Operator7' + * Selector: '/Selector' + * Sum: '/Sum1' + */ + if (rtDW->Switch2_e == 1) { + rtb_Sum2_h = rtConstP.vec_hallToPos_Value[rtb_Sum]; + } else { + rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[rtb_Sum] + 1); + } + + rtb_Divide2_h = (int16_T)(((int16_T)((int16_T)((rtb_Divide2_h << 14) / + rtDW->z_counterRawPrev) * rtDW->Switch2_e) + (rtb_Sum2_h << 14)) >> 2); + } else { + if (rtDW->Switch2_e == 1) { + /* Switch: '/Switch3' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + */ + rtb_Sum2_h = rtConstP.vec_hallToPos_Value[rtb_Sum]; + } else { + /* Switch: '/Switch3' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + * Sum: '/Sum1' + */ + rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[rtb_Sum] + 1); + } + + rtb_Divide2_h = (int16_T)(rtb_Sum2_h << 12); + } + + /* End of Switch: '/Switch2' */ + + /* MinMax: '/MinMax1' incorporates: + * Constant: '/Constant1' + */ + if (!(rtb_Divide2_h > 0)) { + rtb_Divide2_h = 0; + } + + /* End of MinMax: '/MinMax1' */ + + /* SignalConversion: '/Signal Conversion2' incorporates: + * Product: '/Divide2' + */ + rtb_Divide2_h = (int16_T)((15 * rtb_Divide2_h) >> 4); + + /* End of Outputs for SubSystem: '/F01_05_Electrical_Angle_Estimation' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/F01_06_Electrical_Angle_Measurement' incorporates: + * ActionPort: '/Action Port' + */ + /* Sum: '/Sum1' incorporates: + * Constant: '/Constant2' + * Constant: '/n_polePairs' + * Inport: '/a_mechAngle' + * Product: '/Divide' + */ + rtb_DataTypeConversion = rtU->a_mechAngle * rtP->n_polePairs - 480; + + /* DataTypeConversion: '/Data Type Conversion20' incorporates: + * Constant: '/a_elecPeriod' + * Product: '/Divide2' + * Product: '/Divide3' + * Sum: '/Sum3' + */ + rtb_Divide2_h = (int16_T)((int16_T)(rtb_DataTypeConversion - ((int16_T) + ((int16_T)div_nde_s32_floor(rtb_DataTypeConversion, 5760) * 360) << 4)) << + 2); + + /* End of Outputs for SubSystem: '/F01_06_Electrical_Angle_Measurement' */ + break; + } + + /* End of If: '/If1' */ + + /* If: '/If3' incorporates: + * Constant: '/CTRL_COMM2' + * Constant: '/b_fieldWeakEna' + * Constant: '/z_ctrlTypSel' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/UnitDelay5' + */ + if (rtP->b_fieldWeakEna && rtDW->UnitDelay5_DSTATE_l && (rtP->z_ctrlTypSel != + 0)) { + /* Outputs for IfAction SubSystem: '/F04_Field_Weakening' incorporates: + * ActionPort: '/Action Port' + */ + /* Abs: '/Abs5' */ + if (rtb_DataTypeConversion2 < 0) { + rtb_DataTypeConversion2 = (int16_T)-rtb_DataTypeConversion2; + } + + /* End of Abs: '/Abs5' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/r_fieldWeakHi' + * Constant: '/r_fieldWeakLo' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_DataTypeConversion2 > rtP->r_fieldWeakHi) { + rtb_DataTypeConversion2 = rtP->r_fieldWeakHi; + } else { + if (rtb_DataTypeConversion2 < rtP->r_fieldWeakLo) { + /* Switch: '/Switch' incorporates: + * Constant: '/r_fieldWeakLo' + */ + rtb_DataTypeConversion2 = rtP->r_fieldWeakLo; + } + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/CTRL_COMM2' + * Constant: '/a_phaAdvMax' + * Constant: '/id_fieldWeakMax' + * RelationalOperator: '/Relational Operator1' + */ + if (rtP->z_ctrlTypSel == 2) { + rtb_Merge_f_idx_2 = rtP->id_fieldWeakMax; + } else { + rtb_Merge_f_idx_2 = rtP->a_phaAdvMax; + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/n_fieldWeakAuthHi' + * Constant: '/n_fieldWeakAuthLo' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_Abs5 > rtP->n_fieldWeakAuthHi) { + rtb_Switch2_l = rtP->n_fieldWeakAuthHi; + } else if (rtb_Abs5 < rtP->n_fieldWeakAuthLo) { + /* Switch: '/Switch' incorporates: + * Constant: '/n_fieldWeakAuthLo' + */ + rtb_Switch2_l = rtP->n_fieldWeakAuthLo; + } else { + rtb_Switch2_l = rtb_Abs5; + } + + /* End of Switch: '/Switch2' */ + + /* Product: '/Divide3' incorporates: + * Constant: '/n_fieldWeakAuthHi' + * Constant: '/n_fieldWeakAuthLo' + * Constant: '/r_fieldWeakHi' + * Constant: '/r_fieldWeakLo' + * Product: '/Divide1' + * Product: '/Divide14' + * Product: '/Divide2' + * Sum: '/Sum1' + * Sum: '/Sum2' + * Sum: '/Sum3' + * Sum: '/Sum4' + */ + rtDW->Divide3 = (int16_T)(((uint16_T)(((uint32_T)(uint16_T)(((int16_T) + (rtb_DataTypeConversion2 - rtP->r_fieldWeakLo) << 15) / (int16_T) + (rtP->r_fieldWeakHi - rtP->r_fieldWeakLo)) * (uint16_T)(((int16_T) + (rtb_Switch2_l - rtP->n_fieldWeakAuthLo) << 15) / (int16_T) + (rtP->n_fieldWeakAuthHi - rtP->n_fieldWeakAuthLo))) >> 15) * + rtb_Merge_f_idx_2) >> 15); + + /* End of Outputs for SubSystem: '/F04_Field_Weakening' */ + } + + /* End of If: '/If3' */ + + /* If: '/If1' incorporates: + * Constant: '/z_ctrlTypSel' + */ + rtb_Sum2_h = rtDW->If1_ActiveSubsystem_p; + UnitDelay3 = -1; + if (rtP->z_ctrlTypSel == 2) { + UnitDelay3 = 0; + } + + rtDW->If1_ActiveSubsystem_p = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for If: '/If2' */ + if (rtDW->If2_ActiveSubsystem_a == 0) { + /* Disable for Outport: '/iq' */ + rtDW->DataTypeConversion[0] = 0; + + /* Disable for Outport: '/id' */ + rtDW->DataTypeConversion[1] = 0; + } + + rtDW->If2_ActiveSubsystem_a = -1; + + /* End of Disable for If: '/If2' */ + + /* Disable for If: '/If1' */ + if (rtDW->If1_ActiveSubsystem_e == 0) { + /* Disable for SwitchCase: '/Switch Case' */ + rtDW->SwitchCase_ActiveSubsystem = -1; + } + + rtDW->If1_ActiveSubsystem_e = -1; + + /* End of Disable for If: '/If1' */ + + /* Disable for Outport: '/V_phaABC_FOC' */ + rtDW->Gain4[0] = 0; + rtDW->Gain4[1] = 0; + rtDW->Gain4[2] = 0; + + /* Disable for Outport: '/iq' */ + rtDW->DataTypeConversion[0] = 0; + + /* Disable for Outport: '/id' */ + rtDW->DataTypeConversion[1] = 0; + } + + if (UnitDelay3 == 0) { + if (0 != rtb_Sum2_h) { + /* InitializeConditions for IfAction SubSystem: '/F05_Field_Oriented_Control' incorporates: + * ActionPort: '/Action Port' + */ + /* InitializeConditions for If: '/If1' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtDW->UnitDelay4_DSTATE_h = 0; + + /* End of InitializeConditions for SubSystem: '/F05_Field_Oriented_Control' */ + } + + /* Outputs for IfAction SubSystem: '/F05_Field_Oriented_Control' incorporates: + * ActionPort: '/Action Port' + */ + /* Abs: '/Abs1' */ + if (rtDW->Merge1 < 0) { + rtb_Switch2_l = (int16_T)-rtDW->Merge1; + } else { + rtb_Switch2_l = rtDW->Merge1; + } + + /* End of Abs: '/Abs1' */ + + /* Gain: '/toNegative' */ + rtb_toNegative = (int16_T)-rtDW->Divide3; + + /* If: '/If1' incorporates: + * Constant: '/z_selPhaCurMeasABC' + */ + if (rtP->z_selPhaCurMeasABC == 0) { + /* Outputs for IfAction SubSystem: '/Clarke_PhasesAB' incorporates: + * ActionPort: '/Action Port' + */ + /* Gain: '/Gain4' */ + rtb_Gain3 = 18919 * rtb_Merge; + + /* Gain: '/Gain2' */ + rtb_DataTypeConversion = 18919 * rtb_Saturation1; + + /* Sum: '/Sum1' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain4' + */ + rtb_Gain3 = (((rtb_Gain3 < 0 ? 32767 : 0) + rtb_Gain3) >> 15) + (int16_T) + (((rtb_DataTypeConversion < 0 ? 16383 : 0) + rtb_DataTypeConversion) >> + 14); + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + rtb_DataTypeConversion2 = (int16_T)rtb_Gain3; + + /* End of Sum: '/Sum1' */ + /* End of Outputs for SubSystem: '/Clarke_PhasesAB' */ + } else if (rtP->z_selPhaCurMeasABC == 1) { + /* Outputs for IfAction SubSystem: '/Clarke_PhasesBC' incorporates: + * ActionPort: '/Action Port' + */ + /* Sum: '/Sum3' */ + rtb_Gain3 = rtb_Merge - rtb_Saturation1; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Gain: '/Gain2' incorporates: + * Sum: '/Sum3' + */ + rtb_Gain3 *= 18919; + rtb_DataTypeConversion2 = (int16_T)(((rtb_Gain3 < 0 ? 32767 : 0) + + rtb_Gain3) >> 15); + + /* Sum: '/Sum1' */ + rtb_Gain3 = -rtb_Merge - rtb_Saturation1; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + rtb_Merge = (int16_T)rtb_Gain3; + + /* End of Sum: '/Sum1' */ + /* End of Outputs for SubSystem: '/Clarke_PhasesBC' */ + } else { + /* Outputs for IfAction SubSystem: '/Clarke_PhasesAC' incorporates: + * ActionPort: '/Action Port' + */ + /* Gain: '/Gain4' */ + rtb_Gain3 = 18919 * rtb_Merge; + + /* Gain: '/Gain2' */ + rtb_DataTypeConversion = 18919 * rtb_Saturation1; + + /* Sum: '/Sum1' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain4' + */ + rtb_Gain3 = -(((rtb_Gain3 < 0 ? 32767 : 0) + rtb_Gain3) >> 15) - (int16_T) + (((rtb_DataTypeConversion < 0 ? 16383 : 0) + rtb_DataTypeConversion) >> + 14); + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + rtb_DataTypeConversion2 = (int16_T)rtb_Gain3; + + /* End of Sum: '/Sum1' */ + /* End of Outputs for SubSystem: '/Clarke_PhasesAC' */ + } + + /* End of If: '/If1' */ + + /* PreLookup: '/a_elecAngle_XA' */ + rtb_Sum_l = plook_u8s16_evencka(rtb_Divide2_h, 0, 128U, 180U); + + /* If: '/If2' incorporates: + * Constant: '/cf_currFilt' + * Inport: '/b_motEna' + */ + rtb_Sum2_h = rtDW->If2_ActiveSubsystem_a; + UnitDelay3 = -1; + if (rtU->b_motEna) { + UnitDelay3 = 0; + } + + rtDW->If2_ActiveSubsystem_a = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for Outport: '/iq' */ + rtDW->DataTypeConversion[0] = 0; + + /* Disable for Outport: '/id' */ + rtDW->DataTypeConversion[1] = 0; + } + + if (UnitDelay3 == 0) { + if (0 != rtb_Sum2_h) { + /* SystemReset for IfAction SubSystem: '/Current_Filtering' incorporates: + * ActionPort: '/Action Port' + */ + + /* SystemReset for Atomic SubSystem: '/Low_Pass_Filter' */ + + /* SystemReset for If: '/If2' */ + Low_Pass_Filter_Reset(&rtDW->Low_Pass_Filter_m); + + /* End of SystemReset for SubSystem: '/Low_Pass_Filter' */ + + /* End of SystemReset for SubSystem: '/Current_Filtering' */ + } + + /* Sum: '/Sum6' incorporates: + * Interpolation_n-D: '/r_cos_M1' + * Interpolation_n-D: '/r_sin_M1' + * Product: '/Divide1' + * Product: '/Divide4' + */ + rtb_Gain3 = (int16_T)((rtb_DataTypeConversion2 * + rtConstP.r_cos_M1_Table[rtb_Sum_l]) >> 14) - (int16_T)((rtb_Merge * + rtConstP.r_sin_M1_Table[rtb_Sum_l]) >> 14); + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Outputs for IfAction SubSystem: '/Current_Filtering' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion: '/TmpSignal ConversionAtLow_Pass_FilterInport1' incorporates: + * Sum: '/Sum6' + */ + rtb_TmpSignalConversionAtLow_Pa[0] = (int16_T)rtb_Gain3; + + /* End of Outputs for SubSystem: '/Current_Filtering' */ + + /* Sum: '/Sum1' incorporates: + * Interpolation_n-D: '/r_cos_M1' + * Interpolation_n-D: '/r_sin_M1' + * Product: '/Divide2' + * Product: '/Divide3' + */ + rtb_Gain3 = (int16_T)((rtb_Merge * rtConstP.r_cos_M1_Table[rtb_Sum_l]) >> + 14) + (int16_T)((rtb_DataTypeConversion2 * + rtConstP.r_sin_M1_Table[rtb_Sum_l]) >> 14); + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Outputs for IfAction SubSystem: '/Current_Filtering' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion: '/TmpSignal ConversionAtLow_Pass_FilterInport1' incorporates: + * Sum: '/Sum1' + */ + rtb_TmpSignalConversionAtLow_Pa[1] = (int16_T)rtb_Gain3; + + /* Outputs for Atomic SubSystem: '/Low_Pass_Filter' */ + Low_Pass_Filter(rtb_TmpSignalConversionAtLow_Pa, rtP->cf_currFilt, + rtDW->DataTypeConversion, &rtDW->Low_Pass_Filter_m); + + /* End of Outputs for SubSystem: '/Low_Pass_Filter' */ + + /* End of Outputs for SubSystem: '/Current_Filtering' */ + } + + /* End of If: '/If2' */ + + /* If: '/If3' incorporates: + * Constant: '/Vd_max1' + * Constant: '/i_max' + * UnitDelay: '/UnitDelay5' + */ + if (rtDW->UnitDelay5_DSTATE_l) { + /* Outputs for IfAction SubSystem: '/Motor_Limitations' incorporates: + * ActionPort: '/Action Port' + */ + rtDW->Vd_max1 = rtP->Vd_max; + + /* Gain: '/Gain3' incorporates: + * Constant: '/Vd_max1' + */ + rtDW->Gain3 = (int16_T)-rtDW->Vd_max1; + + /* Interpolation_n-D: '/Vq_max_M1' incorporates: + * Abs: '/Abs5' + * PreLookup: '/Vq_max_XA' + * UnitDelay: '/UnitDelay4' + */ + if (rtDW->UnitDelay4_DSTATE_h < 0) { + rtb_Merge_f_idx_2 = (int16_T)-rtDW->UnitDelay4_DSTATE_h; + } else { + rtb_Merge_f_idx_2 = rtDW->UnitDelay4_DSTATE_h; + } + + rtDW->Vq_max_M1 = rtP->Vq_max_M1[plook_u8s16_evencka(rtb_Merge_f_idx_2, + rtP->Vq_max_XA[0], (uint16_T)(rtP->Vq_max_XA[1] - rtP->Vq_max_XA[0]), + 45U)]; + + /* End of Interpolation_n-D: '/Vq_max_M1' */ + + /* Gain: '/Gain5' */ + rtDW->Gain5 = (int16_T)-rtDW->Vq_max_M1; + rtDW->i_max = rtP->i_max; + + /* Interpolation_n-D: '/iq_maxSca_M1' incorporates: + * Constant: '/i_max' + * Product: '/Divide4' + */ + rtb_Gain3 = rtDW->Divide3 << 16; + rtb_Gain3 = (rtb_Gain3 == MIN_int32_T) && (rtDW->i_max == -1) ? + MAX_int32_T : rtb_Gain3 / rtDW->i_max; + if (rtb_Gain3 < 0) { + rtb_Gain3 = 0; + } else { + if (rtb_Gain3 > 65535) { + rtb_Gain3 = 65535; + } + } + + /* Product: '/Divide1' incorporates: + * Interpolation_n-D: '/iq_maxSca_M1' + * PreLookup: '/iq_maxSca_XA' + * Product: '/Divide4' + */ + rtDW->Divide1_a = (int16_T) + ((rtConstP.iq_maxSca_M1_Table[plook_u8u16_evencka((uint16_T)rtb_Gain3, + 0U, 1311U, 49U)] * rtDW->i_max) >> 16); + + /* Gain: '/Gain1' */ + rtDW->Gain1 = (int16_T)-rtDW->Divide1_a; + + /* SwitchCase: '/Switch Case' incorporates: + * Constant: '/n_max1' + * Constant: '/Constant1' + * Constant: '/cf_KbLimProt' + * Constant: '/cf_nKiLimProt' + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/cf_KbLimProt' + * Constant: '/cf_iqKiLimProt' + * Constant: '/cf_nKiLimProt' + * Sum: '/Sum1' + * Sum: '/Sum1' + * Sum: '/Sum2' + */ + switch (rtDW->z_ctrlMod) { + case 1: + /* Abs: '/Abs5' */ + if (rtDW->DataTypeConversion[0] < 0) { + rtb_Merge_f_idx_2 = (int16_T)-rtDW->DataTypeConversion[0]; + } else { + rtb_Merge_f_idx_2 = rtDW->DataTypeConversion[0]; + } + + /* End of Abs: '/Abs5' */ + + /* Outputs for IfAction SubSystem: '/Voltage_Mode_Protection' incorporates: + * ActionPort: '/Action Port' + */ + + /* Outputs for Atomic SubSystem: '/I_backCalc_fixdt' */ + I_backCalc_fixdt((int16_T)(rtDW->Divide1_a - rtb_Merge_f_idx_2), + rtP->cf_iqKiLimProt, rtP->cf_KbLimProt, rtb_Switch2_l, + 0, &rtDW->Switch2_c, &rtDW->I_backCalc_fixdt_i); + + /* End of Outputs for SubSystem: '/I_backCalc_fixdt' */ + + /* Outputs for Atomic SubSystem: '/I_backCalc_fixdt1' */ + I_backCalc_fixdt((int16_T)(rtP->n_max - rtb_Abs5), rtP->cf_nKiLimProt, + rtP->cf_KbLimProt, rtb_Switch2_l, 0, &rtDW->Switch2_l, + &rtDW->I_backCalc_fixdt1); + + /* End of Outputs for SubSystem: '/I_backCalc_fixdt1' */ + + /* End of Outputs for SubSystem: '/Voltage_Mode_Protection' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Speed_Mode_Protection' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtDW->DataTypeConversion[0] > rtDW->Divide1_a) { + rtb_Merge_f_idx_2 = rtDW->Divide1_a; + } else if (rtDW->DataTypeConversion[0] < rtDW->Gain1) { + /* Switch: '/Switch' */ + rtb_Merge_f_idx_2 = rtDW->Gain1; + } else { + rtb_Merge_f_idx_2 = rtDW->DataTypeConversion[0]; + } + + /* End of Switch: '/Switch2' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/cf_iqKiLimProt' + * Sum: '/Sum3' + */ + rtDW->Divide1 = (int16_T)(rtb_Merge_f_idx_2 - rtDW->DataTypeConversion[0]) + * rtP->cf_iqKiLimProt; + + /* End of Outputs for SubSystem: '/Speed_Mode_Protection' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Torque_Mode_Protection' incorporates: + * ActionPort: '/Action Port' + */ + + /* Outputs for Atomic SubSystem: '/I_backCalc_fixdt' */ + I_backCalc_fixdt((int16_T)(rtP->n_max - rtb_Abs5), rtP->cf_nKiLimProt, + rtP->cf_KbLimProt, rtDW->Vq_max_M1, 0, &rtDW->Switch2, + &rtDW->I_backCalc_fixdt_g); + + /* End of Outputs for SubSystem: '/I_backCalc_fixdt' */ + + /* End of Outputs for SubSystem: '/Torque_Mode_Protection' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* Gain: '/Gain4' */ + rtDW->Gain4_c = (int16_T)-rtDW->i_max; + + /* End of Outputs for SubSystem: '/Motor_Limitations' */ + } + + /* End of If: '/If3' */ + + /* If: '/If1' incorporates: + * UnitDelay: '/UnitDelay6' + */ + rtb_Sum2_h = rtDW->If1_ActiveSubsystem_e; + UnitDelay3 = -1; + if (rtDW->UnitDelay6_DSTATE) { + UnitDelay3 = 0; + } + + rtDW->If1_ActiveSubsystem_e = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for SwitchCase: '/Switch Case' */ + rtDW->SwitchCase_ActiveSubsystem = -1; + } + + if (UnitDelay3 == 0) { + /* Outputs for IfAction SubSystem: '/FOC' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Constant: '/cf_idKi1' + * Constant: '/cf_idKp1' + * Constant: '/constant1' + * Constant: '/constant2' + * Sum: '/Sum3' + */ + if (rtb_LogicalOperator) { + /* Outputs for IfAction SubSystem: '/Vd_Calculation' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_toNegative > rtDW->i_max) { + rtb_toNegative = rtDW->i_max; + } else { + if (rtb_toNegative < rtDW->Gain4_c) { + /* Switch: '/Switch' */ + rtb_toNegative = rtDW->Gain4_c; + } + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum3' */ + rtb_Gain3 = rtb_toNegative - rtDW->DataTypeConversion[1]; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Outputs for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt((int16_T)rtb_Gain3, rtP->cf_idKp, rtP->cf_idKi, 0, + rtDW->Vd_max1, rtDW->Gain3, 0, &rtDW->Switch1, + &rtDW->PI_clamp_fixdt_k); + + /* End of Outputs for SubSystem: '/PI_clamp_fixdt' */ + + /* End of Outputs for SubSystem: '/Vd_Calculation' */ + } + + /* End of If: '/If1' */ + + /* SwitchCase: '/Switch Case' incorporates: + * Constant: '/cf_nKi' + * Constant: '/cf_nKp' + * Constant: '/cf_iqKi' + * Constant: '/cf_iqKp' + * Constant: '/constant2' + * Inport: '/r_inpTgtSca' + * Sum: '/Sum3' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay4' + */ + rtb_Sum2_h = rtDW->SwitchCase_ActiveSubsystem; + switch (rtDW->z_ctrlMod) { + case 1: + break; + + case 2: + UnitDelay3 = 1; + break; + + case 3: + UnitDelay3 = 2; + break; + + default: + UnitDelay3 = 3; + break; + } + + rtDW->SwitchCase_ActiveSubsystem = UnitDelay3; + switch (UnitDelay3) { + case 0: + /* Outputs for IfAction SubSystem: '/Voltage_Mode' incorporates: + * ActionPort: '/Action Port' + */ + /* MinMax: '/MinMax' */ + if (!(rtb_Switch2_l < rtDW->Switch2_c)) { + rtb_Switch2_l = rtDW->Switch2_c; + } + + if (!(rtb_Switch2_l < rtDW->Switch2_l)) { + rtb_Switch2_l = rtDW->Switch2_l; + } + + /* End of MinMax: '/MinMax' */ + + /* Signum: '/SignDeltaU2' */ + if (rtDW->Merge1 < 0) { + rtb_Merge_f_idx_2 = -1; + } else { + rtb_Merge_f_idx_2 = (int16_T)(rtDW->Merge1 > 0); + } + + /* End of Signum: '/SignDeltaU2' */ + + /* Product: '/Divide1' */ + rtb_Merge = (int16_T)(rtb_Switch2_l * rtb_Merge_f_idx_2); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_Merge > rtDW->Vq_max_M1) { + /* SignalConversion: '/Signal Conversion2' */ + rtDW->Merge = rtDW->Vq_max_M1; + } else if (rtb_Merge < rtDW->Gain5) { + /* Switch: '/Switch' incorporates: + * SignalConversion: '/Signal Conversion2' + */ + rtDW->Merge = rtDW->Gain5; + } else { + /* SignalConversion: '/Signal Conversion2' incorporates: + * Switch: '/Switch' + */ + rtDW->Merge = rtb_Merge; + } + + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Voltage_Mode' */ + break; + + case 1: + if (UnitDelay3 != rtb_Sum2_h) { + /* SystemReset for IfAction SubSystem: '/Speed_Mode' incorporates: + * ActionPort: '/Action Port' + */ + + /* SystemReset for Atomic SubSystem: '/PI_clamp_fixdt' */ + + /* SystemReset for SwitchCase: '/Switch Case' */ + PI_clamp_fixdt_g_Reset(&rtDW->PI_clamp_fixdt_oc); + + /* End of SystemReset for SubSystem: '/PI_clamp_fixdt' */ + + /* End of SystemReset for SubSystem: '/Speed_Mode' */ + } + + /* Outputs for IfAction SubSystem: '/Speed_Mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Constant: '/n_cruiseMotTgt' + */ + rtb_Merge = (int16_T)(rtP->n_cruiseMotTgt << 4); + + /* Switch: '/Switch4' incorporates: + * Constant: '/b_cruiseCtrlEna' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator3' + */ + if (rtP->b_cruiseCtrlEna && (rtb_Merge != 0)) { + /* Switch: '/Switch3' incorporates: + * MinMax: '/MinMax4' + */ + if (rtb_Merge > 0) { + rtb_TmpSignalConversionAtLow_Pa[0] = rtDW->Vq_max_M1; + + /* MinMax: '/MinMax3' */ + if (rtDW->Merge1 > rtDW->Gain5) { + rtb_TmpSignalConversionAtLow_Pa[1] = rtDW->Merge1; + } else { + rtb_TmpSignalConversionAtLow_Pa[1] = rtDW->Gain5; + } + + /* End of MinMax: '/MinMax3' */ + } else { + if (rtDW->Vq_max_M1 < rtDW->Merge1) { + /* MinMax: '/MinMax4' */ + rtb_TmpSignalConversionAtLow_Pa[0] = rtDW->Vq_max_M1; + } else { + rtb_TmpSignalConversionAtLow_Pa[0] = rtDW->Merge1; + } + + rtb_TmpSignalConversionAtLow_Pa[1] = rtDW->Gain5; + } + + /* End of Switch: '/Switch3' */ + } else { + rtb_TmpSignalConversionAtLow_Pa[0] = rtDW->Vq_max_M1; + rtb_TmpSignalConversionAtLow_Pa[1] = rtDW->Gain5; + } + + /* End of Switch: '/Switch4' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/b_cruiseCtrlEna' + */ + if (!rtP->b_cruiseCtrlEna) { + rtb_Merge = rtDW->Merge1; + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum3' */ + rtb_Gain3 = rtb_Merge - rtb_Switch2_k; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Outputs for Atomic SubSystem: '/PI_clamp_fixdt' */ + rtDW->Merge = (int16_T) PI_clamp_fixdt_o((int16_T)rtb_Gain3, rtP->cf_nKp, + rtP->cf_nKi, rtDW->UnitDelay4_DSTATE_eu, + rtb_TmpSignalConversionAtLow_Pa[0], rtb_TmpSignalConversionAtLow_Pa[1], + rtDW->Divide1, &rtDW->PI_clamp_fixdt_oc); + + /* End of Outputs for SubSystem: '/PI_clamp_fixdt' */ + + /* End of Outputs for SubSystem: '/Speed_Mode' */ + break; + + case 2: + if (UnitDelay3 != rtb_Sum2_h) { + /* SystemReset for IfAction SubSystem: '/Torque_Mode' incorporates: + * ActionPort: '/Action Port' + */ + + /* SystemReset for Atomic SubSystem: '/PI_clamp_fixdt' */ + + /* SystemReset for SwitchCase: '/Switch Case' */ + PI_clamp_fixdt_b_Reset(&rtDW->PI_clamp_fixdt_at); + + /* End of SystemReset for SubSystem: '/PI_clamp_fixdt' */ + + /* End of SystemReset for SubSystem: '/Torque_Mode' */ + } + + /* Outputs for IfAction SubSystem: '/Torque_Mode' incorporates: + * ActionPort: '/Action Port' + */ + /* Gain: '/Gain4' */ + rtb_Merge = (int16_T)-rtDW->Switch2; + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtDW->Merge1 > rtDW->Divide1_a) { + rtb_Merge_f_idx_2 = rtDW->Divide1_a; + } else if (rtDW->Merge1 < rtDW->Gain1) { + /* Switch: '/Switch' */ + rtb_Merge_f_idx_2 = rtDW->Gain1; + } else { + rtb_Merge_f_idx_2 = rtDW->Merge1; + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum2' */ + rtb_Gain3 = rtb_Merge_f_idx_2 - rtDW->DataTypeConversion[0]; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* MinMax: '/MinMax1' */ + if (rtDW->Vq_max_M1 < rtDW->Switch2) { + rtb_Merge_f_idx_2 = rtDW->Vq_max_M1; + } else { + rtb_Merge_f_idx_2 = rtDW->Switch2; + } + + /* End of MinMax: '/MinMax1' */ + + /* MinMax: '/MinMax2' */ + if (!(rtb_Merge > rtDW->Gain5)) { + rtb_Merge = rtDW->Gain5; + } + + /* End of MinMax: '/MinMax2' */ + + /* Outputs for Atomic SubSystem: '/PI_clamp_fixdt' */ + rtDW->Merge = (int16_T) PI_clamp_fixdt_a((int16_T)rtb_Gain3, + rtP->cf_iqKp, rtP->cf_iqKi, rtDW->UnitDelay4_DSTATE_eu, + rtb_Merge_f_idx_2, rtb_Merge, 0, &rtDW->PI_clamp_fixdt_at); + + /* End of Outputs for SubSystem: '/PI_clamp_fixdt' */ + + /* End of Outputs for SubSystem: '/Torque_Mode' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Open_Mode' incorporates: + * ActionPort: '/Action Port' + */ + rtDW->Merge = rtDW->Merge1; + + /* End of Outputs for SubSystem: '/Open_Mode' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/FOC' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Sum6' incorporates: + * Interpolation_n-D: '/r_cos_M1' + * Interpolation_n-D: '/r_sin_M1' + * Product: '/Divide1' + * Product: '/Divide4' + */ + rtb_Gain3 = (int16_T)((rtDW->Switch1 * rtConstP.r_cos_M1_Table[rtb_Sum_l]) >> + 14) - (int16_T)((rtDW->Merge * + rtConstP.r_sin_M1_Table[rtb_Sum_l]) >> 14); + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Sum: '/Sum1' incorporates: + * Interpolation_n-D: '/r_cos_M1' + * Interpolation_n-D: '/r_sin_M1' + * Product: '/Divide2' + * Product: '/Divide3' + */ + rtb_DataTypeConversion = (int16_T)((rtDW->Switch1 * + rtConstP.r_sin_M1_Table[rtb_Sum_l]) >> 14) + (int16_T)((rtDW->Merge * + rtConstP.r_cos_M1_Table[rtb_Sum_l]) >> 14); + if (rtb_DataTypeConversion > 32767) { + rtb_DataTypeConversion = 32767; + } else { + if (rtb_DataTypeConversion < -32768) { + rtb_DataTypeConversion = -32768; + } + } + + /* Gain: '/Gain1' incorporates: + * Sum: '/Sum1' + */ + rtb_DataTypeConversion *= 14189; + + /* Sum: '/Sum6' incorporates: + * Gain: '/Gain1' + * Gain: '/Gain3' + * Sum: '/Sum6' + */ + rtb_DataTypeConversion = (((rtb_DataTypeConversion < 0 ? 16383 : 0) + + rtb_DataTypeConversion) >> 14) - ((int16_T)(((int16_T)rtb_Gain3 < 0) + + (int16_T)rtb_Gain3) >> 1); + if (rtb_DataTypeConversion > 32767) { + rtb_DataTypeConversion = 32767; + } else { + if (rtb_DataTypeConversion < -32768) { + rtb_DataTypeConversion = -32768; + } + } + + /* Sum: '/Sum2' incorporates: + * Sum: '/Sum6' + * Sum: '/Sum6' + */ + rtb_Switch1 = -(int16_T)rtb_Gain3 - (int16_T)rtb_DataTypeConversion; + if (rtb_Switch1 > 32767) { + rtb_Switch1 = 32767; + } else { + if (rtb_Switch1 < -32768) { + rtb_Switch1 = -32768; + } + } + + /* MinMax: '/MinMax1' incorporates: + * Sum: '/Sum2' + * Sum: '/Sum6' + * Sum: '/Sum6' + */ + rtb_Switch2_l = (int16_T)rtb_Gain3; + if (!((int16_T)rtb_Gain3 < (int16_T)rtb_DataTypeConversion)) { + rtb_Switch2_l = (int16_T)rtb_DataTypeConversion; + } + + if (!(rtb_Switch2_l < (int16_T)rtb_Switch1)) { + rtb_Switch2_l = (int16_T)rtb_Switch1; + } + + /* MinMax: '/MinMax2' incorporates: + * Sum: '/Sum2' + * Sum: '/Sum6' + * Sum: '/Sum6' + */ + rtb_Merge = (int16_T)rtb_Gain3; + if (!((int16_T)rtb_Gain3 > (int16_T)rtb_DataTypeConversion)) { + rtb_Merge = (int16_T)rtb_DataTypeConversion; + } + + if (!(rtb_Merge > (int16_T)rtb_Switch1)) { + rtb_Merge = (int16_T)rtb_Switch1; + } + + /* Sum: '/Add' incorporates: + * MinMax: '/MinMax1' + * MinMax: '/MinMax2' + */ + rtb_Sum1 = rtb_Switch2_l + rtb_Merge; + if (rtb_Sum1 > 32767) { + rtb_Sum1 = 32767; + } else { + if (rtb_Sum1 < -32768) { + rtb_Sum1 = -32768; + } + } + + /* Gain: '/Gain2' incorporates: + * Sum: '/Add' + */ + rtb_DataTypeConversion2 = (int16_T)(rtb_Sum1 >> 1); + + /* Sum: '/Add1' incorporates: + * Sum: '/Sum6' + */ + rtb_Gain3 = (int16_T)rtb_Gain3 - rtb_DataTypeConversion2; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Gain: '/Gain4' incorporates: + * Sum: '/Add1' + */ + rtDW->Gain4[0] = (int16_T)((18919 * rtb_Gain3) >> 14); + + /* Sum: '/Add1' incorporates: + * Sum: '/Sum6' + */ + rtb_Gain3 = (int16_T)rtb_DataTypeConversion - rtb_DataTypeConversion2; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Gain: '/Gain4' incorporates: + * Sum: '/Add1' + */ + rtDW->Gain4[1] = (int16_T)((18919 * rtb_Gain3) >> 14); + + /* Sum: '/Add1' incorporates: + * Sum: '/Sum2' + */ + rtb_Gain3 = (int16_T)rtb_Switch1 - rtb_DataTypeConversion2; + if (rtb_Gain3 > 32767) { + rtb_Gain3 = 32767; + } else { + if (rtb_Gain3 < -32768) { + rtb_Gain3 = -32768; + } + } + + /* Gain: '/Gain4' incorporates: + * Sum: '/Add1' + */ + rtDW->Gain4[2] = (int16_T)((18919 * rtb_Gain3) >> 14); + + /* Update for UnitDelay: '/UnitDelay4' */ + rtDW->UnitDelay4_DSTATE_h = rtDW->Switch1; + + /* End of Outputs for SubSystem: '/F05_Field_Oriented_Control' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/z_ctrlTypSel' + * Constant: '/CTRL_COMM1' + * RelationalOperator: '/Relational Operator6' + */ + if (rtP->z_ctrlTypSel == 2) { + rtb_Merge = rtDW->Merge; + } else { + rtb_Merge = rtDW->Merge1; + } + + /* End of Switch: '/Switch2' */ + + /* If: '/If' incorporates: + * Constant: '/vec_hallToPos' + * Constant: '/z_ctrlTypSel' + * Constant: '/CTRL_COMM2' + * Constant: '/CTRL_COMM3' + * Inport: '/V_phaABC_FOC_in' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * LookupNDDirect: '/z_commutMap_M1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Selector: '/Selector' + * + * About '/z_commutMap_M1': + * 2-dimensional Direct Look-Up returning a Column + */ + if (rtb_LogicalOperator && (rtP->z_ctrlTypSel == 2)) { + /* Outputs for IfAction SubSystem: '/FOC_Method' incorporates: + * ActionPort: '/Action Port' + */ + rtb_DataTypeConversion2 = rtDW->Gain4[0]; + rtb_Saturation1 = rtDW->Gain4[1]; + rtb_Merge_f_idx_2 = rtDW->Gain4[2]; + + /* End of Outputs for SubSystem: '/FOC_Method' */ + } else if (rtb_LogicalOperator && (rtP->z_ctrlTypSel == 1)) { + /* Outputs for IfAction SubSystem: '/SIN_Method' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch_PhaAdv' incorporates: + * Constant: '/b_fieldWeakEna' + * Product: '/Divide2' + * Product: '/Divide3' + * Sum: '/Sum3' + */ + if (rtP->b_fieldWeakEna) { + /* Sum: '/Sum3' incorporates: + * Product: '/Product2' + */ + rtb_Saturation1 = (int16_T)((int16_T)((int16_T)(rtDW->Divide3 * + rtDW->Switch2_e) << 2) + rtb_Divide2_h); + rtb_Saturation1 -= (int16_T)((int16_T)((int16_T)div_nde_s32_floor + (rtb_Saturation1, 23040) * 360) << 6); + } else { + rtb_Saturation1 = rtb_Divide2_h; + } + + /* End of Switch: '/Switch_PhaAdv' */ + + /* PreLookup: '/a_elecAngle_XA' */ + rtb_Sum = plook_u8s16_evencka(rtb_Saturation1, 0, 128U, 180U); + + /* Product: '/Divide2' incorporates: + * Interpolation_n-D: '/r_sin3PhaA_M1' + * Interpolation_n-D: '/r_sin3PhaB_M1' + * Interpolation_n-D: '/r_sin3PhaC_M1' + */ + rtb_DataTypeConversion2 = (int16_T)((rtb_Merge * + rtConstP.r_sin3PhaA_M1_Table[rtb_Sum]) >> 14); + rtb_Saturation1 = (int16_T)((rtb_Merge * + rtConstP.r_sin3PhaB_M1_Table[rtb_Sum]) >> 14); + rtb_Merge_f_idx_2 = (int16_T)((rtb_Merge * + rtConstP.r_sin3PhaC_M1_Table[rtb_Sum]) >> 14); + + /* End of Outputs for SubSystem: '/SIN_Method' */ + } else { + /* Outputs for IfAction SubSystem: '/COM_Method' incorporates: + * ActionPort: '/Action Port' + */ + if (rtConstP.vec_hallToPos_Value[rtb_Sum] > 5) { + /* LookupNDDirect: '/z_commutMap_M1' + * + * About '/z_commutMap_M1': + * 2-dimensional Direct Look-Up returning a Column + */ + rtb_Sum2_h = 5; + } else if (rtConstP.vec_hallToPos_Value[rtb_Sum] < 0) { + /* LookupNDDirect: '/z_commutMap_M1' + * + * About '/z_commutMap_M1': + * 2-dimensional Direct Look-Up returning a Column + */ + rtb_Sum2_h = 0; + } else { + /* LookupNDDirect: '/z_commutMap_M1' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + * + * About '/z_commutMap_M1': + * 2-dimensional Direct Look-Up returning a Column + */ + rtb_Sum2_h = rtConstP.vec_hallToPos_Value[rtb_Sum]; + } + + /* LookupNDDirect: '/z_commutMap_M1' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + * + * About '/z_commutMap_M1': + * 2-dimensional Direct Look-Up returning a Column + */ + rtb_DataTypeConversion = rtb_Sum2_h * 3; + + /* Product: '/Divide2' incorporates: + * LookupNDDirect: '/z_commutMap_M1' + * + * About '/z_commutMap_M1': + * 2-dimensional Direct Look-Up returning a Column + */ + rtb_DataTypeConversion2 = (int16_T)(rtb_Merge * + rtConstP.z_commutMap_M1_table[rtb_DataTypeConversion]); + rtb_Saturation1 = (int16_T)(rtConstP.z_commutMap_M1_table[1 + + rtb_DataTypeConversion] * rtb_Merge); + rtb_Merge_f_idx_2 = (int16_T)(rtConstP.z_commutMap_M1_table[2 + + rtb_DataTypeConversion] * rtb_Merge); + + /* End of Outputs for SubSystem: '/COM_Method' */ + } + + /* End of If: '/If' */ + + /* Outport: '/DC_phaA' incorporates: + * DataTypeConversion: '/Data Type Conversion6' + */ + rtY->DC_phaA = (int16_T)(rtb_DataTypeConversion2 >> 4); + + /* Outport: '/DC_phaB' incorporates: + * DataTypeConversion: '/Data Type Conversion6' + */ + rtY->DC_phaB = (int16_T)(rtb_Saturation1 >> 4); + + /* Update for UnitDelay: '/UnitDelay3' incorporates: + * Inport: '/b_hallA ' + */ + rtDW->UnitDelay3_DSTATE_fy = rtU->b_hallA; + + /* Update for UnitDelay: '/UnitDelay1' incorporates: + * Inport: '/b_hallB' + */ + rtDW->UnitDelay1_DSTATE = rtU->b_hallB; + + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * Inport: '/b_hallC' + */ + rtDW->UnitDelay2_DSTATE_f = rtU->b_hallC; + + /* Update for UnitDelay: '/UnitDelay3' */ + rtDW->UnitDelay3_DSTATE = rtb_Switch1_l; + + /* Update for UnitDelay: '/UnitDelay4' */ + rtDW->UnitDelay4_DSTATE_e = rtb_Abs5; + + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * UnitDelay: '/UnitDelay6' + */ + rtDW->UnitDelay2_DSTATE_g = rtDW->UnitDelay6_DSTATE; + + /* Update for UnitDelay: '/UnitDelay4' */ + rtDW->UnitDelay4_DSTATE_eu = rtb_Merge; + + /* Update for UnitDelay: '/UnitDelay5' */ + rtDW->UnitDelay5_DSTATE_l = rtb_RelationalOperator4_d; + + /* Update for UnitDelay: '/UnitDelay6' */ + rtDW->UnitDelay6_DSTATE = rtb_RelationalOperator1_m; + + /* Outport: '/DC_phaC' incorporates: + * DataTypeConversion: '/Data Type Conversion6' + */ + rtY->DC_phaC = (int16_T)(rtb_Merge_f_idx_2 >> 4); + + /* Outport: '/n_mot' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtY->n_mot = (int16_T)(rtb_Switch2_k >> 4); + + /* End of Outputs for SubSystem: '/BLDC_controller' */ + + /* Outport: '/n_motHiRes' */ + rtY->n_motHiRes = rtb_Switch2_k; + + /* Outport: '/a_elecAngle' */ + rtY->a_elecAngle = rtb_Divide2_h; + + /* Outport: '/iq' */ + rtY->iq = rtDW->DataTypeConversion[0]; + + /* Outport: '/id' */ + rtY->id = rtDW->DataTypeConversion[1]; +} + +/* Model initialize function */ +void BLDC_controller_initialize(RT_MODEL *const rtM) +{ + P *rtP = ((P *) rtM->defaultParam); + DW *rtDW = ((DW *) rtM->dwork); + + /* Start for Atomic SubSystem: '/BLDC_controller' */ + /* Start for If: '/If4' */ + rtDW->If4_ActiveSubsystem = -1; + + /* Start for IfAction SubSystem: '/F03_Control_Mode_Manager' */ + /* Start for If: '/If2' */ + rtDW->If2_ActiveSubsystem = -1; + + /* End of Start for SubSystem: '/F03_Control_Mode_Manager' */ + + /* Start for If: '/If1' */ + rtDW->If1_ActiveSubsystem_p = -1; + + /* Start for IfAction SubSystem: '/F05_Field_Oriented_Control' */ + /* Start for If: '/If2' */ + rtDW->If2_ActiveSubsystem_a = -1; + + /* Start for If: '/If1' */ + rtDW->If1_ActiveSubsystem_e = -1; + + /* Start for IfAction SubSystem: '/FOC' */ + /* Start for SwitchCase: '/Switch Case' */ + rtDW->SwitchCase_ActiveSubsystem = -1; + + /* End of Start for SubSystem: '/FOC' */ + /* End of Start for SubSystem: '/F05_Field_Oriented_Control' */ + /* End of Start for SubSystem: '/BLDC_controller' */ + + /* SystemInitialize for Atomic SubSystem: '/BLDC_controller' */ + /* InitializeConditions for UnitDelay: '/UnitDelay3' */ + rtDW->UnitDelay3_DSTATE = rtP->z_maxCntRst; + + /* InitializeConditions for UnitDelay: '/UnitDelay2' */ + rtDW->UnitDelay2_DSTATE_g = true; + + /* SystemInitialize for IfAction SubSystem: '/Raw_Motor_Speed_Estimation' */ + /* SystemInitialize for Outport: '/z_counter' */ + rtDW->z_counterRawPrev = rtP->z_maxCntRst; + + /* End of SystemInitialize for SubSystem: '/Raw_Motor_Speed_Estimation' */ + + /* SystemInitialize for Atomic SubSystem: '/Counter' */ + Counter_Init(&rtDW->Counter_e, rtP->z_maxCntRst); + + /* End of SystemInitialize for SubSystem: '/Counter' */ + + /* SystemInitialize for IfAction SubSystem: '/F02_Diagnostics' */ + + /* SystemInitialize for Atomic SubSystem: '/Debounce_Filter' */ + Debounce_Filter_Init(&rtDW->Debounce_Filter_f); + + /* End of SystemInitialize for SubSystem: '/Debounce_Filter' */ + + /* End of SystemInitialize for SubSystem: '/F02_Diagnostics' */ + + /* SystemInitialize for IfAction SubSystem: '/F03_Control_Mode_Manager' */ + /* SystemInitialize for IfAction SubSystem: '/Open_Mode' */ + /* SystemInitialize for Atomic SubSystem: '/rising_edge_init' */ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ + rtDW->UnitDelay_DSTATE_b = true; + + /* End of SystemInitialize for SubSystem: '/rising_edge_init' */ + /* End of SystemInitialize for SubSystem: '/Open_Mode' */ + /* End of SystemInitialize for SubSystem: '/F03_Control_Mode_Manager' */ + + /* SystemInitialize for IfAction SubSystem: '/F05_Field_Oriented_Control' */ + /* SystemInitialize for IfAction SubSystem: '/Motor_Limitations' */ + + /* SystemInitialize for IfAction SubSystem: '/Voltage_Mode_Protection' */ + + /* SystemInitialize for Atomic SubSystem: '/I_backCalc_fixdt' */ + I_backCalc_fixdt_Init(&rtDW->I_backCalc_fixdt_i, 65536000); + + /* End of SystemInitialize for SubSystem: '/I_backCalc_fixdt' */ + + /* SystemInitialize for Atomic SubSystem: '/I_backCalc_fixdt1' */ + I_backCalc_fixdt_Init(&rtDW->I_backCalc_fixdt1, 65536000); + + /* End of SystemInitialize for SubSystem: '/I_backCalc_fixdt1' */ + + /* End of SystemInitialize for SubSystem: '/Voltage_Mode_Protection' */ + + /* SystemInitialize for IfAction SubSystem: '/Torque_Mode_Protection' */ + + /* SystemInitialize for Atomic SubSystem: '/I_backCalc_fixdt' */ + I_backCalc_fixdt_Init(&rtDW->I_backCalc_fixdt_g, 58982400); + + /* End of SystemInitialize for SubSystem: '/I_backCalc_fixdt' */ + + /* End of SystemInitialize for SubSystem: '/Torque_Mode_Protection' */ + + /* SystemInitialize for Outport: '/Vd_max' */ + rtDW->Vd_max1 = 14400; + + /* SystemInitialize for Outport: '/Vd_min' */ + rtDW->Gain3 = -14400; + + /* SystemInitialize for Outport: '/Vq_max' */ + rtDW->Vq_max_M1 = 14400; + + /* SystemInitialize for Outport: '/Vq_min' */ + rtDW->Gain5 = -14400; + + /* SystemInitialize for Outport: '/id_max' */ + rtDW->i_max = 12000; + + /* SystemInitialize for Outport: '/id_min' */ + rtDW->Gain4_c = -12000; + + /* SystemInitialize for Outport: '/iq_max' */ + rtDW->Divide1_a = 12000; + + /* SystemInitialize for Outport: '/iq_min' */ + rtDW->Gain1 = -12000; + + /* End of SystemInitialize for SubSystem: '/Motor_Limitations' */ + + /* SystemInitialize for IfAction SubSystem: '/FOC' */ + + /* SystemInitialize for IfAction SubSystem: '/Vd_Calculation' */ + + /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt_Init(&rtDW->PI_clamp_fixdt_k); + + /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ + + /* End of SystemInitialize for SubSystem: '/Vd_Calculation' */ + + /* SystemInitialize for IfAction SubSystem: '/Speed_Mode' */ + + /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt_g_Init(&rtDW->PI_clamp_fixdt_oc); + + /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ + + /* End of SystemInitialize for SubSystem: '/Speed_Mode' */ + + /* SystemInitialize for IfAction SubSystem: '/Torque_Mode' */ + + /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt_k_Init(&rtDW->PI_clamp_fixdt_at); + + /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ + + /* End of SystemInitialize for SubSystem: '/Torque_Mode' */ + + /* End of SystemInitialize for SubSystem: '/FOC' */ + + /* End of SystemInitialize for SubSystem: '/F05_Field_Oriented_Control' */ + /* End of SystemInitialize for SubSystem: '/BLDC_controller' */ +} + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/BLDC_controller_ert_rtw/BLDC_controller.h b/BLDC_controller_ert_rtw/BLDC_controller.h new file mode 100644 index 0000000..1d9bf7c --- /dev/null +++ b/BLDC_controller_ert_rtw/BLDC_controller.h @@ -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 '/Counter' */ +typedef struct { + int16_T UnitDelay_DSTATE; /* '/UnitDelay' */ +} DW_Counter; + +/* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ +typedef struct { + int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ + uint8_T icLoad; /* '/Resettable Delay' */ + boolean_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ +} DW_PI_clamp_fixdt; + +/* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ +typedef struct { + int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ + uint8_T icLoad; /* '/Resettable Delay' */ + boolean_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ +} DW_PI_clamp_fixdt_i; + +/* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ +typedef struct { + int16_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ + uint8_T icLoad; /* '/Resettable Delay' */ + boolean_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ +} DW_PI_clamp_fixdt_e; + +/* Block signals and states (auto storage) for system '/Low_Pass_Filter' */ +typedef struct { + int32_T UnitDelay1_DSTATE[2]; /* '/UnitDelay1' */ +} DW_Low_Pass_Filter; + +/* Block signals and states (auto storage) for system '/I_backCalc_fixdt' */ +typedef struct { + int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ + int32_T UnitDelay_DSTATE_h; /* '/UnitDelay' */ +} DW_I_backCalc_fixdt; + +/* Block signals and states (auto storage) for system '/Counter' */ +typedef struct { + uint16_T UnitDelay_DSTATE; /* '/UnitDelay' */ +} DW_Counter_l; + +/* Block signals and states (auto storage) for system '/either_edge' */ +typedef struct { + boolean_T UnitDelay_DSTATE; /* '/UnitDelay' */ +} DW_either_edge; + +/* Block signals and states (auto storage) for system '/Debounce_Filter' */ +typedef struct { + DW_either_edge either_edge_k; /* '/either_edge' */ + DW_Counter_l Counter_h; /* '/Counter' */ + DW_Counter_l Counter_i0; /* '/Counter' */ + boolean_T UnitDelay_DSTATE; /* '/UnitDelay' */ +} DW_Debounce_Filter; + +/* Block signals and states (auto storage) for system '' */ +typedef struct { + DW_either_edge either_edge_a; /* '/either_edge' */ + DW_Debounce_Filter Debounce_Filter_f;/* '/Debounce_Filter' */ + DW_I_backCalc_fixdt I_backCalc_fixdt_g;/* '/I_backCalc_fixdt' */ + DW_I_backCalc_fixdt I_backCalc_fixdt1;/* '/I_backCalc_fixdt1' */ + DW_I_backCalc_fixdt I_backCalc_fixdt_i;/* '/I_backCalc_fixdt' */ + DW_Low_Pass_Filter Low_Pass_Filter_m;/* '/Low_Pass_Filter' */ + DW_PI_clamp_fixdt_e PI_clamp_fixdt_at;/* '/PI_clamp_fixdt' */ + DW_PI_clamp_fixdt_i PI_clamp_fixdt_oc;/* '/PI_clamp_fixdt' */ + DW_PI_clamp_fixdt PI_clamp_fixdt_k; /* '/PI_clamp_fixdt' */ + DW_Counter Counter_e; /* '/Counter' */ + int32_T Divide1; /* '/Divide1' */ + int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ + int16_T Gain4[3]; /* '/Gain4' */ + int16_T DataTypeConversion[2]; /* '/Data Type Conversion' */ + int16_T z_counterRawPrev; /* '/z_counterRawPrev' */ + int16_T Merge1; /* '/Merge1' */ + int16_T Divide3; /* '/Divide3' */ + int16_T Vd_max1; /* '/Vd_max1' */ + int16_T Gain3; /* '/Gain3' */ + int16_T Vq_max_M1; /* '/Vq_max_M1' */ + int16_T Gain5; /* '/Gain5' */ + int16_T i_max; /* '/i_max' */ + int16_T Divide1_a; /* '/Divide1' */ + int16_T Gain1; /* '/Gain1' */ + int16_T Gain4_c; /* '/Gain4' */ + int16_T Switch2; /* '/Switch2' */ + int16_T Switch2_l; /* '/Switch2' */ + int16_T Switch2_c; /* '/Switch2' */ + int16_T Merge; /* '/Merge' */ + int16_T Switch1; /* '/Switch1' */ + int16_T Divide11; /* '/Divide11' */ + int16_T UnitDelay3_DSTATE; /* '/UnitDelay3' */ + int16_T UnitDelay4_DSTATE; /* '/UnitDelay4' */ + int16_T UnitDelay2_DSTATE; /* '/UnitDelay2' */ + int16_T UnitDelay3_DSTATE_o; /* '/UnitDelay3' */ + int16_T UnitDelay5_DSTATE; /* '/UnitDelay5' */ + int16_T UnitDelay4_DSTATE_e; /* '/UnitDelay4' */ + int16_T UnitDelay4_DSTATE_eu; /* '/UnitDelay4' */ + int16_T UnitDelay4_DSTATE_h; /* '/UnitDelay4' */ + int8_T Switch2_e; /* '/Switch2' */ + int8_T UnitDelay2_DSTATE_b; /* '/UnitDelay2' */ + int8_T If4_ActiveSubsystem; /* '/If4' */ + int8_T If1_ActiveSubsystem_p; /* '/If1' */ + int8_T If2_ActiveSubsystem; /* '/If2' */ + int8_T If2_ActiveSubsystem_a; /* '/If2' */ + int8_T If1_ActiveSubsystem_e; /* '/If1' */ + int8_T SwitchCase_ActiveSubsystem; /* '/Switch Case' */ + uint8_T z_ctrlMod; /* '/F03_02_Control_Mode_Manager' */ + uint8_T UnitDelay3_DSTATE_fy; /* '/UnitDelay3' */ + uint8_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ + uint8_T UnitDelay2_DSTATE_f; /* '/UnitDelay2' */ + uint8_T is_active_c1_BLDC_controller;/* '/F03_02_Control_Mode_Manager' */ + uint8_T is_c1_BLDC_controller; /* '/F03_02_Control_Mode_Manager' */ + uint8_T is_ACTIVE; /* '/F03_02_Control_Mode_Manager' */ + boolean_T Merge_n; /* '/Merge' */ + boolean_T dz_cntTrnsDet; /* '/dz_cntTrnsDet' */ + boolean_T UnitDelay2_DSTATE_g; /* '/UnitDelay2' */ + boolean_T UnitDelay5_DSTATE_l; /* '/UnitDelay5' */ + boolean_T UnitDelay6_DSTATE; /* '/UnitDelay6' */ + boolean_T UnitDelay_DSTATE_b; /* '/UnitDelay' */ + boolean_T UnitDelay1_DSTATE_n; /* '/UnitDelay1' */ + boolean_T n_commDeacv_Mode; /* '/n_commDeacv' */ + boolean_T dz_cntTrnsDet_Mode; /* '/dz_cntTrnsDet' */ +} DW; + +/* Constant parameters (auto storage) */ +typedef struct { + /* Computed Parameter: r_sin3PhaA_M1_Table + * Referenced by: '/r_sin3PhaA_M1' + */ + int16_T r_sin3PhaA_M1_Table[181]; + + /* Computed Parameter: r_sin3PhaB_M1_Table + * Referenced by: '/r_sin3PhaB_M1' + */ + int16_T r_sin3PhaB_M1_Table[181]; + + /* Computed Parameter: r_sin3PhaC_M1_Table + * Referenced by: '/r_sin3PhaC_M1' + */ + int16_T r_sin3PhaC_M1_Table[181]; + + /* Computed Parameter: r_sin_M1_Table + * Referenced by: '/r_sin_M1' + */ + int16_T r_sin_M1_Table[181]; + + /* Computed Parameter: r_cos_M1_Table + * Referenced by: '/r_cos_M1' + */ + int16_T r_cos_M1_Table[181]; + + /* Computed Parameter: iq_maxSca_M1_Table + * Referenced by: '/iq_maxSca_M1' + */ + uint16_T iq_maxSca_M1_Table[50]; + + /* Computed Parameter: z_commutMap_M1_table + * Referenced by: '/z_commutMap_M1' + */ + int8_T z_commutMap_M1_table[18]; + + /* Computed Parameter: vec_hallToPos_Value + * Referenced by: '/vec_hallToPos' + */ + int8_T vec_hallToPos_Value[8]; +} ConstP; + +/* External inputs (root inport signals with auto storage) */ +typedef struct { + boolean_T b_motEna; /* '/b_motEna' */ + uint8_T z_ctrlModReq; /* '/z_ctrlModReq' */ + int16_T r_inpTgt; /* '/r_inpTgt' */ + uint8_T b_hallA; /* '/b_hallA ' */ + uint8_T b_hallB; /* '/b_hallB' */ + uint8_T b_hallC; /* '/b_hallC' */ + int16_T i_phaAB; /* '/i_phaAB' */ + int16_T i_phaBC; /* '/i_phaBC' */ + int16_T i_DCLink; /* '/i_DCLink' */ + int16_T a_mechAngle; /* '/a_mechAngle' */ +} ExtU; + +/* External outputs (root outports fed by signals with auto storage) */ +typedef struct { + int16_T DC_phaA; /* '/DC_phaA' */ + int16_T DC_phaB; /* '/DC_phaB' */ + int16_T DC_phaC; /* '/DC_phaC' */ + uint8_T z_errCode; /* '/z_errCode' */ + int16_T n_mot; /* '/n_mot' */ + int16_T n_motHiRes; /* '/n_motHiRes' */ + int16_T a_elecAngle; /* '/a_elecAngle' */ + int16_T iq; /* '/iq' */ + int16_T id; /* '/id' */ +} ExtY; + +/* Parameters (auto storage) */ +struct P_ { + int32_T dV_openRate; /* Variable: dV_openRate + * Referenced by: '/dV_openRate' + */ + int16_T dz_cntTrnsDetHi; /* Variable: dz_cntTrnsDetHi + * Referenced by: '/dz_cntTrnsDet' + */ + int16_T dz_cntTrnsDetLo; /* Variable: dz_cntTrnsDetLo + * Referenced by: '/dz_cntTrnsDet' + */ + int16_T n_cruiseMotTgt; /* Variable: n_cruiseMotTgt + * Referenced by: '/n_cruiseMotTgt' + */ + int16_T z_maxCntRst; /* Variable: z_maxCntRst + * Referenced by: + * '/Counter' + * '/z_maxCntRst' + * '/z_maxCntRst2' + * '/UnitDelay3' + * '/z_counter' + */ + uint16_T cf_speedCoef; /* Variable: cf_speedCoef + * Referenced by: '/cf_speedCoef' + */ + uint16_T t_errDequal; /* Variable: t_errDequal + * Referenced by: '/t_errDequal' + */ + uint16_T t_errQual; /* Variable: t_errQual + * Referenced by: '/t_errQual' + */ + int16_T Vd_max; /* Variable: Vd_max + * Referenced by: + * '/Vd_max1' + * '/Vd_max' + */ + int16_T Vq_max_M1[46]; /* Variable: Vq_max_M1 + * Referenced by: '/Vq_max_M1' + */ + int16_T Vq_max_XA[46]; /* Variable: Vq_max_XA + * Referenced by: '/Vq_max_XA' + */ + int16_T a_phaAdvMax; /* Variable: a_phaAdvMax + * Referenced by: '/a_phaAdvMax' + */ + int16_T i_max; /* Variable: i_max + * Referenced by: + * '/i_max' + * '/i_max' + */ + int16_T id_fieldWeakMax; /* Variable: id_fieldWeakMax + * Referenced by: '/id_fieldWeakMax' + */ + int16_T n_commAcvLo; /* Variable: n_commAcvLo + * Referenced by: '/n_commDeacv' + */ + int16_T n_commDeacvHi; /* Variable: n_commDeacvHi + * Referenced by: '/n_commDeacv' + */ + int16_T n_fieldWeakAuthHi; /* Variable: n_fieldWeakAuthHi + * Referenced by: '/n_fieldWeakAuthHi' + */ + int16_T n_fieldWeakAuthLo; /* Variable: n_fieldWeakAuthLo + * Referenced by: '/n_fieldWeakAuthLo' + */ + int16_T n_max; /* Variable: n_max + * Referenced by: + * '/n_max1' + * '/n_max' + */ + int16_T n_stdStillDet; /* Variable: n_stdStillDet + * Referenced by: '/n_stdStillDet' + */ + int16_T r_errInpTgtThres; /* Variable: r_errInpTgtThres + * Referenced by: '/r_errInpTgtThres' + */ + int16_T r_fieldWeakHi; /* Variable: r_fieldWeakHi + * Referenced by: '/r_fieldWeakHi' + */ + int16_T r_fieldWeakLo; /* Variable: r_fieldWeakLo + * Referenced by: '/r_fieldWeakLo' + */ + uint16_T cf_KbLimProt; /* Variable: cf_KbLimProt + * Referenced by: + * '/cf_KbLimProt' + * '/cf_KbLimProt' + */ + uint16_T cf_idKp; /* Variable: cf_idKp + * Referenced by: '/cf_idKp1' + */ + uint16_T cf_iqKp; /* Variable: cf_iqKp + * Referenced by: '/cf_iqKp' + */ + uint16_T cf_nKp; /* Variable: cf_nKp + * Referenced by: '/cf_nKp' + */ + uint16_T cf_currFilt; /* Variable: cf_currFilt + * Referenced by: '/cf_currFilt' + */ + uint16_T cf_idKi; /* Variable: cf_idKi + * Referenced by: '/cf_idKi1' + */ + uint16_T cf_iqKi; /* Variable: cf_iqKi + * Referenced by: '/cf_iqKi' + */ + uint16_T cf_iqKiLimProt; /* Variable: cf_iqKiLimProt + * Referenced by: + * '/cf_iqKiLimProt' + * '/cf_iqKiLimProt' + */ + uint16_T cf_nKi; /* Variable: cf_nKi + * Referenced by: '/cf_nKi' + */ + uint16_T cf_nKiLimProt; /* Variable: cf_nKiLimProt + * Referenced by: + * '/cf_nKiLimProt' + * '/cf_nKiLimProt' + */ + uint8_T n_polePairs; /* Variable: n_polePairs + * Referenced by: '/n_polePairs' + */ + uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel + * Referenced by: '/z_ctrlTypSel' + */ + uint8_T z_selPhaCurMeasABC; /* Variable: z_selPhaCurMeasABC + * Referenced by: '/z_selPhaCurMeasABC' + */ + boolean_T b_angleMeasEna; /* Variable: b_angleMeasEna + * Referenced by: + * '/b_angleMeasEna' + * '/b_angleMeasEna' + */ + boolean_T b_cruiseCtrlEna; /* Variable: b_cruiseCtrlEna + * Referenced by: '/b_cruiseCtrlEna' + */ + boolean_T b_diagEna; /* Variable: b_diagEna + * Referenced by: '/b_diagEna' + */ + boolean_T b_fieldWeakEna; /* Variable: b_fieldWeakEna + * Referenced by: + * '/b_fieldWeakEna' + * '/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 '/Scope2' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Scope12' : Unused code path elimination + * Block '/Scope8' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/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 /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 + * + * '' : 'BLDCmotor_FOC_R2017b_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement/Modulo_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/either_edge' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Default' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/either_edge' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter/rst_Delay' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter/rst_Delay' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_01_Mode_Transition_Calculation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Clarke_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Park_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Park_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Sine_Cosine_Approximation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAB' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAC' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesBC' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering/Low_Pass_Filter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Open_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Clamping_circuit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Saturation_hit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Clamping_circuit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Saturation_hit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Saturation_hit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/COM_Method' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/FOC_Method' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation' + * '' : '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] + */ diff --git a/BLDC_controller_ert_rtw/BLDC_controller_data.c b/BLDC_controller_ert_rtw/BLDC_controller_data.c new file mode 100644 index 0000000..7b6f6a9 --- /dev/null +++ b/BLDC_controller_ert_rtw/BLDC_controller_data.c @@ -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: '/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: '/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: '/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: '/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: '/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: '/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: '/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: '/vec_hallToPos' + */ + { 0, 2, 0, 1, 4, 3, 5, 0 } +}; + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/BLDC_controller_ert_rtw/ert_main.c b/BLDC_controller_ert_rtw/ert_main.c new file mode 100644 index 0000000..20417aa --- /dev/null +++ b/BLDC_controller_ert_rtw/ert_main.c @@ -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 +#include /* 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: '/dV_openRate' + */ + 12288, + + /* Variable: dz_cntTrnsDetHi + * Referenced by: '/dz_cntTrnsDet' + */ + 40, + + /* Variable: dz_cntTrnsDetLo + * Referenced by: '/dz_cntTrnsDet' + */ + 20, + + /* Variable: n_cruiseMotTgt + * Referenced by: '/n_cruiseMotTgt' + */ + 0, + + /* Variable: z_maxCntRst + * Referenced by: + * '/Counter' + * '/z_maxCntRst' + * '/z_maxCntRst2' + * '/UnitDelay3' + * '/z_counter' + */ + 2000, + + /* Variable: cf_speedCoef + * Referenced by: '/cf_speedCoef' + */ + 10667U, + + /* Variable: t_errDequal + * Referenced by: '/t_errDequal' + */ + 9600U, + + /* Variable: t_errQual + * Referenced by: '/t_errQual' + */ + 1280U, + + /* Variable: Vd_max + * Referenced by: + * '/Vd_max1' + * '/Vd_max' + */ + 14400, + + /* Variable: Vq_max_M1 + * Referenced by: '/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: '/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: '/a_phaAdvMax' + */ + 400, + + /* Variable: i_max + * Referenced by: + * '/i_max' + * '/i_max' + */ + 12000, + + /* Variable: id_fieldWeakMax + * Referenced by: '/id_fieldWeakMax' + */ + 4000, + + /* Variable: n_commAcvLo + * Referenced by: '/n_commDeacv' + */ + 240, + + /* Variable: n_commDeacvHi + * Referenced by: '/n_commDeacv' + */ + 480, + + /* Variable: n_fieldWeakAuthHi + * Referenced by: '/n_fieldWeakAuthHi' + */ + 6400, + + /* Variable: n_fieldWeakAuthLo + * Referenced by: '/n_fieldWeakAuthLo' + */ + 4800, + + /* Variable: n_max + * Referenced by: + * '/n_max1' + * '/n_max' + */ + 24000, + + /* Variable: n_stdStillDet + * Referenced by: '/n_stdStillDet' + */ + 48, + + /* Variable: r_errInpTgtThres + * Referenced by: '/r_errInpTgtThres' + */ + 9600, + + /* Variable: r_fieldWeakHi + * Referenced by: '/r_fieldWeakHi' + */ + 16000, + + /* Variable: r_fieldWeakLo + * Referenced by: '/r_fieldWeakLo' + */ + 12000, + + /* Variable: cf_KbLimProt + * Referenced by: + * '/cf_KbLimProt' + * '/cf_KbLimProt' + */ + 768U, + + /* Variable: cf_idKp + * Referenced by: '/cf_idKp1' + */ + 819U, + + /* Variable: cf_iqKp + * Referenced by: '/cf_iqKp' + */ + 1229U, + + /* Variable: cf_nKp + * Referenced by: '/cf_nKp' + */ + 4833U, + + /* Variable: cf_currFilt + * Referenced by: '/cf_currFilt' + */ + 7864U, + + /* Variable: cf_idKi + * Referenced by: '/cf_idKi1' + */ + 737U, + + /* Variable: cf_iqKi + * Referenced by: '/cf_iqKi' + */ + 1229U, + + /* Variable: cf_iqKiLimProt + * Referenced by: + * '/cf_iqKiLimProt' + * '/cf_iqKiLimProt' + */ + 737U, + + /* Variable: cf_nKi + * Referenced by: '/cf_nKi' + */ + 251U, + + /* Variable: cf_nKiLimProt + * Referenced by: + * '/cf_nKiLimProt' + * '/cf_nKiLimProt' + */ + 246U, + + /* Variable: n_polePairs + * Referenced by: '/n_polePairs' + */ + 15U, + + /* Variable: z_ctrlTypSel + * Referenced by: '/z_ctrlTypSel' + */ + 2U, + + /* Variable: z_selPhaCurMeasABC + * Referenced by: '/z_selPhaCurMeasABC' + */ + 0U, + + /* Variable: b_angleMeasEna + * Referenced by: + * '/b_angleMeasEna' + * '/b_angleMeasEna' + */ + 0, + + /* Variable: b_cruiseCtrlEna + * Referenced by: '/b_cruiseCtrlEna' + */ + 0, + + /* Variable: b_diagEna + * Referenced by: '/b_diagEna' + */ + 1, + + /* Variable: b_fieldWeakEna + * Referenced by: + * '/b_fieldWeakEna' + * '/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] + */ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview.json index 36f4043..c515578 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview.json @@ -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" } \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png deleted file mode 100644 index 3c78827..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png deleted file mode 100644 index 54359b3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.png deleted file mode 100644 index f2559f1..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png deleted file mode 100644 index ca02516..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.json deleted file mode 100644 index d272ff2..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.png deleted file mode 100644 index bd9eb51..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.svg deleted file mode 100644 index f535787..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.svg +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.png deleted file mode 100644 index ba494ac..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.json deleted file mode 100644 index ed5ae4a..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.png deleted file mode 100644 index bd9eb51..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.png deleted file mode 100644 index 92c294c..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.json deleted file mode 100644 index 12e7f43..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.json deleted file mode 100644 index 8277b17..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.svg deleted file mode 100644 index 85598c0..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.svg +++ /dev/null @@ -1,1180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UpperRelop - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LowerRelop1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - Ref1 - - - - - - - - Ref2 - - - - - - - - Prop - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.png deleted file mode 100644 index cfecf0d..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.png deleted file mode 100644 index 66b827b..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.png deleted file mode 100644 index f441a94..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.json deleted file mode 100644 index 2e9d3e0..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.png deleted file mode 100644 index f441a94..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.json deleted file mode 100644 index c6f99ce..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.png deleted file mode 100644 index f441a94..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.json deleted file mode 100644 index 97d0d89..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.json deleted file mode 100644 index aba8340..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.json +++ /dev/null @@ -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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.png deleted file mode 100644 index bd9eb51..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.png deleted file mode 100644 index ba494ac..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.svg deleted file mode 100644 index e36b88a..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.svg +++ /dev/null @@ -1,1180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UpperRelop - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LowerRelop1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - Ref1 - - - - - - - - Ref2 - - - - - - - - Prop - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png deleted file mode 100644 index 5730775..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png deleted file mode 100644 index d746952..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png deleted file mode 100644 index d8e6a91..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.png deleted file mode 100644 index 9d12d12..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.png deleted file mode 100644 index fd01a81..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png deleted file mode 100644 index d167557..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.png deleted file mode 100644 index bb12df0..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.png deleted file mode 100644 index d9c67cd..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png deleted file mode 100644 index 106c897..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png deleted file mode 100644 index 5b8c750..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.png deleted file mode 100644 index 8171947..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.png deleted file mode 100644 index c1515b3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png deleted file mode 100644 index 57009d5..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.png deleted file mode 100644 index c1515b3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png deleted file mode 100644 index 9c8dfd9..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png deleted file mode 100644 index bdfa7a0..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png deleted file mode 100644 index 84a1bef..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.png deleted file mode 100644 index 73a2a45..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png deleted file mode 100644 index c64468b..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json deleted file mode 100644 index 7f0920d..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json +++ /dev/null @@ -1,2309 +0,0 @@ -[ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8725", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_beta", - "label":"i_beta", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8723", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"b_selPhaABCurrMeas", - "label":"b_selPhaABCurrMeas", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "b_selPhaABCurrMeas", - "on", - "inf", - "[]", - "[]", - "boolean", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8722", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge1", - "label":"Merge1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "2" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8720", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "on", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8719", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_beta", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8717", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_betaAB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8716", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_alphaBC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8714", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8713", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_alphaAB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8712", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_alpha", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8710", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaBC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8718", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_betaBC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8724", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_alpha", - "label":"i_alpha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8721", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "2" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8705", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_betaBC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8709", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8704", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_betaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8708", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8706", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_alpha", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8711", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaBC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8702", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_alphaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8715", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaBC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8703", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_alphaBC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_PhasesAB", - "label":"Clarke_PhasesAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8670", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"i_phaBC", - "label":"i_phaBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8707", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_beta", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8669", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"i_phaAB", - "label":"i_phaAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8686", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_PhasesBC", - "label":"Clarke_PhasesBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8686#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8705#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8704#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8669#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8711#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8709#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8671#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8702#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8720#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8723#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8720#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8703#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8707#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8671#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8670#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8710#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8722#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8721#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8708#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8706#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8686#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png deleted file mode 100644 index 3598577..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.png deleted file mode 100644 index b8230f3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png deleted file mode 100644 index b7c48a3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.png deleted file mode 100644 index f6547fc..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png deleted file mode 100644 index d8a6847..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png deleted file mode 100644 index 2d1891b..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json deleted file mode 100644 index b8d89b6..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json +++ /dev/null @@ -1,1781 +0,0 @@ -[ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9709", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

The input is scaled, so already between [n_min, n_max]

", - "label":"

The input is scaled, so already between [n_min, n_max]

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

The input is scaled, so already between [n_min, n_max]

", - "off", - "rich", - "auto", - "auto", - -1, - "auto", - "black", - "white", - "left", - "off", - "" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9106", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_Spd", - "label":"Vq_Spd", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9105", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKp", - "label":"cf_nKp", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_nKp", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9104", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKi", - "label":"cf_nKi", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_nKi", - "off", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"PI_clamp_fixdt", - "label":"PI_clamp_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", - "RTWFcnName", - "RTWFileNameOpts", - "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "IsSubsystemVirtual", - "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" - ], - "values":[ - "FromPortIcon", - "", - "", - "", - "ReadWrite", - "", - "All", - "on", - "off", - "off", - "-1", - "Reusable function", - "Use subsystem name", - "", - "Auto", - "", - "void_void", - "off", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "off", - "off", - "", - "", - "off", - "off", - "off", - "", - "", - "on" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9094", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9092", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9091", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9093", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9095", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9088", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9087", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10714", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9089", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9101", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "|+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9077", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9078", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:9076", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9090", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9081", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_limProtErr", - "label":"iq_limProtErr", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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:9082", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9075", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9087#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9075#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9076#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9077#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9078#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9081#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9088#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9101#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9105#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9104#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9090#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9089#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:10714#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.png deleted file mode 100644 index ccb0af6..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg deleted file mode 100644 index ca6ac1c..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg +++ /dev/null @@ -1,1359 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - The input is scaled, so already between [n_min, n_max] - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_Spd - - - - - - - - - - - - - - - - - - - - - - - - - - cf_nKp - - - - - - - - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_nKi - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - P - - - - - - - - I - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) - - - - - - - - - - - - - - - - - - - - - - PI_clamp_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - n_mot - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - iq_limProtErr - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.png deleted file mode 100644 index df9575a..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.png deleted file mode 100644 index 7388470..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg deleted file mode 100644 index 8e48bb9..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg +++ /dev/null @@ -1,1180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UpperRelop - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LowerRelop1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - Ref1 - - - - - - - - Ref2 - - - - - - - - Prop - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg deleted file mode 100644 index 68d269d..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg +++ /dev/null @@ -1,1180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UpperRelop - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LowerRelop1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - Ref1 - - - - - - - - Ref2 - - - - - - - - Prop - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png deleted file mode 100644 index 4895270..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png deleted file mode 100644 index f03c19a..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png deleted file mode 100644 index 7a4691e..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png deleted file mode 100644 index ad14e82..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json deleted file mode 100644 index f4e0b68..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json +++ /dev/null @@ -1,936 +0,0 @@ -[ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:10", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:9", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:8", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:7", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch", - "label":"Switch", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:6", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:5", - "className":"Simulink.SFunction", - "icon":"WebViewIcon3", - "name":"Data Type Propagation", - "label":"Data Type Propagation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:4", - "className":"Simulink.DataTypeDuplicate", - "icon":"WebViewIcon3", - "name":"Data Type Duplicate", - "label":"Data Type Duplicate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:3", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:2", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:1", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"up", - "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:1#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:2#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:3#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:7#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:8#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:6#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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:9948:2395:9#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "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":[ - ] - } -] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json index 8fc5151..f9fcdc6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:576", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", "label":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:572", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:572", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Inputs", @@ -106,71 +106,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:574", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", - "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:10035:573", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:573", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide3", "label":"Divide3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Inputs", @@ -222,12 +163,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:570", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:570", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"num", "label":"num", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Port", @@ -289,12 +230,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:571", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:571", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"div", "label":"div", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Port", @@ -356,12 +297,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:575", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"rem", "label":"rem", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Port", @@ -436,12 +377,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:572#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:2906", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", + "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":"BLDCmotor_FOC_R2017b_fixdt:10035:572#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", @@ -487,12 +487,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:571#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:571#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", @@ -538,12 +538,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:573#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:2906#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", @@ -589,12 +589,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:570#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", @@ -640,12 +640,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:570#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:573#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png new file mode 100644 index 0000000..7ea01e7 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg index 625ae9e..4c16bee 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg @@ -1,19 +1,19 @@ - + - + - + - + @@ -42,68 +42,68 @@ - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + int16 @@ -115,73 +115,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - + - + @@ -189,19 +125,19 @@ - + - + - + - + @@ -216,15 +152,15 @@ - + - - + + - - sfix16_En6 + + int16 @@ -235,58 +171,58 @@ - - + + - + - + - + 1 - + - + - - + + - + num - + - - + + - + sfix16_En6 @@ -298,58 +234,58 @@ - - + + - + - + - + 2 - + - + - - + + - + div - + - - + + - + sfix16_En6 @@ -361,43 +297,43 @@ - - + + - + - + - + 1 - + - + - - + + - + rem @@ -407,117 +343,181 @@ - + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + - - - - - - - - + - + + + + + + + + + + + + - + - + - + + + + + + + + + + + - + - + - + - + - + + + + + + + + - - - - - - - - - - - - + - + - + - - - - - - - - - - - + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json index e9834b5..5555aab 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10523", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10523", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Field Weakening / Phase Advance

", "label":"

Field Weakening / Phase Advance

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10522", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10522", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

This blendig factor is a number between [0, 1]. It manages the Field weakening amount, ranging from 0 to a calibratable Max value.

", "label":"

This blendig factor is a number between [0, 1]. It manages the Field weakening amount, ranging from 0 to a calibratable Max value.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10521", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10521", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Calculate Blending Factor

", "label":"

Calculate Blending Factor

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Text", @@ -147,12 +147,208 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10520", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10519", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_fieldWeakLo", + "label":"r_fieldWeakLo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "r_fieldWeakLo", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10517", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_fieldWeakAuthLo", + "label":"n_fieldWeakAuthLo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_fieldWeakAuthLo", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10516", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_fieldWeakAuthHi", + "label":"n_fieldWeakAuthHi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_fieldWeakAuthHi", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10514", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_phaAdvMax", + "label":"a_phaAdvMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "a_phaAdvMax", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10520", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_fieldWeak ", "label":"r_fieldWeak ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Port", @@ -227,616 +423,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10518", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"r_fieldWeakHi", - "label":"r_fieldWeakHi", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "r_fieldWeakHi", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10516", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_fieldWeakAuthHi", - "label":"n_fieldWeakAuthHi", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "n_fieldWeakAuthHi", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10514", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_phaAdvMax", - "label":"a_phaAdvMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "a_phaAdvMax", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10510", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "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:10509", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "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:10508", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10515", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"id_fieldWeakMax", - "label":"id_fieldWeakMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "id_fieldWeakMax", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10504", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10503", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10502", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10501", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10500", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10519", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"r_fieldWeakLo", - "label":"r_fieldWeakLo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "r_fieldWeakLo", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10513", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10513", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Criteria", @@ -888,43 +480,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10497", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10511", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10511", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "IconShape", @@ -978,12 +539,398 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10495", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10510", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:10508", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10506", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10504", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10515", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"id_fieldWeakMax", + "label":"id_fieldWeakMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "id_fieldWeakMax", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10502", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10501", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10499", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10498", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10503", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10495", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide3", "label":"Divide3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Inputs", @@ -1035,12 +982,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10494", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10494", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Inputs", @@ -1092,19 +1039,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10499", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10497", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgt", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1123,12 +1070,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10493", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10492", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide14", - "label":"Divide14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Inputs", @@ -1180,186 +1127,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10517", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_fieldWeakAuthLo", - "label":"n_fieldWeakAuthLo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "n_fieldWeakAuthLo", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10506", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:10491", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "CTRL_FOC", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10498", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10512", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10509", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum4", - "label":"Sum4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "IconShape", @@ -1413,12 +1186,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10490", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10490", "className":"Simulink.Abs", "icon":"WebViewIcon3", "name":"Abs5", "label":"Abs5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "OutMin", @@ -1460,12 +1233,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10496", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10496", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From", "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "GotoTag", @@ -1491,12 +1264,45 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10489", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10505", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_blendFactor", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10489", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "InitializeStates", @@ -1522,12 +1328,188 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10488", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10518", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_fieldWeakHi", + "label":"r_fieldWeakHi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "r_fieldWeakHi", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10493", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide14", + "label":"Divide14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(0,16,15)", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10500", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10488", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_motAbs", "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Port", @@ -1589,102 +1571,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10505", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_blendFactor", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10492", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(0,16,15)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10487", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10487", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgt", "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Port", @@ -1746,12 +1638,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10486", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10491", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "CTRL_FOC", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10486", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlTypSel", "label":"z_ctrlTypSel", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "Port", @@ -1813,12 +1754,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10514#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10512", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum4", + "label":"Sum4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:10514#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1864,12 +1864,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10500#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10500#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1915,12 +1915,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10513#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10513#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1966,12 +1966,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10517#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10517#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2017,12 +2017,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10491#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10491#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2068,12 +2068,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10506#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10506#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2119,12 +2119,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10498#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10498#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2170,12 +2170,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10488#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10488#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2221,12 +2221,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10493#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10493#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2272,12 +2272,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2323,12 +2323,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10516#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10516#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2374,12 +2374,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10492#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10492#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2425,12 +2425,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10512#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10512#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2476,12 +2476,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10496#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10496#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2527,12 +2527,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10511#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10511#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2578,12 +2578,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10515#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2629,12 +2629,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10499#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10499#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2680,12 +2680,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10508#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2731,12 +2731,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10494#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10494#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2782,12 +2782,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10510#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2833,12 +2833,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10490#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10490#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2884,12 +2884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10486#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10486#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2935,12 +2935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10487#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10487#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2986,12 +2986,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10518#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10518#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3037,12 +3037,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10519#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10519#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3088,12 +3088,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10495#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10495#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3139,12 +3139,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10509#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10509#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3190,12 +3190,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10497#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10497#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png new file mode 100644 index 0000000..ed880b4 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg index a29d9dd..56416e6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg @@ -9,11 +9,11 @@ - + - + @@ -32,7 +32,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -86,839 +86,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - - - - - - - - - - - - r_fieldWeakHi - - - - - - - - - - - - - - - - - - - - - - r_fieldWeakHi - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthHi - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthHi - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - a_phaAdvMax - - - - - - - - - - - - - - - - - - - - - - a_phaAdvMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - id_fieldWeakMax - - - - - - - - - - - - - - - - - - - - - - id_fieldWeakMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -928,11 +96,11 @@ - + - + r_fieldWeakLo @@ -950,11 +118,11 @@ - + - + r_fieldWeakLo @@ -965,11 +133,11 @@ - + - + sfix16_En4 @@ -981,544 +149,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - + @@ -1528,11 +159,11 @@ - + - + n_fieldWeakAuthLo @@ -1550,11 +181,11 @@ - + - + n_fieldWeakAuthLo @@ -1565,11 +196,11 @@ - + - + sfix16_En4 @@ -1581,9 +212,615 @@ - + + + + + + + + + + + + + + + + n_fieldWeakAuthHi + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthHi + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + a_phaAdvMax + + + + + + + + + + + + + + + + + + + + + + a_phaAdvMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -1591,27 +828,27 @@ - + - + - + - + - + - + @@ -1637,11 +874,11 @@ - + - + boolean @@ -1653,44 +890,29 @@ - - - + + + - - + + - - + + - - CTRL_FOC + + [n_motAbs] - - - - - - - - - - - - - - - - - uint8 + + @@ -1701,7 +923,184 @@ - + + + + + + + + + + + + + + + + id_fieldWeakMax + + + + + + + + + + + + + + + + + + + + + + id_fieldWeakMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1711,11 +1110,11 @@ - + - + [n_motAbs] @@ -1733,11 +1132,11 @@ - + - + sfix16_En4 @@ -1749,59 +1148,325 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + [r_inpTgt] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + sfix16_En4 @@ -1813,7 +1478,7 @@ - + @@ -1823,35 +1488,35 @@ - + - + - + - + - + - + - + - + @@ -1877,11 +1542,11 @@ - + - + sfix16_En4 @@ -1893,7 +1558,7 @@ - + @@ -1903,11 +1568,11 @@ - + - + [r_blendFactor] @@ -1925,11 +1590,11 @@ - + - + ufix16_En15 @@ -1941,9 +1606,42 @@ - + + + + + + + + + + + + + + + + [r_blendFactor] + + + + + + + + + + + + + + + + + + - + @@ -1951,11 +1649,11 @@ - + - + if { } @@ -1973,11 +1671,11 @@ - + - + Action Port @@ -1989,7 +1687,303 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + r_fieldWeakHi + + + + + + + + + + + + + + + + + + + + + + r_fieldWeakHi + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -2052,113 +2046,7 @@ - - - - - - - - - - - - - - - - [r_blendFactor] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - + @@ -2168,11 +2056,11 @@ - + - + 2 @@ -2190,11 +2078,11 @@ - + - + r_inpTgt @@ -2205,11 +2093,11 @@ - + - + sfix16_En4 @@ -2221,7 +2109,55 @@ - + + + + + + + + + + + + + + + + CTRL_FOC + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + @@ -2231,11 +2167,11 @@ - + - + 1 @@ -2253,11 +2189,11 @@ - + - + z_ctrlTypSel @@ -2268,11 +2204,11 @@ - + - + uint8 @@ -2282,7 +2218,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -2296,7 +2296,7 @@ - + @@ -2310,7 +2310,7 @@ - + @@ -2324,7 +2324,7 @@ - + @@ -2378,7 +2378,7 @@ - + @@ -2392,7 +2392,7 @@ - + @@ -2406,7 +2406,7 @@ - + @@ -2420,7 +2420,7 @@ - + @@ -2434,7 +2434,7 @@ - + @@ -2448,7 +2448,7 @@ - + @@ -2462,7 +2462,7 @@ - + @@ -2496,7 +2496,7 @@ - + @@ -2510,7 +2510,7 @@ - + @@ -2524,7 +2524,7 @@ - + @@ -2538,7 +2538,7 @@ - + @@ -2552,7 +2552,7 @@ - + @@ -2566,7 +2566,7 @@ - + @@ -2580,7 +2580,7 @@ - + @@ -2594,7 +2594,7 @@ - + @@ -2608,7 +2608,7 @@ - + @@ -2622,7 +2622,7 @@ - + @@ -2636,7 +2636,7 @@ - + @@ -2650,7 +2650,7 @@ - + @@ -2664,7 +2664,7 @@ - + @@ -2698,7 +2698,7 @@ - + @@ -2752,7 +2752,7 @@ - + @@ -2766,7 +2766,7 @@ - + @@ -2780,7 +2780,7 @@ - + @@ -2796,5 +2796,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.json index 064c7cb..47581d5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10169", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10169", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Task Squeduler: This creates a pulse train for alternating task squeduling in series.

", "label":"

Task Squeduler: This creates a pulse train for alternating task squeduling in series.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "Text", @@ -49,12 +49,372 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10186", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10168", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"task2", + "label":"task2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10167", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"task1", + "label":"task1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "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", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10185", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay6", + "label":"UnitDelay6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "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":"BLDCmotor_FOC_R2017b_fixdt:10184", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay5", + "label":"UnitDelay5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "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":"BLDCmotor_FOC_R2017b_fixdt:10162", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay4", + "label":"UnitDelay4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "1", + "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":"BLDCmotor_FOC_R2017b_fixdt:10183", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay2", + "label":"UnitDelay2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "1", + "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":"BLDCmotor_FOC_R2017b_fixdt:10186", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"task3", "label":"task3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "Port", @@ -129,322 +489,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10168", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"task2", - "label":"task2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:10185", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay6", - "label":"UnitDelay6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "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:10167", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"task1", - "label":"task1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "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", - "0", - "off", - "reset", - "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:10162", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "1", - "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:10183", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "1", - "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:10190", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10190", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"Data Type Conversion", "label":"Data Type Conversion", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "OutMin", @@ -486,62 +536,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10184", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay5", - "label":"UnitDelay5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "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:10163", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10163", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator2", "label":"Logical Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "Operator", @@ -581,12 +581,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10162#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10162#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "SignalNameFromLabel", @@ -632,12 +632,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10163#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10163#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "SignalNameFromLabel", @@ -683,12 +683,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10183#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10183#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "SignalNameFromLabel", @@ -734,12 +734,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10184#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10184#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "SignalNameFromLabel", @@ -785,12 +785,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10185#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10185#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "SignalNameFromLabel", @@ -836,12 +836,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10190#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10190#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.png new file mode 100644 index 0000000..9e9ff24 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg index 6e6cb36..d9a6ffc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg @@ -9,11 +9,11 @@
- + - + @@ -41,55 +41,7 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - task3 - - - - - - - - - - - + @@ -99,11 +51,11 @@ - + - + 2 @@ -121,11 +73,11 @@ - + - + task2 @@ -137,7 +89,55 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + task1 + + + + + + + + + + + @@ -232,328 +232,9 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - task1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + - + @@ -561,35 +242,35 @@ - + - + - + - + - + - + - + - + @@ -615,11 +296,11 @@ - + - + Ini=0 @@ -630,11 +311,11 @@ - + - + boolean @@ -646,7 +327,326 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=1 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + task3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -669,7 +669,7 @@ - + @@ -725,7 +725,7 @@ - + @@ -739,7 +739,7 @@ - + @@ -753,7 +753,7 @@ - + @@ -787,7 +787,7 @@ - + @@ -821,7 +821,7 @@ - + @@ -855,7 +855,7 @@ - + @@ -871,5 +871,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json index e735862..ebfe50a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json @@ -1,858 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Vd_Calculation", - "label":"Vd_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Speed_Mode", - "label":"Speed_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Open_Mode", - "label":"Open_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8912", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "4" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10425", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10391", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108", - "className":"Simulink.SwitchCase", - "icon":"WebViewIcon3", - "name":"Switch Case", - "label":"Switch Case", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "CaseConditions", - "ShowDefaultCase", - "SampleTime", - "ZeroCross" - ], - "values":[ - "{VLT_MODE, SPD_MODE, TRQ_MODE}", - "on", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SwitchCase", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10424", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10420", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10419", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10418", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10413", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10387", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8841", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10412", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10411", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10722", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8834", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_Vlt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10368", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10368", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq", "label":"Vq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -927,12 +80,327 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10408", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9171", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Voltage_Mode", + "label":"Voltage_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9108", + "className":"Simulink.SwitchCase", + "icon":"WebViewIcon3", + "name":"Switch Case", + "label":"Switch Case", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "CaseConditions", + "ShowDefaultCase", + "SampleTime", + "ZeroCross" + ], + "values":[ + "{VLT_MODE, SPD_MODE, TRQ_MODE}", + "on", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SwitchCase", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9074", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode", + "label":"Speed_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8912", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "4", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9715", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10391", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -940,7 +408,7 @@ "IconDisplay" ], "values":[ - "id_Tgt", + "b_enaAdvCtrl", "local", "Tag" ], @@ -960,43 +428,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10030", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8830", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10419", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -1004,7 +441,7 @@ "IconDisplay" ], "values":[ - "Vq_Open", + "Vq_min", "local", "Tag" ], @@ -1024,19 +461,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10421", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From68", - "label":"From68", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "iq_limProtErr", + "local", "Tag" ], "tabs":[ @@ -1050,141 +489,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From67", - "label":"From67", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From58", - "label":"From58", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From57", - "label":"From57", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10742", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8852", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8852", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto30", "label":"Goto30", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -1212,167 +527,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8801", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Vlt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10730", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8804", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From49", - "label":"From49", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Open", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8793", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10388", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10388", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto3", "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -1400,12 +560,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10410", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10387", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -1413,7 +573,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "r_inpTgtSca", "local", "Tag" ], @@ -1433,12 +593,276 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8792", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11477", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10409", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10723", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10418", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8831", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_Trq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10420", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10398", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10408", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10030", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -1464,12 +888,1052 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10370", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8834", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_Vlt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10427", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_mot", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10722", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8816", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From60", + "label":"From60", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8814", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From59", + "label":"From59", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8824", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From68", + "label":"From68", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8802", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From47", + "label":"From47", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_Spd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8813", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From58", + "label":"From58", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10742", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8799", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From44", + "label":"From44", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8801", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_Vlt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10411", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10730", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8812", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From57", + "label":"From57", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10413", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8793", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From38", + "label":"From38", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10367", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8791", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_mot", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8792", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11482", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8780", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8841", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10724", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8823", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From67", + "label":"From67", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8779", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10369", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8771", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8766", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10366", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8777", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11476", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "21", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8789", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From34", + "label":"From34", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10370", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vd", "label":"Vd", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -1544,551 +2008,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8791", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10724", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Voltage_Mode", - "label":"Voltage_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8780", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10723", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10421", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8777", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8774", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10409", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8789", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8770", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10367", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8765", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10366", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10416", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10416", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_limProtErr", "label":"iq_limProtErr", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -2150,1026 +2075,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8832", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_Spd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10423", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "16", - "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:8800", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10415", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "12", - "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:10407", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "14", - "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:8809", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From54", - "label":"From54", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8802", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Spd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10720", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "17", - "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:8773", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10397", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "8", - "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:9109", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Torque_Mode", - "label":"Torque_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8779", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8799", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From44", - "label":"From44", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10403", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id", - "label":"id", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "7", - "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:8814", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From59", - "label":"From59", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From53", - "label":"From53", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10422", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "15", - "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:10369", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10404", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "9", - "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:10402", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_Tgt", - "label":"id_Tgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "6", - "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:10721", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10721", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_nLimProtMax", "label":"r_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3231,21 +2142,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10398", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8809", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"From54", + "label":"From54", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "iq", - "local", + "Vd_min", "Tag" ], "tabs":[ @@ -3259,17 +2168,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10426", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10720", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3291,7 +2200,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "17", "Port number", "[]", "[]", @@ -3331,12 +2240,500 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10406", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10423", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "16", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8800", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10422", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "15", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11512", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10407", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "14", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8770", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8773", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9143", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Vd_Calculation", + "label":"Vd_Calculation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8830", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_Open", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8832", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_Spd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10406", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"id_max", "label":"id_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3398,243 +2795,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8831", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_Trq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8803", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From48", - "label":"From48", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Trq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10427", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10372", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "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:10405", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "10", - "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:10417", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10417", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_nLimProtMax", "label":"Vq_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3696,12 +2862,140 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10371", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9029", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8804", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From49", + "label":"From49", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_Open", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10415", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_enaAdvCtrl", - "label":"b_enaAdvCtrl", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3723,7 +3017,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "12", "Port number", "[]", "[]", @@ -3763,12 +3057,443 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10734", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10403", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10405", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "10", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10402", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_Tgt", + "label":"id_Tgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10426", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10410", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10425", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9109", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Torque_Mode", + "label":"Torque_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10734", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtScaAbs", "label":"r_inpTgtScaAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3830,19 +3555,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8766", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10424", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8774", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "id", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -3861,12 +3619,79 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10735", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10404", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "9", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10735", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto21", "label":"Goto21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", @@ -3894,12 +3719,272 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8765", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8803", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From48", + "label":"From48", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_Trq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10412", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10397", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10372", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11478", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10414", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_max", "label":"Vq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -3961,12 +4046,143 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10373", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11514", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8808", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From53", + "label":"From53", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10371", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10373", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -4028,12 +4244,79 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8766#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11513", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "22", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8766#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4079,12 +4362,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8770#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4130,12 +4413,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8779#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4181,12 +4464,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9029#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4232,12 +4515,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9109#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4283,12 +4566,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9074#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4334,12 +4617,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9171#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4385,12 +4668,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8765#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8765#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4436,12 +4719,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8773#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4487,12 +4770,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8777#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8777#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4538,12 +4821,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8774#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8774#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4589,12 +4872,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8780#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8780#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4640,12 +4923,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8789#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8789#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4691,12 +4974,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8791#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4742,12 +5025,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8799#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8799#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4793,12 +5076,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8793#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8793#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4844,12 +5127,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8792#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8792#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4895,12 +5178,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8800#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8800#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4946,12 +5229,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9108#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4997,12 +5280,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9108#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5048,12 +5331,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9108#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5099,12 +5382,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9108#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5150,12 +5433,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8801#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8801#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5201,12 +5484,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8802#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8802#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5252,12 +5535,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8803#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8803#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5303,12 +5586,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8804#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8804#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5354,12 +5637,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8912#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8808#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5405,12 +5688,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8809#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5456,12 +5739,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8812#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5507,12 +5790,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8813#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5558,12 +5841,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8814#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5609,12 +5892,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5660,12 +5943,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8823#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5711,12 +5994,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8824#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5762,12 +6045,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8771#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5813,12 +6096,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9715#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5864,12 +6147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10030#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5915,12 +6198,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10367#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5966,12 +6249,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10030#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10369#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6017,12 +6300,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10367#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10373#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6068,12 +6351,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10369#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10372#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6119,12 +6402,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10373#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10371#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6170,12 +6453,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10372#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10397#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6221,12 +6504,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10371#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10407#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6272,12 +6555,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10397#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10406#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6323,12 +6606,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10407#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10404#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6374,12 +6657,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10406#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10402#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6425,12 +6708,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10404#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10403#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6476,12 +6759,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10402#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10405#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6527,12 +6810,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10403#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10415#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6578,12 +6861,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10405#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10414#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6629,12 +6912,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10415#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10417#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6680,12 +6963,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10416#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6731,12 +7014,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10417#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10423#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6782,12 +7065,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10422#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6833,12 +7116,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10423#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10426#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6884,12 +7167,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10422#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10720#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6935,12 +7218,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10426#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10721#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6986,12 +7269,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10720#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10724#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7037,12 +7320,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10721#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10730#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7088,12 +7371,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10724#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10734#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7139,12 +7422,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10730#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10742#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7190,12 +7473,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10734#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11476#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7241,12 +7524,267 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10742#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11478#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11482#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11512#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11513#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9143#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8912#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png new file mode 100644 index 0000000..8bb7dc9 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg index b9619dc..4a362f8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg @@ -1,21 +1,69 @@ - + - + - + - - - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + + + + + + @@ -23,74 +71,74 @@ - - + + - - - - - - - id_Tgt - - - - - - - - id - - - - - - - - Vd_max - - + - - Vd_min + + r_inpTgtSca - + - - id_max + + r_inpTgtScaAbs - + - - id_min + + Vq_max - + - - Vd + + Vq_min - + - - if { } + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + Vq_Vlt + + + + + + + + case: { } @@ -102,8 +150,8 @@ - - + + @@ -115,16 +163,16 @@ - - + + - - + + - - Vd_Calculation + + Voltage_Mode @@ -136,16 +184,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -157,16 +205,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -177,15 +225,140 @@ - + - - + + + + + + + + + + + + + + + u1 + + + + + + + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + default: + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + @@ -193,65 +366,81 @@ - - + + - - + + - + r_inpTgtSca - - + + - + Vq_max - - + + - + Vq_min - - + + - + n_mot - - + + - + iq_limProtErr - - + + - + + VqFinPrev + + + + + + + + b_cruiseCtrlEna + + + + + + + Vq_Spd - - + + - + case: { } @@ -264,8 +453,8 @@ - - + + @@ -277,15 +466,15 @@ - + - - + + - + Speed_Mode @@ -298,15 +487,15 @@ - + - - + + - + action @@ -323,11 +512,11 @@ - - + + - + sfix16_En4 @@ -339,145 +528,15 @@ - + - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_Open - - - - - - - - default: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Open_Mode - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - + @@ -485,20 +544,20 @@ - + - + - + - - + + @@ -523,11 +582,11 @@ - - + + - + sfix16_En4 @@ -539,9 +598,9 @@ - + - + @@ -549,19 +608,19 @@ - + - + u1 - + - + if(u1 ~= 0) @@ -579,11 +638,11 @@ - - + + - + action @@ -595,40 +654,7 @@ - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - + @@ -638,11 +664,11 @@ - + - + [b_enaAdvCtrl] @@ -661,198 +687,7 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - case [ 1 ]: - - - - - - - - case [ 2 ]: - - - - - - - - case [ 3 ]: - - - - - - - - default: - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - + @@ -862,11 +697,11 @@ - + - + [Vq_min] @@ -885,28 +720,28 @@ - - + + - + - + - - [Vq_max] + + [iq_limProtErr] - + @@ -918,28 +753,28 @@ - - + + - + - - + + - - [id_min] + + [Vq] - + @@ -951,7 +786,40 @@ - + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + @@ -961,11 +829,11 @@ - + - + [r_inpTgtSca] @@ -984,28 +852,127 @@ - - + + - + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + - + - - [Vd] + + [Vq_max] - + @@ -1017,28 +984,28 @@ - - + + - + - + - - [id] + + [Vq_Trq] - + @@ -1050,11 +1017,11 @@ - - + + - + @@ -1064,14 +1031,14 @@ - - [id_max] + + [Vq_nLimProtMax] - + @@ -1083,11 +1050,11 @@ - - + + - + @@ -1097,14 +1064,14 @@ - - [r_iqLimProtMax] + + [iq] - + @@ -1116,88 +1083,7 @@ - - - - - - - - - - - - - - - - [Vq_Vlt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - - - - + @@ -1207,11 +1093,11 @@ - + - + [id_Tgt] @@ -1230,7 +1116,7 @@ - + @@ -1240,11 +1126,11 @@ - + - + [r_inpTgtSca] @@ -1262,11 +1148,11 @@ - - + + - + sfix16_En4 @@ -1278,28 +1164,28 @@ - - + + - + - + - - [Vq_Open] + + [Vq_Vlt] - + @@ -1311,44 +1197,29 @@ - - - + + + - - + + - - + + - - [iq_limProtErr] + + [n_mot] - - - - - - - - - - - - - - - - - sfix32_En20 + + @@ -1359,43 +1230,76 @@ - - - + + + - - + + - - + + - - [Vq_nLimProtMax] + + [r_iqLimProtMax] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + - + - - + + - + sfix16_En4 @@ -1407,7 +1311,151 @@ - + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Spd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1417,11 +1465,11 @@ - + - + [id_min] @@ -1438,108 +1486,60 @@ - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + - + [r_inpTgtScaAbs] - + - + - - + + - + sfix16_En4 @@ -1551,44 +1551,11 @@ - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - + + - + @@ -1598,29 +1565,29 @@ - - [iq_min] + + [Vq_min] - + - + - + - + sfix16_En4 @@ -1632,7 +1599,7 @@ - + @@ -1665,7 +1632,7 @@ - + @@ -1680,44 +1647,29 @@ - - - + + + - - + + - + - - [r_nLimProtMax] + + [id_max] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1728,43 +1680,43 @@ - - + + - + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + - + - - [Vq_Open] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1776,43 +1728,43 @@ - - + + - + + + + + + + + [id_max] + + + + + + + + + + + + + + + - + - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1824,28 +1776,28 @@ - - + + - + - + - - [z_ctrlMod] + + [id_min] - + @@ -1857,76 +1809,43 @@ - - - + + + - - + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + - + - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1938,708 +1857,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vd - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - r_inpTgtScaAbs - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - Vq_Vlt - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Voltage_Mode - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -2649,11 +1867,11 @@ - + - + [Vq] @@ -2671,11 +1889,11 @@ - - + + - + sfix16_En4 @@ -2687,43 +1905,43 @@ - - + + - + - + - - [r_inpTgtSca] + + [n_mot] - + - + - - + + - + sfix16_En4 @@ -2735,7 +1953,472 @@ - + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -2745,11 +2428,11 @@ - + - + if { } @@ -2767,11 +2450,11 @@ - - + + - + Action Port @@ -2783,7 +2466,214 @@ - + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 21 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vd + + + + + + + + + + + @@ -2793,11 +2683,11 @@ - + - + 19 @@ -2815,11 +2705,11 @@ - - + + - + iq_limProtErr @@ -2830,11 +2720,11 @@ - - + + - + sfix32_En20 @@ -2846,7 +2736,765 @@ - + + + + + + + + + + + + + + + + 18 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 17 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 15 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 14 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_Tgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id_Tgt + + + + + + + + id + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + Vd + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vd_Calculation + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Open] + + + + + + + + + + + + + + + + + + @@ -2856,11 +3504,11 @@ - + - + [Vq_Spd] @@ -2879,1343 +3527,7 @@ - - - - - - - - - - - - - - - - 16 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 14 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Spd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 17 - - - - - - - - - - - - - - - - - - - - - - r_iqLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - iq - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - Vq_nLimProtMax - - - - - - - - Vq_Trq - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Torque_Mode - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - id - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 15 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_Tgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 18 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - n_mot - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -4225,11 +3537,11 @@ - + - + 13 @@ -4247,11 +3559,11 @@ - - + + - + id_max @@ -4262,11 +3574,11 @@ - - + + - + sfix16_En4 @@ -4278,247 +3590,7 @@ - - - - - - - - - - - - - - - - [Vq_Trq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Trq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - Vd_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -4528,11 +3600,11 @@ - + - + 20 @@ -4550,11 +3622,11 @@ - - + + - + Vq_nLimProtMax @@ -4565,11 +3637,11 @@ - - + + - + sfix16_En4 @@ -4581,59 +3653,120 @@ - - - + + + - - + + + + + + + + - - + + - - 1 + + r_inpTgtSca + + + + + + + + Vq_Open + + + + + + + + default: { } - - + + + + + + + + - - + + + + + + + + - - + + - - b_enaAdvCtrl + + Open_Mode - - + + + + + + + + - - + + - - boolean + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -4644,7 +3777,628 @@ - + + + + + + + + + + + + + + + + + + + + + + [Vq_Open] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_Tgt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + Vq_nLimProtMax + + + + + + + + VqFinPrev + + + + + + + + Vq_Trq + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Torque_Mode + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + @@ -4654,11 +4408,11 @@ - + - + 4 @@ -4676,11 +4430,11 @@ - - + + - + r_inpTgtScaAbs @@ -4691,11 +4445,11 @@ - - + + - + sfix16_En4 @@ -4707,43 +4461,76 @@ - - - + + + - - + + - - + + - - [id] + + [iq_max] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + - + - - + + - + sfix16_En4 @@ -4755,7 +4542,70 @@ - + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -4765,11 +4615,11 @@ - + - + [r_inpTgtScaAbs] @@ -4788,11 +4638,140 @@ - - + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Trq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + - + @@ -4802,7 +4781,181 @@ - + + 8 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + 11 @@ -4820,11 +4973,11 @@ - - + + - + Vq_max @@ -4835,11 +4988,11 @@ - - + + - + sfix16_En4 @@ -4851,7 +5004,151 @@ - + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -4861,11 +5158,11 @@ - + - + 3 @@ -4883,11 +5180,11 @@ - - + + - + r_inpTgtSca @@ -4898,11 +5195,11 @@ - - + + - + sfix16_En4 @@ -4912,7 +5209,70 @@ - + + + + + + + + + + + + + + + + + + 22 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + @@ -4926,7 +5286,7 @@ - + @@ -4940,7 +5300,7 @@ - + @@ -4954,7 +5314,7 @@ - + @@ -4968,21 +5328,21 @@ - + - + - + - + @@ -4996,7 +5356,7 @@ - + @@ -5010,21 +5370,21 @@ - + - + - + - + @@ -5038,49 +5398,63 @@ - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + @@ -5094,119 +5468,105 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + @@ -5220,7 +5580,7 @@ - + @@ -5234,7 +5594,7 @@ - + @@ -5248,7 +5608,7 @@ - + @@ -5262,7 +5622,7 @@ - + @@ -5276,21 +5636,7 @@ - - - - - - - - - - - - - - - + @@ -5304,7 +5650,7 @@ - + @@ -5318,7 +5664,7 @@ - + @@ -5332,7 +5678,7 @@ - + @@ -5346,77 +5692,63 @@ - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + @@ -5430,7 +5762,7 @@ - + @@ -5444,7 +5776,7 @@ - + @@ -5458,7 +5790,7 @@ - + @@ -5472,7 +5804,7 @@ - + @@ -5486,7 +5818,7 @@ - + @@ -5500,7 +5832,7 @@ - + @@ -5514,7 +5846,7 @@ - + @@ -5528,7 +5860,7 @@ - + @@ -5542,7 +5874,7 @@ - + @@ -5556,7 +5888,7 @@ - + @@ -5570,7 +5902,7 @@ - + @@ -5584,7 +5916,7 @@ - + @@ -5598,7 +5930,7 @@ - + @@ -5612,7 +5944,7 @@ - + @@ -5626,7 +5958,7 @@ - + @@ -5640,7 +5972,7 @@ - + @@ -5654,7 +5986,7 @@ - + @@ -5668,7 +6000,7 @@ - + @@ -5682,7 +6014,7 @@ - + @@ -5696,7 +6028,7 @@ - + @@ -5710,7 +6042,7 @@ - + @@ -5724,7 +6056,7 @@ - + @@ -5738,7 +6070,7 @@ - + @@ -5752,35 +6084,35 @@ - + - + - + - + - + - + - + @@ -5794,14 +6126,112 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5810,5 +6240,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.json new file mode 100644 index 0000000..f117edd --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.json @@ -0,0 +1,645 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2790", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2909", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_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":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2787", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2786", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2908", + "className":"Simulink.Delay", + "icon":"WebViewIcon3", + "name":"Resettable Delay", + "label":"Resettable Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "inspector":{ + "params":[ + "DelayLengthSource", + "InitialConditionSource", + "DelayLength", + "InputProcessing", + "UseCircularBuffer", + "ShowEnablePort", + "ExternalReset", + "SampleTime", + "CodeGenStateStorageTypeQualifier", + "DelayLengthUpperLimit", + "DiagnosticForDelayLength", + "InitialCondition", + "PreventDirectFeedthrough", + "RemoveDelayLengthCheckInGeneratedCode", + "StateMustResolveToSignalObject", + "StateName", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "Dialog", + "Input port", + "1", + "Elements as channels (sample based)", + "off", + "off", + "None", + "-1", + "", + "100", + "None", + "0.0", + "off", + "off", + "off", + "", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 8 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Delay", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2909#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2787#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2908#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2788#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10454:2786#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.png new file mode 100644 index 0000000..fc3f959 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg similarity index 60% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg index 98fbccd..442a590 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg @@ -1,186 +1,19 @@ - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -190,11 +23,11 @@ - + - + 1 @@ -212,11 +45,11 @@ - - + + - + y @@ -228,7 +61,142 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -238,20 +206,20 @@ - + - + - + - - + + @@ -276,11 +244,11 @@ - - + + - + sfix16_En4 @@ -292,7 +260,7 @@ - + @@ -302,11 +270,11 @@ - + - + 1 @@ -324,11 +292,11 @@ - - + + - + u @@ -339,11 +307,11 @@ - - + + - + sfix32_En20 @@ -353,7 +321,93 @@ - + + + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + @@ -367,21 +421,21 @@ - + - + - + @@ -401,11 +455,11 @@ - + - + @@ -415,7 +469,7 @@ - + @@ -431,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json index 3afafe2..4e1c72a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2377", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2377", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Port", @@ -80,149 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2849", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:10828:2791:2710", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"hitMin", - "label":"hitMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", - "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":[ - "3", - "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:2791:2709", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2709", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"hitMax", "label":"hitMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Port", @@ -297,12 +160,92 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2848", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2710", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"hitMin", + "label":"hitMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2848", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Criteria", @@ -354,12 +297,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2704", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2704", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Operator", @@ -399,79 +342,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2700", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", - "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:10828:2791:2707", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Operator", @@ -511,12 +387,69 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2849", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2701", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Port", @@ -578,12 +511,79 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2699", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2700", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2699", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "Port", @@ -645,12 +645,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2849#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2849#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -696,12 +696,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2701#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -747,12 +747,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2704#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -798,12 +798,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2707#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +849,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2699#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +900,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2700#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +951,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791:2848#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2848#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg index 5be4cbf..baf5b2e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg @@ -9,59 +9,11 @@ - + - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitMin - - - - - - - - - - - + @@ -71,11 +23,11 @@ - + - + 2 @@ -93,11 +45,11 @@ - + - + y @@ -109,7 +61,7 @@ - + @@ -119,11 +71,11 @@ - + - + 1 @@ -141,11 +93,11 @@ - + - + hitMax @@ -157,75 +109,44 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + 3 + - - + + - - + + - - + + - - UpperRelop - - - - - - - - - - - - - - - boolean + + hitMin @@ -236,58 +157,187 @@ - - - + + + - - + + - - + + - - 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - - - - - - - - - - - - - - - - lo + + - + - - + + - + sfix16_En4 @@ -299,9 +349,9 @@ - + - + @@ -309,19 +359,19 @@ - + - + - + - + @@ -347,11 +397,11 @@ - + - + LowerRelop1 @@ -362,11 +412,11 @@ - + - + boolean @@ -378,9 +428,88 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpperRelop + + + + + + + + + + + + + + + boolean + + + + + + + + + + + - + @@ -388,155 +517,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -554,11 +683,11 @@ - + - + sfix16_En4 @@ -570,7 +699,70 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -580,11 +772,11 @@ - + - + 2 @@ -602,11 +794,11 @@ - + - + u @@ -617,11 +809,11 @@ - + - + sfix16_En4 @@ -633,7 +825,7 @@ - + @@ -643,11 +835,11 @@ - + - + 1 @@ -665,11 +857,11 @@ - + - + up @@ -680,11 +872,11 @@ - + - + sfix16_En4 @@ -694,199 +886,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -900,7 +900,7 @@ - + @@ -934,7 +934,7 @@ - + @@ -968,7 +968,7 @@ - + @@ -1002,7 +1002,7 @@ - + @@ -1036,7 +1036,7 @@ - + @@ -1090,7 +1090,7 @@ - + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json index 55f6c87..da90f30 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2819", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preSat", "label":"preSat", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2818", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preIntegrator", "label":"preIntegrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2831", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Clamp", "label":"Clamp", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "Port", @@ -214,12 +214,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2839", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2839", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU3", "label":"SignDeltaU3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "ZeroCross", @@ -245,12 +245,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2837", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2837", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU2", "label":"SignDeltaU2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "ZeroCross", @@ -276,12 +276,106 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2840", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "int8", + "on", + "Real World Value (RWV)", + "Zero", + "off", + "-1" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2836", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv3", + "label":"DataTypeConv3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "int8", + "on", + "Real World Value (RWV)", + "Zero", + "off", + "-1" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"hitSat", "label":"hitSat", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "Port", @@ -343,59 +437,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2836", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"DataTypeConv3", - "label":"DataTypeConv3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int8", - "on", - "Real World Value (RWV)", - "Zero", - "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:2841", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2841", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Equal1", "label":"Equal1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "Operator", @@ -435,59 +482,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2840", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int8", - "on", - "Real World Value (RWV)", - "Zero", - "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:2838", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2838", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "Operator", @@ -527,12 +527,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2843#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2838#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2841#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2840#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2836#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2839#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -833,12 +833,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2837#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2837#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2819#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2818#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg index 0d58b5f..4ac386e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -187,7 +187,7 @@ - + @@ -267,7 +267,7 @@ - + @@ -347,206 +347,7 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitSat - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -556,19 +357,19 @@ - + - + - + - + @@ -594,11 +395,11 @@ - + - + int8 @@ -610,9 +411,208 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitSat + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + - + @@ -672,7 +672,7 @@ - + @@ -686,7 +686,7 @@ - + @@ -700,7 +700,7 @@ - + @@ -714,7 +714,7 @@ - + @@ -728,7 +728,7 @@ - + @@ -742,7 +742,7 @@ - + @@ -756,7 +756,7 @@ - + @@ -770,7 +770,7 @@ - + @@ -784,7 +784,7 @@ - + @@ -800,5 +800,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.json index e6d012f..69ffd33 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2785", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2785", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "Port", @@ -80,43 +80,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2817", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2781", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "rectangular", + "++", "off", - [ - ], - "Auto" + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 4 + 2, + 10 ] }, "viewer":{ @@ -125,17 +134,619 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2783", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2814", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2846", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,5)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2815", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"ext_limProt", + "label":"ext_limProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "ShowPortLabels", @@ -223,560 +834,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2795", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2776", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2815", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,5)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2781", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2773", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2733", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "Port", @@ -838,12 +901,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2733", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2732", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "Port", @@ -905,86 +968,118 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2732", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", + "FromPortIcon", + "ReadWrite", + "", + "All", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "on", + "", + "", "off", "", + "void_void", + "off", + "off", "on", + "", + "off", + "", "off", "off", - "off" + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2846", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2795", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_hitSat", + "b_hitMin", + "local", "Tag" ], "tabs":[ @@ -998,17 +1093,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2771", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2771", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"I", "label":"I", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "Port", @@ -1070,42 +1165,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2783", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2910", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", + "4", + "Port number", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: auto", "off", - "Simplest", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", "on", - "1", - "All dimensions", - "-1" + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1115,7 +1218,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -1124,17 +1227,134 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2770", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2817", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "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":"BLDCmotor_FOC_R2017b_fixdt:10454:2769", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"err", + "label":"err", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2770", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"P", "label":"P", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "Port", @@ -1196,169 +1416,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2814", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:10455:2769", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"err", - "label":"err", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "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:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2844", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "Operator", @@ -1398,12 +1461,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2910#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1449,12 +1512,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1500,12 +1563,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2844#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2846#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1551,12 +1614,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2844#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1602,12 +1665,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2833#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1653,12 +1716,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2832#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1704,12 +1767,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2817#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1755,12 +1818,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1806,12 +1869,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2814#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1857,12 +1920,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2781#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1908,12 +1971,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2783#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1959,12 +2022,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2815#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2010,12 +2073,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2061,12 +2124,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2112,12 +2175,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2733#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2163,12 +2226,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2732#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2214,12 +2277,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2770#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2265,12 +2328,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2316,12 +2379,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2771#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2367,12 +2430,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2778#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2418,12 +2481,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2776#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2469,12 +2532,63 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2773#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2769#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.png new file mode 100644 index 0000000..9f0d036 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg index 1edd7fa..1678ec8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,187 +61,67 @@ - - - + + + - - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + - - + + - + - - + + - + sfix32_En20 @@ -253,197 +133,7 @@ - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -453,35 +143,35 @@ - + - + - + - + - + - + - + - + @@ -499,11 +189,11 @@ - + - + sfix16_En4 @@ -515,7 +205,308 @@ - + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + init + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Integrator + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -525,11 +516,11 @@ - + - + [b_hitMax] @@ -548,7 +539,840 @@ - + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + ext_limProt + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + preIntegrator + + + + + + + + preSat + + + + + + + + hitSat + + + + + + + + Clamp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clamping_circuit + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + @@ -558,11 +1382,11 @@ - + - + [b_hitMin] @@ -581,44 +1405,59 @@ - - - + + + - - + + - - + + - - [b_hitSat] + + 3 - - + + + + + + + + + + + + + + + + + I - - + + - - + + - - boolean + + ufix16_En16 @@ -629,44 +1468,59 @@ - - - + + + - - + + - - + + - - [b_hitMin] + + 4 - - + + + + + + + + + + + + + + + + + init - - + + - - + + - - boolean + + sfix32_En20 @@ -677,111 +1531,7 @@ - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En5 - - - - - - - - - - - + @@ -791,35 +1541,35 @@ - + - + - + - + - + - + - + - + @@ -845,11 +1595,11 @@ - + - + Ini=0 @@ -860,11 +1610,11 @@ - + - + boolean @@ -876,605 +1626,7 @@ - - - - - - - - - - - - - - - - - - - - - - preIntegrator - - - - - - - - preSat - - - - - - - - hitSat - - - - - - - - Clamp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clamping_circuit - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Integrator - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - ext_limProt - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - + @@ -1484,11 +1636,11 @@ - + - + 1 @@ -1506,11 +1658,11 @@ - + - + err @@ -1521,11 +1673,11 @@ - + - + sfix16_En4 @@ -1537,55 +1689,7 @@ - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -1595,11 +1699,11 @@ - + - + 2 @@ -1617,11 +1721,11 @@ - + - + P @@ -1632,11 +1736,11 @@ - + - + ufix16_En12 @@ -1648,40 +1752,7 @@ - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - + @@ -1691,19 +1762,19 @@ - + - + - + - + @@ -1718,11 +1789,11 @@ - + - + boolean @@ -1743,7 +1814,21 @@ - + + + + + + + + + + + + + + + @@ -1757,7 +1842,7 @@ - + @@ -1771,7 +1856,7 @@ - + @@ -1785,7 +1870,7 @@ - + @@ -1799,7 +1884,7 @@ - + @@ -1813,21 +1898,21 @@ - + - + - + - + @@ -1841,35 +1926,35 @@ - + - + - + - + - + - + - + @@ -1879,17 +1964,17 @@ - + - + - + @@ -1923,21 +2008,21 @@ - + - + - + - + @@ -1951,7 +2036,7 @@ - + @@ -1965,7 +2050,7 @@ - + @@ -1979,7 +2064,7 @@ - + @@ -1993,7 +2078,7 @@ - + @@ -2007,35 +2092,35 @@ - + - + - + - + - + - + @@ -2049,35 +2134,35 @@ - + - + - + - + - + - + - + @@ -2087,11 +2172,11 @@ - + - + @@ -2113,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.json new file mode 100644 index 0000000..c92cee1 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.json @@ -0,0 +1,645 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2790", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2787", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2909", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_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":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2908", + "className":"Simulink.Delay", + "icon":"WebViewIcon3", + "name":"Resettable Delay", + "label":"Resettable Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "inspector":{ + "params":[ + "DelayLengthSource", + "InitialConditionSource", + "DelayLength", + "InputProcessing", + "UseCircularBuffer", + "ShowEnablePort", + "ExternalReset", + "SampleTime", + "CodeGenStateStorageTypeQualifier", + "DelayLengthUpperLimit", + "DiagnosticForDelayLength", + "InitialCondition", + "PreventDirectFeedthrough", + "RemoveDelayLengthCheckInGeneratedCode", + "StateMustResolveToSignalObject", + "StateName", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "Dialog", + "Input port", + "1", + "Elements as channels (sample based)", + "off", + "off", + "None", + "-1", + "", + "100", + "None", + "0.0", + "off", + "off", + "off", + "", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 8 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Delay", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2786", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2909#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2787#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2908#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2788#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2786#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.png new file mode 100644 index 0000000..a77af0b Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg similarity index 62% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg index 351f781..038daee 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg @@ -1,58 +1,90 @@ - + - + - + - - - + + + - - + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + @@ -66,38 +98,23 @@ - - + + - - - - - - - - - - sfix32_En16 - - - - - - - + + - + - - Ini=yInit + + sfix16_En4 @@ -108,7 +125,7 @@ - + @@ -165,11 +182,11 @@ - + - sfix32_En16 + sfix32_En20 @@ -180,11 +197,11 @@ - - + + - + @@ -194,7 +211,142 @@ - + + 2 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + 1 @@ -212,11 +364,11 @@ - - + + - + u @@ -227,12 +379,12 @@ - - + + - - sfix32_En16 + + sfix32_En20 @@ -241,133 +393,49 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -387,11 +455,11 @@ - + - + @@ -401,28 +469,14 @@ - + - + - - - - - - - - - - - - - - - + @@ -431,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json index 35fa977..6b82c24 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json @@ -1,11 +1,148 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2707", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2709", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"hitMax", + "label":"hitMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "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":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2849", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "Operator", @@ -45,567 +182,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2849", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:10455:2791:2710", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"hitMin", - "label":"hitMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "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":[ - "3", - "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:2791:2848", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:10455:2791:2701", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "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:10455:2791:2377", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2700", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "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:10455:2791:2709", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"hitMax", - "label":"hitMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "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:2791:2699", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"up", - "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "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:2791:2704", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2704", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "Operator", @@ -645,12 +227,430 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2849#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2701", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2710", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"hitMin", + "label":"hitMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2848", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2700", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2377", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2699", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2849#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -696,12 +696,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2701#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -747,12 +747,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2704#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -798,12 +798,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2707#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +849,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2699#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +900,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2700#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +951,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791:2848#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2848#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg index 939bae3..1ecfecf 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg @@ -9,15 +9,15 @@ - + - - + + - + @@ -27,30 +27,30 @@ - - 2 + + 1 - + - - + + - + - - y + + hitMax @@ -61,9 +61,9 @@ - + - + @@ -253,439 +253,9 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - hitMax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LowerRelop1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -693,19 +263,19 @@ - + - + - + - + @@ -731,11 +301,11 @@ - + - + UpperRelop @@ -746,11 +316,11 @@ - + - + boolean @@ -762,7 +332,86 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LowerRelop1 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -772,11 +421,11 @@ - + - + 3 @@ -794,11 +443,11 @@ - + - + lo @@ -809,11 +458,11 @@ - + - + sfix16_En4 @@ -825,7 +474,358 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + @@ -886,7 +886,7 @@ - + @@ -900,7 +900,7 @@ - + @@ -934,7 +934,7 @@ - + @@ -968,7 +968,7 @@ - + @@ -1002,7 +1002,7 @@ - + @@ -1036,7 +1036,7 @@ - + @@ -1090,7 +1090,7 @@ - + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json index 1cf9302..9833e2a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2819", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preSat", "label":"preSat", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2818", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preIntegrator", "label":"preIntegrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2831", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Clamp", "label":"Clamp", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "Port", @@ -214,12 +214,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2839", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2839", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU3", "label":"SignDeltaU3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "ZeroCross", @@ -245,12 +245,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2837", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2837", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU2", "label":"SignDeltaU2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "ZeroCross", @@ -276,12 +276,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2841", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2841", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Equal1", "label":"Equal1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "Operator", @@ -321,59 +321,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2840", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int8", - "on", - "Real World Value (RWV)", - "Zero", - "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:2836", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2836", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"DataTypeConv3", "label":"DataTypeConv3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "OutMin", @@ -415,12 +368,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"hitSat", "label":"hitSat", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "Port", @@ -482,12 +435,59 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2838", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2840", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "int8", + "on", + "Real World Value (RWV)", + "Zero", + "off", + "-1" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2838", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "Operator", @@ -527,12 +527,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2843#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2838#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2841#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2840#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2836#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2839#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -833,12 +833,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2837#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2837#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2819#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2818#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg index 44b5d24..ee1d636 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -187,7 +187,7 @@ - + @@ -267,7 +267,7 @@ - + @@ -347,7 +347,7 @@ - + @@ -419,11 +419,11 @@ - - + + - + @@ -433,7 +433,7 @@ - + @@ -441,7 +441,7 @@ - + @@ -456,22 +456,22 @@ - + - + - + - + int8 @@ -483,7 +483,7 @@ - + @@ -546,11 +546,11 @@ - - + + - + @@ -560,7 +560,7 @@ - + @@ -568,7 +568,7 @@ - + @@ -583,22 +583,22 @@ - + - + - + - + int8 @@ -610,9 +610,9 @@ - + - + @@ -672,7 +672,7 @@ - + @@ -686,7 +686,7 @@ - + @@ -700,7 +700,7 @@ - + @@ -714,7 +714,7 @@ - + @@ -728,7 +728,7 @@ - + @@ -742,7 +742,7 @@ - + @@ -756,7 +756,7 @@ - + @@ -770,7 +770,7 @@ - + @@ -784,7 +784,7 @@ - + @@ -800,5 +800,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.json index 9944950..16cb1d8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2817", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2817", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay1", "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "InitialCondition", @@ -50,12 +50,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2814", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2814", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Criteria", @@ -107,12 +107,92 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2781", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2785", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"out", + "label":"out", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "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":"BLDCmotor_FOC_R2017b_fixdt:10455:2781", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "IconShape", @@ -166,27 +246,53 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2794", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2783", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "b_hitMax", - "local", - "Tag" + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 10 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -194,143 +300,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "ShowPortLabels", @@ -418,111 +398,140 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" + "b_hitSat", + "local", + "Tag" ], "tabs":[ - "Main", - "Code Generation", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2776", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2795", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2776", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Inputs", @@ -574,111 +583,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2815", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2815", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant", "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Value", @@ -722,61 +632,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2733", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2846", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_hitSat", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -784,17 +658,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2795", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2794", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "GotoTag", @@ -802,7 +676,7 @@ "IconDisplay" ], "values":[ - "b_hitMin", + "b_hitMax", "local", "Tag" ], @@ -822,85 +696,114 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2732", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", + "FromPortIcon", + "ReadWrite", + "", + "All", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "on", + "", + "", "off", "", + "void_void", + "off", + "off", "on", + "", + "off", + "", "off", "off", - "off" + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2783", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2778", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ - "IconShape", "Inputs", + "Multiplication", "InputSameDT", - "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", @@ -912,13 +815,12 @@ "SampleTime" ], "values":[ - "rectangular", - "++", + "**", + "Element-wise(.*)", "off", - "Inherit: Inherit via internal rule", "[]", "[]", - "fixdt(1,16,4)", + "fixdt(1,16,5)", "off", "Simplest", "on", @@ -934,7 +836,7 @@ "tabs_idx":[ 0, 2, - 10 + 9 ] }, "viewer":{ @@ -943,97 +845,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2785", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"out", - "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "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:2773", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2733", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Port", @@ -1095,40 +917,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2778", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2910", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "**", - "Element-wise(.*)", - "off", + "4", + "Port number", "[]", "[]", - "fixdt(1,16,5)", + "Inherit: auto", "off", - "Simplest", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", "on", - "1", - "All dimensions", - "-1" + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1138,7 +970,7 @@ "tabs_idx":[ 0, 2, - 9 + 11 ] }, "viewer":{ @@ -1147,17 +979,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2771", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2771", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"I", "label":"I", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Port", @@ -1219,12 +1051,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2770", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2770", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"P", "label":"P", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Port", @@ -1286,12 +1118,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2769", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2769", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Port", @@ -1353,12 +1185,243 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"ext_limProt", + "label":"ext_limProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2732", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2844", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "Operator", @@ -1398,12 +1461,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2910#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1449,12 +1512,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1500,12 +1563,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2844#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2846#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1551,12 +1614,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2844#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1602,12 +1665,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2833#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1653,12 +1716,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2832#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1704,12 +1767,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2817#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1755,12 +1818,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1806,12 +1869,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2814#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1857,12 +1920,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2781#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1908,12 +1971,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2783#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1959,12 +2022,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2815#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2010,12 +2073,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2061,12 +2124,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2112,12 +2175,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2733#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2163,12 +2226,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2732#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2214,12 +2277,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2770#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2265,12 +2328,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2316,12 +2379,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2771#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2367,12 +2430,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2778#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2418,12 +2481,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2776#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2469,12 +2532,63 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2773#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2769#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.png new file mode 100644 index 0000000..ff797a3 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg index 51a4ea2..c789a78 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg @@ -9,11 +9,11 @@ - + - + @@ -72,193 +72,193 @@ - - - - - - - - - - - Ini=0 - - - - - + - + boolean + + + + + + + + + + + Ini=0 + + + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T @@ -266,29 +266,29 @@ - + F - + - + - + - + sfix32_En20 @@ -300,67 +300,115 @@ - - - + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + 1 - + + + + + + + + + + + + + + + + + out + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + sfix32_En20 @@ -372,29 +420,68 @@ - - - + + + - - + + - - + + - - [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -405,7 +492,197 @@ - + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -415,11 +692,11 @@ - + - + [b_hitSat] @@ -438,726 +715,7 @@ - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Integrator - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - preIntegrator - - - - - - - - preSat - - - - - - - - hitSat - - - - - - - - Clamp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clamping_circuit - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1167,11 +725,11 @@ - + - + [b_hitMin] @@ -1190,59 +748,44 @@ - - - + + + - - + + - - + + - - 4 + + [b_hitMin] - - - - - - - - - - - - - - - - - satMax + + - - + + - - + + - - sfix16_En4 + + boolean @@ -1253,68 +796,44 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + [b_hitMax] - - + + - - + + - - + + - - sfix16_En4 + + boolean @@ -1325,106 +844,51 @@ - - - + + + - - + + - - + + - - 1 + + + + + + + + + + - - - - - - - - - - - - - - - - - out - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - ext_limProt + + - + - - + + - + sfix32_En20 @@ -1436,9 +900,255 @@ - + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + preIntegrator + + + + + + + + preSat + + + + + + + + hitSat + + + + + + + + Clamp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clamping_circuit + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + - + @@ -1446,19 +1156,19 @@ - + - + - + - + @@ -1476,11 +1186,11 @@ - + - + sfix16_En5 @@ -1492,58 +1202,184 @@ - - + + - + - + - - 3 + + 6 - + - + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + - - + + - + I - + - - + + - + ufix16_En16 @@ -1555,7 +1391,7 @@ - + @@ -1565,11 +1401,11 @@ - + - + 2 @@ -1587,11 +1423,11 @@ - + - + P @@ -1602,11 +1438,11 @@ - + - + ufix16_En12 @@ -1618,7 +1454,7 @@ - + @@ -1628,11 +1464,11 @@ - + - + 1 @@ -1650,11 +1486,11 @@ - + - + err @@ -1665,11 +1501,11 @@ - + - + sfix16_En4 @@ -1681,9 +1517,244 @@ - + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + init + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Integrator + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + ext_limProt + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -1691,19 +1762,19 @@ - + - + - + - + @@ -1718,11 +1789,11 @@ - + - + boolean @@ -1743,7 +1814,21 @@ - + + + + + + + + + + + + + + + @@ -1757,7 +1842,7 @@ - + @@ -1771,7 +1856,7 @@ - + @@ -1785,7 +1870,7 @@ - + @@ -1799,7 +1884,7 @@ - + @@ -1813,21 +1898,21 @@ - + - + - + - + @@ -1841,35 +1926,35 @@ - + - + - + - + - + - + - + @@ -1879,17 +1964,17 @@ - + - + - + @@ -1923,21 +2008,21 @@ - + - + - + - + @@ -1951,7 +2036,7 @@ - + @@ -1965,7 +2050,7 @@ - + @@ -1979,7 +2064,7 @@ - + @@ -1993,7 +2078,7 @@ - + @@ -2007,35 +2092,35 @@ - + - + - + - + - + - + @@ -2049,35 +2134,35 @@ - + - + - + - + - + - + - + @@ -2087,11 +2172,11 @@ - + - + @@ -2113,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json index 3724e79..f7bb804 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:1#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:2#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:3#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:7#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:8#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:6#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:9#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.svg new file mode 100644 index 0000000..6503cc5 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.svg @@ -0,0 +1,1180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpperRelop + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LowerRelop1 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + Ref1 + + + + + + + + Ref2 + + + + + + + + Prop + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.json index d44d053..b08d448 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:1#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:2#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:3#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:7#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:8#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:6#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:9#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.svg new file mode 100644 index 0000000..8a0a8dd --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.svg @@ -0,0 +1,1180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpperRelop + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LowerRelop1 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + Ref1 + + + + + + + + Ref2 + + + + + + + + Prop + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.json index c66e1f1..db140bd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.json @@ -1,11 +1,91 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10583", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10575", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_iqLimProtMax", "label":"r_iqLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Port", @@ -80,159 +160,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10653", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKiLimProt", - "label":"cf_nKiLimProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_nKiLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10574", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKiLimProt", - "label":"cf_iqKiLimProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_iqKiLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10640", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_KbLimProt", - "label":"cf_KbLimProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_KbLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10651", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10634", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "IconShape", @@ -286,18 +219,77 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10651", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:10746", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"I_backCalc_fixdt1", "label":"I_backCalc_fixdt1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "yInit" ], "values":[ - "0" + "1000" ], "tabs":[ ], @@ -315,45 +307,41 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10658", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "yInit" ], "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" + "1000" ], "tabs":[ - "Parameter Attributes" ], - "tabs_idx":0 + "tabs_idx":[ + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10649", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10649", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto6", "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "GotoTag", @@ -381,12 +369,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10629", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10629", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto4", "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "GotoTag", @@ -414,169 +402,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10659", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10641", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10627", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iqAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10633", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iqAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10632", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10630", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10630", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto5", "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "GotoTag", @@ -604,12 +435,362 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10643", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10656", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10640", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_KbLimProt", + "label":"cf_KbLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_KbLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,12)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10641", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10642", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10659", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10633", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iqAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10655", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10658", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10632", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10574", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKiLimProt", + "label":"cf_iqKiLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_iqKiLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10643", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "GotoTag", @@ -635,12 +816,125 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10672", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10627", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10570", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10577", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_max", "label":"n_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Port", @@ -702,12 +996,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10672", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10653", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "name":"cf_nKiLimProt", + "label":"cf_nKiLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Value", @@ -720,12 +1014,12 @@ "FramePeriod" ], "values":[ - "0", + "cf_nKiLimProt", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "fixdt(0,16,16)", "off", "inf" ], @@ -751,12 +1045,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10576", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_motAbs", "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Port", @@ -818,172 +1112,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10570", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10567", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "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:10656", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10655", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10673", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10673", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant1", "label":"Constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Value", @@ -1027,200 +1161,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"I_backCalc_fixdt", - "label":"I_backCalc_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "yInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10634", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "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:10625", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10657", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "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:10568", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10568", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_max", "label":"iq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Port", @@ -1282,45 +1228,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10642", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10567", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10583", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "Port", @@ -1335,17 +1248,11 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ "2", @@ -1360,17 +1267,10 @@ "-1", "auto", "off", - "off", - "0", - "off", - "held", - "off", - "0", "", - [ - ], - "Dialog", - "Auto", + "on", + "off", + "off", "off" ], "tabs":[ @@ -1390,17 +1290,117 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10568#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10657", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10625", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10568#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1446,12 +1446,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10567#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10567#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1497,12 +1497,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10577#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1548,12 +1548,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10576#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1599,12 +1599,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10632#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10632#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1650,12 +1650,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10640#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10640#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1701,12 +1701,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10641#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10641#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1752,12 +1752,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10643#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10643#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1803,12 +1803,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10655#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10655#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1854,12 +1854,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10656#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10656#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1905,12 +1905,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10657#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10657#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1956,12 +1956,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10659#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10659#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2007,12 +2007,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10633#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10633#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2058,12 +2058,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10634#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10634#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2109,12 +2109,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2160,12 +2160,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10574#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2211,12 +2211,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10672#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10672#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2262,12 +2262,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10653#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10653#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2313,12 +2313,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10651#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10651#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2364,12 +2364,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2415,12 +2415,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10673#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10673#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.png new file mode 100644 index 0000000..641063d Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg index 7e853f7..b325d7d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg @@ -9,15 +9,15 @@ - + - - + + - + @@ -27,7 +27,55 @@ - + + 2 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + 1 @@ -45,11 +93,11 @@ - + - + r_iqLimProtMax @@ -61,185 +109,60 @@ - - - + + + - - + + - - + + - - cf_nKiLimProt + + - - - - - - - - - - - - - - - - - - - - - cf_nKiLimProt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - + - - cf_iqKiLimProt - - - - - - - - - - - - - - + + - + - - cf_iqKiLimProt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_KbLimProt + + - - - - - - - - - - - - - - - - - cf_KbLimProt + + - - + + - - + + - - ufix16_En12 + + sfix16_En4 @@ -250,7 +173,7 @@ - + @@ -260,27 +183,27 @@ - + - + - + - + - + - + @@ -298,11 +221,11 @@ - + - + sfix16_En4 @@ -314,9 +237,9 @@ - + - + @@ -324,59 +247,59 @@ - + - + err - + - + I - + - + Kb - + - + satMax - + - + satMin - + - + out - + - + I(z) @@ -394,11 +317,11 @@ - + - + I_backCalc_fixdt1 @@ -406,15 +329,15 @@ - + - - + + - - Ini=0 + + Ini=1000 @@ -424,11 +347,11 @@ - + - + sfix16_En4 @@ -436,29 +359,29 @@ - + - + - + - + - + - + @@ -472,29 +395,154 @@ - - - + + + - - + + - - + + - - [r_inpTgtScaAbs] + + err + + + + + + + + I + + + + + + + + Kb + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + out + + + + + + + + I(z) - - + + + + + + + + + + + + + + + + + I_backCalc_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + Ini=1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -505,7 +553,7 @@ - + @@ -515,11 +563,11 @@ - + - + [r_nLimProtMax] @@ -538,7 +586,7 @@ - + @@ -548,11 +596,11 @@ - + - + [n_max] @@ -571,232 +619,7 @@ - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -806,11 +629,11 @@ - + - + [n_motAbs] @@ -829,340 +652,7 @@ - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - n_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - iqAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1172,11 +662,11 @@ - + - + [n_motAbs] @@ -1194,11 +684,11 @@ - + - + sfix16_En4 @@ -1210,43 +700,106 @@ - - - + + + - - + + - - + + - - [n_max] + + cf_KbLimProt - + + + + + + + + + + + + + + + + + cf_KbLimProt + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + - + - - + + - + sfix16_En4 @@ -1258,436 +811,7 @@ - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - I - - - - - - - - Kb - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - out - - - - - - - - I(z) - - - - - - - - - - - - - - - - - - - - - - I_backCalc_fixdt - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1697,11 +821,11 @@ - + - + [r_iqLimProtMax] @@ -1720,44 +844,44 @@ - - - + + + - - + + - - + + - - 2 + + [r_inpTgtScaAbs] - - + + - - - + + + - - + + - - r_nLimProtMax + + sfix16_En4 @@ -1766,7 +890,883 @@ - + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_iqKiLimProt + + + + + + + + + + + + + + + + + + + + + + cf_iqKiLimProt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + @@ -1780,7 +1780,7 @@ - + @@ -1794,7 +1794,7 @@ - + @@ -1808,7 +1808,7 @@ - + @@ -1822,7 +1822,7 @@ - + @@ -1836,7 +1836,7 @@ - + @@ -1870,7 +1870,7 @@ - + @@ -1884,7 +1884,7 @@ - + @@ -1898,7 +1898,7 @@ - + @@ -1912,7 +1912,7 @@ - + @@ -1926,7 +1926,7 @@ - + @@ -1940,7 +1940,7 @@ - + @@ -1974,7 +1974,7 @@ - + @@ -1988,7 +1988,7 @@ - + @@ -2002,7 +2002,7 @@ - + @@ -2016,7 +2016,7 @@ - + @@ -2030,7 +2030,7 @@ - + @@ -2044,7 +2044,7 @@ - + @@ -2058,7 +2058,7 @@ - + @@ -2072,7 +2072,7 @@ - + @@ -2086,7 +2086,7 @@ - + @@ -2102,5 +2102,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json index 8a2bf6d..7981a72 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json @@ -1,11 +1,60 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10600", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10662", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKiLimProt", + "label":"cf_iqKiLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_iqKiLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10600", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"iq_limProtErr", "label":"iq_limProtErr", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "Port", @@ -80,12 +129,139 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10597", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10661", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,32,20)", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10591", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10597", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "IconShape", @@ -139,188 +315,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10661", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,32,20)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10662", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKiLimProt", - "label":"cf_iqKiLimProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_iqKiLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10591", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10586", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10586", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_max", "label":"iq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "Port", @@ -382,12 +382,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10587", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10587", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_min", "label":"iq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "Port", @@ -449,12 +449,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10585", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10585", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq", "label":"iq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "Port", @@ -516,12 +516,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10585#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10585#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", @@ -567,12 +567,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", @@ -618,12 +618,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10586#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10586#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", @@ -669,12 +669,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10587#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10587#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", @@ -720,12 +720,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10662#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10662#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", @@ -771,12 +771,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10661#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10661#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", @@ -822,12 +822,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10597#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10597#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg index d5be523..f6fbdb6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg @@ -9,291 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_limProtErr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -303,11 +23,11 @@ - + - + cf_iqKiLimProt @@ -325,11 +45,11 @@ - + - + cf_iqKiLimProt @@ -340,11 +60,11 @@ - + - + ufix16_En16 @@ -356,9 +76,225 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + - + @@ -366,11 +302,11 @@ - + - + case: { } @@ -388,11 +324,11 @@ - + - + Action Port @@ -404,7 +340,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -467,7 +467,7 @@ - + @@ -530,7 +530,7 @@ - + @@ -591,7 +591,7 @@ - + @@ -625,7 +625,7 @@ - + @@ -639,7 +639,7 @@ - + @@ -653,7 +653,7 @@ - + @@ -667,7 +667,7 @@ - + @@ -681,7 +681,7 @@ - + @@ -695,7 +695,7 @@ - + @@ -711,5 +711,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.json index 794cd52..ad64d65 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:1#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:2#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:3#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:7#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:8#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:6#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:9#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg index d9a77e4..d536a65 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,9 +524,9 @@ - + - + @@ -603,9 +603,9 @@ - + - + @@ -652,9 +652,9 @@ - + - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1009,22 +1009,22 @@ - - - + + + - + @@ -1058,7 +1058,7 @@ - + @@ -1103,16 +1103,16 @@ - + - + - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.json index f373373..1c1e946 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.json @@ -1,41 +1,31 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10809", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10810", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "name":"cf_KbLimProt", + "label":"cf_KbLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "FramePeriod" ], "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", + "cf_KbLimProt", + "on", + "inf", "[]", "[]", - "Inherit: Same as first input", + "fixdt(0,16,12)", "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "inf" ], "tabs":[ "Main", @@ -44,8 +34,8 @@ ], "tabs_idx":[ 0, - 2, - 10 + 3, + 7 ] }, "viewer":{ @@ -54,114 +44,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10815", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10805", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10777", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10619", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10619", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_nLimProtMax", "label":"Vq_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "Port", @@ -236,12 +129,171 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10812", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "yInit" + ], + "values":[ + "900" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10777", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10776", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10815", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10805", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10812", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "GotoTag", @@ -267,41 +319,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"I_backCalc_fixdt", - "label":"I_backCalc_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "yInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10803", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10803", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant1", "label":"Constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "Value", @@ -345,339 +368,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10811", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKiLimProt", - "label":"cf_nKiLimProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_nKiLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10804", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10810", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_KbLimProt", - "label":"cf_KbLimProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_KbLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10607", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_max", - "label":"n_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "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:10776", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10774", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "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:10609", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10814", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10814", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_max", "label":"Vq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "Port", @@ -739,12 +435,316 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10774#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10804", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10609", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10607", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_max", + "label":"n_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10809", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:10811", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_nKiLimProt", + "label":"cf_nKiLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_nKiLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10774", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10774#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -790,12 +790,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10607#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10607#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -841,12 +841,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10809#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10809#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -892,12 +892,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10805#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10805#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -943,12 +943,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10803#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10803#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -994,12 +994,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10804#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10804#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1045,12 +1045,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10811#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10811#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1096,12 +1096,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10810#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10810#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1147,12 +1147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10812#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10812#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1198,12 +1198,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1249,12 +1249,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10814#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.png new file mode 100644 index 0000000..3f3bd2f Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg index 0cd277a..7c2cb1c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg @@ -9,64 +9,63 @@ - + - - - + + + - - + + - + - - - - - - - - - - - - - - - - - - + + cf_KbLimProt - - + + + + + + + + + + + + + + + + + cf_KbLimProt - - + + - - + + - - sfix16_En4 + + ufix16_En12 @@ -77,29 +76,44 @@ - - - + + + - - + + - - + + - - [Vq_max] + + 1 - - + + + + + + + + + + + + + + + + + Vq_nLimProtMax @@ -110,55 +124,165 @@ - - - + + + - - + + - + - - [n_motAbs] + + err + + + + + + + + I + + + + + + + + Kb + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + out + + + + + + + + I(z) - - + + + + + + + + + + + + + + + + + I_backCalc_fixdt + + + + + + + + + + + + + + + Ini=900 - + - - + + - + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -168,11 +292,11 @@ - + - + [n_motAbs] @@ -191,44 +315,29 @@ - - - + + + - - + + - - + + - - 1 + + [n_max] - - - - - - - - - - - - - - - - - Vq_nLimProtMax + + @@ -239,7 +348,88 @@ - + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -249,11 +439,11 @@ - + - + [Vq_max] @@ -271,11 +461,11 @@ - + - + sfix16_En4 @@ -287,165 +477,7 @@ - - - - - - - - - - - - - - - - err - - - - - - - - I - - - - - - - - Kb - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - out - - - - - - - - I(z) - - - - - - - - - - - - - - - - - - - - - - I_backCalc_fixdt - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -455,11 +487,11 @@ - + - + 0 @@ -477,11 +509,11 @@ - + - + sfix16_En4 @@ -493,59 +525,59 @@ - - - + + + - - + + - - + + - - cf_nKiLimProt + + 3 - - + + - - + + - - + + - - cf_nKiLimProt + + Vq_max - - + + - - + + - - ufix16_En16 + + sfix16_En4 @@ -556,7 +588,7 @@ - + @@ -566,11 +598,11 @@ - + - + [n_max] @@ -588,11 +620,11 @@ - + - + sfix16_En4 @@ -604,59 +636,44 @@ - - - + + + - - + + - - + + - - cf_KbLimProt + + case: { } - - + + - - - - - - - - - - cf_KbLimProt - - - - - - - + + - + - - ufix16_En12 + + Action Port @@ -667,7 +684,7 @@ - + @@ -730,29 +747,60 @@ - - - + + + - - + + - + - - [n_max] + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -763,7 +811,70 @@ - + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + @@ -773,11 +884,11 @@ - + - + 1 @@ -795,11 +906,11 @@ - + - + n_motAbs @@ -810,11 +921,11 @@ - + - + sfix16_En4 @@ -824,118 +935,7 @@ - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -949,7 +949,7 @@ - + @@ -963,7 +963,7 @@ - + @@ -977,7 +977,7 @@ - + @@ -991,7 +991,7 @@ - + @@ -1005,7 +1005,7 @@ - + @@ -1019,7 +1019,7 @@ - + @@ -1033,7 +1033,7 @@ - + @@ -1047,7 +1047,7 @@ - + @@ -1061,7 +1061,7 @@ - + @@ -1075,7 +1075,7 @@ - + @@ -1091,5 +1091,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.json index 410b093..347fc98 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2882", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2882", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2896", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2896", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2880", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2880", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "IconShape", @@ -189,12 +189,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2879", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2879", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"Data Type Conversion1", "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "OutMin", @@ -236,12 +236,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2878", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2878", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "Port", @@ -303,12 +303,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2878#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -354,12 +354,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2880#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -405,12 +405,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2896#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -456,12 +456,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2879#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.png new file mode 100644 index 0000000..3ab21eb Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg index 4e256e5..f4f1620 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,43 +120,43 @@ - - - - - - - - - - - Ini=yInit - - - - - + - + sfix32_En16 + + + + + + + + + + + Ini=yInit + + + + - + @@ -228,7 +228,7 @@ - + @@ -251,7 +251,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -353,7 +353,7 @@ - + @@ -367,7 +367,7 @@ - + @@ -401,7 +401,7 @@ - + @@ -415,7 +415,7 @@ - + @@ -431,5 +431,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.json index 19c5274..765b1f8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:1#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:2#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:3#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:7#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:8#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:6#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:9#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg index 3d23e4b..673c26b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,9 +61,9 @@ - + - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,9 +524,9 @@ - + - + @@ -603,9 +603,9 @@ - + - + @@ -652,9 +652,9 @@ - + - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1009,22 +1009,22 @@ - + - + - + - + @@ -1058,7 +1058,7 @@ - + @@ -1112,7 +1112,7 @@ - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.json index 4db20e0..ac24e85 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2894", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2894", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "InitialCondition", @@ -50,12 +50,648 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2854", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2890", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Kb", + "label":"Kb", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2892", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2853", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2891", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2893", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "-+|", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "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":"BLDCmotor_FOC_R2017b_fixdt:10745:2851", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"err", + "label":"err", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2889", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "Port", @@ -130,325 +766,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2893", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "-+|", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "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:10745:2892", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2891", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2855", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2855", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMin", "label":"satMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "Port", @@ -510,337 +833,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2890", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Kb", - "label":"Kb", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "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:2854", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:2851", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"err", - "label":"err", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "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:2869", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2853", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"I", - "label":"I", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "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:2892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2892#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -886,12 +884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2869#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -937,12 +935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2890#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -988,12 +986,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2893#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1039,12 +1037,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2891#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1090,12 +1088,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2894#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1141,12 +1139,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1192,12 +1190,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1243,12 +1241,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2851#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2851#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1294,12 +1292,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2853#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2853#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1345,12 +1343,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2854#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2854#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1396,12 +1394,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2855#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2855#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg index 61f114e..78c29e6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg @@ -9,11 +9,11 @@ - + - + @@ -72,80 +72,32 @@ - - - - - - - - - - - Ini=0 - - - - - + - + sfix32_En16 - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - + + - - + + - - out + + Ini=0 @@ -156,145 +108,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - + - + @@ -302,35 +118,35 @@ - + - + - + - + - + - + - + - + @@ -342,35 +158,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -388,11 +204,11 @@ - + - + sfix16_En4 @@ -404,9 +220,72 @@ - + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -420,19 +299,19 @@ - + - + u - + - + y @@ -462,11 +341,11 @@ - + - + Integrator @@ -483,11 +362,11 @@ - + - + sfix16_En4 @@ -499,132 +378,13 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - @@ -634,11 +394,11 @@ - + - + 3 @@ -656,11 +416,11 @@ - + - + Kb @@ -671,11 +431,11 @@ - + - + ufix16_En12 @@ -687,178 +447,68 @@ - - - + + + - - + + - - + + - - 4 + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - satMax + + - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - sfix32_En20 + + sfix32_En16 @@ -869,7 +519,7 @@ - + @@ -879,11 +529,11 @@ - + - + 2 @@ -901,11 +551,11 @@ - + - + I @@ -916,11 +566,11 @@ - + - + ufix16_En16 @@ -930,7 +580,357 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -944,7 +944,7 @@ - + @@ -958,7 +958,7 @@ - + @@ -972,7 +972,7 @@ - + @@ -986,7 +986,7 @@ - + @@ -1000,7 +1000,7 @@ - + @@ -1014,7 +1014,7 @@ - + @@ -1048,7 +1048,7 @@ - + @@ -1082,7 +1082,7 @@ - + @@ -1096,7 +1096,7 @@ - + @@ -1110,7 +1110,7 @@ - + @@ -1124,7 +1124,7 @@ - + @@ -1140,5 +1140,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json index 0bbabf1..9d841b3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2896", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2896", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "InitialCondition", @@ -50,71 +50,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2880", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", - "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:10808:2882", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2882", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "Port", @@ -189,12 +130,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2879", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2880", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "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":"BLDCmotor_FOC_R2017b_fixdt:10746:2879", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"Data Type Conversion1", "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "OutMin", @@ -236,12 +236,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2878", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2878", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "Port", @@ -303,12 +303,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2878#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -354,12 +354,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2880#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -405,12 +405,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2896#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -456,12 +456,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2879#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.png new file mode 100644 index 0000000..3ab21eb Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg index 7b81dde..c989d7e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg @@ -9,13 +9,13 @@ - + - + - + @@ -108,79 +108,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - + @@ -190,11 +118,11 @@ - + - + 1 @@ -212,11 +140,11 @@ - + - + y @@ -228,7 +156,79 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + @@ -251,7 +251,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -353,7 +353,7 @@ - + @@ -367,7 +367,7 @@ - + @@ -401,7 +401,7 @@ - + @@ -415,7 +415,7 @@ - + @@ -431,5 +431,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.json new file mode 100644 index 0000000..7d20e66 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "OutMin", + "OutMax", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "OutMin", + "OutMax", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "PropDataTypeMode", + "PropDataType", + "IfRefDouble", + "IfRefSingle", + "IsSigned", + "NumBitsBase", + "NumBitsMult", + "NumBitsAdd", + "NumBitsAllowFinal", + "PropScalingMode", + "PropScaling", + "ValuesUsedBestPrec", + "SlopeBase", + "SlopeMult", + "SlopeAdd", + "BiasBase", + "BiasMult", + "BiasAdd" + ], + "values":[ + "Inherit via propagation rule", + "fixdt(1, 16)", + "double", + "single", + "IsSigned1", + "NumBits1", + "1", + "0", + "1:128", + "Inherit via propagation rule", + "2^-10", + "[5 -7]", + "Slope1", + "1", + "0", + "Bias1", + "1", + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Data Type Propagation" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "NumInputPorts" + ], + "values":[ + "2" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeDuplicate", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.svg new file mode 100644 index 0000000..c69f155 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.svg @@ -0,0 +1,1180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpperRelop + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LowerRelop1 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + Ref1 + + + + + + + + Ref2 + + + + + + + + Prop + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.json index 1c92278..d670dc1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.json @@ -1,474 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2894", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "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:10746:2892", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2891", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2869", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2855", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2854", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:2853", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"I", - "label":"I", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "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:2889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2889", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "Port", @@ -543,159 +80,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2851", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2894", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"err", - "label":"err", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "InitialCondition", + "InputProcessing", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", + "0", + "Inherited", "-1", - "Inherit", - "-1", - "auto", - "off", "", - "on", + "", "off", - "off", - "off" + [ + ], + "Auto" ], "tabs":[ "Main", - "Signal Attributes", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 4 ] }, "viewer":{ @@ -704,17 +125,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2893", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2893", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "IconShape", @@ -768,12 +189,138 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2892", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2855", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2890", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Kb", "label":"Kb", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "Port", @@ -835,12 +382,463 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2854", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2853", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2891", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2851", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"err", + "label":"err", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2892#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -886,12 +884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2869#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -937,12 +935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2890#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -988,12 +986,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2893#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1039,12 +1037,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2891#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1090,12 +1088,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2894#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1141,12 +1139,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1192,12 +1190,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1243,12 +1241,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2851#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2851#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1294,12 +1292,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2853#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2853#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1345,12 +1343,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2854#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2854#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1396,12 +1394,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2855#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2855#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg index 7173cf2..215977e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg @@ -9,13 +9,61 @@ - + - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + - + @@ -23,35 +71,35 @@ - + - + - + - + - + - + - + - + @@ -72,43 +120,107 @@ - - - - - - - - - - - sfix32_En16 - - - - - + - + Ini=0 + + + + + + + + + + + sfix32_En16 + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -118,35 +230,35 @@ - + - + - + - + - + - + - + - + @@ -164,11 +276,11 @@ - + - + sfix32_En16 @@ -180,119 +292,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -355,108 +355,59 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y + + 3 - - + + + + + + + + + + + + + + + + + Kb - - + + - - + + - - sfix16_En4 + + ufix16_En12 @@ -467,7 +418,7 @@ - + @@ -477,11 +428,11 @@ - + - + 4 @@ -499,11 +450,11 @@ - + - + satMax @@ -514,11 +465,11 @@ - + - + sfix16_En4 @@ -530,7 +481,175 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -540,11 +659,11 @@ - + - + 2 @@ -562,11 +681,11 @@ - + - + I @@ -577,11 +696,11 @@ - + - + ufix16_En16 @@ -593,57 +712,9 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - - - - + - + @@ -657,19 +728,19 @@ - + - + u - + - + y @@ -699,11 +770,11 @@ - + - + Integrator @@ -720,11 +791,11 @@ - + - + sfix16_En4 @@ -736,13 +807,69 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + @@ -752,11 +879,11 @@ - + - + 1 @@ -774,11 +901,11 @@ - + - + err @@ -789,11 +916,11 @@ - + - + sfix16_En4 @@ -803,134 +930,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Kb - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - + @@ -944,7 +944,7 @@ - + @@ -958,7 +958,7 @@ - + @@ -972,7 +972,7 @@ - + @@ -986,7 +986,7 @@ - + @@ -1000,7 +1000,7 @@ - + @@ -1014,7 +1014,7 @@ - + @@ -1048,7 +1048,7 @@ - + @@ -1082,7 +1082,7 @@ - + @@ -1096,7 +1096,7 @@ - + @@ -1110,7 +1110,7 @@ - + @@ -1124,7 +1124,7 @@ - + @@ -1140,5 +1140,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json index 19b19d2..18e3430 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json @@ -1,187 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2896", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "yInit", - "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:10746:2880", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", - "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:10746:2878", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", - "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:2882", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2882", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "inspector":{ "params":[ "Port", @@ -256,12 +80,62 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2879", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2896", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "yInit", + "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":"BLDCmotor_FOC_R2017b_fixdt:10808:2879", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"Data Type Conversion1", "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "inspector":{ "params":[ "OutMin", @@ -303,12 +177,138 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2880", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "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":"BLDCmotor_FOC_R2017b_fixdt:10808:2878", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2878#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -354,12 +354,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2880#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -405,12 +405,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2896#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -456,12 +456,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2879#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.png new file mode 100644 index 0000000..3ab21eb Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg index 52c0e14..7375036 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -122,15 +122,15 @@ - + - + - - Ini=0 + + Ini=yInit @@ -145,7 +145,7 @@ - sfix32_En20 + sfix32_En16 @@ -156,7 +156,7 @@ - + @@ -179,7 +179,7 @@ - + @@ -220,70 +220,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -293,35 +230,35 @@ - + - + - + - + - + - + - + - + @@ -339,12 +276,12 @@ - + - - sfix32_En20 + + sfix32_En16 @@ -353,35 +290,84 @@ - + - - - + + + - - + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix32_En16 + + - + - + - + - + @@ -415,14 +401,28 @@ - + - + - + + + + + + + + + + + + + + + @@ -431,5 +431,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.json new file mode 100644 index 0000000..893375d --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "OutMin", + "OutMax", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "OutMin", + "OutMax", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "PropDataTypeMode", + "PropDataType", + "IfRefDouble", + "IfRefSingle", + "IsSigned", + "NumBitsBase", + "NumBitsMult", + "NumBitsAdd", + "NumBitsAllowFinal", + "PropScalingMode", + "PropScaling", + "ValuesUsedBestPrec", + "SlopeBase", + "SlopeMult", + "SlopeAdd", + "BiasBase", + "BiasMult", + "BiasAdd" + ], + "values":[ + "Inherit via propagation rule", + "fixdt(1, 16)", + "double", + "single", + "IsSigned1", + "NumBits1", + "1", + "0", + "1:128", + "Inherit via propagation rule", + "2^-10", + "[5 -7]", + "Slope1", + "1", + "0", + "Bias1", + "1", + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Data Type Propagation" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "NumInputPorts" + ], + "values":[ + "2" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeDuplicate", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.svg new file mode 100644 index 0000000..6b7804b --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.svg @@ -0,0 +1,1180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpperRelop + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LowerRelop1 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + Ref1 + + + + + + + + Ref2 + + + + + + + + Prop + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.json index a8b562d..f0c8f9d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2893", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2893", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "IconShape", @@ -59,12 +59,388 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2892", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2891", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2855", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2889", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "Port", @@ -139,101 +515,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2894", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "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:10808:2895", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2854", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2854", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMax", "label":"satMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "Port", @@ -295,302 +582,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2891", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2890", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Kb", - "label":"Kb", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "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:2855", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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:2853", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2853", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"I", "label":"I", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "Port", @@ -652,42 +649,100 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2892", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2894", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "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":"BLDCmotor_FOC_R2017b_fixdt:10808:2890", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Kb", + "label":"Kb", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "inspector":{ + "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via internal rule", + "Inherit: auto", "off", - "Simplest", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", "on", - "1", - "All dimensions", - "-1" + "off", + "off", + "off" ], "tabs":[ "Main", @@ -697,7 +752,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -706,74 +761,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2869", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2851", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2851", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "Port", @@ -835,12 +833,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2892#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -886,12 +884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2869#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -937,12 +935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2890#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -988,12 +986,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2893#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1039,12 +1037,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2891#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1090,12 +1088,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2894#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1141,12 +1139,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1192,12 +1190,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1243,12 +1241,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2851#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2851#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1294,12 +1292,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2853#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2853#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1345,12 +1343,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2854#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2854#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1396,12 +1394,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2855#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2855#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg index e8a6791..13e89fa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg @@ -9,11 +9,11 @@ - + - + @@ -77,138 +77,67 @@ - - - + + + - - + + - + - - 1 - - - - - - - - - - - - - - + + - + - - out + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 + + - - + + - - + + - + sfix32_En16 @@ -220,9 +149,9 @@ - + - + @@ -230,35 +159,35 @@ - + - + - + - + - + - + - + - + @@ -270,35 +199,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -316,11 +245,11 @@ - + - + sfix16_En4 @@ -332,128 +261,9 @@ - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - + - + @@ -467,19 +277,19 @@ - + - + u - + - + y @@ -509,11 +319,11 @@ - + - + Integrator @@ -530,11 +340,11 @@ - + - + sfix16_En4 @@ -546,276 +356,15 @@ - + - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Kb - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - - + @@ -823,19 +372,19 @@ - + - + - + - + @@ -853,11 +402,11 @@ - + - + sfix32_En20 @@ -869,7 +418,458 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Kb + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + @@ -930,7 +930,7 @@ - + @@ -944,7 +944,7 @@ - + @@ -958,7 +958,7 @@ - + @@ -972,7 +972,7 @@ - + @@ -986,7 +986,7 @@ - + @@ -1000,7 +1000,7 @@ - + @@ -1014,7 +1014,7 @@ - + @@ -1048,7 +1048,7 @@ - + @@ -1082,7 +1082,7 @@ - + @@ -1096,7 +1096,7 @@ - + @@ -1110,7 +1110,7 @@ - + @@ -1124,7 +1124,7 @@ - + @@ -1140,5 +1140,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.json new file mode 100644 index 0000000..6b545eb --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.json @@ -0,0 +1,645 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2790", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2909", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_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":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2908", + "className":"Simulink.Delay", + "icon":"WebViewIcon3", + "name":"Resettable Delay", + "label":"Resettable Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "inspector":{ + "params":[ + "DelayLengthSource", + "InitialConditionSource", + "DelayLength", + "InputProcessing", + "UseCircularBuffer", + "ShowEnablePort", + "ExternalReset", + "SampleTime", + "CodeGenStateStorageTypeQualifier", + "DelayLengthUpperLimit", + "DiagnosticForDelayLength", + "InitialCondition", + "PreventDirectFeedthrough", + "RemoveDelayLengthCheckInGeneratedCode", + "StateMustResolveToSignalObject", + "StateName", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "Dialog", + "Input port", + "1", + "Elements as channels (sample based)", + "off", + "off", + "None", + "-1", + "", + "100", + "None", + "0.0", + "off", + "off", + "off", + "", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 8 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Delay", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2786", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2787", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2909#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2787#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2908#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2788#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2786#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.png new file mode 100644 index 0000000..f436dc1 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.svg new file mode 100644 index 0000000..f075070 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.svg @@ -0,0 +1,489 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json index d16e65b..e27d266 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json @@ -1,91 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2710", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"hitMin", - "label":"hitMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", - "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":[ - "3", - "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:2791:2377", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2377", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "Port", @@ -160,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2709", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2709", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"hitMax", "label":"hitMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "Port", @@ -240,12 +160,149 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2707", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2710", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"hitMin", + "label":"hitMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2849", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "Operator", @@ -285,12 +342,114 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2848", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2704", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2701", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "Port", @@ -352,114 +511,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2704", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", - "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:10454:2791:2849", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:10454:2791:2700", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2700", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "Port", @@ -521,12 +578,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2699", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2699", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "Port", @@ -588,69 +645,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2848", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:10454:2791:2849#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2849#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -696,12 +696,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2701#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -747,12 +747,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2704#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -798,12 +798,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2707#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +849,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2699#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +900,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2700#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +951,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791:2848#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2848#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg index 7193911..de878c3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg @@ -9,13 +9,349 @@ - + - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + hitMax + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -23,19 +359,19 @@ - + - + - + - + @@ -61,11 +397,11 @@ - + - + UpperRelop @@ -76,11 +412,11 @@ - + - + boolean @@ -92,310 +428,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitMin - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -403,7 +451,7 @@ - + @@ -411,7 +459,7 @@ - + @@ -419,7 +467,7 @@ - + @@ -427,7 +475,7 @@ - + @@ -435,7 +483,7 @@ - + @@ -443,7 +491,7 @@ - + @@ -451,7 +499,7 @@ - + @@ -459,7 +507,7 @@ - + @@ -467,7 +515,7 @@ - + @@ -475,22 +523,70 @@ - + - + - - T + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + - + F @@ -508,11 +604,11 @@ - + - + sfix16_En4 @@ -524,294 +620,9 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - hitMax - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -819,19 +630,19 @@ - + - + - + - + @@ -857,11 +668,11 @@ - + - + LowerRelop1 @@ -872,11 +683,11 @@ - + - + boolean @@ -886,7 +697,196 @@ - + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -900,7 +900,7 @@ - + @@ -934,7 +934,7 @@ - + @@ -968,7 +968,7 @@ - + @@ -1002,7 +1002,7 @@ - + @@ -1036,7 +1036,7 @@ - + @@ -1090,7 +1090,7 @@ - + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json index 3ec0544..4a05152 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2819", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preSat", "label":"preSat", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2818", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preIntegrator", "label":"preIntegrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2831", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Clamp", "label":"Clamp", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "Port", @@ -214,119 +214,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2839", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU3", - "label":"SignDeltaU3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", - "inspector":{ - "params":[ - "ZeroCross", - "SampleTime" - ], - "values":[ - "on", - "-1" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Signum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2837", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", - "inspector":{ - "params":[ - "ZeroCross", - "SampleTime" - ], - "values":[ - "on", - "-1" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Signum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2841", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Equal1", - "label":"Equal1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "on", - "Inherit: Logical (see Configuration Parameters: Optimization)", - "Zero", - "-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:10454:2840", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2840", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"DataTypeConv4", "label":"DataTypeConv4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "OutMin", @@ -368,12 +261,90 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2839", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU3", + "label":"SignDeltaU3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "inspector":{ + "params":[ + "ZeroCross", + "SampleTime" + ], + "values":[ + "on", + "-1" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Signum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2836", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv3", + "label":"DataTypeConv3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "int8", + "on", + "Real World Value (RWV)", + "Zero", + "off", + "-1" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"hitSat", "label":"hitSat", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "Port", @@ -435,40 +406,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2836", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2841", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"DataTypeConv3", - "label":"DataTypeConv3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "name":"Equal1", + "label":"Equal1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" + "SampleTime", + "ZeroCross" ], "values":[ - "[]", - "[]", - "int8", + "==", "on", - "Real World Value (RWV)", + "Inherit: Logical (see Configuration Parameters: Optimization)", "Zero", - "off", - "-1" + "-1", + "on" ], "tabs":[ - "Parameter Attributes", + "Main", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 7 + 1, + 4 ] }, "viewer":{ @@ -477,17 +446,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2838", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2837", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "inspector":{ + "params":[ + "ZeroCross", + "SampleTime" + ], + "values":[ + "on", + "-1" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Signum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2838", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "Operator", @@ -527,12 +527,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2843#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2838#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2841#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2840#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2836#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2839#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -833,12 +833,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2837#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2837#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2819#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2818#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg index a44ec70..3f57e95 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -187,239 +187,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -429,19 +197,19 @@ - + - + - + - + @@ -467,11 +235,11 @@ - + - + int8 @@ -483,7 +251,87 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + @@ -493,19 +341,19 @@ - + - + - + - + @@ -531,11 +379,11 @@ - + - + int8 @@ -547,7 +395,7 @@ - + @@ -557,11 +405,11 @@ - + - + 3 @@ -579,11 +427,11 @@ - + - + hitSat @@ -594,11 +442,11 @@ - + - + boolean @@ -610,9 +458,161 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int32 + + + + + + + + + + + - + @@ -672,7 +672,7 @@ - + @@ -686,7 +686,7 @@ - + @@ -700,7 +700,7 @@ - + @@ -714,7 +714,7 @@ - + @@ -728,7 +728,7 @@ - + @@ -742,7 +742,7 @@ - + @@ -756,7 +756,7 @@ - + @@ -770,7 +770,7 @@ - + @@ -784,7 +784,7 @@ - + @@ -800,5 +800,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.json index a552bd8..693634d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2785", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2785", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Port", @@ -80,12 +80,62 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2814", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2817", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "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":"BLDCmotor_FOC_R2017b_fixdt:10828:2814", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Criteria", @@ -137,12 +187,502 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2781", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2783", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2846", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2815", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2732", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2795", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "ShowPortLabels", @@ -230,592 +770,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2783", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2795", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,5)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2817", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "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:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2776", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2773", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2733", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Port", @@ -877,50 +837,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2733", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2778", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Inputs", + "Multiplication", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "5", - "Port number", + "**", + "Element-wise(.*)", + "off", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,5)", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", + "Simplest", "on", - "off", - "off", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -930,7 +880,7 @@ "tabs_idx":[ 0, 2, - 11 + 9 ] }, "viewer":{ @@ -939,17 +889,74 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2732", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2910", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Port", @@ -1011,71 +1018,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2781", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2771", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2771", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"I", "label":"I", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Port", @@ -1137,12 +1085,276 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2769", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2770", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"P", + "label":"P", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"ext_limProt", + "label":"ext_limProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2769", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Port", @@ -1204,161 +1416,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2815", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2770", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"P", - "label":"P", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "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:10828:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2844", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "Operator", @@ -1398,12 +1461,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2910#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1449,12 +1512,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1500,12 +1563,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2844#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2846#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1551,12 +1614,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2844#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1602,12 +1665,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2833#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1653,12 +1716,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2832#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1704,12 +1767,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2817#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1755,12 +1818,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1806,12 +1869,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2814#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1857,12 +1920,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2781#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1908,12 +1971,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2783#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1959,12 +2022,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2815#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2010,12 +2073,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2061,12 +2124,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2112,12 +2175,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2733#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2163,12 +2226,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2732#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2214,12 +2277,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2770#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2265,12 +2328,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2316,12 +2379,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2771#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2367,12 +2430,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2778#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2418,12 +2481,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2776#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2469,12 +2532,63 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2773#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2769#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.png new file mode 100644 index 0000000..305a72e Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg index 9e36269..bd980f7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,235 +120,381 @@ - - - - - - - - - - - Ini=0 - - - - - + - + boolean + + + + + + + + + + + Ini=0 + + + + - - - + + + - - + + - + - - up + + - + - - u + + - + - - lo + + - + - - hitMax + + - + - - y + + - + - - hitMin + + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + - + - - + + - + sfix16_En4 - - - - - - - - - - - boolean - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + @@ -356,25 +502,33 @@ - - + + - - + + - + u - - + + - + + init + + + + + + + y @@ -387,8 +541,8 @@ - - + + @@ -400,15 +554,15 @@ - + - - + + - + Integrator @@ -421,15 +575,15 @@ - + - - + + - + sfix16_En4 @@ -441,13 +595,301 @@ - + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -457,11 +899,11 @@ - + - + [b_hitMin] @@ -480,196 +922,249 @@ - - - + + + - - + + - - + + - - [b_hitMax] + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + boolean - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - - - - - - - - + + sfix16_En4 - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - + - - + + - + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - + + - - + + - - 0 + + 6 - - + + + + + + + + + + + + + + + + + satMin - - + + - - + + - - sfix32_En20 + + sfix16_En4 @@ -680,9 +1175,9 @@ - + - + @@ -690,19 +1185,19 @@ - + - + - + - + @@ -720,11 +1215,11 @@ - + - + sfix16_En5 @@ -736,7 +1231,189 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + @@ -752,35 +1429,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -810,11 +1487,11 @@ - + - + Clamping_circuit @@ -831,11 +1508,11 @@ - + - + boolean @@ -847,490 +1524,13 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - ext_limProt - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - @@ -1340,11 +1540,11 @@ - + - + 2 @@ -1362,11 +1562,11 @@ - + - + P @@ -1377,11 +1577,11 @@ - + - + ufix16_En12 @@ -1393,187 +1593,58 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + 7 - - + + + + + + + + + + + + + + + + + ext_limProt - + - - + + - + sfix32_En20 @@ -1585,70 +1656,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1658,11 +1666,11 @@ - + - + [b_hitMax] @@ -1681,7 +1689,70 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1691,19 +1762,19 @@ - + - + - + - + @@ -1718,11 +1789,11 @@ - + - + boolean @@ -1743,7 +1814,21 @@ - + + + + + + + + + + + + + + + @@ -1757,7 +1842,7 @@ - + @@ -1771,7 +1856,7 @@ - + @@ -1785,7 +1870,7 @@ - + @@ -1799,7 +1884,7 @@ - + @@ -1813,21 +1898,21 @@ - + - + - + - + @@ -1841,35 +1926,35 @@ - + - + - + - + - + - + - + @@ -1879,17 +1964,17 @@ - + - + - + @@ -1923,21 +2008,21 @@ - + - + - + - + @@ -1951,7 +2036,7 @@ - + @@ -1965,7 +2050,7 @@ - + @@ -1979,7 +2064,7 @@ - + @@ -1993,7 +2078,7 @@ - + @@ -2007,35 +2092,35 @@ - + - + - + - + - + - + @@ -2049,35 +2134,35 @@ - + - + - + - + - + - + - + @@ -2087,11 +2172,11 @@ - + - + @@ -2113,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.json new file mode 100644 index 0000000..ad86594 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "OutMin", + "OutMax", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "OutMin", + "OutMax", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "PropDataTypeMode", + "PropDataType", + "IfRefDouble", + "IfRefSingle", + "IsSigned", + "NumBitsBase", + "NumBitsMult", + "NumBitsAdd", + "NumBitsAllowFinal", + "PropScalingMode", + "PropScaling", + "ValuesUsedBestPrec", + "SlopeBase", + "SlopeMult", + "SlopeAdd", + "BiasBase", + "BiasMult", + "BiasAdd" + ], + "values":[ + "Inherit via propagation rule", + "fixdt(1, 16)", + "double", + "single", + "IsSigned1", + "NumBits1", + "1", + "0", + "1:128", + "Inherit via propagation rule", + "2^-10", + "[5 -7]", + "Slope1", + "1", + "0", + "Bias1", + "1", + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Data Type Propagation" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "NumInputPorts" + ], + "values":[ + "2" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeDuplicate", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg index 5fbcfdf..e2cd595 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,9 +61,9 @@ - + - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,9 +524,9 @@ - + - + @@ -603,9 +603,9 @@ - + - + @@ -652,9 +652,9 @@ - + - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1012,10 +1012,10 @@ - + - + @@ -1024,7 +1024,7 @@ - + @@ -1058,7 +1058,7 @@ - + @@ -1103,16 +1103,16 @@ - + - + - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json new file mode 100644 index 0000000..0d42a1c --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json @@ -0,0 +1,2949 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11101", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_beta", + "label":"i_beta", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11100", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_alpha", + "label":"i_alpha", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11099", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"z_selPhaCurMeasABC", + "label":"z_selPhaCurMeasABC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "z_selPhaCurMeasABC", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11098", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge2", + "label":"Merge2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "3", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11094", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_beta", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11092", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_betaBC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11091", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_betaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11090", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_alphaBC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11095", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_betaAC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11085", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11083", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11082", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11093", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_alphaAC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11080", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alpha", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11089", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11097", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge1", + "label":"Merge1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "3", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11077", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_betaAC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11076", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alphaAC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11075", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11074", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11079", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_betaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11086", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_alpha", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11087", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_alphaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11096", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == 0", + "u1 == 1", + "on", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11073", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alphaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11026", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesAB", + "label":"Clarke_PhasesAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11081", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_beta", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11088", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11041", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesAC", + "label":"Clarke_PhasesAC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11056", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesBC", + "label":"Clarke_PhasesBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11025", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaBC", + "label":"i_phaBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11084", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11072", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alphaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11024", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaAB", + "label":"i_phaAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11078", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_betaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11056#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11079#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11078#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11024#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11085#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11083#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11026#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11072#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11096#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11099#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11073#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11081#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11026#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11025#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11084#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11097#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11098#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11082#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11080#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11056#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11096#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11096#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11074#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11075#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11041#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11041#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11076#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11077#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png new file mode 100644 index 0000000..5660d81 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg similarity index 65% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg index d226648..14247bd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg @@ -1,23 +1,23 @@ - + - + - + - - + + - + @@ -27,29 +27,29 @@ - + 2 - + - + - + - + i_beta @@ -61,59 +61,107 @@ - - - + + + - - + + - + - - b_selPhaABCurrMeas + + 1 - + + + + + + + + + + + + + + + + + i_alpha + + + + + + + + + + + + + + + + + + + + + + + + + + z_selPhaCurMeasABC + + + + + + - - + + - - + + - - b_selPhaABCurrMeas + + z_selPhaCurMeasABC - - + + - - + + - - boolean + + uint8 @@ -124,30 +172,30 @@ - - - + + + - - + + - - + + - - + + - + - - + + @@ -161,22 +209,22 @@ - - + + - + - - + + - + sfix16_En4 @@ -188,107 +236,28 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - + + - + - + - + [i_beta] - + @@ -300,220 +269,7 @@ - - - - - - - - - - - - - - - - [i_betaAB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alphaBC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alphaAB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alpha] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -523,11 +279,11 @@ - + - + [i_betaBC] @@ -546,252 +302,29 @@ - - - + + + - - + + - - + + - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alpha - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [i_betaAB] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -802,44 +335,29 @@ - - - + + + - - + + - - + + - - [i_phaAB] + + [i_alphaBC] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -850,44 +368,29 @@ - - - + + + - - + + - - + + - - [i_alpha] + + [i_betaAC] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -898,7 +401,7 @@ - + @@ -908,11 +411,11 @@ - + - + [i_phaBC] @@ -930,11 +433,11 @@ - - + + - + sfix16_En4 @@ -946,43 +449,43 @@ - - + + - + - + - - [i_alphaAB] + + [i_phaAB] - + - + - - + + - + sfix16_En4 @@ -994,28 +497,76 @@ - - - + + + - - + + - - + + - - [i_phaBC] + + [i_phaAB] - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAC] + + + + + + @@ -1027,7 +578,560 @@ - + + + + + + + + + + + + + + + + [i_alpha] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_betaAC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_betaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alpha] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == 0) + + + + + + + + elseif(u1 == 1) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + @@ -1037,11 +1141,11 @@ - + - + [i_alphaBC] @@ -1059,11 +1163,11 @@ - - + + - + sfix16_En4 @@ -1075,9 +1179,9 @@ - + - + @@ -1091,43 +1195,43 @@ - + - + i_phaA - + - + i_phaB - + - + i_alphaAB - + - + i_betaAB - + - + if { } @@ -1157,11 +1261,11 @@ - - + + - + Clarke_PhasesAB @@ -1174,15 +1278,15 @@ - + - - + + - + sfix16_En4 @@ -1195,16 +1299,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1216,16 +1320,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1236,112 +1340,49 @@ - + - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaBC - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + - + - + - + [i_beta] - + - + - - + + - + sfix16_En4 @@ -1353,59 +1394,29 @@ - - - + + + - - + + - - + + - - 1 + + [i_phaAB] - - - - - - - - - - - - - - - - - i_phaAB - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1416,9 +1427,9 @@ - - - + + + @@ -1426,49 +1437,49 @@ - + - + - - i_phaB - - - - - - - - i_phaC + + i_phaA - + - - i_alphaBC + + i_phaC - + - - i_betaBC + + i_alphaAC + + + + + i_betaAC + + + - + else { } @@ -1481,7 +1492,7 @@ - + @@ -1494,16 +1505,16 @@ - + - - + + - - Clarke_PhasesBC + + Clarke_PhasesAC @@ -1515,15 +1526,15 @@ - + - - + + - + sfix16_En4 @@ -1536,15 +1547,15 @@ - + - - + + - + action @@ -1557,15 +1568,15 @@ - + - - + + - + sfix16_En4 @@ -1575,15 +1586,452 @@ - + - + + + + + + + + + + + + + + + + + + + + + + i_phaB + + + + + + + + i_phaC + + + + + + + + i_alphaBC + + + + + + + + i_betaBC + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_PhasesBC + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaBC + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_betaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1595,49 +2043,49 @@ - + - + - + - + - + - + - + - + - + - + @@ -1651,7 +2099,7 @@ - + @@ -1665,7 +2113,7 @@ - + @@ -1679,7 +2127,7 @@ - + @@ -1693,49 +2141,35 @@ - + - + - + - + - + - - - - - - - - - - - - - - - + @@ -1749,21 +2183,21 @@ - + - + - + - + @@ -1777,21 +2211,21 @@ - + - + - + - + @@ -1805,35 +2239,35 @@ - + - + - + - + - + - + - + @@ -1847,21 +2281,21 @@ - + - + - + - + @@ -1875,7 +2309,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json index a0c43fd..d29cc0d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8685", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11040", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Clarke Transform:

i_alpha = i_phaA

i_beta = ((1/sqrt(3))*i_phaA + (2/sqrt(3))*i_phaB)

", "label":"

Clarke Transform:

i_alpha = i_phaA

i_beta = ((1/sqrt(3))*i_phaA + (2/sqrt(3))*i_phaB)

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "Text", @@ -49,12 +49,92 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8682", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11039", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_betaAB", + "label":"i_betaAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11037", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "IconShape", @@ -108,12 +188,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8681", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11036", "className":"Simulink.SignalConversion", "icon":"WebViewIcon3", "name":"Signal Conversion2", "label":"Signal Conversion2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "ConversionOutput", @@ -141,267 +221,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8684", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_betaAB", - "label":"i_betaAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8680", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8683", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_alphaAB", - "label":"i_alphaAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "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:8676", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8674", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8678", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11033", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain4", "label":"Gain4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "Gain", @@ -455,12 +280,125 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8673", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11038", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_alphaAB", + "label":"i_alphaAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "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":"BLDCmotor_FOC_R2017b_fixdt:11035", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11028", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_phaB", "label":"i_phaB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "Port", @@ -522,53 +460,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8677", - "className":"Simulink.Gain", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11029", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "2/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" + "held", + "Only when execution is resumed" ], "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -576,26 +486,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8679", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11030", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "i_phaA", - "local", "Tag" ], "tabs":[ @@ -609,17 +517,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8672", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11027", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_phaA", "label":"i_phaA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "Port", @@ -681,19 +589,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8675", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11034", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaA", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11031", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "i_phaA", + "i_phaB", "Tag" ], "tabs":[ @@ -712,12 +653,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8673#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11032", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain2", + "label":"Gain2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "2/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11028#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -763,12 +763,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8672#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11027#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -814,12 +814,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8675#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11030#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -865,12 +865,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8677#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11032#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -916,12 +916,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8676#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11031#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -967,12 +967,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8678#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11033#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1018,12 +1018,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8682#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11037#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1069,12 +1069,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8681#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11036#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg index e7a0a71..db9e610 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg @@ -9,11 +9,11 @@
- + - + @@ -64,7 +64,55 @@ - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_betaAB + + + + + + + + + + + @@ -73,36 +121,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -120,11 +168,11 @@ - + - + sfix16_En4 @@ -136,7 +184,7 @@ - + @@ -146,108 +194,84 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + @@ -255,15 +279,15 @@ - + - + - - + + @@ -271,6 +295,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -296,11 +344,11 @@ - + - + sfix16_En4 @@ -312,44 +360,44 @@ - - - + + + - - + + - - + + - - 2 + + 1/sqrt(3) - - + + - - - + + + - - + + - - i_betaAB + + sfix16_En4 @@ -360,7 +408,55 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_alphaAB + + + + + + + + + + + @@ -370,11 +466,11 @@ - + - + [i_phaB] @@ -393,199 +489,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alphaAB - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 1/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -595,11 +499,11 @@ - + - + 2 @@ -617,11 +521,11 @@ - + - + i_phaB @@ -632,11 +536,11 @@ - + - + sfix16_En4 @@ -648,43 +552,91 @@ - - - + + + - - + + - - + + - - 2/sqrt(3) + + if { } - - + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + - + - - + + - + sfix16_En4 @@ -696,7 +648,70 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_phaA + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -706,11 +721,11 @@ - + - + [i_phaA] @@ -729,58 +744,43 @@ - - - + + + - - + + - - + + - - 1 + + [i_phaB] - - - - - - - - - - - - - - - - - i_phaA + + - + - + - + sfix16_En4 @@ -792,43 +792,43 @@ - - - + + + - - + + - + - - [i_phaA] + + 2/sqrt(3) - - + + - + - + - + sfix16_En4 @@ -838,7 +838,7 @@ - + @@ -852,7 +852,7 @@ - + @@ -866,7 +866,7 @@ - + @@ -900,7 +900,7 @@ - + @@ -914,7 +914,7 @@ - + @@ -928,7 +928,7 @@ - + @@ -942,7 +942,7 @@ - + @@ -956,7 +956,7 @@ - + @@ -972,5 +972,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json new file mode 100644 index 0000000..29ee2b7 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json @@ -0,0 +1,1122 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11055", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Clarke Transform:

i_alpha = i_phaA

i_beta = (-(1/sqrt(3))*i_phaA - (2/sqrt(3))*i_phaC)

", + "label":"

Clarke Transform:

i_alpha = i_phaA

i_beta = (-(1/sqrt(3))*i_phaA - (2/sqrt(3))*i_phaC)

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Clarke Transform:

\n

i_alpha \t= i_phaA

\n

i_beta \t= (-(1/sqrt(3))*i_phaA - (2/sqrt(3))*i_phaC)

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11053", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_alphaAC", + "label":"i_alphaAC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "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":"BLDCmotor_FOC_R2017b_fixdt:11051", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" + ], + "values":[ + "Signal copy", + "Inherit: auto", + "off" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SignalConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11050", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaA", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11049", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11048", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "1/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11044", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11047", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain2", + "label":"Gain2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "2/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11045", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaA", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11046", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11052", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "--", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11043", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaC", + "label":"i_phaC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11054", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_betaAC", + "label":"i_betaAC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11042", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaA", + "label":"i_phaA", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11051#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11052#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11048#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11046#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11047#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11045#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11043#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11042#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png new file mode 100644 index 0000000..c1ff93a Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg new file mode 100644 index 0000000..0ad4aeb --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg @@ -0,0 +1,960 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke Transform: + + + + + + + + i_alpha + + + + + + + + = i_phaA + + + + + + + + i_beta + + + + + + + + = (-(1/sqrt(3))*i_phaA - (2/sqrt(3))*i_phaC) + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_alphaAC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 2/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaC + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_betaAC + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_phaA + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json index c5c5351..6cf8e3d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11071", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Clarke Transform:

i_alpha = - i_phaB - i_phaC

i_beta = (1/sqrt(3)) * (i_phaB - i_phaC)

", "label":"

Clarke Transform:

i_alpha = - i_phaB - i_phaC

i_beta = (1/sqrt(3)) * (i_phaB - i_phaC)

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "Text", @@ -49,279 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8696", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8694", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "1/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8699", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_alphaBC", - "label":"i_alphaBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "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:8690", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8695", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8689", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8700", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11070", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"i_betaBC", "label":"i_betaBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "Port", @@ -396,12 +129,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8688", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11069", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"i_phaC", - "label":"i_phaC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "name":"i_alphaBC", + "label":"i_alphaBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "Port", @@ -416,14 +149,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -435,10 +174,17 @@ "-1", "auto", "off", + "off", + "[]", + "off", + "held", + "off", + "0", "", - "on", - "off", - "off", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -458,66 +204,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8687", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11065", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"i_phaB", - "label":"i_phaB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "i_phaB", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -525,76 +237,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8698", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8692", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11062", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "GotoTag", @@ -620,43 +273,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8693", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8697", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11067", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "IconShape", @@ -710,12 +332,45 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8691", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11066", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11061", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "GotoTag", @@ -741,12 +396,357 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8691#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11059", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11064", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain2", + "label":"Gain2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "1/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11058", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaC", + "label":"i_phaC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11057", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaB", + "label":"i_phaB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11063", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11068", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11060", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11061#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -792,12 +792,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8690#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11060#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -843,12 +843,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8693#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11063#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -894,12 +894,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8694#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11064#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -945,12 +945,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8698#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11068#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -996,12 +996,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8692#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11062#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1047,12 +1047,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8697#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11067#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1098,12 +1098,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8687#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11057#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1149,12 +1149,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8688#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11058#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png new file mode 100644 index 0000000..6991812 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg index 45c6c0c..6968ae7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg @@ -9,11 +9,11 @@
- + - + @@ -64,29 +64,44 @@ - - - + + + - - + + - + - - [i_phaC] + + 2 - - + + + + + + + + + + + + + + + + + i_betaBC @@ -97,55 +112,7 @@ - - - - - - - - - - - - - - - - 1/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -155,11 +122,11 @@ - + - + 1 @@ -177,11 +144,11 @@ - + - + i_alphaBC @@ -193,55 +160,7 @@ - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -251,11 +170,11 @@ - + - + [i_phaB] @@ -274,293 +193,7 @@ - - - - - - - - - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_betaBC - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaC - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_phaB - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -570,11 +203,11 @@ - + - + [i_phaB] @@ -592,11 +225,11 @@ - + - + sfix16_En4 @@ -608,55 +241,7 @@ - - - - - - - - - - - - - - - - [i_phaC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -666,19 +251,19 @@ - + - + - + - + @@ -696,11 +281,11 @@ - + - + sfix16_En4 @@ -712,7 +297,40 @@ - + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + @@ -722,11 +340,11 @@ - + - + [i_phaC] @@ -744,11 +362,11 @@ - + - + sfix16_En4 @@ -758,7 +376,389 @@ - + + + + + + + + + + + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaC + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_phaB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -772,7 +772,7 @@ - + @@ -786,7 +786,7 @@ - + @@ -800,7 +800,7 @@ - + @@ -814,7 +814,7 @@ - + @@ -828,7 +828,7 @@ - + @@ -842,7 +842,7 @@ - + @@ -856,7 +856,7 @@ - + @@ -870,7 +870,7 @@ - + @@ -886,5 +886,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json index 1d192cf..fee1a6e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8655", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11300", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_ctrlMod", "label":"z_ctrlMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8634", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11283", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From5", "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -111,12 +111,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10029", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11301", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -191,128 +191,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8654", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "0", - "Elements as channels (sample based)", - "-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:10024", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8645", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8651", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11299", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto9", "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -340,12 +224,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10019", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11298", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -353,7 +237,7 @@ "IconDisplay" ], "values":[ - "VqFinPrev", + "b_errFlag", "local", "Tag" ], @@ -373,12 +257,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9423", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11499", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto7", "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -386,7 +270,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "b_cruiseCtrlEna", "local", "Tag" ], @@ -406,12 +290,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8640", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11296", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -419,7 +303,7 @@ "IconDisplay" ], "values":[ - "b_toOpen", + "b_toTrqMod", "local", "Tag" ], @@ -439,12 +323,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8639", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11295", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -452,7 +336,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "b_toSpdMod", "local", "Tag" ], @@ -472,136 +356,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10020", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10017", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8635", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8632", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8643", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11293", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto2", "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -629,12 +389,233 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10028", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11294", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11290", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11287", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11286", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11282", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11277", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toSpdMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11275", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toOpen", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11281", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From24", "label":"From24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -660,19 +641,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9995", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11285", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "z_ctrlModReq", + "b_toTrqMod", "Tag" ], "tabs":[ @@ -691,43 +672,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8630", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toSpdMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8628", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11276", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From12", "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -753,43 +703,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8625", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toOpen", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8624", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11274", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From", "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -815,111 +734,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_03_Input_Target_Synthesis", - "label":"F03_03_Input_Target_Synthesis", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8646", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11288", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -927,7 +747,7 @@ "IconDisplay" ], "values":[ - "b_toSpdMod", + "z_ctrlMod", "local", "Tag" ], @@ -947,20 +767,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", - "name":"F03_02_Control_Mode_Manager", - "label":"F03_02_Control_Mode_Manager", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "icon":"WebViewIcon1", + "name":"F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -972,6 +792,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -982,20 +803,19 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "Stateflow.Translate.translate", - "ExplicitOnly", + "", + "All", "off", - "Auto", + "on", "", "", "off", @@ -1003,11 +823,12 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", "off", + "off", "", "Auto", "", @@ -1017,21 +838,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1046,19 +864,116 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9424", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"F03_02_Control_Mode_Manager", + "label":"F03_02_Control_Mode_Manager", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "Stateflow.Translate.translate", + "ExplicitOnly", + "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11280", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "b_motStdStill", + "r_inpTgt", "Tag" ], "tabs":[ @@ -1077,111 +992,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_01_Mode_Transition_Calculation", - "label":"F03_01_Mode_Transition_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8642", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11297", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -1189,7 +1005,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModPrev", + "z_ctrlTypSel", "local", "Tag" ], @@ -1209,61 +1025,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10022", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11284", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "z_ctrlModReq", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1271,17 +1051,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10018", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11157", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -1343,12 +1123,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10023", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11291", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto13", "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", @@ -1376,61 +1156,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8539", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11292", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "r_inpTgtSca", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1438,17 +1184,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10256", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11158", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "InitializeStates", @@ -1474,21 +1220,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8647", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11278", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_toTrqMod", - "local", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1502,17 +1246,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10021", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11156", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -1534,7 +1278,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "6", "Port number", "[]", "[]", @@ -1574,12 +1318,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8537", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11497", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -1641,107 +1385,79 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8650", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_errFlag", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8633", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9994", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9422", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11154", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11153", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -1803,21 +1519,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9997", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11279", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtSca", - "local", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -1831,17 +1545,145 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8536", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11498", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_01_Mode_Transition_Calculation", + "label":"F03_01_Mode_Transition_Calculation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11152", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_errFlag", "label":"b_errFlag", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "Port", @@ -1903,19 +1745,88 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9996", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11155", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11289", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgt", + "b_toOpen", + "local", "Tag" ], "tabs":[ @@ -1929,48 +1840,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8636", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toTrqMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8634#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11283#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2016,12 +1896,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8537#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11153#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2067,12 +1947,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8625#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11275#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2118,12 +1998,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8630#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11277#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2169,12 +2049,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8539#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11155#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2220,12 +2100,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8636#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11285#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2271,12 +2151,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8654#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2322,12 +2202,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11274#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2373,12 +2253,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8624#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2424,12 +2304,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2475,12 +2355,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2526,12 +2406,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2577,12 +2457,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11282#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2628,12 +2508,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8632#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11284#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2679,12 +2559,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8633#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11152#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2730,12 +2610,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8635#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11276#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2781,12 +2661,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8536#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11279#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2832,12 +2712,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8628#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11278#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2883,12 +2763,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9422#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11280#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2934,12 +2814,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9424#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11201#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2985,12 +2865,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9995#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11286#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3036,12 +2916,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9994#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11157#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3087,12 +2967,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9996#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11287#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3138,12 +3018,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11156#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3189,12 +3069,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10017#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11154#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3240,12 +3120,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10018#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11281#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3291,12 +3171,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10020#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11497#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3342,114 +3222,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10022#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11498#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "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:10021#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "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:10028#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png new file mode 100644 index 0000000..5fcbb59 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg index 59a1432..e1baf9b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg @@ -1,19 +1,19 @@ - + - + - + - + @@ -46,7 +46,7 @@ - + @@ -61,7 +61,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -157,219 +157,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - + @@ -379,12 +167,12 @@ - + - - [b_motStdStill] + + [b_motEna] @@ -402,28 +190,28 @@ - - + + - + - + - - [b_toOpen] + + [b_errFlag] - + @@ -435,28 +223,28 @@ - - + + - + - + - - [z_ctrlMod] + + [b_cruiseCtrlEna] - + @@ -468,44 +256,29 @@ - - - + + + - - + + - - + + - - [VqFinPrev] + + [b_toTrqMod] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -516,44 +289,29 @@ - - - + + + - - + + - - + + - - [z_ctrlMod] + + [b_toSpdMod] - - - - - - - - - - - - - - - - - uint8 + + @@ -564,103 +322,7 @@ - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModPrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - + @@ -670,11 +332,11 @@ - + - + [b_toActive] @@ -693,43 +355,109 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + [z_ctrlModReq] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + - + - - + + - + sfix16_En4 @@ -741,43 +469,43 @@ - - + + - + - + - - [z_ctrlModReq] + + [z_ctrlMod] - + - + - - + + - + uint8 @@ -789,7 +517,55 @@ - + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -799,11 +575,11 @@ - + - + [b_toSpdMod] @@ -821,11 +597,11 @@ - - + + - + boolean @@ -837,55 +613,7 @@ - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -895,11 +623,11 @@ - + - + [b_toOpen] @@ -917,11 +645,11 @@ - - + + - + boolean @@ -933,7 +661,151 @@ - + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -943,11 +815,11 @@ - + - + [b_toActive] @@ -965,11 +837,11 @@ - - + + - + boolean @@ -981,7 +853,40 @@ - + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + @@ -997,51 +902,51 @@ - + - + z_ctrlTypSel - + - + z_ctrlModReq - + - + z_ctrlMod - + - + r_inpTgt - + - + VqFinPrev - + - + r_inpTgtSca @@ -1071,11 +976,11 @@ - - + + - + F03_03_Input_Target_Synthesis @@ -1092,11 +997,11 @@ - - + + - + sfix16_En4 @@ -1108,46 +1013,13 @@ - + - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - @@ -1163,43 +1035,43 @@ - + - + b_toOpen - + - + b_toActive - + - + b_toSpdMod - + - + b_toTrqMod - + - + z_ctrlMod @@ -1216,11 +1088,11 @@ - - + + - + F03_02_Control_Mode_Manager @@ -1263,11 +1135,11 @@ - - + + - + uint8 @@ -1279,365 +1151,49 @@ - + - + - + - + - - [b_motStdStill] + + [r_inpTgt] - + - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - b_motStdStill - - - - - - - - b_errFlag - - - - - - - - z_ctrlModReq - - - - - - - - z_ctrlModPrev - - - - - - - - b_toOpen - - - - - - - - b_toActive - - - - - - - - b_toSpdMod - - - - - - - - b_toTrqMod - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F03_01_Mode_Transition_Calculation - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - + - - + + - + sfix16_En4 @@ -1649,7 +1205,88 @@ - + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + @@ -1659,11 +1296,11 @@ - + - + 7 @@ -1681,11 +1318,11 @@ - - + + - + VqFinPrev @@ -1696,11 +1333,11 @@ - - + + - + sfix16_En4 @@ -1712,7 +1349,7 @@ - + @@ -1722,11 +1359,11 @@ - + - + [r_inpTgt] @@ -1745,469 +1382,7 @@ - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModReq - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -2217,11 +1392,11 @@ - + - + [r_inpTgtSca] @@ -2240,7 +1415,663 @@ - + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + b_motEna + + + + + + + + b_cruiseCtrlEna + + + + + + + + z_ctrlModReq + + + + + + + + b_toOpen + + + + + + + + b_toActive + + + + + + + + b_toSpdMod + + + + + + + + b_toTrqMod + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F03_01_Mode_Transition_Calculation + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + @@ -2250,11 +2081,11 @@ - + - + 1 @@ -2272,11 +2103,11 @@ - - + + - + b_errFlag @@ -2287,11 +2118,11 @@ - - + + - + boolean @@ -2303,44 +2134,59 @@ - - - + + + - - + + - - + + - - [r_inpTgt] + + 5 - - + + + + + + + + + + + + + + + + + z_ctrlModReq - - + + - - + + - - sfix16_En4 + + uint8 @@ -2351,44 +2197,29 @@ - - - + + + - - + + - - + + - - [b_toTrqMod] + + [b_toOpen] - - - - - - - - - - - - - - - - - boolean + + @@ -2397,7 +2228,7 @@ - + @@ -2411,265 +2242,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2683,21 +2256,203 @@ - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2711,7 +2466,7 @@ - + @@ -2725,7 +2480,7 @@ - + @@ -2739,7 +2494,7 @@ - + @@ -2753,7 +2508,7 @@ - + @@ -2767,7 +2522,7 @@ - + @@ -2781,7 +2536,7 @@ - + @@ -2795,7 +2550,7 @@ - + @@ -2809,7 +2564,7 @@ - + @@ -2823,7 +2578,7 @@ - + @@ -2837,7 +2592,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json new file mode 100644 index 0000000..673fa2f --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json @@ -0,0 +1,3840 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11198", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_toSpdMod", + "label":"b_toSpdMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11193", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant1", + "label":"constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "SPD_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11192", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant", + "label":"constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "TRQ_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11197", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_toActive", + "label":"b_toActive", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11188", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11195", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant8", + "label":"constant8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "OPEN_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11191", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator5", + "label":"Relational Operator5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11196", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_toOpen", + "label":"b_toOpen", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11181", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_errFlag", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11180", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toOpen", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11179", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toSpdMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11178", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toActive", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11177", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11176", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toTrqMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11175", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11174", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toOpen", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11182", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11172", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toOpen", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11171", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11493", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11189", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator10", + "label":"Relational Operator10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11169", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toTrqMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11168", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11496", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11491", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11167", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toTrqMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11495", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11199", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_toTrqMod", + "label":"b_toTrqMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11165", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11170", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11163", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_errFlag", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11160", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11173", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toSpdMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11162", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11190", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator4", + "label":"Relational Operator4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11166", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toSpdMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11161", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_errFlag", + "label":"b_errFlag", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11164", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toActive", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11194", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant5", + "label":"constant5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "VLT_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11184", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator4", + "label":"Logical Operator4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "OR", + "3", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11183", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator3", + "label":"Logical Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11486", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "OR", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11185", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator6", + "label":"Logical Operator6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "OR", + "3", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11492", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator2", + "label":"Logical Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11187", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator9", + "label":"Logical Operator9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "NOT", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11494", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator5", + "label":"Logical Operator5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "NOT", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11186", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator7", + "label":"Logical Operator7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "NOT", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11183#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11168#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11194#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11171#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11192#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11193#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11170#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11191#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11175#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11187#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11189#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11165#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11174#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11184#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11195#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11160#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11162#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11172#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11164#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11169#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11173#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11161#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11166#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11167#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11185#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11188#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11486#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11491#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11190#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11492#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11493#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11494#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11186#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11163#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11495#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png new file mode 100644 index 0000000..d93855a Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg similarity index 63% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg index 4907451..d0258a3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg @@ -1,173 +1,55 @@ - + - + - - - - - - - - - - - - - - - Activate mode only if the motor is at stand-still - - - - - - - - - - - - - - - - - - - This condition handles the mode change. The mode change - - - - - - - - from one to another is done via OPEN_MODE as follows: - - - - - - - - - afte new mode is requested, activate OPEN_MODE - - - - - - - - - wait for the motor to stop - - - - - - - - - activate the new mode - - - - - + - - + + - + - + - - 4 - - - - - - - - - - - - - - - - - - - - - - b_toTrqMod - - - - - - - - - - - - - - - - - - - - - - - - - + 3 - + - + - - + + - + b_toSpdMod @@ -179,91 +61,43 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_toOpen - - - - - - - - - - - - + + - + - + - + SPD_MODE - + - + - - + + - + uint8 @@ -275,443 +109,43 @@ - - + + - + - + - - VLT_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - + TRQ_MODE - + - + - - + + - + uint8 @@ -723,745 +157,43 @@ - - - - - - - - - - - - - - - - OPEN_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - SPD_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - TRQ_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + + - + - + - + 2 - + - + - - + + - + b_toActive @@ -1473,835 +205,37 @@ - - - + + + - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModPrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - OPEN_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_errFlag - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModReq - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModPrev - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + @@ -2316,22 +250,22 @@ - + - + - - + + - + boolean @@ -2343,30 +277,86 @@ - - - + + + - + + + + + + + + + + + + OPEN_MODE + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + - + - + - - + + - - + + + + + + + + + + @@ -2380,22 +370,22 @@ - + - + - - + + - + boolean @@ -2407,30 +397,1874 @@ - - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_toOpen + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + b_toTrqMod + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + VLT_MODE + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - - + + @@ -2440,22 +2274,22 @@ - + - - + + - + boolean - + @@ -2471,30 +2305,30 @@ - - + + - + - + - + - + - - + + @@ -2504,22 +2338,22 @@ - + - - + + - + boolean - + @@ -2535,94 +2369,30 @@ - - - + + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + @@ -2632,23 +2402,23 @@ - + - - + + - + boolean - - + + @@ -2661,754 +2431,490 @@ - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - + + - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3417,5 +2923,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json similarity index 67% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json index da479c3..9859713 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:3", "className":"Stateflow.State", - "icon":"WebViewIcon7", + "icon":"WebViewIcon8", "name":"ACTIVE", "label":"ACTIVE", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "HasOutputData", @@ -45,12 +45,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:28", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:28", "className":"Stateflow.State", - "icon":"WebViewIcon7", + "icon":"WebViewIcon8", "name":"VOLTAGE_MODE", "label":"VOLTAGE_MODE", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "HasOutputData", @@ -90,12 +90,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:6", "className":"Stateflow.State", - "icon":"WebViewIcon7", + "icon":"WebViewIcon8", "name":"SPEED_MODE", "label":"SPEED_MODE", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "HasOutputData", @@ -135,12 +135,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:4", "className":"Stateflow.State", - "icon":"WebViewIcon7", + "icon":"WebViewIcon8", "name":"TORQUE_MODE", "label":"TORQUE_MODE", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "HasOutputData", @@ -180,177 +180,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:30", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:32", "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 2, - "", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:9", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:31", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"[b_toTrqMod]", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[b_toTrqMod]", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:12", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 2, - "", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:33", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:32", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", + "icon":"WebViewIcon9", "name":"", "label":"[b_toSpdMod]", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "ExecutionOrder", @@ -378,12 +213,276 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:72", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[~b_toSpdMod]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[~b_toSpdMod]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:73", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toTrqMod || ... b_toSpdMod]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toTrqMod || ...\nb_toSpdMod]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:30", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 2, + "", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:9", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:71", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[~b_toTrqMod]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[~b_toTrqMod]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:33", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:12", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 2, + "", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:31", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toTrqMod]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toTrqMod]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:1", "className":"Stateflow.State", - "icon":"WebViewIcon7", + "icon":"WebViewIcon8", "name":"OPEN", "label":"OPEN", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "HasOutputData", @@ -423,45 +522,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:13", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:14", "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"[b_toActive]", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[b_toActive]", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:14", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", + "icon":"WebViewIcon9", "name":"", "label":"[b_toOpen]", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "ExecutionOrder", @@ -489,12 +555,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:2", "className":"Stateflow.Transition", - "icon":"WebViewIcon8", + "icon":"WebViewIcon9", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ "ExecutionOrder", @@ -520,5 +586,38 @@ ], "finder":[ ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:13", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toActive]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toActive]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] } ] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png new file mode 100644 index 0000000..c78bee2 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg similarity index 50% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg index a42502a..d59137e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg @@ -1,19 +1,19 @@ - + - + - + - - - + + + @@ -21,8 +21,8 @@ - - + + @@ -30,23 +30,23 @@ - + - + - + - + - + ACTIVE @@ -55,10 +55,10 @@ - + - + @@ -67,34 +67,31 @@ - + - - - - - - - - - - - - - + - + - + - - + + + + + + + + + + + @@ -102,75 +99,66 @@ - - - - - - - - - - + - + - + - + - + VOLTAGE_MODE - + - + - + - + entry: - + - + - + - + z_ctrlMod = VLT_MODE; - + - + @@ -178,15 +166,24 @@ - + - + - - + + + + + + + + + + + @@ -194,83 +191,86 @@ - - - - - - - - - - + - + - + - + - + SPEED_MODE - + - + - + - + entry: - + - + - + - + z_ctrlMod = SPD_MODE; - + - + + + + + + + + + + + + + - + @@ -278,7 +278,7 @@ - + @@ -300,7 +300,7 @@ - + @@ -308,7 +308,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -324,7 +324,7 @@ - + @@ -332,7 +332,7 @@ - + @@ -340,7 +340,7 @@ - + @@ -364,34 +364,53 @@ - + - - + + - + - - + + - + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + - - + + - - 2 + + 1 - + @@ -401,20 +420,39 @@ - + - - + + - + - + + + + + + + + + + + + + + + + + + [~b_toSpdMod] + + @@ -424,50 +462,286 @@ - + - - + + - + - - + + - - + + - - + + - - + + - - [b_toTrqMod] + + [b_toTrqMod || - - + + + + + + + - + + + + + + + ... + + + + + + + + + + + + + + + + b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [~b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + 1 @@ -478,222 +752,106 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - 1 - - - - - - - - - - + - - + + - + - + - - + + - + - + - + - + - - + + - + - - + + - + OPEN - - + + - + - - + + - + entry: - - + + - + - - + + - + z_ctrlMod = OPEN_MODE; - + - + @@ -703,75 +861,39 @@ - + - + - + - + - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - + - - + + - + - - + + - + [b_toOpen] - + @@ -781,14 +903,50 @@ - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + @@ -798,5 +956,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json index 55a997f..2319614 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json @@ -1,60 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9993", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Input Scaling [-1000,1000] → [min,max]

", - "label":"

Input Scaling [-1000,1000] → [min,max]

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

Input Scaling [-1000,1000] → [min,max]

", - "off", - "rich", - "auto", - "auto", - -1, - "auto", - "black", - "white", - "left", - "off", - "" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10003", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11272", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Final check if OPEN_MODE is requested

", "label":"

Final check if OPEN_MODE is requested

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Text", @@ -98,12 +49,197 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10449", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11273", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Input Scaling [-1000,1000] → [min,max]

", + "label":"

Input Scaling [-1000,1000] → [min,max]

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Input Scaling [-1000,1000] → [min,max]

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11253", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge1", + "label":"Merge1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "2", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11270", "className":"Simulink.Saturate", "icon":"WebViewIcon3", "name":"Saturation", "label":"Saturation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "UpperLimit", @@ -151,51 +287,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9987", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "2" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10002", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11251", "className":"Simulink.If", "icon":"WebViewIcon3", "name":"If2", "label":"If2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "NumInputs", @@ -233,51 +330,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10013", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge1", - "label":"Merge1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "2" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9985", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11249", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto7", "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "GotoTag", @@ -305,140 +363,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9983", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10014", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9980", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10015", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9984", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11248", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto6", "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "GotoTag", @@ -466,19 +396,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9978", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11243", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "r_inpTgtSca", + "local", "Tag" ], "tabs":[ @@ -492,17 +424,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9977", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11241", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "GotoTag", @@ -528,43 +460,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10000", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9999", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11245", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "GotoTag", @@ -572,7 +473,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "VqFinPrev", "local", "Tag" ], @@ -592,28 +493,55 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9986", - "className":"Simulink.If", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11240", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" + "GotoTag", + "IconDisplay" ], "values":[ - "1", - "u1 == CTRL_FOC", - "", - "on", - "-1", - "on" + "r_inpTgtScaRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11252", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "2", + "[]", + "off", + "[]" ], "tabs":[ "Parameter Attributes", @@ -621,7 +549,7 @@ ], "tabs_idx":[ 0, - 4 + 3 ] }, "viewer":{ @@ -630,25 +558,58 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Merge", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11244", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Default_Control_Type", - "label":"Default_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "name":"FOC_Control_Type", + "label":"FOC_Control_Type", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -660,6 +621,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -670,10 +632,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -683,7 +644,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -696,6 +657,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -705,21 +667,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -734,12 +693,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9992", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11242", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11271", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Port", @@ -814,85 +804,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9982", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10004", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10005", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11238", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "VqFinPrev", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -911,12 +835,282 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9956", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11250", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == CTRL_FOC", + "", + "on", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11211", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Mode", + "label":"Default_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11207", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Control_Type", + "label":"Default_Control_Type", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11247", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11205", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgt", "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Port", @@ -978,142 +1172,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9981", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Default_Mode", - "label":"Default_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10016", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11206", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Port", @@ -1175,12 +1239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9998", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11204", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlMod", "label":"z_ctrlMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Port", @@ -1242,210 +1306,136 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Control_Type", - "label":"FOC_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11236", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" + "VqFinPrev", + "Tag" ], "tabs":[ - "Main", - "Code Generation", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Open_Mode", - "label":"Open_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11237", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" + "r_inpTgt", + "Tag" ], "tabs":[ - "Main", - "Code Generation", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9955", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11235", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11239", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11203", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlModReq", "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Port", @@ -1507,43 +1497,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9979", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9954", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11202", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlTypSel", "label":"z_ctrlTypSel", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "Port", @@ -1605,12 +1564,45 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9957#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11246", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11215#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1656,12 +1648,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9980#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11241#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1707,12 +1699,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9978#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11238#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1758,12 +1750,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9986#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11250#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1809,12 +1801,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9954#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11202#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1860,12 +1852,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9979#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11239#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1911,12 +1903,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9988#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11207#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1962,12 +1954,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9977#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11237#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2013,12 +2005,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9956#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11205#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2064,12 +2056,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9987#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11252#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2115,12 +2107,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9986#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11250#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2166,12 +2158,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9981#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11242#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2217,12 +2209,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9955#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11203#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2268,12 +2260,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9998#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11204#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2319,12 +2311,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10000#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11235#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2370,12 +2362,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10002#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11251#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2421,12 +2413,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10005#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11236#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2472,12 +2464,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9937#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11254#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2523,12 +2515,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11211#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2574,12 +2566,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10013#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11253#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2625,12 +2617,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10015#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11240#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2676,12 +2668,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10002#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11251#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2727,12 +2719,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10016#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11206#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2778,12 +2770,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10449#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11270#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg index 868c076..4d28f5d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg @@ -9,21 +9,21 @@
- + - - - + + + - + - - Input Scaling [-1000,1000] → [min,max] + + Final check if OPEN_MODE is requested @@ -32,17 +32,17 @@ - - - + + + - + - - Final check if OPEN_MODE is requested + + Input Scaling [-1000,1000] → [min,max] @@ -51,7 +51,201 @@ - + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + r_inpTgtScaOpen + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Open_Mode + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -61,35 +255,35 @@ - + - + - + - + - + - + - + - + @@ -115,11 +309,11 @@ - + - + sfix16_En4 @@ -131,9 +325,316 @@ - + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == OPEN_MODE) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -141,20 +642,20 @@ - + - + - + - - + + @@ -179,11 +680,11 @@ - + - + sfix16_En4 @@ -195,812 +696,7 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == OPEN_MODE) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaRaw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - r_inpTgtScaDft - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default_Control_Type - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - + @@ -1010,11 +706,11 @@ - + - + [z_ctrlModReq] @@ -1033,139 +729,127 @@ - - - + + + - - + + + + + + + + - - + + - - [VqFinPrev] + + r_inpTgt + + + + + + + + z_ctrlModReq + + + + + + + + r_inpTgtScaFOC + + + + + + + + if { } - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - + + - - + + + + + + + + - - + + - - r_inpTgt + + FOC_Control_Type - + + + + + + + + + + + + + + + + action + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -1177,7 +861,13 @@ - + + + + + + + @@ -1187,11 +877,11 @@ - + - + [z_ctrlModReq] @@ -1209,11 +899,11 @@ - + - + uint8 @@ -1225,43 +915,218 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + - + - + - + - + - + r_inpTgtScaRaw - + - + r_inpTgtScaDft - + - + else { } @@ -1269,7 +1134,7 @@ - + @@ -1282,7 +1147,7 @@ - + @@ -1291,11 +1156,11 @@ - + - + Default_Mode @@ -1303,28 +1168,7 @@ - - - - - - - - - - - - - - - action - - - - - - - + @@ -1333,11 +1177,264 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + r_inpTgtScaDft + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default_Control_Type + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + sfix16_En4 @@ -1349,13 +1446,7 @@ - - - - - - - + @@ -1365,11 +1456,11 @@ - + - + 5 @@ -1387,11 +1478,11 @@ - + - + VqFinPrev @@ -1402,11 +1493,11 @@ - + - + sfix16_En4 @@ -1418,7 +1509,7 @@ - + @@ -1428,11 +1519,11 @@ - + - + 3 @@ -1450,11 +1541,11 @@ - + - + z_ctrlMod @@ -1465,11 +1556,11 @@ - + - + uint8 @@ -1481,257 +1572,91 @@ - - - + + + - - - - - - - - + + - - + + - - r_inpTgt - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgtScaFOC - - - - - - - - if { } + + [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC_Control_Type + + - - - - - - - + - + - + sfix16_En4 - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - + + + - - - - - - - - + + - - + + - - VqFinPrev - - - - - - - - r_inpTgtScaOpen - - - - - - - - if { } + + [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Open_Mode + + - - - - - - - - - - - - - - - - action - - - - - - - - - - - - + - - + + - + sfix16_En4 @@ -1743,64 +1668,43 @@ - - - - - - - - - + + + - - + + - - + + - - 2 + + [z_ctrlMod] - - - - - - - - - - - - - - - - - z_ctrlModReq + + - + - - + + - + uint8 @@ -1812,7 +1716,7 @@ - + @@ -1822,11 +1726,11 @@ - + - + [z_ctrlTypSel] @@ -1844,11 +1748,11 @@ - + - + uint8 @@ -1860,7 +1764,70 @@ - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + @@ -1870,11 +1837,11 @@ - + - + 1 @@ -1892,11 +1859,11 @@ - + - + z_ctrlTypSel @@ -1907,11 +1874,11 @@ - + - + uint8 @@ -1921,7 +1888,40 @@ - + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + @@ -1935,7 +1935,7 @@ - + @@ -1949,7 +1949,7 @@ - + @@ -1963,7 +1963,7 @@ - + @@ -1977,7 +1977,7 @@ - + @@ -1991,7 +1991,7 @@ - + @@ -2005,7 +2005,7 @@ - + @@ -2019,7 +2019,7 @@ - + @@ -2033,7 +2033,7 @@ - + @@ -2047,7 +2047,7 @@ - + @@ -2061,7 +2061,7 @@ - + @@ -2075,7 +2075,7 @@ - + @@ -2089,7 +2089,7 @@ - + @@ -2103,7 +2103,7 @@ - + @@ -2117,7 +2117,7 @@ - + @@ -2131,7 +2131,7 @@ - + @@ -2145,7 +2145,7 @@ - + @@ -2159,7 +2159,7 @@ - + @@ -2173,7 +2173,7 @@ - + @@ -2187,7 +2187,7 @@ - + @@ -2201,7 +2201,7 @@ - + @@ -2215,7 +2215,7 @@ - + @@ -2229,7 +2229,7 @@ - + @@ -2243,7 +2243,7 @@ - + @@ -2259,5 +2259,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json index 20ed587..09b2ded 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9991", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11210", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtScaDft", "label":"r_inpTgtScaDft", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11207", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9990", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11209", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11207", "inspector":{ "params":[ "InitializeStates", @@ -111,12 +111,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9989", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11208", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgt", "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11207", "inspector":{ "params":[ "Port", @@ -178,12 +178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9989#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11208#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11207", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg index a3e198b..df6afdb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -170,7 +170,7 @@ - + @@ -186,5 +186,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json index 18304b1..d17f60a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json @@ -1,42 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10009", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10012", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11214", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtScaDft", "label":"r_inpTgtScaDft", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", "inspector":{ "params":[ "Port", @@ -111,12 +80,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10008", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11213", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11212", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtScaRaw", "label":"r_inpTgtScaRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", "inspector":{ "params":[ "Port", @@ -178,12 +178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10008#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11212#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg index d06e4bc..6354934 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg @@ -9,59 +9,11 @@ - + - - - - - - - - - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -71,11 +23,11 @@ - + - + 1 @@ -93,11 +45,11 @@ - + - + r_inpTgtScaDft @@ -109,7 +61,55 @@ - + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + @@ -170,7 +170,7 @@ - + @@ -186,5 +186,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json index 4a13ad7..257140e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9976", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11234", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtScaFOC", "label":"r_inpTgtScaFOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9975", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11232", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"n_max", - "label":"n_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "name":"i_max", + "label":"i_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Value", @@ -98,7 +98,7 @@ "FramePeriod" ], "values":[ - "n_max", + "i_max", "on", "inf", "[]", @@ -129,12 +129,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9971", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11230", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant", + "label":"constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "1000", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11229", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Vd_max", "label":"Vd_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Value", @@ -178,305 +227,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9969", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux", - "label":"Mux", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "4", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9968", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9966", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaFOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9970", - "className":"Simulink.Selector", - "icon":"WebViewIcon3", - "name":"Selector", - "label":"Selector", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "NumberOfDimensions", - "IndexMode", - "IndexOptionArray", - "IndexParamArray", - "OutputSizeArray", - "InputPortWidth", - "SampleTime", - "IndexOptions", - "NumberOfDimensions", - "IndexMode", - "IndexOptionArray", - "IndexParamArray", - "OutputSizeArray", - "InputPortWidth", - "SampleTime", - "IndexOptions", - "NumberOfDimensions", - "IndexMode", - "IndexOptionArray", - "IndexParamArray", - "OutputSizeArray", - "InputPortWidth", - "SampleTime", - "IndexOptions", - "Indices", - "OutputSizes" - ], - "values":[ - "1", - "Zero-based", - [ - "Index vector (port)" - ], - [ - "[1 3]" - ], - [ - "1" - ], - "4", - "-1", - "Index vector (port)", - "1", - "Zero-based", - [ - "Index vector (port)" - ], - [ - "[1 3]" - ], - [ - "1" - ], - "4", - "-1", - "Index vector (port)", - "1", - "Zero-based", - [ - "Index vector (port)" - ], - [ - "[1 3]" - ], - [ - "1" - ], - "4", - "-1", - "Index vector (port)", - "[1 3]", - "1" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 24 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Selector", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9965", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9964", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9967", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9973", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11231", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"constant1", "label":"constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Value", @@ -520,12 +276,304 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9962", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11228", + "className":"Simulink.Selector", + "icon":"WebViewIcon3", + "name":"Selector", + "label":"Selector", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "IndexMode", + "IndexOptionArray", + "IndexOptions", + "IndexParamArray", + "Indices", + "InputPortWidth", + "NumberOfDimensions", + "OutputSizeArray", + "OutputSizes", + "SampleTime" + ], + "values":[ + "Zero-based", + [ + "Index vector (port)" + ], + "Index vector (port)", + [ + "[1 3]" + ], + "[1 3]", + "4", + "1", + [ + "1" + ], + "1", + "-1" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Selector", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11226", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11224", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaFOC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11222", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11221", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaFOC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11223", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11227", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux", + "label":"Mux", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "4", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11233", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_max", + "label":"n_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11220", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide4", "label":"Divide4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Inputs", @@ -577,20 +625,77 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9963", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11219", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "r_inpTgtScaFOC", - "Tag" + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11218", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" ], "tabs":[ "Parameter Attributes" @@ -603,17 +708,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9959", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11217", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlModReq", "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Port", @@ -675,51 +780,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9961", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11225", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "z_ctrlModReq", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -727,66 +808,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9974", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "i_max", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9958", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11216", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgt", "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "Port", @@ -848,92 +880,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9960", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9972", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant", - "label":"constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1000", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9958#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11216#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -979,12 +931,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9963#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11221#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1030,12 +982,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9959#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11217#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1081,12 +1033,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9972#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11230#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1132,12 +1084,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9970#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11228#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1183,12 +1135,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9973#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11231#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1234,12 +1186,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9974#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11232#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1285,12 +1237,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9971#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11229#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1336,12 +1288,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9969#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11227#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1387,12 +1339,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9975#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11233#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1438,12 +1390,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9965#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11223#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1489,12 +1441,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9962#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11220#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1540,12 +1492,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9961#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11219#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1591,12 +1543,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9964#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11222#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg index a9442c9..16d548e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,11 +61,11 @@ - - + + - + @@ -75,44 +75,44 @@ - - n_max + + i_max - + - - + + - + - - n_max + + i_max - + - + - + sfix16_En4 @@ -124,7 +124,55 @@ - + + + + + + + + + + + + + + + + 1000 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -134,11 +182,11 @@ - + - + Vd_max @@ -156,11 +204,11 @@ - + - + Vd_max @@ -171,11 +219,11 @@ - + - + sfix16_En4 @@ -187,43 +235,43 @@ - - - + + + - - + + - - + + - - + + 0 - - + + - + - - + + - + sfix16_En4 @@ -235,7 +283,79 @@ - + + + + + + + + + + + + + + + + U + + + + + + + + Idx1 + + + + + + + + 0 + + + + + + + + Y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -245,11 +365,11 @@ - + - + [r_inpTgt] @@ -268,7 +388,7 @@ - + @@ -278,11 +398,11 @@ - + - + [r_inpTgtScaFOC] @@ -301,127 +421,7 @@ - - - - - - - - - - - - - - - - U - - - - - - - - Idx1 - - - - - - - - 0 - - - - - - - - Y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - + @@ -469,76 +469,43 @@ - - - + + + - - + + - + - - [z_ctrlModReq] + + [r_inpTgtScaFOC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - + + - + - - + + - + sfix16_En4 @@ -550,9 +517,168 @@ - + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -560,35 +686,35 @@ - + - + - + - + - + - + - + - + @@ -607,11 +733,11 @@ - + - + ufix16_En12 @@ -623,140 +749,29 @@ - - - - - - - - - - - - - - - - [r_inpTgtScaFOC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModReq - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - + - + - - - - - - - - + + + + + + + + @@ -774,11 +789,11 @@ - + - + sfix16_En4 @@ -790,135 +805,9 @@ - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -926,11 +815,11 @@ - + - + if { } @@ -948,11 +837,11 @@ - + - + Action Port @@ -964,43 +853,154 @@ - - - + + + - - + + - - + + - - 1000 + + 2 - - + + + + + + + + + + + + + + + + + z_ctrlModReq - + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + - + - + sfix16_En4 @@ -1010,7 +1010,7 @@ - + @@ -1024,7 +1024,7 @@ - + @@ -1038,7 +1038,7 @@ - + @@ -1052,7 +1052,7 @@ - + @@ -1066,7 +1066,7 @@ - + @@ -1080,7 +1080,7 @@ - + @@ -1094,7 +1094,7 @@ - + @@ -1108,7 +1108,7 @@ - + @@ -1122,7 +1122,7 @@ - + @@ -1136,7 +1136,7 @@ - + @@ -1150,7 +1150,7 @@ - + @@ -1164,7 +1164,7 @@ - + @@ -1178,7 +1178,7 @@ - + @@ -1192,7 +1192,7 @@ - + @@ -1208,5 +1208,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json index 33d77a4..b75a218 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9952", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11269", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

In case of OPEN_MODE request the input target command will be reduced to 0 with a predefined rate.

", "label":"

In case of OPEN_MODE request the input target command will be reduced to 0 with a predefined rate.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "Text", @@ -49,12 +49,224 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9951", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", + "className":"Rising edge init", + "icon":"WebViewIcon4", + "name":"rising_edge_init", + "label":"rising_edge_init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Rising edge init" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11264", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11263", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaOpen", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11266", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"dV_openRate", + "label":"dV_openRate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "dV_openRate", + "on", + "inf", + "[]", + "[]", + "fixdt(1,28,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11268", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtScaOpen", "label":"r_inpTgtScaOpen", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "Port", @@ -129,41 +341,39 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9949", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11259", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"dV_openRate", - "label":"dV_openRate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "dV_openRate", - "on", - "inf", "[]", "[]", - "fixdt(1,28,16)", + "fixdt(1,16,4)", "off", - "inf" + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 3, 7 ] }, @@ -173,116 +383,185 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", - "className":"Rising edge init", - "icon":"WebViewIcon4", - "name":"rising_edge_init", - "label":"rising_edge_init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11258", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", + "[]", + "[]", + "fixdt(1,28,16)", "off", - "Auto", - "", - "", + "Real World Value (RWV)", + "Floor", "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "on", - "on", - "off", - "" + "-1" ], "tabs":[ - "Main", - "Code Generation", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 5, - 6 + 7 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", - "masktype":"Rising edge init" + "blocktype":"DataTypeConversion", + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11262", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain3", + "label":"Gain3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11260", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11256", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Rate_Limiter", "label":"Rate_Limiter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "ShowPortLabels", @@ -370,12 +649,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9944", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11261", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "GotoTag", @@ -401,342 +680,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9942", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "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:9945", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain3", - "label":"Gain3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9947", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10006", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaOpen", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9941", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "fixdt(1,28,16)", - "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:9943", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9940", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant23", - "label":"Constant23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9939", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9938", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11255", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "Port", @@ -798,12 +747,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9938#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11257", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant23", + "label":"Constant23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11255#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +847,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9940#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11257#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +898,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +949,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9945#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11262#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1002,12 +1000,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9949#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11266#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1053,12 +1051,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9944#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11259#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1104,12 +1102,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11261#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1155,12 +1153,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9943#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1206,12 +1204,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9941#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11260#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1257,12 +1255,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9942#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11258#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png new file mode 100644 index 0000000..4d6661c Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg similarity index 80% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg index 3ae3c57..c52262f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg @@ -9,11 +9,11 @@
- + - + @@ -40,120 +40,9 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaOpen - - - - - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - + - + @@ -161,43 +50,43 @@ - + - + - + - + - + - + - + - + - + - + @@ -215,11 +104,11 @@ - + - + boolean @@ -227,29 +116,29 @@ - + - + - + - + - + - + @@ -263,155 +152,29 @@ - - - + + + - - + + - - + + - - u - - - - - - - - initVal - - - - - - - - init - - - - - - - - inc - - - - - - - - dec - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - + + [VqFinPrev] - - - - - - - - - - - - - - - - - Rate_Limiter - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -422,44 +185,29 @@ - - - + + + - - + + - - + + - + [r_inpTgtScaOpen] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -470,7 +218,118 @@ - + + + + + + + + + + + + + + + + dV_openRate + + + + + + + + + + + + + + + + + + + + + + dV_openRate + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaOpen + + + + + + + + + + + @@ -480,20 +339,20 @@ - + - + - + - - + + @@ -518,11 +377,11 @@ - + - + sfix16_En4 @@ -534,121 +393,7 @@ - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaOpen] - - - - - - - - - - - - - - - - - - + @@ -658,20 +403,20 @@ - + - + - + - - + + @@ -696,11 +441,11 @@ - + - + sfix28_En16 @@ -712,7 +457,55 @@ - + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + @@ -722,11 +515,11 @@ - + - + [VqFinPrev] @@ -744,11 +537,11 @@ - + - + sfix16_En4 @@ -760,57 +553,9 @@ - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - + - + @@ -818,11 +563,11 @@ - + - + if { } @@ -840,11 +585,11 @@ - + - + Action Port @@ -856,7 +601,214 @@ - + + + + + + + + + + + + + + + + u + + + + + + + + initVal + + + + + + + + init + + + + + + + + inc + + + + + + + + dec + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rate_Limiter + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaOpen] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -866,11 +818,11 @@ - + - + 1 @@ -888,11 +840,11 @@ - + - + VqFinPrev @@ -903,11 +855,11 @@ - + - + sfix16_En4 @@ -917,7 +869,55 @@ - + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + @@ -931,7 +931,7 @@ - + @@ -945,7 +945,7 @@ - + @@ -959,7 +959,7 @@ - + @@ -973,7 +973,7 @@ - + @@ -1007,63 +1007,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1077,7 +1021,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json index 41db5b6..220dd98 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2337", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2337", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2335", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2335", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"initVal", "label":"initVal", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "Port", @@ -124,12 +124,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2339", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2339", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "Port", @@ -204,12 +204,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2334", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2334", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "Port", @@ -271,12 +271,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2340", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2340", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"init", "label":"init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "Port", @@ -338,12 +338,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2341", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2341", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "Criteria", @@ -395,12 +395,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2512", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2512", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "InitialCondition", @@ -445,12 +445,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2335#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2335#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -496,12 +496,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2334#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2334#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -547,12 +547,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2341#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2341#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -598,12 +598,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2340#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2340#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -649,12 +649,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2337#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2337#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -700,12 +700,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2512#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2512#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg index a15bb81..a9190ff 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg @@ -9,13 +9,13 @@ - + - + - + @@ -205,7 +205,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -379,7 +379,7 @@ - + @@ -442,9 +442,9 @@ - + - + @@ -634,7 +634,7 @@ - + @@ -727,7 +727,7 @@ - + @@ -761,7 +761,7 @@ - + @@ -775,7 +775,7 @@ - + @@ -789,7 +789,7 @@ - + @@ -823,7 +823,7 @@ - + @@ -837,7 +837,7 @@ - + @@ -853,5 +853,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json new file mode 100644 index 0000000..4ec5467 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "OutMin", + "OutMax", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "OutMin", + "OutMax", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "PropDataTypeMode", + "PropDataType", + "IfRefDouble", + "IfRefSingle", + "IsSigned", + "NumBitsBase", + "NumBitsMult", + "NumBitsAdd", + "NumBitsAllowFinal", + "PropScalingMode", + "PropScaling", + "ValuesUsedBestPrec", + "SlopeBase", + "SlopeMult", + "SlopeAdd", + "BiasBase", + "BiasMult", + "BiasAdd" + ], + "values":[ + "Inherit via propagation rule", + "fixdt(1, 16)", + "double", + "single", + "IsSigned1", + "NumBits1", + "1", + "0", + "1:128", + "Inherit via propagation rule", + "2^-10", + "[5 -7]", + "Slope1", + "1", + "0", + "Bias1", + "1", + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Data Type Propagation" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "NumInputPorts" + ], + "values":[ + "2" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeDuplicate", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg index 6784142..3546f04 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,7 +524,7 @@ - + @@ -603,7 +603,7 @@ - + @@ -652,7 +652,7 @@ - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1009,22 +1009,22 @@ - - - + + + - + @@ -1058,7 +1058,7 @@ - + @@ -1112,7 +1112,7 @@ - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json index 05c3986..f0d0530 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2353", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2353", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Rate Limiter

Note: The sample time must be included in the Increment and Decrement values.

", "label":"

Rate Limiter

Note: The sample time must be included in the Increment and Decrement values.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2343", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2343", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "IconShape", @@ -108,12 +108,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2346", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2346", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "IconShape", @@ -167,12 +167,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "OutMin", @@ -206,280 +206,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2358", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"dec", - "label":"dec", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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:9948:2356", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"init", - "label":"init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "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:9948:2357", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"inc", - "label":"inc", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:9948:2355", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"initVal", - "label":"initVal", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "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:9948:2360", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2360", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "Port", @@ -554,12 +286,309 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2359", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2358", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"dec", + "label":"dec", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2357", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"inc", + "label":"inc", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2355", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"initVal", + "label":"initVal", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2356", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Delay_Init1", + "label":"Delay_Init1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2359", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "Port", @@ -621,41 +650,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Delay_Init1", - "label":"Delay_Init1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2356#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2356#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -701,12 +701,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -752,12 +752,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2359#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2359#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -803,12 +803,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2357#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2357#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -854,12 +854,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2343#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2343#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -905,12 +905,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2346#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2346#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -956,12 +956,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2358#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2358#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1007,12 +1007,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2355#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2355#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1058,12 +1058,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg index 11847e9..3033206 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg @@ -9,11 +9,11 @@
- + - + @@ -48,7 +48,7 @@ - + @@ -120,7 +120,7 @@ - + @@ -184,9 +184,9 @@ - + - + @@ -296,259 +296,7 @@ - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - dec - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - init - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - initVal - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - + @@ -558,11 +306,11 @@ - + - + 1 @@ -580,11 +328,11 @@ - + - + y @@ -596,58 +344,58 @@ - - + + - + - + - - 1 + + 5 - + - - + + - - + + - - u + + dec - + - - + + - + sfix28_En16 @@ -659,9 +407,198 @@ - + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + initVal + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + boolean + + + + + + + + + + + - + @@ -669,59 +606,59 @@ - + - + u - + - + initVal - + - + init - + - + y - + - + 1 - + - + z - + - + @@ -739,11 +676,11 @@ - + - + sfix28_En16 @@ -751,29 +688,29 @@ - + - + - + - + - + - + @@ -785,7 +722,70 @@ - + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + @@ -799,7 +799,7 @@ - + @@ -833,7 +833,7 @@ - + @@ -847,7 +847,7 @@ - + @@ -861,7 +861,7 @@ - + @@ -895,7 +895,7 @@ - + @@ -909,7 +909,7 @@ - + @@ -923,7 +923,7 @@ - + @@ -937,7 +937,7 @@ - + @@ -953,5 +953,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json index dde0dea..7b9f64e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2364", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2364", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2363", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2363", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2362", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2362", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant", "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", "inspector":{ "params":[ "Value", @@ -179,12 +179,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2363#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2363#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", "inspector":{ "params":[ "SignalNameFromLabel", @@ -230,12 +230,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2362#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2362#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg index 8176068..dddc6cb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,43 +120,43 @@ - - - - - - - - - - - boolean - - - - - + - + Ini=1 + + + + + + + + + + + boolean + + + + - + @@ -202,7 +202,7 @@ - + @@ -216,7 +216,7 @@ - + @@ -232,5 +232,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json new file mode 100644 index 0000000..8fab5f3 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json @@ -0,0 +1,1323 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11399", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Electrical angle calculation

", + "label":"

Electrical angle calculation

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Electrical angle calculation

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11437", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Shift angle with -30 deg to match the sin, cos look-up tables.

", + "label":"

Shift angle with -30 deg to match the sin, cos look-up tables.

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Shift angle with -30 deg to match the sin, cos look-up tables.

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11358", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_mechAngle", + "label":"a_mechAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11381", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11412", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11419", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "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":"BLDCmotor_FOC_R2017b_fixdt:11375", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11411", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11438", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion20", + "label":"Data Type Conversion20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "fixdt(1,16,6)", + "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":"BLDCmotor_FOC_R2017b_fixdt:11409", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_elecPeriod", + "label":"a_elecPeriod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "a_elecPeriod", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11418", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant2", + "label":"Constant2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "30", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11460", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11406", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide", + "label":"Divide", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11398", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "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", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11410", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_polePairs", + "label":"n_polePairs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_polePairs", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11375#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11358#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11410#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11418#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11411#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11406#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11419#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11409#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11438#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png new file mode 100644 index 0000000..cc13c9c Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg new file mode 100644 index 0000000..c3f3119 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg @@ -0,0 +1,1006 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Electrical angle calculation + + + + + + + + + + + + + + + + + + + Shift angle with -30 deg to match + + + + + + + + the sin, cos look-up tables. + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + div + + + + + + + + rem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecPeriod + + + + + + + + + + + + + + + + + + + + + + a_elecPeriod + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 30 + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + + + + + + + + + + + + n_polePairs + + + + + + + + + + + + + + + + + + + + + + n_polePairs + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json new file mode 100644 index 0000000..d65f680 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json @@ -0,0 +1,693 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:576", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", + "label":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Modulo implementation: rem = num - div*(num/div)

\n

Note: Division and multiplier has the setting 'Floor'

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:572", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,0)", + "off", + "Floor", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:573", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Floor", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:570", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"num", + "label":"num", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:571", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"div", + "label":"div", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:575", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"rem", + "label":"rem", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "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":"BLDCmotor_FOC_R2017b_fixdt:11408:2906", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "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":"BLDCmotor_FOC_R2017b_fixdt:11408:572#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:571#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:2906#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:570#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:573#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png new file mode 100644 index 0000000..b84c199 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg new file mode 100644 index 0000000..c2a2b02 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg @@ -0,0 +1,523 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Modulo implementation: + rem = num - div*(num/div) + + + + + + + + Note + : Division and multiplier has the setting 'Floor' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + div + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + rem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json index 0cd9134..3dc831a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9309", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9309", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

This is because the measured currents are flipped.

", "label":"

This is because the measured currents are flipped.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9308", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9308", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Hall_A

Hall_B

Hall_C

vec_hallToPos

0

0

0

0

1

1

1

1

0

0

1

1

0

0

1

1

0

1

0

1

0

1

0

1

0

2

0

1

4

3

5

0

", "label":"

Hall_A

Hall_B

Hall_C

vec_hallToPos

0

0

0

0

1

1

1

1

0

0

1

1

0

0

1

1

0

1

0

1

0

1

0

1

0

2

0

1

4

3

5

0

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9307", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9307", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

The rotor position is implemented based on the following table:

", "label":"

The rotor position is implemented based on the following table:

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Text", @@ -147,12 +147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10192", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10192", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Task1: Diagnostics + Control_Manager
Task2: Field Weakening + Limitations
Task3: PI Controllers in FOC

", "label":"

Task1: Diagnostics + Control_Manager
Task2: Field Weakening + Limitations
Task3: PI Controllers in FOC

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Text", @@ -196,12 +196,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9303", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9305", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -229,7 +229,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "8", "Port number", "[]", "[]", @@ -242,9 +242,9 @@ "auto", "off", "off", - "[]", + "0", "off", - "held", + "reset", "off", "0", "", @@ -276,12 +276,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9302", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"z_errCode", + "label":"z_errCode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -309,7 +309,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "4", "Port number", "[]", "[]", @@ -322,9 +322,9 @@ "auto", "off", "off", - "[]", + "0", "off", - "held", + "reset", "off", "0", "", @@ -356,12 +356,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9299", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"DC_phaA", "label":"DC_phaA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -436,12 +436,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10064", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9298", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "z_ctrlTypSel", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10064", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"b_fieldWeakEna", "label":"b_fieldWeakEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Value", @@ -485,12 +534,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11487", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"b_diagEna", - "label":"b_diagEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Value", @@ -503,7 +552,7 @@ "FramePeriod" ], "values":[ - "b_diagEna", + "b_cruiseCtrlEna", "on", "inf", "[]", @@ -534,39 +583,109 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441", - "className":"Simulink.Terminator", - "icon":"WebViewIcon3", - "name":"Terminator", - "label":"Terminator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10164", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Task_Scheduler", + "label":"Task_Scheduler", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ + "Main", + "-Other" ], "tabs_idx":[ + 0, + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Terminator", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10751", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10751", "className":"Simulink.Saturate", "icon":"WebViewIcon3", "name":"Saturation1", "label":"Saturation1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "UpperLimit", @@ -614,12 +733,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10749", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10749", "className":"Simulink.Saturate", "icon":"WebViewIcon3", "name":"Saturation", "label":"Saturation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "UpperLimit", @@ -667,12 +786,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10156", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10156", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator1", "label":"Relational Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Operator", @@ -712,12 +831,269 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Model_Info", + "label":"Model_Info", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9306", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":[ + "9", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9304", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9292", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Implemented_control_methods", "label":"Implemented_control_methods", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", @@ -805,98 +1181,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10139", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If3", - "label":"If3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 == CTRL_FOC", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9282", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10158", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -904,7 +1194,7 @@ "IconDisplay" ], "values":[ - "z_errCode", + "r_fieldWeak", "local", "Tag" ], @@ -924,12 +1214,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9289", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9288", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -937,7 +1227,7 @@ "IconDisplay" ], "values":[ - "b_motEna", + "n_mot", "local", "Tag" ], @@ -957,12 +1247,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9287", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9287", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto26", "label":"Goto26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -990,12 +1280,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9286", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9286", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto25", "label":"Goto25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1023,12 +1313,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9283", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11488", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1036,7 +1326,7 @@ "IconDisplay" ], "values":[ - "z_pos", + "b_cruiseCtrlEna", "local", "Tag" ], @@ -1056,12 +1346,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9272", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11349", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1069,7 +1359,7 @@ "IconDisplay" ], "values":[ - "r_devSignal2", + "a_mechAngle", "local", "Tag" ], @@ -1089,206 +1379,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9275", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9456", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hallA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9278", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10189", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10189", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto20", "label":"Goto20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1316,74 +1412,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:11019", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9276", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9272", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1391,7 +1425,7 @@ "IconDisplay" ], "values":[ - "i_phaBC", + "id", "local", "Tag" ], @@ -1411,175 +1445,86 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10692", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10188", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From39", - "label":"From39", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task1", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10187", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task2", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9278", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_devSignal2", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10355", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task2", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10259", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task2", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From35", - "label":"From35", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9934", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dir", "local", "Tag" ], @@ -1599,43 +1544,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "DC_phaC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9271", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9277", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1643,7 +1557,7 @@ "IconDisplay" ], "values":[ - "r_devSignal1", + "z_ctrlModReq", "local", "Tag" ], @@ -1663,12 +1577,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9303", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"DC_phaB", - "label":"DC_phaB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -1696,7 +1610,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "5", "Port number", "[]", "[]", @@ -1743,105 +1657,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9930", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hallC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10188", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9456", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1849,7 +1670,7 @@ "IconDisplay" ], "values":[ - "task1", + "VqFinPrev", "local", "Tag" ], @@ -1869,19 +1690,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10161", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9271", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9241", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "n_motAbs", + "n_mot", "Tag" ], "tabs":[ @@ -1900,19 +1754,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10160", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9263", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgt", + "iq", "Tag" ], "tabs":[ @@ -1931,19 +1785,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10027", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9262", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "VqFinPrev", + "id", "Tag" ], "tabs":[ @@ -1962,12 +1816,179 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9285", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11489", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11019", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From40", + "label":"From40", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10258", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If4", + "label":"If4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10259", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task2", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9268", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From35", + "label":"From35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_mot", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9285", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto24", "label":"Goto24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -1995,1272 +2016,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9935", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9448", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_errCode", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaBC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9720", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10191", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task1", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9437", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10025", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_devSignal1", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F05_Field_Oriented_Control", - "label":"F05_Field_Oriented_Control", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10257", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task1", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10155", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9281", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hallB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F04_Field_Weakening", - "label":"F04_Field_Weakening", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10159", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F02_Diagnostics", - "label":"F02_Diagnostics", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel1", - "label":"z_ctrlTypSel1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "z_ctrlTypSel", - "on", - "inf", - "[]", - "[]", - "uint8", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F06_Control_Type_Management", - "label":"F06_Control_Type_Management", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9305", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_devSignal1", - "label":"r_devSignal1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "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":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:10356", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task3", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9267", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From34", "label":"From34", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -3286,581 +2047,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_Estimations", - "label":"F01_Estimations", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion7", - "label":"Data Type Conversion7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int16", - "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:8535", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_Control_Mode_Manager", - "label":"F03_Control_Mode_Manager", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int16", - "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:9269", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10258", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If4", - "label":"If4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion4", - "label":"Data Type Conversion4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int16", - "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:9306", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_devSignal2", - "label":"r_devSignal2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "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":[ - "8", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8208", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"i_phaBC", - "label":"i_phaBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "8", - "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:9244", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9265", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"From32", + "label":"From32", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "i_phaAB", + "DC_phaB", "Tag" ], "tabs":[ @@ -3879,435 +2078,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9288", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"i_phaAB", - "label":"i_phaAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "7", - "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:9931", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10158", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_hallC", - "label":"b_hallC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "6", - "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:9242", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Model_Info", - "label":"Model_Info", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9264", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From31", "label":"From31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -4333,61 +2109,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9260", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"b_hallB", - "label":"b_hallB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "z_pos", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4395,17 +2135,79 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9284", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9930", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9261", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hallC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9284", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto9", "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -4433,12 +2235,1906 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10065", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9259", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hallB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10257", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task1", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10160", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10159", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11305", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9274", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11304", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9266", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From33", + "label":"From33", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "DC_phaC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9935", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9249", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9280", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9289", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto28", + "label":"Goto28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9297", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_diagEna", + "label":"b_diagEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "b_diagEna", + "on", + "inf", + "[]", + "[]", + "boolean", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9244", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11303", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9252", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hallA", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9275", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10191", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task1", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9448", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9437", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9418", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9276", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9441", + "className":"Simulink.Terminator", + "icon":"WebViewIcon3", + "name":"Terminator", + "label":"Terminator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + ], + "values":[ + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Terminator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11351", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9269", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F06_Control_Type_Management", + "label":"F06_Control_Type_Management", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9301", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"DC_phaC", + "label":"DC_phaC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9290", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == CTRL_FOC", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11518", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From43", + "label":"From43", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F05_Field_Oriented_Control", + "label":"F05_Field_Oriented_Control", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9931", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10066", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F04_Field_Weakening", + "label":"F04_Field_Weakening", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9291", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11306", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11302", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9282", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_errCode", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9240", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10155", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_Control_Mode_Manager", + "label":"F03_Control_Mode_Manager", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9720", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11485", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From41", + "label":"From41", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9251", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_Estimations", + "label":"F01_Estimations", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F02_Diagnostics", + "label":"F02_Diagnostics", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10161", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10065", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"Data Type Conversion2", "label":"Data Type Conversion2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "OutMin", @@ -4457,7 +4153,7 @@ "off", "Real World Value (RWV)", "Floor", - "on", + "off", "-1" ], "tabs":[ @@ -4480,118 +4176,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Task_Scheduler", - "label":"Task_Scheduler", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9270", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From32", - "label":"From32", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "DC_phaB", + "b_hallA", + "local", "Tag" ], "tabs":[ @@ -4605,65 +4204,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8210", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "2", - "Port number", "[]", "[]", - "Inherit: auto", + "int16", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Real World Value (RWV)", + "Floor", "off", - "", - "on", - "off", - "off", - "off" + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 7 ] }, "viewer":{ @@ -4672,17 +4251,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10154", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10154", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"CTRL_COMM2", "label":"CTRL_COMM2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Value", @@ -4726,73 +4305,36 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9302", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10139", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"z_errCode", - "label":"z_errCode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"If3", + "label":"If3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", + "1", + "u1 ~= 0", "", - [ - ], - "Dialog", - "Auto", - "off" + "off", + "-1", + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -4801,17 +4343,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9301", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11556", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"DC_phaC", - "label":"DC_phaC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"n_motHiRes", + "label":"n_motHiRes", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -4839,7 +4381,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "6", "Port number", "[]", "[]", @@ -4886,12 +4428,172 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9270", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8208", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaBC", + "label":"i_phaBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10355", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task2", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10692", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From39", + "label":"From39", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9245", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9283", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -4899,7 +4601,7 @@ "IconDisplay" ], "values":[ - "b_hallA", + "z_pos", "local", "Tag" ], @@ -4919,12 +4621,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8207", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"i_phaAB", + "label":"i_phaAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -4946,7 +4648,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "7", "Port number", "[]", "[]", @@ -4986,157 +4688,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8215", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion5", - "label":"Data Type Conversion5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int16", - "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:8204", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_hallA ", - "label":"b_hallA ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:10026", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8209", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_DCLink", "label":"i_DCLink", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -5198,12 +4755,239 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10187", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9253", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10356", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From38", + "label":"From38", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task3", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9250", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8205", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_hallB", + "label":"b_hallB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11348", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_mechAngle", + "label":"a_mechAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "10", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9281", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", @@ -5211,7 +4995,7 @@ "IconDisplay" ], "values":[ - "task2", + "b_hallB", "local", "Tag" ], @@ -5231,19 +5015,88 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8204", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"b_hallA ", + "label":"b_hallA ", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9934", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_hallB", + "z_dir", + "local", "Tag" ], "tabs":[ @@ -5257,17 +5110,84 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8202", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8201", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_motEna", "label":"b_motEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Port", @@ -5329,38 +5249,93 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10255", - "className":"Simulink.Logic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9279", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Logical Operator2", - "label":"Logical Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "AND", - "2", - "rectangular", + "z_ctrlTypSel", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8206", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_hallC", + "label":"b_hallC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "boolean", - "-1" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 5 + 2, + 11 ] }, "viewer":{ @@ -5369,17 +5344,195 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Logic", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10157", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9300", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"DC_phaB", + "label":"DC_phaB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9258", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCode", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8203", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10157", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "Operator", @@ -5419,12 +5572,159 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10255", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator2", + "label":"Logical Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9268#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9290#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9251#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5470,12 +5770,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9260#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5521,12 +5821,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8215#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:5", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5572,12 +5872,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9258#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5623,12 +5923,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9291#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5674,12 +5974,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9249#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5725,12 +6025,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9265#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5776,12 +6076,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9250#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5827,12 +6127,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9240#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5878,12 +6178,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8210#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5929,12 +6229,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9244#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5980,12 +6280,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9245#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6031,12 +6331,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9241#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6082,12 +6382,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9266#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6133,12 +6433,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6184,12 +6484,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8202#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6235,12 +6535,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6286,12 +6586,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6337,12 +6637,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6388,12 +6688,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:6", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6439,12 +6739,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9259#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6490,12 +6790,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6541,12 +6841,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6592,12 +6892,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8205#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6643,12 +6943,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:8", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6694,12 +6994,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8469#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6745,12 +7045,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8201#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6796,12 +7096,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8206#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6847,12 +7147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9253#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6898,12 +7198,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9264#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6949,12 +7249,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7000,12 +7300,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9252#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7051,12 +7351,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8204#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7102,12 +7402,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7153,12 +7453,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9298#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7204,12 +7504,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9261#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7255,12 +7555,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9418#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7306,12 +7606,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:7", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7357,12 +7657,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8209#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7408,12 +7708,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7459,12 +7759,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9448#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7510,12 +7810,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9720#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7561,12 +7861,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7612,12 +7912,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7663,12 +7963,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9930#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7714,12 +8014,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9931#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7765,12 +8065,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7816,12 +8116,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9935#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7867,12 +8167,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7918,12 +8218,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8203#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7969,12 +8269,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10065#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8020,12 +8320,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9448#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10155#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8071,12 +8371,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10154#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8122,12 +8422,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10064#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8173,12 +8473,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9720#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10157#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8224,12 +8524,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10164#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8275,12 +8575,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10164#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8326,12 +8626,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9930#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10164#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8377,12 +8677,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9931#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9297#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8428,12 +8728,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10191#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8479,12 +8779,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9935#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10255#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8530,12 +8830,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10025#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10257#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8581,12 +8881,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10026#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10356#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8632,12 +8932,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10027#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10355#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8683,12 +8983,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10066#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8734,12 +9034,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10159#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8785,12 +9085,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10065#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10160#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8836,12 +9136,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10155#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10161#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8887,12 +9187,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10154#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10139#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8938,12 +9238,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10064#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10156#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8989,12 +9289,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10157#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10259#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9040,12 +9340,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10164#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10692#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9091,12 +9391,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10164#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8207#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9142,12 +9442,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10164#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10749#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9193,12 +9493,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10751#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9244,12 +9544,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10191#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8208#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9295,12 +9595,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10255#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11019#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9346,12 +9646,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10258#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11302#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9397,12 +9697,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10257#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11304#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9448,12 +9748,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10356#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11303#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9499,12 +9799,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10355#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11306#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9550,12 +9850,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10066#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11305#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9601,12 +9901,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10159#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8469#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9652,12 +9952,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10160#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9703,12 +10003,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10161#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10258#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9754,12 +10054,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10139#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11348#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9805,12 +10105,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10156#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11351#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9856,12 +10156,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10259#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9267#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9907,12 +10207,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10692#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9263#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9958,12 +10258,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9262#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10009,12 +10309,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10749#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11485#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10060,12 +10360,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10751#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11489#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10111,12 +10411,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11518#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10162,12 +10462,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:11019#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11487#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png new file mode 100644 index 0000000..c389a14 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg index 23d1367..d5f1b0c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg @@ -1,20 +1,20 @@ - + - + - + - - + + @@ -22,7 +22,7 @@ - + This is because the @@ -30,7 +30,7 @@ - + measured currents @@ -38,7 +38,7 @@ - + are flipped. @@ -48,240 +48,240 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + Hall_A - + - + - + - + - + - + - + - + - + - + Hall_B - + - + - + - + - + - + - + - + - + - + Hall_C - + - + - + - + - + - + - + - + - + - + vec_hallToPos - + - + - + - + - + - + - + - + - + - + 0 0 0 @@ -293,42 +293,42 @@ - + - + - + - + - + - + - + - + - + - + 0 0 1 @@ -340,42 +340,42 @@ - + - + - + - + - + - + - + - + - + - + 0 1 0 @@ -387,42 +387,42 @@ - + - + - + - + - + - + - + - + - + - + 0 2 0 @@ -439,16 +439,16 @@ - - + + - + - + The rotor position is implemented based on the following table: @@ -458,8 +458,8 @@ - - + + @@ -467,7 +467,7 @@ - + Task1 : Diagnostics + Control_Manager @@ -476,7 +476,7 @@ - + Task2 : Field Weakening + Limitations @@ -485,7 +485,7 @@ - + Task3 : PI Controllers in FOC @@ -496,11 +496,11 @@ - - + + - + @@ -510,30 +510,30 @@ - - 5 + + 8 - + - - + + - + - - n_mot + + iq @@ -544,11 +544,11 @@ - - + + - + @@ -558,30 +558,30 @@ - - 6 + + 4 - + - - + + - + - - a_elecAngle + + z_errCode @@ -592,11 +592,11 @@ - - + + - + @@ -606,29 +606,29 @@ - + 1 - + - + - + - + DC_phaA @@ -640,58 +640,121 @@ - - - + + + - - + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + - + b_fieldWeakEna - + - + - - + + - + b_fieldWeakEna - + - - + + - + boolean @@ -703,43 +766,58 @@ - - + + - + - + - - b_diagEna + + b_cruiseCtrlEna - + + + + + + + + + + + + b_cruiseCtrlEna + + + + - + - - + + - + boolean @@ -751,45 +829,141 @@ - - - + + + + + + + + + + + + - - - - - - - - - + - + - - + + task1 - - - - - - + + + + + + + task2 + + + + + + + + task3 - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Task_Scheduler + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean @@ -800,45 +974,51 @@ - - + + + + + + + + - + - + - + - + - + - + - + - + - + @@ -853,22 +1033,22 @@ - + - + - - + + - + sfix16_En4 @@ -880,45 +1060,45 @@ - - + + - + - + - + - + - + - + - + - + - + @@ -933,22 +1113,22 @@ - + - + - - + + - + sfix16_En4 @@ -960,29 +1140,29 @@ - - + + - + - + - + - + - + @@ -997,22 +1177,22 @@ - + - + - - + + - + boolean @@ -1024,11 +1204,209 @@ - - + + + + + + + + + + + + + MODEL INFO + + + + + + + + Version: 1.1284 + + + + + + + + Author: Emanuel Feru + + + + + + + + Last modified by: eferu + + + + + + + + Last update: 11-okt-2020 19:11:59 + + + + + + + + Copyright © 2019-2021 Emanuel FERU + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + - + @@ -1037,29 +1415,29 @@ - + - - + + - + Implemented_control_methods - + - + @@ -1071,239 +1449,28 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - + + - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaA] - - - - - - - - - - - - - - - - - - - - - - + - + - - [DC_phaC] + + [r_fieldWeak] - + @@ -1315,11 +1482,11 @@ - - + + - + @@ -1329,14 +1496,14 @@ - - [z_pos] + + [n_mot] - + @@ -1348,28 +1515,28 @@ - - + + - + - + - - [r_devSignal2] + + [DC_phaA] - + @@ -1381,28 +1548,28 @@ - - + + - + - + - - [a_elecAngle] + + [DC_phaC] - + @@ -1414,11 +1581,11 @@ - - + + - + @@ -1428,14 +1595,14 @@ - - [i_phaAB] + + [b_cruiseCtrlEna] - + @@ -1447,28 +1614,28 @@ - - + + - + - + - - [VqFinPrev] + + [a_mechAngle] - + @@ -1480,43 +1647,1020 @@ - - - + + + - - + + - + - - [b_hallA] + + [task3] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task1] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task2] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [task2] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaB] + + + + + + + + + + + + + - - + + - + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaA] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallC] + + + + + + + + + + + + + + + + + + + + + uint8 @@ -1528,28 +2672,28 @@ - - + + - + - + - - [n_motAbs] + + [b_hallC] - + @@ -1561,7 +2705,4003 @@ - + + + + + + + + + + + + + + + + [b_hallB] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [task1] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaC] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_diagEna + + + + + + + + + + + + + + + + + + + + + + b_diagEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallA] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task1] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlTypSel + + + + + + + + z_pos + + + + + + + + V_phaABC_FOC + + + + + + + + Vq + + + + + + + + r_inpTgtSca + + + + + + + + a_elecAngle + + + + + + + + z_dir + + + + + + + + r_fieldWeak + + + + + + + + DC_phaA + + + + + + + + DC_phaB + + + + + + + + DC_phaC + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F06_Control_Type_Management + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + DC_phaC + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca + + + + + + + + task2 + + + + + + + + task3 + + + + + + + + b_motEna + + + + + + + + n_mot + + + + + + + + n_motAbs + + + + + + + + r_fieldWeak + + + + + + + + a_elecAngle + + + + + + + + i_phaAB + + + + + + + + i_phaBC + + + + + + + + VqFinPrev + + + + + + + + b_cruiseCtrlEna + + + + + + + + V_phaABC_FOC + + + + + + + + Vq + + + + + + + + iq + + + + + + + + id + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F05_Field_Oriented_Control + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + r_inpTgt + + + + + + + + n_motAbs + + + + + + + + r_fieldWeak + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F04_Field_Weakening + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + b_motEna + + + + + + + + b_cruiseCtrlEna + + + + + + + + z_ctrlTypSel + + + + + + + + z_ctrlModReq + + + + + + + + r_inpTgt + + + + + + + + VqFinPrev + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F03_Control_Mode_Manager + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_hallA + + + + + + + + b_hallB + + + + + + + + b_hallC + + + + + + + + a_mechAngle + + + + + + + + z_posRaw + + + + + + + + z_pos + + + + + + + + z_dir + + + + + + + + n_mot + + + + + + + + n_motAbs + + + + + + + + a_elecAngle + + + + + + + + b_motStdStill + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_Estimations + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + z_posRaw + + + + + + + + b_motStdStill + + + + + + + + VqFinPrev + + + + + + + + z_errCode + + + + + + + + b_errFlag + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F02_Diagnostics + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallA] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_COM + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + n_motHiRes + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + i_phaBC + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + i_DCLink + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [task3] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -1571,11 +6711,11 @@ - + - + [z_ctrlTypSel] @@ -1593,11 +6733,11 @@ - - + + - + uint8 @@ -1609,559 +6749,520 @@ - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_devSignal2] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaC] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_devSignal1] - - - - - - - - - - - - - - - - - - - + + - + - + - - 2 + + 5 - + - + + + + + + + + + + b_hallB + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + b_hallA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + b_hallC + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + - - + + - + DC_phaB @@ -2173,589 +7274,43 @@ - - + + - + - + - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallC] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [task1] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [z_errCode] - + - + - - + + - + uint8 @@ -2767,3985 +7322,58 @@ - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [task1] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [r_devSignal1] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtSca - - - - - - - - task2 - - - - - - - - task3 - - - - - - - - b_motEna - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - r_fieldWeak - - - - - - - - a_elecAngle - - - - - - - - i_phaAB - - - - - - - - i_phaBC - - - - - - - - V_phaABC_FOC - - - - - - - - Vq - - - - - - - - r_devSignal1 - - - - - - - - r_devSignal2 - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F05_Field_Oriented_Control - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task1] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - r_inpTgt - - - - - - - - n_motAbs - - - - - - - - r_fieldWeak - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F04_Field_Weakening - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - z_posRaw - - - - - - - - b_motStdStill - - - - - - - - VqFinPrev - - - - - - - - z_errCode - - - - - - - - b_errFlag - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F02_Diagnostics - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - z_ctrlTypSel - - - - - - - - z_pos - - - - - - - - V_phaABC_FOC - - - - - - - - Vq - - - - - - - - r_inpTgtSca - - - - - - - - a_elecAngle - - - - - - - - z_dir - - - - - - - - r_fieldWeak - - - - - - - - DC_phaA - - - - - - - - DC_phaB - - - - - - - - DC_phaC - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F06_Control_Type_Management - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - + + - + - + - - 7 - - - - - - - - - - - - - - - - - - - - - - r_devSignal1 - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_hallA - - - - - - - - b_hallB - - - - - - - - b_hallC - - - - - - - - z_posRaw - - - - - - - - z_pos - - - - - - - - z_dir - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - a_elecAngle - - - - - - - - b_motStdStill - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_Estimations - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_errFlag - - - - - - - - b_motStdStill - - - - - - - - b_motEna - - - - - - - - z_ctrlTypSel - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgt - - - - - - - - VqFinPrev - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtSca - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F03_Control_Mode_Manager - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - r_devSignal2 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - i_phaBC - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - i_phaAB - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - b_hallC - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - MODEL INFO - - - - - - - - Version: 1.1260 - - - - - - - - Author: Emanuel Feru - - - - - - - - Last modified by: eferu - - - - - - - - Last update: - - - - - - - - Copyright © 2019-2020 Emanuel FERU - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaA] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - b_hallB - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - task1 - - - - - - - - task2 - - - - - - - - task3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Task_Scheduler - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaB] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModReq - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - CTRL_COM - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - z_errCode - - - - - - - - - - - - - - - - - - - - - - - - - + 3 - + - - - - - - - - - - DC_phaC - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallA] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - + - - + + - + r_inpTgt - + - - + + - + int16 @@ -6757,476 +7385,30 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - b_hallA - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - i_DCLink - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallB] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - - + + @@ -7235,23 +7417,8 @@ - - - - - - - - - - - boolean - - - - - + @@ -7261,193 +7428,216 @@ - - - - - - - - - - - - + + + + + + + + + + + boolean + + - + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + - + - + - + - + - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + @@ -7461,845 +7651,739 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + - + - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8313,7 +8397,7 @@ - + @@ -8327,294 +8411,504 @@ - + - + - + - + - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8623,5 +8917,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.css b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.css rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css index 8a091c8..ea0b352 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.css +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css @@ -7,7 +7,7 @@ .WebViewIcon6, .WebViewIcon7, .WebViewIcon8, -.WebViewIcon9 { background-image: url('BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png'); width: 16px; height: 16px; } +.WebViewIcon9 { background-image: url('BLDCmotor_FOC_R2017b_fixdt_29_icons.png'); width: 16px; height: 16px; } .WebViewIcon0 { background-position: -0px; } .WebViewIcon1 { background-position: -16px; } diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png new file mode 100644 index 0000000..c1ac49e Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json similarity index 76% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json index 39bc366..3cefe27 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8221", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8221", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallA", "label":"b_hallA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8222", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8222", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallB", "label":"b_hallB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8223", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8223", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallC", "label":"b_hallC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "Port", @@ -201,12 +201,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8465", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8465", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"n_mot ", "label":"n_mot ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "Port", @@ -281,20 +281,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8225", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_01_Edge_Detector", "label":"F01_01_Edge_Detector", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -306,6 +306,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -316,10 +317,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -329,7 +329,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -342,6 +342,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -351,21 +352,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -380,12 +378,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8433", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8433", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From2", "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -411,12 +409,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8438", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8438", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -442,12 +440,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8441", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8441", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -473,12 +471,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8442", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8442", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From5", "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -504,12 +502,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8443", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8443", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From6", "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -535,12 +533,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8444", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8444", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From7", "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -566,12 +564,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8459", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8459", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto7", "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -599,12 +597,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8452", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8452", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto16", "label":"Goto16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -632,12 +630,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8439", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8439", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From36", "label":"From36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -663,20 +661,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8247", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_03_Direction_Detection", "label":"F01_03_Direction_Detection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -688,6 +686,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -698,10 +697,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -711,7 +709,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -724,6 +722,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -733,21 +732,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -762,12 +758,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8440", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8440", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From38", "label":"From38", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -793,12 +789,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8454", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto21", "label":"Goto21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -826,12 +822,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8447", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8447", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -859,12 +855,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8448", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8448", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -892,12 +888,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8453", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8453", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto2", "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -925,20 +921,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_04_Speed_Estimation", "label":"F01_04_Speed_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -950,6 +946,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -960,10 +957,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -973,7 +969,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -986,6 +982,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -995,21 +992,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1024,20 +1018,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8235", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_02_Position_Calculation", "label":"F01_02_Position_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1049,6 +1043,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1059,10 +1054,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1072,7 +1066,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1085,6 +1079,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1094,21 +1089,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1123,12 +1115,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8425", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8425", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -1154,12 +1146,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8456", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8456", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto4", "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -1187,12 +1179,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8445", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8445", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From8", "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -1218,12 +1210,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8464", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8464", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_pos", "label":"z_pos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "Port", @@ -1298,12 +1290,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8426", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8426", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -1329,12 +1321,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8428", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8428", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From13", "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", @@ -1360,1190 +1352,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9433", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8467", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8462", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8457", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counter", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9432", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8451", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8450", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8449", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8446", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8461", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9933", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_dir", - "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8463", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_posRaw", - "label":"z_posRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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", - "0", - "off", - "reset", - "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:8458", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counterRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9932", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9431", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8430", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8466", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8427", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8460", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8434", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_05_Electrical_Angle_Estimation", - "label":"F01_05_Electrical_Angle_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8468", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8468", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"b_enaAdvCtrl", "label":"b_enaAdvCtrl", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "Port", @@ -2618,12 +1432,1547 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8462#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11402", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "2", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11355", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == 0", + "", + "on", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8460", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11353", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11413", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_angleMeasEna", + "label":"b_angleMeasEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "b_angleMeasEna", + "on", + "inf", + "[]", + "[]", + "boolean", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8451", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8450", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8449", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8463", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"z_posRaw", + "label":"z_posRaw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9433", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8457", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counter", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8436", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8435", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8434", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8427", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8458", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11414", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8384", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_05_Electrical_Angle_Estimation", + "label":"F01_05_Electrical_Angle_Estimation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9432", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9932", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8462", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9933", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8431", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_pos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8429", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9431", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8461", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dirPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8430", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dirPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11352", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_mechAngle", + "label":"a_mechAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8437", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8466", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8467", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11357", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_06_Electrical_Angle_Measurement", + "label":"F01_06_Electrical_Angle_Measurement", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8446", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8432", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8462#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2669,12 +3018,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8440#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8440#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2720,12 +3069,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8439#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8439#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2771,12 +3120,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8442#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8442#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2822,12 +3171,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8225#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2873,12 +3222,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8247#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2924,12 +3273,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8443#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8443#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2975,12 +3324,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8444#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8444#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3026,12 +3375,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8221#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8221#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3077,12 +3426,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8222#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8222#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3128,12 +3477,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8223#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8223#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3179,12 +3528,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8441#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8441#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3230,12 +3579,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8438#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8438#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3281,12 +3630,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8433#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8433#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3332,12 +3681,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8235#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3383,12 +3732,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8425#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8425#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3434,12 +3783,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3485,12 +3834,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8445#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8445#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3536,12 +3885,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8426#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8426#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3587,12 +3936,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8428#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8428#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3638,12 +3987,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3689,12 +4038,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3740,12 +4089,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8247#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3791,12 +4140,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8430#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8430#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3842,12 +4191,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8431#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3893,12 +4242,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8434#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8434#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3944,12 +4293,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8435#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3995,12 +4344,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8436#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4046,12 +4395,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8437#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4097,12 +4446,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:6", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4148,12 +4497,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8432#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4199,12 +4548,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8427#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4250,12 +4599,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4301,12 +4650,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8429#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4352,12 +4701,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8235#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4403,12 +4752,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8446#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4454,12 +4803,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8446#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9431#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4505,12 +4854,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9431#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:5", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4556,12 +4905,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9932#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4607,12 +4956,369 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9932#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11352#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11413#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11414#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11355#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11355#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8384#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11402#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11357#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png new file mode 100644 index 0000000..78a01d8 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg similarity index 78% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg index 033b390..8825608 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg @@ -1,19 +1,19 @@ - + - + - + - + @@ -46,7 +46,7 @@ - + @@ -61,7 +61,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -124,7 +124,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -172,7 +172,7 @@ - + @@ -187,7 +187,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -235,7 +235,7 @@ - + @@ -250,9 +250,9 @@ - + - + @@ -325,7 +325,7 @@ - + @@ -346,7 +346,7 @@ - + @@ -361,7 +361,7 @@ - + @@ -400,7 +400,7 @@ - + @@ -415,7 +415,7 @@ - + @@ -448,7 +448,7 @@ - + @@ -463,7 +463,7 @@ - + @@ -496,7 +496,7 @@ - + @@ -511,7 +511,7 @@ - + @@ -544,7 +544,7 @@ - + @@ -559,7 +559,7 @@ - + @@ -592,7 +592,7 @@ - + @@ -607,7 +607,7 @@ - + @@ -640,7 +640,7 @@ - + @@ -655,7 +655,7 @@ - + @@ -688,7 +688,7 @@ - + @@ -721,7 +721,7 @@ - + @@ -754,7 +754,7 @@ - + @@ -769,9 +769,9 @@ - + - + @@ -844,7 +844,7 @@ - + @@ -860,15 +860,15 @@ - + - + - + int8 @@ -886,7 +886,7 @@ - + @@ -902,15 +902,15 @@ - + - + - + int8 @@ -922,7 +922,7 @@ - + @@ -961,7 +961,7 @@ - + @@ -976,7 +976,7 @@ - + @@ -1009,7 +1009,7 @@ - + @@ -1042,7 +1042,7 @@ - + @@ -1075,7 +1075,7 @@ - + @@ -1108,9 +1108,9 @@ - + - + @@ -1223,7 +1223,7 @@ - + @@ -1244,7 +1244,7 @@ - + @@ -1260,16 +1260,16 @@ - - + + - + - - int16 + + sfix16_En4 @@ -1281,15 +1281,15 @@ - + - + - + sfix16_En4 @@ -1307,7 +1307,7 @@ - + @@ -1323,16 +1323,16 @@ - - + + - + - - sfix16_En4 + + int16 @@ -1349,7 +1349,7 @@ - + @@ -1364,7 +1364,7 @@ - + @@ -1372,7 +1372,7 @@ - + @@ -1453,7 +1453,7 @@ - + @@ -1469,16 +1469,16 @@ - - + + - + - - int8 + + uint8 @@ -1490,16 +1490,16 @@ - - + + - + - - uint8 + + int8 @@ -1510,7 +1510,7 @@ - + @@ -1549,7 +1549,7 @@ - + @@ -1564,7 +1564,7 @@ - + @@ -1597,7 +1597,7 @@ - + @@ -1630,7 +1630,7 @@ - + @@ -1645,7 +1645,7 @@ - + @@ -1678,7 +1678,7 @@ - + @@ -1693,7 +1693,7 @@ - + @@ -1726,7 +1726,7 @@ - + @@ -1741,7 +1741,7 @@ - + @@ -1774,7 +1774,7 @@ - + @@ -1789,11 +1789,11 @@ - - + + - + @@ -1803,30 +1803,30 @@ - - 7 + + 8 - + - - + + - + - - b_motStdStill + + b_enaAdvCtrl @@ -1837,954 +1837,59 @@ - - - + + + - - + + - + - + - - 6 - - - - - - - - - - - - - - + + - - + + - - a_elecAngle + + - - - - - - - - - - - - + + - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - + + - - + + - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - + - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - z_posRaw - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - + sfix16_En6 @@ -2796,7 +1901,86 @@ - + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == 0) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + @@ -2806,11 +1990,11 @@ - + - + [z_posRaw] @@ -2829,7 +2013,1561 @@ - + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_angleMeasEna + + + + + + + + + + + + + + + + + + + + + + b_angleMeasEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_posRaw + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_pos + + + + + + + + z_dir + + + + + + + + z_counter + + + + + + + + z_counterRaw + + + + + + + + b_enaAdvCtrl + + + + + + + + a_elecAngle + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_05_Electrical_Angle_Estimation + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + a_elecAngle + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_06_Electrical_Angle_Measurement + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + @@ -2839,11 +3577,11 @@ - + - + [b_enaAdvCtrl] @@ -2861,11 +3599,11 @@ - - + + - + boolean @@ -2875,236 +3613,7 @@ - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_pos - - - - - - - - z_dir - - - - - - - - z_counter - - - - - - - - z_counterRaw - - - - - - - - b_enaAdvCtrl - - - - - - - - a_elecAngle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_05_Electrical_Angle_Estimation - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - - + @@ -3118,7 +3627,7 @@ - + @@ -3132,7 +3641,7 @@ - + @@ -3146,7 +3655,7 @@ - + @@ -3160,7 +3669,7 @@ - + @@ -3174,7 +3683,7 @@ - + @@ -3188,7 +3697,7 @@ - + @@ -3202,7 +3711,7 @@ - + @@ -3216,7 +3725,7 @@ - + @@ -3230,7 +3739,7 @@ - + @@ -3244,7 +3753,7 @@ - + @@ -3258,7 +3767,7 @@ - + @@ -3272,7 +3781,7 @@ - + @@ -3286,7 +3795,7 @@ - + @@ -3300,7 +3809,7 @@ - + @@ -3314,7 +3823,7 @@ - + @@ -3328,7 +3837,7 @@ - + @@ -3342,7 +3851,7 @@ - + @@ -3356,7 +3865,7 @@ - + @@ -3370,7 +3879,7 @@ - + @@ -3384,7 +3893,7 @@ - + @@ -3398,7 +3907,7 @@ - + @@ -3412,7 +3921,7 @@ - + @@ -3426,7 +3935,7 @@ - + @@ -3440,77 +3949,77 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -3524,7 +4033,7 @@ - + @@ -3538,7 +4047,7 @@ - + @@ -3552,21 +4061,7 @@ - - - - - - - - - - - - - - - + @@ -3580,7 +4075,7 @@ - + @@ -3594,7 +4089,7 @@ - + @@ -3608,7 +4103,7 @@ - + @@ -3622,7 +4117,7 @@ - + @@ -3636,7 +4131,7 @@ - + @@ -3650,7 +4145,7 @@ - + @@ -3664,7 +4159,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json index c8375ba..9282d12 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8226", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8226", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallA", "label":"b_hallA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8227", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8227", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallB", "label":"b_hallB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8228", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8228", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallC", "label":"b_hallC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "Port", @@ -201,12 +201,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8234", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8234", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"b_edge ", "label":"b_edge ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "Port", @@ -281,12 +281,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8233", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8233", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay3", "label":"UnitDelay3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "InitialCondition", @@ -331,12 +331,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8232", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8232", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay2", "label":"UnitDelay2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "InitialCondition", @@ -381,12 +381,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8231", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8231", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay1", "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "InitialCondition", @@ -431,12 +431,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9634", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9634", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator", "label":"Logical Operator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "Operator", @@ -476,12 +476,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8226#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8226#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", @@ -527,12 +527,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8228#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8228#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8227#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8227#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8232#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8232#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8233#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8233#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8231#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8231#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9634#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9634#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png new file mode 100644 index 0000000..2ad627e Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg index ce79263..10346f6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg @@ -9,11 +9,11 @@
- + - + @@ -76,7 +76,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -250,7 +250,7 @@ - + @@ -309,43 +309,43 @@ - - - - - - - - - - - Ini=0 - - - - - + - + uint8 + + + + + + + + + + + Ini=0 + + + + - + @@ -440,7 +440,7 @@ - + @@ -535,9 +535,9 @@ - + - + @@ -558,7 +558,7 @@ - + @@ -597,7 +597,7 @@ - + @@ -631,7 +631,7 @@ - + @@ -665,7 +665,7 @@ - + @@ -699,7 +699,7 @@ - + @@ -713,7 +713,7 @@ - + @@ -727,7 +727,7 @@ - + @@ -741,7 +741,7 @@ - + @@ -757,5 +757,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json index d325fbf..15f5a91 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8246", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8246", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

This calculates the low resolution position based on Hall sensors.

", "label":"

This calculates the low resolution position based on Hall sensors.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8236", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8236", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallA", "label":"b_hallA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Port", @@ -116,12 +116,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8237", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8237", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallB", "label":"b_hallB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Port", @@ -183,12 +183,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8238", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8238", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_hallC", "label":"b_hallC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Port", @@ -250,12 +250,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8245", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8245", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_pos ", "label":"z_pos ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Port", @@ -330,12 +330,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8240", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8240", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum", "label":"Sum", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "IconShape", @@ -389,12 +389,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8241", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8241", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"g_Ha", "label":"g_Ha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Gain", @@ -448,12 +448,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8242", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8242", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"g_Hb", "label":"g_Hb", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Gain", @@ -507,95 +507,47 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8239", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8239", "className":"Simulink.Selector", "icon":"WebViewIcon3", "name":"Selector", "label":"Selector", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ - "NumberOfDimensions", "IndexMode", "IndexOptionArray", - "IndexParamArray", - "OutputSizeArray", - "InputPortWidth", - "SampleTime", "IndexOptions", - "NumberOfDimensions", - "IndexMode", - "IndexOptionArray", "IndexParamArray", - "OutputSizeArray", - "InputPortWidth", - "SampleTime", - "IndexOptions", - "NumberOfDimensions", - "IndexMode", - "IndexOptionArray", - "IndexParamArray", - "OutputSizeArray", - "InputPortWidth", - "SampleTime", - "IndexOptions", "Indices", - "OutputSizes" + "InputPortWidth", + "NumberOfDimensions", + "OutputSizeArray", + "OutputSizes", + "SampleTime" ], "values":[ - "1", "Zero-based", [ "Index vector (port)" ], + "Index vector (port)", [ "[1 3]" ], - [ - "1" - ], - "length(vec_hallToPos)", - "-1", - "Index vector (port)", - "1", - "Zero-based", - [ - "Index vector (port)" - ], - [ - "[1 3]" - ], - [ - "1" - ], - "length(vec_hallToPos)", - "-1", - "Index vector (port)", - "1", - "Zero-based", - [ - "Index vector (port)" - ], - [ - "[1 3]" - ], - [ - "1" - ], - "length(vec_hallToPos)", - "-1", - "Index vector (port)", "[1 3]", - "1" + "length(vec_hallToPos)", + "1", + [ + "1" + ], + "1", + "-1" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 24 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -608,12 +560,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8243", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8243", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"vec_hallToPos", "label":"vec_hallToPos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Value", @@ -657,12 +609,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8244", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8244", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_posRaw", "label":"z_posRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "Port", @@ -737,12 +689,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8238#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8238#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -788,12 +740,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8241#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8241#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -839,12 +791,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8242#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8242#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -890,12 +842,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8240#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8240#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -941,12 +893,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8236#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8236#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -992,12 +944,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8237#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8237#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1043,12 +995,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8243#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8243#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1094,12 +1046,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8239#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8239#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg index 0d29e16..5b02873 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,7 +32,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -221,7 +221,7 @@ - + @@ -269,7 +269,7 @@ - + @@ -357,7 +357,7 @@ - + @@ -405,7 +405,7 @@ - + @@ -453,7 +453,7 @@ - + @@ -525,7 +525,7 @@ - + @@ -588,7 +588,7 @@ - + @@ -634,7 +634,7 @@ - + @@ -648,7 +648,7 @@ - + @@ -662,7 +662,7 @@ - + @@ -676,7 +676,7 @@ - + @@ -710,7 +710,7 @@ - + @@ -724,7 +724,7 @@ - + @@ -738,7 +738,7 @@ - + @@ -752,7 +752,7 @@ - + @@ -768,5 +768,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json index a26d20f..b384dfc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8248", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8248", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_pos", "label":"z_pos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8261", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8261", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_dir", "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Port", @@ -147,12 +147,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8257", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8257", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "IconShape", @@ -206,12 +206,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8254", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8254", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator3", "label":"Logical Operator3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Operator", @@ -251,12 +251,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8255", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8255", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator1", "label":"Relational Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Operator", @@ -296,12 +296,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8253", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8253", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant8", "label":"Constant8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Value", @@ -345,12 +345,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8256", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8256", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator6", "label":"Relational Operator6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Operator", @@ -390,12 +390,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8250", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8250", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant20", "label":"Constant20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Value", @@ -439,12 +439,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8258", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8258", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Criteria", @@ -496,12 +496,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8251", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8251", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant23", "label":"Constant23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Value", @@ -545,12 +545,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8252", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8252", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant24", "label":"Constant24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Value", @@ -594,12 +594,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8262", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8262", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_dirPrev", "label":"z_dirPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "Port", @@ -674,12 +674,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8260", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8260", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay3", "label":"UnitDelay3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "InitialCondition", @@ -724,12 +724,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8259", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8259", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay2", "label":"UnitDelay2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "InitialCondition", @@ -774,12 +774,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8249", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8249", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "InitializeStates", @@ -805,12 +805,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8259#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8259#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -856,12 +856,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8255#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8255#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -907,12 +907,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8253#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8253#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -958,12 +958,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8257#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8257#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1009,12 +1009,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8256#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8256#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1060,12 +1060,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8250#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8250#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1111,12 +1111,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8252#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8252#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1162,12 +1162,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8251#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8251#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1213,12 +1213,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8254#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8254#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1264,12 +1264,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8248#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8248#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1315,12 +1315,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8258#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8258#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1366,12 +1366,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8260#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8260#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png new file mode 100644 index 0000000..a877ddb Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg index 57cca04..04c6e66 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -124,7 +124,7 @@ - + @@ -188,7 +188,7 @@ - + @@ -211,7 +211,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -324,7 +324,7 @@ - + @@ -372,7 +372,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -492,7 +492,7 @@ - + @@ -684,7 +684,7 @@ - + @@ -732,7 +732,7 @@ - + @@ -780,7 +780,7 @@ - + @@ -828,7 +828,7 @@ - + @@ -887,43 +887,43 @@ - - - - - - - - - - - int8 - - - - - + - + Ini=0 + + + + + + + + + + + int8 + + + + - + @@ -1003,7 +1003,7 @@ - + @@ -1049,7 +1049,7 @@ - + @@ -1063,7 +1063,7 @@ - + @@ -1077,7 +1077,7 @@ - + @@ -1091,7 +1091,7 @@ - + @@ -1125,7 +1125,7 @@ - + @@ -1139,7 +1139,7 @@ - + @@ -1153,7 +1153,7 @@ - + @@ -1167,7 +1167,7 @@ - + @@ -1181,7 +1181,7 @@ - + @@ -1195,7 +1195,7 @@ - + @@ -1229,7 +1229,7 @@ - + @@ -1263,7 +1263,7 @@ - + @@ -1279,5 +1279,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json similarity index 83% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json index 4fea7fc..681f645 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8381", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8381", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Authorize advanced control only if not in high transient detected.

", "label":"

Authorize advanced control only if not in high transient detected.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8382", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8382", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Authorize advance control only if speed is above a threshold.

", "label":"

Authorize advance control only if speed is above a threshold.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8383", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8383", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Advanced Control Enable Flag Determination

", "label":"

Advanced Control Enable Flag Determination

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Text", @@ -147,12 +147,61 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8368", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11463", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Always authorize advance control if the motor angle is measured (e.g. using an encoder).

", + "label":"

Always authorize advance control if the motor angle is measured (e.g. using an encoder).

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Always authorize advance control if the motor angle is measured (e.g. using an encoder).

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8368", "className":"Simulink.Scope", "icon":"WebViewIcon3", "name":"Scope2", "label":"Scope2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":[ ], "viewer":{ @@ -166,12 +215,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8271", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8271", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant6", "label":"Constant6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Value", @@ -215,12 +264,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8307", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8307", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto8", "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -248,12 +297,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8279", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8279", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From16", "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -279,12 +328,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8273", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8273", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From", "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -310,12 +359,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8302", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8302", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto22", "label":"Goto22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -343,12 +392,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8265", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8265", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_edge", "label":"b_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Port", @@ -410,12 +459,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8295", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8295", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -443,12 +492,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8375", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8375", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"n_mot", "label":"n_mot", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Port", @@ -523,12 +572,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8274", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8274", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -554,12 +603,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8290", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8290", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -585,12 +634,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8266", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8266", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_dir", "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Port", @@ -652,12 +701,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8296", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8296", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", @@ -685,1263 +734,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9430", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8376", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8374", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"z_maxCntRst2", - "label":"z_maxCntRst2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "z_maxCntRst", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9429", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_stdStillDet", - "label":"n_stdStillDet", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "n_stdStillDet", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8372", - "className":"Simulink.Relay", - "icon":"WebViewIcon3", - "name":"n_commDeacv", - "label":"n_commDeacv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", - "InputProcessing", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "SampleTime", - "ZeroCross" - ], - "values":[ - "n_commDeacvHi", - "n_commAcvLo", - "1", - "0", - "Elements as channels (sample based)", - "[]", - "[]", - "boolean", - "off", - "-1", - "on" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Relay", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8377", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_counter", - "label":"z_counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8370", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "z_maxCntRst", - "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:8308", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8306", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9427", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8300", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8299", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8298", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8297", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counter", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Raw_Motor_Speed_Estimation", - "label":"Raw_Motor_Speed_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8369", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:9425", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8303", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8289", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_edge", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8286", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9477", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8371", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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:8281", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8284", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8280", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRawPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8373", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"z_maxCntRst", - "label":"z_maxCntRst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "z_maxCntRst", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8276", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8275", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8379", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8379", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"b_enaAdvCtrl", "label":"b_enaAdvCtrl", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Port", @@ -2016,432 +814,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8278", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9430", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_edge", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8270", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant4", - "label":"Constant4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8312", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "2", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8291", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8268", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" - ], - "values":[ - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "-1", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8283", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8282", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8277", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9428", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator9", - "label":"Relational Operator9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "<", - "off", - "boolean", - "Simplest", - "-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:8294", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "dz_trnsDet", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8293", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8313", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux3", - "label":"Mux3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "2", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8267", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Port", @@ -2456,14 +834,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "5", "Port number", "[]", "[]", @@ -2475,10 +859,17 @@ "-1", "auto", "off", + "off", + "0", + "off", + "reset", + "off", + "0", "", - "on", - "off", - "off", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -2498,219 +889,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8301", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8305", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "dz_trnsDet", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8292", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "z_maxCntRst" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8366", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - ">", - "off", - "boolean", - "Simplest", - "-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:9426", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8378", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8378", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_counterRaw", "label":"z_counterRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Port", @@ -2785,25 +974,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8285", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8377", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "name":"z_counter", + "label":"z_counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "z_dirPrev", - "Tag" + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2811,17 +1049,321 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8311", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8373", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"z_maxCntRst", + "label":"z_maxCntRst", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "z_maxCntRst", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9429", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_stdStillDet", + "label":"n_stdStillDet", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_stdStillDet", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8372", + "className":"Simulink.Relay", + "icon":"WebViewIcon3", + "name":"n_commDeacv", + "label":"n_commDeacv", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "OnSwitchValue", + "OffSwitchValue", + "OnOutputValue", + "OffOutputValue", + "InputProcessing", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "SampleTime", + "ZeroCross" + ], + "values":[ + "n_commDeacvHi", + "n_commAcvLo", + "1", + "0", + "Elements as channels (sample based)", + "[]", + "[]", + "boolean", + "off", + "-1", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Relay", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11461", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_angleMeasEna", + "label":"b_angleMeasEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "b_angleMeasEna", + "on", + "inf", + "[]", + "[]", + "boolean", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8369", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8366", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8312", "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"Mux1", - "label":"Mux1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Inputs", @@ -2847,12 +1389,1566 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8310", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8311", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux1", + "label":"Mux1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "2", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9428", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator9", + "label":"Relational Operator9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Raw_Motor_Speed_Estimation", + "label":"Raw_Motor_Speed_Estimation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8308", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8300", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8297", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counter", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8294", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "dz_trnsDet", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8289", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_edge", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8291", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8305", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "dz_trnsDet", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8285", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dirPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8371", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay4", + "label":"UnitDelay4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:9477", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8292", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8283", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbsPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8370", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay3", + "label":"UnitDelay3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "z_maxCntRst", + "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":"BLDCmotor_FOC_R2017b_fixdt:8284", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8280", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRawPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8293", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9427", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8376", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8278", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_edge", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8277", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8276", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8281", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8275", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8303", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbsPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8286", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8282", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8298", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8374", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"z_maxCntRst2", + "label":"z_maxCntRst2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "z_maxCntRst", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8306", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_mot", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "z_maxCntRst" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8299", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9425", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8268", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9426", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8267", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dirPrev", + "label":"z_dirPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8301", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dirPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8270", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant4", + "label":"Constant4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8313", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux3", + "label":"Mux3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "2", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11462", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator2", - "label":"Logical Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "name":"Logical Operator3", + "label":"Logical Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Operator", @@ -2863,7 +2959,7 @@ "SampleTime" ], "values":[ - "AND", + "OR", "2", "rectangular", "off", @@ -2892,12 +2988,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8309", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8309", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "Operator", @@ -2937,12 +3033,57 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8293#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8310", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator2", + "label":"Logical Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8293#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2988,12 +3129,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8312#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8312#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3039,12 +3180,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8290#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8290#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3090,12 +3231,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8311#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8311#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3141,12 +3282,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8273#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8273#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3192,12 +3333,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8275#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8275#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3243,12 +3384,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8265#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8265#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3294,12 +3435,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8274#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8274#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3345,12 +3486,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8266#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8266#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3396,12 +3537,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8276#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8276#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3447,12 +3588,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8291#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8291#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3498,12 +3639,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8370#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8370#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3549,12 +3690,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8267#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8267#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3600,12 +3741,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8282#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8282#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3651,12 +3792,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8268#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8268#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3702,12 +3843,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3753,12 +3894,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8285#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8285#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3804,12 +3945,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8308#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8308#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3855,12 +3996,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8280#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8280#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3906,12 +4047,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8281#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8281#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3957,12 +4098,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8277#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8277#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4008,12 +4149,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8373#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8373#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4059,12 +4200,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8270#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8270#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4110,12 +4251,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4161,12 +4302,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8369#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8369#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4212,12 +4353,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8313#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8313#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4263,12 +4404,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8284#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8284#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4314,12 +4455,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8279#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8279#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4365,12 +4506,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8289#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8289#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4416,12 +4557,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8366#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8366#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4467,12 +4608,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8371#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8371#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4518,12 +4659,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8283#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8283#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4569,12 +4710,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8292#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8292#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4620,12 +4761,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8286#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8286#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4671,12 +4812,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4722,12 +4863,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8310#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8294#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4773,12 +4914,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8294#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8374#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4824,12 +4965,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8374#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8278#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4875,12 +5016,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8278#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8271#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4926,12 +5067,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8271#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4977,12 +5118,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9426#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5028,12 +5169,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9426#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9425#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5079,12 +5220,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9425#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9429#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5130,12 +5271,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9429#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9428#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5181,12 +5322,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9428#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9477#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5232,12 +5373,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9477#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8372#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5283,12 +5424,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8372#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8309#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5334,12 +5475,114 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8309#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11462#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8310#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11461#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png new file mode 100644 index 0000000..b307313 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg index e5c3f22..975699d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg @@ -1,20 +1,20 @@ - + - + - + - - + + @@ -22,7 +22,7 @@ - + Authorize advanced control only @@ -30,7 +30,7 @@ - + if not in high transient detected. @@ -40,8 +40,8 @@ - - + + @@ -49,7 +49,7 @@ - + Authorize advance control only if @@ -57,7 +57,7 @@ - + speed is above a threshold. @@ -67,16 +67,16 @@ - - + + - + - + Advanced Control Enable Flag Determination @@ -84,31 +84,58 @@ + + + + + + + + + + + + + Always authorize advance control if the motor + + + + + + + + angle is measured (e.g. using an encoder). + + + + + + - - - + + + - + - + - + - + - + @@ -123,7 +150,7 @@ - + @@ -135,7 +162,7 @@ - + @@ -145,11 +172,11 @@ - + - + 1 @@ -167,11 +194,11 @@ - - + + - + int16 @@ -183,7 +210,7 @@ - + @@ -193,11 +220,11 @@ - + - + [z_counterRaw] @@ -216,43 +243,43 @@ - - + + - + - + - + [b_edge] - + - + - - + + - + boolean @@ -264,43 +291,43 @@ - - + + - + - + - + [z_counterRaw] - + - + - - + + - + int16 @@ -312,7 +339,7 @@ - + @@ -322,11 +349,11 @@ - + - + [z_counterRawPrev] @@ -345,7 +372,7 @@ - + @@ -355,11 +382,11 @@ - + - + 1 @@ -377,11 +404,11 @@ - - + + - + b_edge @@ -392,11 +419,11 @@ - - + + - + boolean @@ -408,7 +435,7 @@ - + @@ -418,11 +445,11 @@ - + - + [b_edge] @@ -441,43 +468,43 @@ - - + + - + - + - + 1 - + - + - - + + - + n_mot @@ -489,43 +516,43 @@ - - + + - + - + - + [n_mot] - + - + - - + + - + sfix16_En4 @@ -537,43 +564,43 @@ - - + + - + - + - + [n_mot] - + - + - - + + - + sfix16_En4 @@ -585,7 +612,7 @@ - + @@ -595,11 +622,11 @@ - + - + 2 @@ -617,11 +644,11 @@ - - + + - + z_dir @@ -632,11 +659,11 @@ - - + + - + int8 @@ -648,7 +675,7 @@ - + @@ -658,11 +685,11 @@ - + - + [z_dir] @@ -681,43 +708,91 @@ - - + + - + - + - - 5 + + 6 - + - + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + - - + + - + b_motStdStill @@ -729,44 +804,44 @@ - - + + - + - + - - 2 + + 4 - + - - + + - - + + - - n_motAbs + + z_counterRaw @@ -777,43 +852,91 @@ - - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_counter + + + + + + + + + + + + - + - + - + z_maxCntRst - + - + - - + + - + int16 @@ -825,58 +948,58 @@ - - + + - + - + - + n_stdStillDet - + - + - - + + - + n_stdStillDet - + - - + + - + sfix16_En4 @@ -888,61 +1011,61 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -957,37 +1080,37 @@ - + - + - - + + - + n_commDeacv - + - - + + - + boolean @@ -999,44 +1122,59 @@ - - - + + + - - + + - - + + - - 3 + + b_angleMeasEna - - + + - - + + - - + + - - z_counter + + b_angleMeasEna + + + + + + + + + + + + + + + boolean @@ -1047,46 +1185,222 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + @@ -1100,37 +1414,118 @@ - - - - - - - - - - - - - - - - - Ini=z_maxCntRst + + - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + int16 @@ -1142,52 +1537,60 @@ - - - + + + - - + + - + - - + + - - u1 + + - - + + - - if(u1 ~= 0) + + + + + + + + + + - - + + - - + + - - + + - - action + + boolean @@ -1198,207 +1601,9 @@ - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - + - + @@ -1412,67 +1617,67 @@ - + - + z_dir - + - + z_dirPrev - + - + z_counterRawPrev - + - + n_motAbsPrev - + - + z_counter - + - + dz_trnsDet - + - + n_motRaw - + - + if { } @@ -1502,11 +1707,11 @@ - - + + - + Raw_Motor_Speed_Estimation @@ -1523,11 +1728,11 @@ - - + + - + action @@ -1544,11 +1749,11 @@ - - + + - + boolean @@ -1565,11 +1770,11 @@ - - + + - + sfix16_En4 @@ -1586,11 +1791,11 @@ - - + + - + int16 @@ -1602,194 +1807,58 @@ - + - - + + - - + + - - + + - - + + u1 - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + if(u1 ~= 0) - - + + - - + + - - + + - - sfix16_En4 + + action @@ -1800,76 +1869,28 @@ - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [n_motAbsPrev] + + [b_enaAdvCtrl] - + @@ -1881,7 +1902,88 @@ - + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -1891,11 +1993,11 @@ - + - + [b_edge] @@ -1913,11 +2015,11 @@ - - + + - + boolean @@ -1929,714 +2031,43 @@ - - + + - + - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - z_maxCntRst - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - - - - - - - - - - - - [b_edge] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [z_counterRaw] - + - + - - + + - + int16 @@ -2648,535 +2079,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbsPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_dirPrev - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - + @@ -3186,11 +2089,11 @@ - + - + [dz_trnsDet] @@ -3209,469 +2112,7 @@ - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - Ini=z_maxCntRst - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - z_counterRaw - - - - - - - - - - - + @@ -3681,11 +2122,11 @@ - + - + [z_dirPrev] @@ -3703,11 +2144,11 @@ - - + + - + int8 @@ -3719,43 +2160,329 @@ - - - + + + - - + + - + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + Ini=0 - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbsPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=z_maxCntRst + + + + + + - - + + - + int16 @@ -3767,30 +2494,1393 @@ - - - + + + - - + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRawPrev] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + + + + + + + + + + + + [b_edge] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbsPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_maxCntRst + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Counter + + + + + + + + + + + + + + + Ini=z_maxCntRst + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dirPrev + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3800,23 +3890,23 @@ - + - - + + - + boolean - - + + @@ -3831,30 +3921,30 @@ - - + + - + - + - + - + - - + + @@ -3864,22 +3954,22 @@ - + - - + + - + boolean - + @@ -3893,91 +3983,155 @@ - + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + @@ -3991,21 +4145,21 @@ - + - + - + - + @@ -4019,35 +4173,35 @@ - + - + - + - + - + - + - + @@ -4061,7 +4215,7 @@ - + @@ -4075,7 +4229,7 @@ - + @@ -4089,41 +4243,41 @@ - + - + - + - + - + - + - + - + @@ -4137,7 +4291,7 @@ - + @@ -4151,7 +4305,7 @@ - + @@ -4165,7 +4319,7 @@ - + @@ -4179,63 +4333,63 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -4249,83 +4403,83 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -4339,35 +4493,35 @@ - + - + - + - + - + - + - + @@ -4381,35 +4535,35 @@ - + - + - + - + - + - + - + @@ -4423,35 +4577,21 @@ - + - + - + - - - - - - - - - - - - - - - + @@ -4465,7 +4605,7 @@ - + @@ -4479,7 +4619,7 @@ - + @@ -4493,7 +4633,7 @@ - + @@ -4527,98 +4667,140 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4627,5 +4809,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json index 5449ec4..03c31f7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1577", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1576", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant23", "label":"Constant23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "Value", @@ -106,12 +106,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1575", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "Port", @@ -173,12 +173,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1579", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1579", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "Port", @@ -253,12 +253,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1574", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "Port", @@ -320,12 +320,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:2510", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:2510", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "InitialCondition", @@ -370,12 +370,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1576#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -421,12 +421,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1575#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1575#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -472,12 +472,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:2510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:2510#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -523,12 +523,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1574#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -574,12 +574,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515:1577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1577#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg index 29c1bd3..7fcb98e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg @@ -9,13 +9,13 @@
- + - + - + @@ -205,7 +205,7 @@ - + @@ -253,7 +253,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -364,7 +364,7 @@ - + @@ -427,7 +427,7 @@ - + @@ -520,7 +520,7 @@ - + @@ -534,7 +534,7 @@ - + @@ -548,7 +548,7 @@ - + @@ -562,7 +562,7 @@ - + @@ -576,7 +576,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json index 240de17..259e1b3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "initVal" @@ -29,12 +29,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2416", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2416", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "IconShape", @@ -88,12 +88,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2415", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2415", "className":"Simulink.MinMax", "icon":"WebViewIcon3", "name":"MinMax", "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "OutDataTypeStr", @@ -141,12 +141,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2414", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "Port", @@ -208,12 +208,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2413", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"max", "label":"max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "Port", @@ -275,12 +275,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2418", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2418", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"cnt", "label":"cnt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "Port", @@ -355,12 +355,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2412", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2412", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"inc", "label":"inc", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "Port", @@ -422,12 +422,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "SignalNameFromLabel", @@ -473,12 +473,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2415#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2415#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "SignalNameFromLabel", @@ -524,12 +524,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2413#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "SignalNameFromLabel", @@ -575,12 +575,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2416#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "SignalNameFromLabel", @@ -626,12 +626,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2414#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "SignalNameFromLabel", @@ -677,12 +677,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2412#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2412#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png new file mode 100644 index 0000000..644923f Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg index 9d50e87..ce1f9c1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg @@ -9,13 +9,13 @@ - + - + - + @@ -80,36 +80,36 @@ - - - - - - - - - - - Ini=z_cntInit - - - - - + - + int16 + + + + + + + + + + + Ini=z_cntInit + + + + @@ -148,7 +148,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -243,7 +243,7 @@ - + @@ -284,7 +284,7 @@ - + @@ -347,7 +347,7 @@ - + @@ -410,7 +410,7 @@ - + @@ -458,7 +458,7 @@ - + @@ -519,7 +519,7 @@ - + @@ -533,7 +533,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -561,7 +561,7 @@ - + @@ -595,7 +595,7 @@ - + @@ -609,7 +609,7 @@ - + @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json index 4d70ee2..c9fee35 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8361", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8361", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

At stand-still the Hall sensor toggles if the motor is stoped at the edge of Hall change. This switch is to manage this situation and avoid unexpected behavior.

", "label":"

At stand-still the Hall sensor toggles if the motor is stoped at the edge of Hall change. This switch is to manage this situation and avoid unexpected behavior.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8362", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8362", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

This switch is to manage when direction changes. In this case, the counter measures both the time to go and return (so twice the time) within the Hall change. However, the angle to stand-still is not known. As a work around just use the previous motor speed in absolute value.

", "label":"

This switch is to manage when direction changes. In this case, the counter measures both the time to go and return (so twice the time) within the Hall change. However, the angle to stand-still is not known. As a work around just use the previous motor speed in absolute value.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8363", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8363", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

• In steady state, switch to 4 interval speed calculation for better accuracy.

• In transient, switch to 1 interval interval spped calculation for fast detection of the speed change.

", "label":"

• In steady state, switch to 4 interval speed calculation for better accuracy.

• In transient, switch to 1 interval interval spped calculation for fast detection of the speed change.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Text", @@ -147,12 +147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8364", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8364", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Counter hold

", "label":"

Counter hold

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Text", @@ -196,12 +196,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8365", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8365", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Speed calculations:

Speed_radps = (f_ctrl_Hz * Mechanical_angle_radps) / z_counter

cf_spd_coef = f_ctrl_Hz * Mechanical_angle_deg * pi/180 * 30/pi

Speed_radps = cf_spd_coef / z_counter

", "label":"

Speed calculations:

Speed_radps = (f_ctrl_Hz * Mechanical_angle_radps) / z_counter

cf_spd_coef = f_ctrl_Hz * Mechanical_angle_deg * pi/180 * 30/pi

Speed_radps = cf_spd_coef / z_counter

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Text", @@ -245,12 +245,1853 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8359", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8357", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"g_Ha", + "label":"g_Ha", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "4", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8355", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_speedCoef", + "label":"cf_speedCoef", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_speedCoef", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,0)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8351", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay2", + "label":"UnitDelay2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8353", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay4", + "label":"UnitDelay4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8347", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "on", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8346", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum7", + "label":"Sum7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "on", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:8348", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "on", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8344", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator4", + "label":"Relational Operator4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "~=", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8341", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "dz_trnsDet", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8340", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counterRawPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8331", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "cf_speedCoef", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8330", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8329", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dirPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8328", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8332", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8342", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "cf_speedCoef", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8345", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum13", + "label":"Sum13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++++", + "on", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:8335", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8325", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "cf_speedCoef", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8360", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"n_motRaw", + "label":"n_motRaw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8327", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8336", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dir", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8323", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide13", + "label":"Divide13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8352", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay3", + "label":"UnitDelay3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8349", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "on", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8350", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8333", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbsPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8322", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide11", + "label":"Divide11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8354", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay5", + "label":"UnitDelay5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8320", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs2", + "label":"Abs2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8356", + "className":"Simulink.Relay", + "icon":"WebViewIcon3", + "name":"dz_cntTrnsDet", + "label":"dz_cntTrnsDet", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "OnSwitchValue", + "OffSwitchValue", + "OnOutputValue", + "OffOutputValue", + "InputProcessing", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "SampleTime", + "ZeroCross" + ], + "values":[ + "dz_cntTrnsDetHi", + "dz_cntTrnsDetLo", + "1", + "0", + "Elements as channels (sample based)", + "[]", + "[]", + "boolean", + "off", + "-1", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Relay", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8319", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8318", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbsPrev", + "label":"n_motAbsPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8326", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRawPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8317", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_counterRawPrev", + "label":"z_counterRawPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8321", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant4", + "label":"Constant4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8334", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "dz_trnsDet", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8337", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counter", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8316", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dirPrev", + "label":"z_dirPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8338", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dirPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8339", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbsPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8359", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"dz_trnsDet", "label":"dz_trnsDet", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Port", @@ -325,51 +2166,59 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8357", - "className":"Simulink.Gain", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8315", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"g_Ha", - "label":"g_Ha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Gain", - "Multiplication", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "4", - "Element-wise(K.*u)", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, - 8, 11 ] }, @@ -379,492 +2228,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8354", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay5", - "label":"UnitDelay5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8353", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8351", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8349", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "on", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8352", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8348", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "on", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8347", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "on", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8345", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum13", - "label":"Sum13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++++", - "on", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "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:8344", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator4", - "label":"Relational Operator4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "~=", - "off", - "boolean", - "Simplest", - "-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:8358", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8358", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_counter", "label":"z_counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Port", @@ -939,608 +2313,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8341", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "dz_trnsDet", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8340", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counterRawPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8356", - "className":"Simulink.Relay", - "icon":"WebViewIcon3", - "name":"dz_cntTrnsDet", - "label":"dz_cntTrnsDet", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", - "InputProcessing", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "SampleTime", - "ZeroCross" - ], - "values":[ - "dz_cntTrnsDetHi", - "dz_cntTrnsDetLo", - "1", - "0", - "Elements as channels (sample based)", - "[]", - "[]", - "boolean", - "off", - "-1", - "on" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Relay", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8339", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8338", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8335", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8333", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8332", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8331", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "cf_speedCoef", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8350", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8330", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8329", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8328", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8326", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRawPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8355", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_speedCoef", - "label":"cf_speedCoef", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_speedCoef", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,0)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8325", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "cf_speedCoef", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8327", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8324", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8324", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide14", "label":"Divide14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Inputs", @@ -1592,790 +2370,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8346", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum7", - "label":"Sum7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "on", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "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:8322", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide11", - "label":"Divide11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8360", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"n_motRaw", - "label":"n_motRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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":[ - "3", - "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:8321", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant4", - "label":"Constant4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8320", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs2", - "label":"Abs2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" - ], - "values":[ - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "-1", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8319", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8317", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_counterRawPrev", - "label":"z_counterRawPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8318", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbsPrev", - "label":"n_motAbsPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:8336", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dir", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8323", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide13", - "label":"Divide13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8316", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8342", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "cf_speedCoef", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8337", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counter", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8334", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "dz_trnsDet", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8315", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dir", - "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "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:8343", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8343", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "Operator", @@ -2415,12 +2415,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8315#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8315#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2466,12 +2466,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8316#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8316#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2517,12 +2517,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8317#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8317#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2568,12 +2568,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8330#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8330#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2619,12 +2619,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8352#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8352#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2670,12 +2670,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8354#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8354#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2721,12 +2721,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8327#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8327#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2772,12 +2772,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8325#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8325#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2823,12 +2823,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8345#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8345#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2874,12 +2874,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8357#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8357#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2925,12 +2925,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8328#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8328#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2976,12 +2976,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8331#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8331#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3027,12 +3027,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8353#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8353#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3078,12 +3078,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8335#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8335#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3129,12 +3129,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8320#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8320#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3180,12 +3180,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8355#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8355#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3231,12 +3231,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8351#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8351#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3282,12 +3282,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8332#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8332#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3333,12 +3333,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8329#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8329#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3384,12 +3384,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8350#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8350#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3435,12 +3435,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8344#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8344#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3486,12 +3486,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8343#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8343#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3537,12 +3537,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8348#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8348#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3588,12 +3588,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8321#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8321#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3639,12 +3639,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8349#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8349#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3690,12 +3690,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8318#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8318#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3741,12 +3741,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8333#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8333#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3792,12 +3792,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8326#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8326#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3843,12 +3843,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8356#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8356#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3894,12 +3894,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8323#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8323#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3945,12 +3945,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8322#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8322#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3996,12 +3996,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8324#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8324#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4047,12 +4047,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8334#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8334#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4098,12 +4098,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8347#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8347#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4149,12 +4149,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8346#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8346#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png new file mode 100644 index 0000000..a8f24cf Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg index c419fa2..81e3121 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg @@ -9,11 +9,11 @@
- + - + @@ -48,7 +48,7 @@ - + @@ -115,7 +115,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -177,7 +177,7 @@ - + @@ -220,55 +220,7 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - dz_trnsDet - - - - - - - - - - - + @@ -278,11 +230,11 @@ - + - + 4 @@ -300,11 +252,11 @@ - + - + uint16 @@ -316,91 +268,59 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + cf_speedCoef + - - + + - - - + + + - - + + - - Ini=0 + + cf_speedCoef - - + + - - + + - - int16 + + uint16 @@ -411,102 +331,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - int16 - - - - - - - - - - - + @@ -516,35 +341,35 @@ - + - + - + - + - + - + - + - + @@ -570,11 +395,11 @@ - + - + Ini=0 @@ -585,11 +410,11 @@ - + - + int16 @@ -601,253 +426,45 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - threshold=0 - Criteria : u2 ~= 0 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - + - + - + - + - + - + - + @@ -862,246 +479,38 @@ - + - - - - - - - - - - - Ini=0 - - - - - + - - + + - + int16 - - - - - - - - - - - - - - - - - - - - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - threshold=0 - Criteria : u2 ~= 0 - - - - - - - - - - - - - - - sfix16_En4 + + Ini=0 @@ -1112,9 +521,9 @@ - + - + @@ -1122,155 +531,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -1283,136 +692,96 @@ - - - - - - - - - - - threshold=0 - Criteria : u2 ~= 0 - - - - - + - + sfix16_En4 + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 + + + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - + - - + + - + int16 @@ -1424,7 +793,215 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 + + + + + + + + + + + @@ -1434,19 +1011,19 @@ - + - + - + - + @@ -1472,11 +1049,11 @@ - + - + boolean @@ -1488,55 +1065,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - z_counter - - - - - - - - - - - + @@ -1546,11 +1075,11 @@ - + - + [dz_trnsDet] @@ -1569,7 +1098,7 @@ - + @@ -1579,11 +1108,11 @@ - + - + [z_counterRawPrev] @@ -1602,328 +1131,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dz_cntTrnsDet - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbsPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbsPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - + @@ -1933,11 +1141,11 @@ - + - + [cf_speedCoef] @@ -1955,11 +1163,11 @@ - + - + uint16 @@ -1971,9 +1179,939 @@ - + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [cf_speedCoef] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [cf_speedCoef] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + n_motRaw + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -1981,35 +2119,35 @@ - + - + - + - + - + - + - + - + @@ -2030,455 +2168,79 @@ - - - - - - - - - - - boolean - - - - - + - + Ini=0 + + + + + + + + + + + boolean + + + + - - + + - + - + - - [z_dir] + + [n_motAbsPrev] - + - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_speedCoef - - - - - - - - - - - - - - - - - - - - - - cf_speedCoef - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [cf_speedCoef] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + sfix16_En4 @@ -2490,73 +2252,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - + - + @@ -2564,19 +2262,19 @@ - + - + - + - + @@ -2594,11 +2292,11 @@ - + - + sfix16_En4 @@ -2610,92 +2308,91 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - 3 - - - + + - - - - - - - - - - - n_motRaw - - - - - - - - - - - - - - - - - - + + + - - + + - - 0 - - - - - - - + + Ini=0 - - + + - - + + - - sfix16_En4 + + int16 @@ -2706,9 +2403,9 @@ - + - + @@ -2716,35 +2413,35 @@ - + - + - + - + - + - + - + - + @@ -2770,11 +2467,11 @@ - + - + int16 @@ -2786,9 +2483,120 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dz_cntTrnsDet + + + + + + + + + + + + + + + boolean + + + + + + + + + + + - + @@ -2796,11 +2604,11 @@ - + - + if { } @@ -2818,11 +2626,11 @@ - + - + Action Port @@ -2834,70 +2642,7 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_counterRawPrev - - - - - - - - - - - - - - - int16 - - - - - - - - - - - + @@ -2907,11 +2652,11 @@ - + - + 4 @@ -2929,11 +2674,11 @@ - + - + n_motAbsPrev @@ -2944,11 +2689,11 @@ - + - + sfix16_En4 @@ -2960,102 +2705,44 @@ - - - + + + - - + + - - + + - - [z_dir] + + [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - sfix16_En4 + + int16 @@ -3066,59 +2753,59 @@ - - + + - + - + - - 2 + + 3 - + - - + + - - + + - - z_dirPrev + + z_counterRawPrev - - + + - - + + - - int8 + + int16 @@ -3129,29 +2816,44 @@ - - - + + + - - + + - - + + - - [cf_speedCoef] + + 0 - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3162,7 +2864,55 @@ - + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -3172,11 +2922,11 @@ - + - + [z_counter] @@ -3195,44 +2945,59 @@ - - - + + + - - + + - - + + - - [dz_trnsDet] + + 2 - - + + + + + + + + + + + + + + + + + z_dirPrev - - + + - - + + - - boolean + + int8 @@ -3243,7 +3008,121 @@ - + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbsPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + dz_trnsDet + + + + + + + + + + + @@ -3253,11 +3132,11 @@ - + - + 1 @@ -3275,11 +3154,11 @@ - + - + z_dir @@ -3290,11 +3169,11 @@ - + - + int8 @@ -3306,9 +3185,130 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_counter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -3329,7 +3329,7 @@ - + @@ -3368,7 +3368,7 @@ - + @@ -3382,7 +3382,7 @@ - + @@ -3396,7 +3396,7 @@ - + @@ -3410,7 +3410,7 @@ - + @@ -3424,7 +3424,7 @@ - + @@ -3458,7 +3458,7 @@ - + @@ -3492,7 +3492,7 @@ - + @@ -3526,7 +3526,7 @@ - + @@ -3540,7 +3540,7 @@ - + @@ -3554,7 +3554,7 @@ - + @@ -3568,7 +3568,7 @@ - + @@ -3582,7 +3582,7 @@ - + @@ -3596,7 +3596,7 @@ - + @@ -3610,7 +3610,7 @@ - + @@ -3644,7 +3644,7 @@ - + @@ -3658,7 +3658,7 @@ - + @@ -3672,7 +3672,7 @@ - + @@ -3686,7 +3686,7 @@ - + @@ -3700,7 +3700,7 @@ - + @@ -3714,7 +3714,7 @@ - + @@ -3728,7 +3728,7 @@ - + @@ -3782,7 +3782,7 @@ - + @@ -3796,7 +3796,7 @@ - + @@ -3810,7 +3810,7 @@ - + @@ -3824,7 +3824,7 @@ - + @@ -3838,7 +3838,7 @@ - + @@ -3852,7 +3852,7 @@ - + @@ -3866,7 +3866,7 @@ - + @@ -3900,7 +3900,7 @@ - + @@ -3934,7 +3934,7 @@ - + @@ -3948,7 +3948,7 @@ - + @@ -3962,7 +3962,7 @@ - + @@ -3976,7 +3976,7 @@ - + @@ -3990,7 +3990,7 @@ - + @@ -4004,7 +4004,7 @@ - + @@ -4020,5 +4020,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json index 533db72..8fd8fd3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8422", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8422", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

This switch is to manage the situation when FOC control method is not enabled.

", "label":"

This switch is to manage the situation when FOC control method is not enabled.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8423", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8423", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Electrical angle calculation

", "label":"

Electrical angle calculation

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9635", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9635", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Electrical angle calculation:

a_elecAngle = a_elecAngle_C * (z_posLowRes + z_dir * (z_counterRaw / z_counter))

where a_elecAngle_C = 60

The min, max are for protection against angle overflow.

", "label":"

Electrical angle calculation:

a_elecAngle = a_elecAngle_C * (z_posLowRes + z_dir * (z_counterRaw / z_counter))

where a_elecAngle_C = 60

The min, max are for protection against angle overflow.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Text", @@ -147,12 +147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8385", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8385", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_pos", "label":"z_pos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Port", @@ -214,12 +214,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8386", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8386", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_dir", "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Port", @@ -281,12 +281,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8406", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8406", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -314,12 +314,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8407", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8407", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8415", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8415", "className":"Simulink.Scope", "icon":"WebViewIcon3", "name":"Scope", "label":"Scope", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":[ ], "viewer":{ @@ -366,12 +366,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8399", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8399", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From2", "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -397,12 +397,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8387", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8387", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_counter", "label":"z_counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Port", @@ -464,12 +464,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8408", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8408", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto2", "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -497,12 +497,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8388", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8388", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_counterRaw", "label":"z_counterRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Port", @@ -564,12 +564,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8409", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8409", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto3", "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -597,12 +597,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8414", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator7", "label":"Relational Operator7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Operator", @@ -642,12 +642,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8390", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8390", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant16", "label":"Constant16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Value", @@ -691,12 +691,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8419", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8419", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch3", "label":"Switch3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Criteria", @@ -748,12 +748,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8402", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8402", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From54", "label":"From54", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -779,12 +779,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8401", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8401", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From51", "label":"From51", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -810,12 +810,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8413", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8413", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto7", "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -843,12 +843,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8416", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8416", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "IconShape", @@ -902,12 +902,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8391", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8391", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant2", "label":"Constant2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Value", @@ -951,762 +951,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8420", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_elecAngle1", - "label":"a_elecAngle1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "a_elecAngle", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,6)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8418", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8417", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,12)", - "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:9664", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "max", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9660", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8404", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8403", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8412", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8405", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8398", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_posLowRes", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8394", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8400", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8393", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8395", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_posHighRes", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8411", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posHighRes", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9665", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8397", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8410", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posLowRes", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8421", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8421", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"a_elecAngle", "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Port", @@ -1781,12 +1031,450 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8392", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8418", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8417", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,12)", + "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":"BLDCmotor_FOC_R2017b_fixdt:11415", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" + ], + "values":[ + "Signal copy", + "Inherit: auto", + "off" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SignalConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9664", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax1", + "label":"MinMax1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "max", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9660", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8412", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8405", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8403", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8397", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8394", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8392", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide1", "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Inputs", @@ -1838,12 +1526,131 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8396", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8395", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posHighRes", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8393", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8404", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8396", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", @@ -1869,12 +1676,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8389", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9665", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8389", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_enaAdvCtrl", "label":"b_enaAdvCtrl", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "Port", @@ -1936,12 +1792,220 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8385#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11459", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8400", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8420", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_elecAngle1", + "label":"a_elecAngle1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "a_elecAngle", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,6)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8398", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posLowRes", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8410", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_posLowRes", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8411", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_posHighRes", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8385#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1987,12 +2051,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8386#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8386#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2038,12 +2102,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8399#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8399#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2089,12 +2153,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8396#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8396#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2140,12 +2204,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8388#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8388#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2191,12 +2255,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8387#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8387#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2242,12 +2306,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8401#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8401#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2293,12 +2357,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8391#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8391#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2344,12 +2408,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8414#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2395,12 +2459,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8390#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8390#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2446,12 +2510,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8402#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8402#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2497,12 +2561,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8416#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2548,12 +2612,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8389#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8389#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2599,12 +2663,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8400#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8400#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2650,12 +2714,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8420#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8420#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2701,12 +2765,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8397#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8397#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2752,12 +2816,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8417#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8417#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2803,12 +2867,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8394#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8394#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2854,12 +2918,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8393#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8393#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2905,12 +2969,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8398#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8398#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2956,12 +3020,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8419#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8419#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3007,12 +3071,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8395#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8395#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3058,12 +3122,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8392#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8392#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3109,12 +3173,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8405#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8405#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3160,12 +3224,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9660#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9660#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3211,12 +3275,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8404#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8404#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3262,12 +3326,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8403#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8403#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3313,12 +3377,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8418#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8418#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3364,12 +3428,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9665#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9665#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3415,12 +3479,63 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9664#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9664#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11415#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png new file mode 100644 index 0000000..20d5330 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg index 9a3b716..6536c23 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg @@ -1,19 +1,19 @@ - + - + - + - + @@ -40,13 +40,13 @@ - + - + @@ -59,7 +59,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -135,7 +135,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -165,7 +165,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -213,7 +213,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -261,7 +261,7 @@ - + @@ -294,11 +294,11 @@ - - - + + + - + @@ -308,7 +308,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -331,7 +331,7 @@ - + @@ -343,11 +343,11 @@ - - + + - + @@ -357,29 +357,29 @@ - + [a_elecAngle] - + - + - + - + sfix16_En6 @@ -391,7 +391,7 @@ - + @@ -424,7 +424,7 @@ - + @@ -439,7 +439,7 @@ - + @@ -454,7 +454,7 @@ - + @@ -487,7 +487,7 @@ - + @@ -520,7 +520,7 @@ - + @@ -535,7 +535,7 @@ - + @@ -550,7 +550,7 @@ - + @@ -583,9 +583,9 @@ - + - + @@ -640,7 +640,7 @@ - + @@ -655,7 +655,7 @@ - + @@ -688,7 +688,7 @@ - + @@ -703,9 +703,9 @@ - + - + @@ -880,7 +880,7 @@ - + @@ -895,7 +895,7 @@ - + @@ -928,7 +928,7 @@ - + @@ -943,7 +943,7 @@ - + @@ -976,7 +976,7 @@ - + @@ -991,7 +991,7 @@ - + @@ -1024,7 +1024,7 @@ - + @@ -1081,7 +1081,7 @@ - + @@ -1096,7 +1096,7 @@ - + @@ -1129,7 +1129,7 @@ - + @@ -1144,44 +1144,44 @@ - - - + + + - - + + - + - - a_elecAngle + + 1 - - + + - - - + + + - + - - sfix16_En6 + + a_elecAngle @@ -1192,9 +1192,9 @@ - + - + @@ -1369,7 +1369,7 @@ - + @@ -1384,7 +1384,7 @@ - + @@ -1441,7 +1441,7 @@ - + @@ -1456,9 +1456,185 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + - + @@ -1466,19 +1642,19 @@ - + - + - + - + @@ -1504,11 +1680,11 @@ - - + + - + sfix16_En12 @@ -1520,9 +1696,9 @@ - + - + @@ -1530,19 +1706,19 @@ - + - + - + - + @@ -1568,11 +1744,11 @@ - - + + - + int16 @@ -1584,103 +1760,7 @@ - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - + @@ -1690,11 +1770,11 @@ - + - + [b_enaAdvCtrl] @@ -1713,7 +1793,7 @@ - + @@ -1723,11 +1803,11 @@ - + - + [z_dir] @@ -1745,11 +1825,11 @@ - - + + - + int8 @@ -1761,44 +1841,44 @@ - - + + - + - + - - [z_posLowRes] + + [z_counter] - + - - + + - - + + - - int8 + + int16 @@ -1809,296 +1889,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posHighRes] - - - - - - - - - - - - - - - - - - - - - - sfix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posHighRes] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En12 - - - - - - - - - - - + @@ -2108,11 +1899,11 @@ - + - + [b_enaAdvCtrl] @@ -2130,11 +1921,11 @@ - - + + - + boolean @@ -2146,29 +1937,52 @@ - - - + + + - - + + - - + + - - [z_posLowRes] + + + + + + + + + + - - + + + + + + + + + + + + + + + + + sfix16_En14 @@ -2179,57 +1993,9 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - - - - + - + @@ -2237,35 +2003,35 @@ - + - + - + - + - + - + - + - + @@ -2284,11 +2050,11 @@ - - + + - + sfix16_En14 @@ -2300,43 +2066,195 @@ - - + + - + - + - - [b_enaAdvCtrl] + + [z_posHighRes] - + - + + + + + + + + + + sfix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + - - + + - + boolean @@ -2348,7 +2266,55 @@ - + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En12 + + + + + + + + + + + @@ -2358,11 +2324,11 @@ - + - + 5 @@ -2380,11 +2346,11 @@ - - + + - + b_enaAdvCtrl @@ -2395,11 +2361,11 @@ - - + + - + boolean @@ -2409,7 +2375,265 @@ - + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posLowRes] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posLowRes] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posHighRes] + + + + + + + + + + + + + + + + @@ -2423,7 +2647,7 @@ - + @@ -2437,35 +2661,35 @@ - + - + - + - + - + - + - + @@ -2479,7 +2703,7 @@ - + @@ -2493,7 +2717,7 @@ - + @@ -2527,7 +2751,7 @@ - + @@ -2541,7 +2765,7 @@ - + @@ -2555,7 +2779,7 @@ - + @@ -2569,7 +2793,7 @@ - + @@ -2583,7 +2807,7 @@ - + @@ -2597,7 +2821,7 @@ - + @@ -2611,21 +2835,21 @@ - + - + - + - + @@ -2639,7 +2863,7 @@ - + @@ -2653,7 +2877,7 @@ - + @@ -2687,7 +2911,7 @@ - + @@ -2701,7 +2925,7 @@ - + @@ -2715,7 +2939,7 @@ - + @@ -2749,7 +2973,7 @@ - + @@ -2763,21 +2987,21 @@ - + - + - + - + @@ -2791,7 +3015,7 @@ - + @@ -2805,7 +3029,7 @@ - + @@ -2819,7 +3043,7 @@ - + @@ -2833,7 +3057,7 @@ - + @@ -2867,7 +3091,7 @@ - + @@ -2881,7 +3105,7 @@ - + @@ -2895,7 +3119,7 @@ - + @@ -2909,7 +3133,21 @@ + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json index 67ecafd..ffcd1a9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8529", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8529", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Error 004: Motor NOT able to spin.


Possible causes:

- motor phase disconnected

- MOSFET defective

- Operational Amplifier defective

- motor blocked

", "label":"

Error 004: Motor NOT able to spin.


Possible causes:

- motor phase disconnected

- MOSFET defective

- Operational Amplifier defective

- motor blocked

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8530", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8530", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Error Reporting

", "label":"

Error Reporting

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8531", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8531", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Error Detection

", "label":"

Error Detection

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -147,12 +147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8532", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8532", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Error Qualification

", "label":"

Error Qualification

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -196,12 +196,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8533", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8533", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Error 002: Hall sensor short circuit

", "label":"

Error 002: Hall sensor short circuit

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -245,12 +245,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8534", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8534", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Error 001: Hall sensor not connected

", "label":"

Error 001: Hall sensor not connected

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -294,12 +294,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9415", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9415", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

This switch makes sure that once this error is SET, it can only be erased by a board restart cycle.

", "label":"

This switch makes sure that once this error is SET, it can only be erased by a board restart cycle.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -343,12 +343,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9416", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9416", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

If the Voltage applied to the motor is above a threshold but the motor does NOT spin, then there is an error.
Note: The error is checked only if the motor is Enabled. If it is Disabled it will not spin anyway.

", "label":"

If the Voltage applied to the motor is above a threshold but the motor does NOT spin, then there is an error.
Note: The error is checked only if the motor is Enabled. If it is Disabled it will not spin anyway.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Text", @@ -392,12 +392,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8470", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8470", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_posRaw", "label":"z_posRaw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Port", @@ -459,12 +459,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8526", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8526", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"z_errCode ", "label":"z_errCode ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Port", @@ -539,12 +539,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8499", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8499", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", @@ -572,12 +572,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8497", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8497", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From8", "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", @@ -603,190 +603,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8527", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_errFlag", - "label":"b_errFlag", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8524", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"t_errDequal", - "label":"t_errDequal", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "t_errDequal", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9405", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"r_errInpTgtThres", - "label":"r_errInpTgtThres", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "r_errInpTgtThres", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8521", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8521", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"g_Hb1", "label":"g_Hb1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Gain", @@ -840,43 +662,198 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8517", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8520", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"g_Hb", + "label":"g_Hb", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "2", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", "off", - [ - ], - "Auto" + "Simplest", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Either edge detection" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9405", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_errInpTgtThres", + "label":"r_errInpTgtThres", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "r_errInpTgtThres", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 3, - 4 + 7 ] }, "viewer":{ @@ -885,74 +862,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9398", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8515", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Criteria", @@ -1004,12 +924,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8514", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8514", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum", "label":"Sum", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "IconShape", @@ -1063,312 +983,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8510", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:8509", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "~=", - "off", - "boolean", - "Simplest", - "-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:8508", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:11021", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8504", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_errFlag", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9395", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9397", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8503", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_errCode", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9404", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9404", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator7", "label":"Relational Operator7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Operator", @@ -1408,327 +1028,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:11022", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8510", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"Relational Operator3", + "label":"Relational Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8494", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_errCodeRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8491", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_errCodeRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8492", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_errFlag", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9406", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_errCodePrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9402", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Debounce_Filter", - "label":"Debounce_Filter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", + "==", "off", - "Reusable function", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Use subsystem name", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", + "boolean", + "Simplest", "-1", - "", - "on", - "on", - "off", - "" + "on" ], "tabs":[ "Main", - "Code Generation", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8483", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "uint8", - "off", - "Real World Value (RWV)", - "Floor", - "off", - "-1" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 7 + 1, + 4 ] }, "viewer":{ @@ -1737,64 +1068,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8482", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "uint8", - "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:9412", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8524", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"CTRL_COMM4", - "label":"CTRL_COMM4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"t_errDequal", + "label":"t_errDequal", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Value", @@ -1807,7 +1091,7 @@ "FramePeriod" ], "values":[ - "1", + "t_errDequal", "on", "inf", "[]", @@ -1838,137 +1122,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8487", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8508", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8500", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_errCodeRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9407", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_errCodePrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8480", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "FramePeriod" + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", + "==", "off", - "inf" + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 3, - 7 + 1, + 4 ] }, "viewer":{ @@ -1977,48 +1162,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9400", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8525", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8525", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"t_errQual", "label":"t_errQual", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Value", @@ -2062,166 +1216,22 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9403", - "className":"Simulink.Abs", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8504", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Abs4", - "label":"Abs4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "[]", - "[]", - "Inherit: Same as input", - "off", - "Floor", - "off", - "-1", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", - "className":"Either edge detection", - "icon":"WebViewIcon4", - "name":"either_edge", - "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "on", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Either edge detection" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8474", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" + "b_errFlag", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -2234,17 +1244,666 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8484", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9395", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8503", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_errCode", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11022", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9398", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8527", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_errFlag", + "label":"b_errFlag", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9406", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_errCodePrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8492", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_errFlag", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11021", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9407", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCodePrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9397", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8500", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_errCodeRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9402", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9400", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Debounce_Filter", + "label":"Debounce_Filter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Use subsystem name", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Reusable function", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8493", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_errFlag", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8487", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8482", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Data Type Conversion3", - "label":"Data Type Conversion3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "OutMin", @@ -2286,12 +1945,204 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9410", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8509", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "~=", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8480", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9412", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM4", + "label":"CTRL_COMM4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "1", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8479", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "7", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9410", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Bitwise Operator1", "label":"Bitwise Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "logicop", @@ -2323,12 +2174,251 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9408", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8474", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8483", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "uint8", + "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":"BLDCmotor_FOC_R2017b_fixdt:8484", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion3", + "label":"Data Type Conversion3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "uint8", + "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":"BLDCmotor_FOC_R2017b_fixdt:9403", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs4", + "label":"Abs4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as input", + "off", + "Floor", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9396", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9408", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From16", "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", @@ -2354,12 +2444,240 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9394", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8494", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCodeRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8491", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCodeRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8478", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM", + "label":"CTRL_COMM", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8517", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "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":"BLDCmotor_FOC_R2017b_fixdt:11020", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9394", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Port", @@ -2421,334 +2739,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8493", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_errFlag", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9396", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "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:8479", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM1", - "label":"CTRL_COMM1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "7", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:11020", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "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:8478", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM", - "label":"CTRL_COMM", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8520", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"g_Hb", - "label":"g_Hb", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "2", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Simplest", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9401", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9401", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "Operator", @@ -2788,12 +2784,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8497#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8497#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2839,12 +2835,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8470#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8470#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2890,12 +2886,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8524#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8524#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2941,12 +2937,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8525#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8525#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2992,12 +2988,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8478#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8478#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3043,12 +3039,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8479#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8479#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3094,12 +3090,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8487#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8487#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3145,12 +3141,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8510#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3196,12 +3192,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8514#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8514#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3247,12 +3243,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8509#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8509#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3298,12 +3294,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8491#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8491#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3349,12 +3345,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8480#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8480#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3400,12 +3396,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3451,12 +3447,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3502,12 +3498,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8515#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3553,12 +3549,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8492#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8492#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3604,12 +3600,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8493#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8493#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3655,12 +3651,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8494#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8494#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3706,12 +3702,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8520#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8520#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3757,12 +3753,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8508#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8508#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3808,12 +3804,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8482#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8482#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3859,12 +3855,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8483#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8483#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3910,12 +3906,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8484#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8484#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3961,12 +3957,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8521#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8521#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4012,12 +4008,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9394#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9394#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4063,12 +4059,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9396#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9396#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4114,12 +4110,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9402#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9402#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4165,12 +4161,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9403#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9403#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4216,12 +4212,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9405#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9405#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4267,12 +4263,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8517#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8517#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4318,12 +4314,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9407#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9407#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4369,12 +4365,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9408#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9408#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4420,12 +4416,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9410#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9410#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4471,12 +4467,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9412#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9412#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4522,12 +4518,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9401#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9401#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4573,12 +4569,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9398#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9398#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4624,12 +4620,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:11020#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11020#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4675,12 +4671,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9404#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9404#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4726,12 +4722,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:11022#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11022#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4777,12 +4773,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9400#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9400#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png new file mode 100644 index 0000000..97944ac Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg index 33242e9..93969e7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg @@ -9,11 +9,11 @@
- + - + @@ -73,7 +73,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -111,7 +111,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -170,7 +170,7 @@ - + @@ -197,7 +197,7 @@ - + @@ -248,7 +248,7 @@ - + @@ -311,7 +311,7 @@ - + @@ -359,7 +359,7 @@ - + @@ -392,7 +392,7 @@ - + @@ -440,166 +440,7 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - b_errFlag - - - - - - - - - - - - - - - - - - - - - - - - - - t_errDequal - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - r_errInpTgtThres - - - - - - - - - - - - - - - - - - - - - - r_errInpTgtThres - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -609,11 +450,11 @@ - + - + 4 @@ -631,11 +472,11 @@ - + - + uint8 @@ -647,90 +488,43 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + 2 + - - - - - - - - - - - - - - - - - Ini=0 + + - + - - + + - + uint8 @@ -742,193 +536,224 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ~= 0 + + - - + + - + - - + + - + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + r_errInpTgtThres + + + + + + + + + + + + + + + + + + + + + + r_errInpTgtThres + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -936,155 +761,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -1102,11 +927,11 @@ - + - + uint8 @@ -1118,7 +943,7 @@ - + @@ -1128,51 +953,51 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -1190,11 +1015,11 @@ - + - + uint8 @@ -1206,382 +1031,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - + - + @@ -1589,19 +1041,19 @@ - + - + - + - + @@ -1627,11 +1079,11 @@ - + - + boolean @@ -1643,7 +1095,376 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + t_errDequal + + + + + + + + + + + + + + + + + + + + + + t_errDequal + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + t_errQual + + + + + + + + + + + + + + + + + + + + + + t_errQual + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + @@ -1653,11 +1474,11 @@ - + - + [b_motEna] @@ -1675,11 +1496,11 @@ - + - + boolean @@ -1691,139 +1512,179 @@ - - - + + + - - + + - - + + - - [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~= 0 - - + + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - + - - + + - + boolean @@ -1835,7 +1696,55 @@ - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + + + + @@ -1845,11 +1754,11 @@ - + - + [z_errCodePrev] @@ -1868,7 +1777,202 @@ - + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodePrev] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + @@ -1878,11 +1982,11 @@ - + - + [VqFinPrev] @@ -1900,11 +2004,11 @@ - + - + sfix16_En4 @@ -1916,7 +2020,55 @@ - + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -1926,44 +2078,204 @@ - + - + u - + - + tAcv - + - + tDeacv - + - + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1971,7 +2283,7 @@ - + @@ -1979,7 +2291,7 @@ - + @@ -1987,7 +2299,7 @@ - + @@ -1995,7 +2307,7 @@ - + @@ -2003,166 +2315,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2180,11 +2332,11 @@ - + - + Debounce_Filter @@ -2195,11 +2347,11 @@ - + - + boolean @@ -2207,29 +2359,29 @@ - + - + - + - + - + - + @@ -2243,59 +2395,91 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + [b_errFlag] + - - + + - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + - - + + - + uint8 @@ -2307,7 +2491,7 @@ - + @@ -2317,20 +2501,20 @@ - + - + - + - - + + @@ -2355,11 +2539,11 @@ - + - + uint8 @@ -2371,43 +2555,59 @@ - - - + + + - - + + - + - - + + - - 1 + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + boolean @@ -2419,136 +2619,7 @@ - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - + @@ -2558,11 +2629,11 @@ - + - + 0 @@ -2580,11 +2651,11 @@ - + - + uint8 @@ -2596,43 +2667,43 @@ - - - + + + - - + + - - + + - - [b_motStdStill] + + 1 - - + + - + - - + + - + boolean @@ -2644,44 +2715,44 @@ - - - + + + - - + + - - + + - - t_errQual + + 7 - - + + - - + + - - + + - - uint16 + + uint8 @@ -2692,9 +2763,249 @@ - + + + + + + + + + + + + + + + + Bitwise + + + + + + + + AND + + + + + + + + 0x4 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + - + @@ -2702,35 +3013,35 @@ - + - + - + - + - + - + - + - + @@ -2756,11 +3067,11 @@ - + - + sfix16_En4 @@ -2772,494 +3083,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - Bitwise - - - - - - - - AND - - - - - - - - 0x4 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -3269,11 +3093,11 @@ - + - + 3 @@ -3291,11 +3115,11 @@ - + - + b_motStdStill @@ -3306,11 +3130,11 @@ - + - + boolean @@ -3322,43 +3146,43 @@ - - - + + + - - + + - - + + - - 7 + + [z_errCodePrev] - - + + - + - - + + - + uint8 @@ -3370,59 +3194,44 @@ - - - + + + - - + + - - + + - - 1 + + [z_errCodeRaw] - - - - - - - - - - - - - - - - - b_motEna + + - - + + - - + + - - boolean + + uint8 @@ -3433,7 +3242,55 @@ - + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + @@ -3443,11 +3300,11 @@ - + - + 0 @@ -3465,11 +3322,11 @@ - + - + uint8 @@ -3481,43 +3338,90 @@ - - - + + + - - + + - + - - + + - - 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + Ini=0 - + - - + + - + uint8 @@ -3529,7 +3433,133 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -3539,19 +3569,19 @@ - + - + - + - + @@ -3561,21 +3591,6 @@ - - - - - - - - - - - boolean - - - - @@ -3587,11 +3602,26 @@ + + + + + + + + + + + boolean + + + + - + @@ -3605,7 +3635,7 @@ - + @@ -3619,7 +3649,7 @@ - + @@ -3633,7 +3663,7 @@ - + @@ -3647,7 +3677,7 @@ - + @@ -3661,7 +3691,7 @@ - + @@ -3675,7 +3705,7 @@ - + @@ -3709,7 +3739,7 @@ - + @@ -3723,7 +3753,7 @@ - + @@ -3737,7 +3767,7 @@ - + @@ -3751,7 +3781,7 @@ - + @@ -3765,7 +3795,7 @@ - + @@ -3779,7 +3809,7 @@ - + @@ -3793,7 +3823,7 @@ - + @@ -3807,7 +3837,7 @@ - + @@ -3841,7 +3871,7 @@ - + @@ -3855,7 +3885,7 @@ - + @@ -3869,7 +3899,7 @@ - + @@ -3883,7 +3913,7 @@ - + @@ -3897,7 +3927,7 @@ - + @@ -3911,7 +3941,7 @@ - + @@ -3925,7 +3955,7 @@ - + @@ -3939,7 +3969,7 @@ - + @@ -3953,7 +3983,7 @@ - + @@ -3967,7 +3997,7 @@ - + @@ -3981,7 +4011,7 @@ - + @@ -3995,7 +4025,7 @@ - + @@ -4009,7 +4039,7 @@ - + @@ -4023,7 +4053,7 @@ - + @@ -4037,7 +4067,7 @@ - + @@ -4051,7 +4081,7 @@ - + @@ -4065,7 +4095,7 @@ - + @@ -4079,7 +4109,7 @@ - + @@ -4093,7 +4123,7 @@ - + @@ -4107,7 +4137,7 @@ - + @@ -4121,7 +4151,7 @@ - + @@ -4135,7 +4165,7 @@ - + @@ -4149,7 +4179,7 @@ - + @@ -4163,7 +4193,7 @@ - + @@ -4177,7 +4207,7 @@ - + @@ -4193,5 +4223,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json index 8cf0d47..1076adb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2427", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2427", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Hold the previous value

", "label":"

Hold the previous value

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", "inspector":{ "params":[ "Text", @@ -49,12 +49,110 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2426", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2425", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2424", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"yPrev", + "label":"yPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2426", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"yDefault", "label":"yDefault", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", "inspector":{ "params":[ "Port", @@ -129,110 +227,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2425", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2424", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"yPrev", - "label":"yPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "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:8486:2424#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2424#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg index 50ab779..9a9f28d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,57 +32,9 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - yDefault - - - - - - - - - - - + - + @@ -90,11 +42,11 @@ - + - + else { } @@ -112,11 +64,11 @@ - + - + Action Port @@ -128,7 +80,7 @@ - + @@ -138,11 +90,11 @@ - + - + 1 @@ -160,11 +112,11 @@ - + - + yPrev @@ -175,11 +127,11 @@ - + - + boolean @@ -189,7 +141,55 @@ - + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + yDefault + + + + + + + + + @@ -205,5 +205,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json index 9b37cd4..9201218 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json @@ -1,11 +1,212 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2447", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2446", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2445", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2444", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2442", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "yDeacv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2441", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tDeacv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2447", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"yDeacv", "label":"yDeacv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "Port", @@ -80,123 +281,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2445", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - ">", - "off", - "boolean", - "Simplest", - "-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:8486:2444", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2441", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "tDeacv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2440", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2440", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From8", "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "GotoTag", @@ -222,12 +312,76 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2438", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tDeacv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2443", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "yPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2438", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From2", "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "GotoTag", @@ -253,12 +407,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2437", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2437", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "GotoTag", @@ -284,43 +438,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2434", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2434", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant6", "label":"Constant6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "Value", @@ -364,45 +487,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2442", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yDeacv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2433", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2433", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant1", "label":"Constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "Value", @@ -446,12 +536,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2432", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2432", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "InitializeStates", @@ -477,12 +567,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2431", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2431", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"yPrev", "label":"yPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "Port", @@ -544,19 +634,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2439", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2436", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "tDeacv", + "yPrev", "Tag" ], "tabs":[ @@ -575,45 +665,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2443", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2430", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2430", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_cntRst", "label":"b_cntRst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "Port", @@ -675,12 +732,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "z_cntInit" @@ -704,12 +761,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2429", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2429", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"tDeacv", "label":"tDeacv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "Port", @@ -771,69 +828,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2446", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8486:2438#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2438#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -879,12 +879,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2429#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2429#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -930,12 +930,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2430#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2430#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -981,12 +981,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2431#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2431#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1032,12 +1032,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2434#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2434#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1083,12 +1083,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2439#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2439#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1134,12 +1134,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2440#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2440#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1185,12 +1185,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2437#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2437#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1236,12 +1236,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2445#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2445#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1287,12 +1287,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2433#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2433#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1338,12 +1338,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2436#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2436#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1389,12 +1389,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2446#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2446#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1440,12 +1440,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.png new file mode 100644 index 0000000..b716563 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg index 6e78c7f..4d197ea 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg @@ -9,48 +9,192 @@ - + - - - + + + - - + + - + - - 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + - - - + + + - - + + - - yDeacv + + boolean @@ -61,9 +205,9 @@ - + - + @@ -71,19 +215,19 @@ - + - + - + - + @@ -109,11 +253,11 @@ - + - + boolean @@ -125,7 +269,7 @@ - + @@ -135,11 +279,11 @@ - + - + [b_cntRst] @@ -158,280 +302,7 @@ - - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [yDeacv] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -441,11 +312,11 @@ - + - + [yDeacv] @@ -464,92 +335,29 @@ - - - + + + - - + + - - - - - - - 0 - - - - - - - - - - - - - - - - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - elseif { } + + [tDeacv] - - - - - - - - - - - - - - - - - Action Port + + @@ -560,58 +368,91 @@ - - + + - + - + - - 3 + + 1 - + - - + + - - + + - - yPrev + + yDeacv + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + - + - - + + - + boolean @@ -623,7 +464,7 @@ - + @@ -633,11 +474,11 @@ - + - + [tDeacv] @@ -655,11 +496,11 @@ - + - + uint16 @@ -671,7 +512,7 @@ - + @@ -681,11 +522,11 @@ - + - + [yPrev] @@ -704,7 +545,358 @@ - + + + + + + + + + + + + + + + + [yDeacv] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + yPrev + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -714,11 +906,11 @@ - + - + 2 @@ -736,11 +928,11 @@ - + - + b_cntRst @@ -751,11 +943,11 @@ - + - + boolean @@ -767,7 +959,7 @@ - + @@ -777,155 +969,155 @@ - + - + inc - + - + max - + - + rst - + - + cnt - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -943,11 +1135,11 @@ - + - + Counter @@ -958,11 +1150,11 @@ - + - + uint16 @@ -970,29 +1162,29 @@ - + - + - + - + - + - + @@ -1006,7 +1198,7 @@ - + @@ -1016,11 +1208,11 @@ - + - + 1 @@ -1038,11 +1230,11 @@ - + - + tDeacv @@ -1053,11 +1245,11 @@ - + - + uint16 @@ -1067,199 +1259,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -1273,7 +1273,7 @@ - + @@ -1287,7 +1287,7 @@ - + @@ -1301,7 +1301,7 @@ - + @@ -1315,7 +1315,7 @@ - + @@ -1329,7 +1329,7 @@ - + @@ -1343,7 +1343,7 @@ - + @@ -1357,7 +1357,7 @@ - + @@ -1371,7 +1371,7 @@ - + @@ -1385,7 +1385,7 @@ - + @@ -1399,7 +1399,7 @@ - + @@ -1413,7 +1413,7 @@ - + @@ -1427,7 +1427,7 @@ - + @@ -1443,5 +1443,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json index 81fd1f0..068433c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1577", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1576", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant23", "label":"Constant23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "Value", @@ -106,12 +106,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1575", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "Port", @@ -173,12 +173,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1579", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1579", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "Port", @@ -253,12 +253,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1574", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "Port", @@ -320,12 +320,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:2510", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:2510", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "InitialCondition", @@ -370,12 +370,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1576#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -421,12 +421,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1575#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1575#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -472,12 +472,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:2510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:2510#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -523,12 +523,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1574#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -574,12 +574,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515:1577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1577#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg index f1ee32c..4e1f3c7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg @@ -9,11 +9,11 @@ - + - + @@ -205,7 +205,7 @@ - + @@ -253,7 +253,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -364,7 +364,7 @@ - + @@ -427,7 +427,7 @@ - + @@ -520,7 +520,7 @@ - + @@ -534,7 +534,7 @@ - + @@ -548,7 +548,7 @@ - + @@ -562,7 +562,7 @@ - + @@ -576,7 +576,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json index 5e305ac..eac052a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2418", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2418", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"cnt", "label":"cnt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "initVal" @@ -109,12 +109,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2416", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2416", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "IconShape", @@ -168,46 +168,60 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2415", - "className":"Simulink.MinMax", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2413", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "name":"max", + "label":"max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", + "Port", + "IconDisplay", "OutMin", - "RndMeth", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", "2", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "[]", - "[]", - "Floor", + "inherit", "-1", + "Inherit", + "-1", + "auto", "off", - "on" + "", + "on", + "off", + "off", + "off" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1 + 2, + 11 ] }, "viewer":{ @@ -216,17 +230,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"MinMax", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2414", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "Port", @@ -288,12 +302,65 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2412", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2415", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2412", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"inc", "label":"inc", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "Port", @@ -355,79 +422,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2413", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"max", - "label":"max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "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:8486:2435:2515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -473,12 +473,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2415#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2415#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -524,12 +524,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2413#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2413#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -575,12 +575,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2416#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -626,12 +626,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2414#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -677,12 +677,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2412#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2412#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.png new file mode 100644 index 0000000..ad45d4c Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg index 3d4edaf..37cd611 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -196,7 +196,7 @@ - + @@ -268,9 +268,135 @@ - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + max + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + rst + + + + + + + + + + + + + + + boolean + + + + + + + + + + + - + @@ -278,20 +404,20 @@ - + - + - + - - + + @@ -316,11 +442,11 @@ - + - + uint16 @@ -332,133 +458,7 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - rst - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - max - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -519,7 +519,7 @@ - + @@ -533,7 +533,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -561,7 +561,7 @@ - + @@ -595,7 +595,7 @@ - + @@ -609,7 +609,7 @@ - + @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json index 541ec53..7c8758e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json @@ -1,305 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2491", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:8486:2490", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - ">", - "off", - "boolean", - "Simplest", - "-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:8486:2489", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2487", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yAcv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2486", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "tAcv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2484", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tAcv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2483", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yAcv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2482", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tAcv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2492", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2492", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"yAcv", "label":"yAcv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "Port", @@ -374,41 +80,57 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2490", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ - "z_cntInit" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "0" + ">", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ + "Main", + "Data Type", + "-Other" ], "tabs_idx":[ + 0, + 1, + 4 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2488", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2488", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto17", "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "GotoTag", @@ -436,12 +158,302 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2479", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2485", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2483", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yAcv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2482", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tAcv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2491", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2481", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2478", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "1", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2477", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2479", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant6", "label":"Constant6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "Value", @@ -485,43 +497,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2485", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2476", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2476", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_errPrev", "label":"b_errPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "Port", @@ -583,99 +564,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2477", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2478", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2481", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2484", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "yPrev", + "tAcv", "Tag" ], "tabs":[ @@ -694,79 +595,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2474", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"tAcv", - "label":"tAcv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "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:8486:2475", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2475", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_cntRst", "label":"b_cntRst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "Port", @@ -828,12 +662,178 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2489", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2474", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"tAcv", + "label":"tAcv", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2487", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "yAcv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2486", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tAcv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -879,12 +879,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2491#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2491#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -930,12 +930,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2481#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2481#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -981,12 +981,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2478#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2478#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1032,12 +1032,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2490#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2490#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1083,12 +1083,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2482#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2482#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1134,12 +1134,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2485#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2485#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1185,12 +1185,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2484#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2484#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1236,12 +1236,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2479#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2479#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1287,12 +1287,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2476#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2476#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1338,12 +1338,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2475#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2475#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1389,12 +1389,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2474#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2474#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1440,12 +1440,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2483#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2483#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.png new file mode 100644 index 0000000..ec5ec7e Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg index 5c5afcc..5f2194a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg @@ -9,192 +9,48 @@ - + - - - + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + 1 - - + + - - - + + + - - + + - - boolean + + yAcv @@ -205,9 +61,9 @@ - + - + @@ -215,19 +71,19 @@ - + - + - + - + @@ -253,11 +109,11 @@ - + - + boolean @@ -269,537 +125,7 @@ - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yAcv] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [yAcv] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - yAcv - - - - - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -809,11 +135,11 @@ - + - + [yPrev] @@ -832,55 +158,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -890,11 +168,11 @@ - + - + [b_cntRst] @@ -912,11 +190,11 @@ - + - + boolean @@ -928,7 +206,726 @@ - + + + + + + + + + + + + + + + + [yAcv] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Counter + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + @@ -991,139 +988,106 @@ - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + + - + - + - - [yPrev] + + [tAcv] - + - + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_cntRst + + + + + + - - + + - + boolean @@ -1135,7 +1099,40 @@ - + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + @@ -1198,59 +1195,29 @@ - - - + + + - - + + - + - - 2 + + [yAcv] - - - - - - - - - - - - - - - - - b_cntRst - - - - - - - - - - - - - - - boolean + + @@ -1259,7 +1226,40 @@ - + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + @@ -1273,7 +1273,7 @@ - + @@ -1287,7 +1287,7 @@ - + @@ -1301,7 +1301,7 @@ - + @@ -1315,7 +1315,7 @@ - + @@ -1329,7 +1329,7 @@ - + @@ -1343,7 +1343,7 @@ - + @@ -1357,7 +1357,7 @@ - + @@ -1371,7 +1371,7 @@ - + @@ -1385,7 +1385,7 @@ - + @@ -1399,7 +1399,7 @@ - + @@ -1413,7 +1413,7 @@ - + @@ -1427,7 +1427,7 @@ - + @@ -1443,5 +1443,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json index b900d39..5b1a2ce 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1577", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1576", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant23", "label":"Constant23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "Value", @@ -106,12 +106,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1575", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "Port", @@ -173,12 +173,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1579", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1579", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "Port", @@ -253,12 +253,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1574", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "Port", @@ -320,12 +320,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:2510", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:2510", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "InitialCondition", @@ -370,12 +370,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1576#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -421,12 +421,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1575#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1575#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -472,12 +472,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:2510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:2510#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -523,12 +523,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1574#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -574,12 +574,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515:1577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1577#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg index ef1bfba..12f9be0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg @@ -9,13 +9,13 @@ - + - + - + @@ -205,7 +205,7 @@ - + @@ -253,7 +253,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -364,7 +364,7 @@ - + @@ -427,7 +427,7 @@ - + @@ -520,7 +520,7 @@ - + @@ -534,7 +534,7 @@ - + @@ -548,7 +548,7 @@ - + @@ -562,7 +562,7 @@ - + @@ -576,7 +576,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json index 94c8001..abf24ff 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json @@ -1,11 +1,40 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2418", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2418", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"cnt", "label":"cnt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "Port", @@ -80,100 +109,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2416", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "|++", - "on", - "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:8486:2480:2415", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2415", "className":"Simulink.MinMax", "icon":"WebViewIcon3", "name":"MinMax", "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "OutDataTypeStr", @@ -221,12 +162,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2414", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "Port", @@ -288,12 +229,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2413", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2413", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"max", "label":"max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "Port", @@ -355,12 +296,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2412", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2416", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "|++", + "on", + "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":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2412", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"inc", "label":"inc", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "Port", @@ -422,12 +422,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -473,12 +473,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2415#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2415#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -524,12 +524,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2413#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2413#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -575,12 +575,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2416#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -626,12 +626,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2414#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -677,12 +677,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2412#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2412#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.png new file mode 100644 index 0000000..ad45d4c Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg index d988fe7..7cc4ffd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg @@ -9,11 +9,146 @@ - + - + + + + + + + + + + + + + + + + u + + + + + + + + rst + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + Ini=z_cntInit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -23,11 +158,11 @@ - + - + 1 @@ -45,11 +180,11 @@ - + - + cnt @@ -61,216 +196,9 @@ - - - - - - - - - - - - - - - - u - - - - - - - - rst - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=z_cntInit - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + - + @@ -278,20 +206,20 @@ - + - + - + - - + + @@ -316,11 +244,11 @@ - + - + uint16 @@ -332,7 +260,7 @@ - + @@ -342,11 +270,11 @@ - + - + 3 @@ -364,11 +292,11 @@ - + - + rst @@ -379,11 +307,11 @@ - + - + boolean @@ -395,70 +323,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -468,11 +333,11 @@ - + - + 2 @@ -490,11 +355,11 @@ - + - + max @@ -505,11 +370,11 @@ - + - + uint16 @@ -519,7 +384,142 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + + + + + + + + uint16 + + + + + + + + + @@ -533,7 +533,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -561,7 +561,7 @@ - + @@ -595,7 +595,7 @@ - + @@ -609,7 +609,7 @@ - + @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json index 1015bde..791abb0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2506", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2506", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2505", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2505", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2504", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2504", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator", "label":"Relational Operator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "Operator", @@ -175,12 +175,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2503", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2503", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "Port", @@ -242,12 +242,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2503#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2503#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -293,12 +293,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2504#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2504#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -344,12 +344,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519:2505#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2505#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg index 3c5568c..374f1f8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -156,9 +156,9 @@ - + - + @@ -220,7 +220,7 @@ - + @@ -281,7 +281,7 @@ - + @@ -315,7 +315,7 @@ - + @@ -329,7 +329,7 @@ - + @@ -345,5 +345,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.json index f792b61..b785714 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2496", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2496", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "Port", @@ -80,20 +80,218 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2472", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "3", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2463", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "u", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2461", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2460", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2459", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2458", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "className":"Either edge detection", "icon":"WebViewIcon4", "name":"either_edge", "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -105,6 +303,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -115,10 +314,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -127,8 +325,8 @@ "ReadWrite", "", "All", - "off", - "Auto", + "on", + "on", "", "", "off", @@ -141,6 +339,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -150,21 +349,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -179,12 +375,812 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2509", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2466", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tDeacv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Qualification", + "label":"Qualification", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2453", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "u", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2451", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2462", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "y", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2452", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tDeacv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2450", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2455", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2465", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tAcv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Dequalification", + "label":"Dequalification", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2457", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "y", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2421", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"tAcv", + "label":"tAcv", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2464", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "yPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2449", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tAcv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2456", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "u", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default", + "label":"Default", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2448", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2454", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "u", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2509", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "InitialCondition", @@ -229,930 +1225,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2472", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "3" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2467", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "2", - "u1 ~= 0", - "u2 ~=0", - "on", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2466", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "tDeacv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2465", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "tAcv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2461", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2457", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "y", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2456", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "u", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2455", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2454", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "u", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2453", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "u", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2452", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tDeacv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2462", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "y", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2450", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2449", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tAcv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Qualification", - "label":"Qualification", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2459", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2448", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2464", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2458", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Default", - "label":"Default", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Dequalification", - "label":"Dequalification", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2463", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "u", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2422", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2422", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"tDeacv", "label":"tDeacv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "Port", @@ -1214,60 +1292,36 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2421", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"tAcv", - "label":"tAcv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ZeroCross" ], "values":[ "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", + "u1 ~= 0", + "u2 ~=0", "on", - "off", - "off", - "off" + "-1", + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -1276,48 +1330,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2451", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2420", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2420", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "Port", @@ -1379,133 +1402,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2460", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2471", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator4", - "label":"Logical Operator4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "NOT", - "2", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2468", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "NOT", - "2", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2470", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2470", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator3", "label":"Logical Operator3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "Operator", @@ -1545,12 +1447,57 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2469", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2471", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator4", + "label":"Logical Operator4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "NOT", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2469", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator2", "label":"Logical Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "Operator", @@ -1590,12 +1537,57 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2468", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "NOT", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1641,12 +1633,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2422#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2422#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1692,12 +1684,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2421#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2421#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1743,12 +1735,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2467#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1794,12 +1786,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1845,12 +1837,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2453#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2453#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1896,12 +1888,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2468#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2468#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1947,12 +1939,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2448#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2448#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1998,12 +1990,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2454#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2454#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2049,12 +2041,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2460#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2460#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2100,12 +2092,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2467#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2151,12 +2143,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2420#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2420#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2202,12 +2194,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2457#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2457#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2253,12 +2245,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2456#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2456#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2304,12 +2296,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2458#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2458#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2355,12 +2347,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2467#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2406,12 +2398,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2451#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2451#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2457,12 +2449,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2508,12 +2500,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2559,12 +2551,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2449#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2449#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2610,12 +2602,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2459#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2459#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2661,12 +2653,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2509#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2509#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2712,12 +2704,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2472#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2472#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2763,12 +2755,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2452#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2452#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2814,12 +2806,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2471#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2471#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2865,12 +2857,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2455#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2455#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2916,12 +2908,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2450#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2450#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2967,12 +2959,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2470#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2470#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3018,12 +3010,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2469#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2469#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.png new file mode 100644 index 0000000..ed71cb1 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg index c52c2db..c52cc5b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,254 +61,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -318,20 +71,20 @@ - + - + - + - - + + @@ -356,11 +109,11 @@ - + - + boolean @@ -372,138 +125,28 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - u2 - - - - - - - - if(u1 ~= 0) - - - - - - - - elseif(u2 ~=0) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - + + - + - + - - [tDeacv] + + [u] - + @@ -515,40 +158,7 @@ - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - + @@ -558,11 +168,11 @@ - + - + [b_cntRst] @@ -581,139 +191,43 @@ - - + + - + - + - - [y] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [u] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - + [yPrev] - + - + - - + + - + boolean @@ -725,43 +239,43 @@ - - + + - + - + - - [u] + + [b_cntRst] - + - + - - + + - + boolean @@ -773,43 +287,43 @@ - - + + - + - + - - [u] + + [yPrev] - + - + - - + + - + boolean @@ -821,76 +335,180 @@ - - - + + + - - + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [y] - - - - - - + @@ -902,103 +520,7 @@ - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -1014,43 +536,43 @@ - + - + tAcv - + - + b_cntRst - + - + b_errPrev - + - + yAcv - + - + if { } @@ -1080,11 +602,11 @@ - + - + Qualification @@ -1097,16 +619,16 @@ - - + + - - + + - - boolean + + action @@ -1118,16 +640,16 @@ - - + + - - + + - - action + + boolean @@ -1138,49 +660,49 @@ - + - + - + - + - - [b_cntRst] + + [u] - + - + - - + + - + boolean @@ -1192,43 +714,43 @@ - - + + - + - + - + [yPrev] - + - + - - + + - + boolean @@ -1240,7 +762,474 @@ - + + + + + + + + + + + + + + + + [y] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tDeacv + + + + + + + + b_cntRst + + + + + + + + yPrev + + + + + + + + yDeacv + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dequalification + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [y] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + tAcv + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + @@ -1250,11 +1239,11 @@ - + - + [yPrev] @@ -1273,43 +1262,91 @@ - - + + - + - + - - [yPrev] + + [tAcv] - + - + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [u] + + + + + + + + + + + + + - - + + - + boolean @@ -1321,43 +1358,43 @@ - + - + - + - + - + yPrev - + - + yDefault - + - + else { } @@ -1365,7 +1402,7 @@ - + @@ -1378,7 +1415,7 @@ - + @@ -1387,162 +1424,16 @@ - + - + Default - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tDeacv - - - - - - - - b_cntRst - - - - - - - - yPrev - - - - - - - - yDeacv - - - - - - - - elseif { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dequalification - - - - @@ -1550,15 +1441,15 @@ - + - - + + - + boolean @@ -1571,15 +1462,15 @@ - + - - + + - + action @@ -1591,35 +1482,50 @@ - + - - + + - - + + - - + + - - [u] + + [yPrev] - - + + + + + + + + + + + + + + + + + boolean @@ -1630,7 +1536,150 @@ - + + + + + + + + + + + + + + + + [u] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -1640,11 +1689,11 @@ - + - + 3 @@ -1662,11 +1711,11 @@ - + - + tDeacv @@ -1677,11 +1726,11 @@ - + - + uint16 @@ -1693,107 +1742,106 @@ - - - + + + - - + + - - - - - - - 2 - - - - - - - - - - - - - - - - + - - tAcv - - - - - - - + + u1 - + - - uint16 + + u2 + + + + + + + + if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - + - - [yPrev] + + elseif(u2 ~=0) + + + + + + + + else - - + + - - + + - - + + - - boolean + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action @@ -1804,7 +1852,7 @@ - + @@ -1814,11 +1862,11 @@ - + - + 1 @@ -1836,11 +1884,11 @@ - + - + u @@ -1851,11 +1899,11 @@ - + - + boolean @@ -1867,185 +1915,9 @@ - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - + - + @@ -2053,20 +1925,20 @@ - + - + - + - - + + @@ -2080,11 +1952,11 @@ - + - + boolean @@ -2107,9 +1979,73 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + - + @@ -2117,20 +2053,20 @@ - + - + - + - - + + @@ -2144,11 +2080,11 @@ - + - + boolean @@ -2169,7 +2105,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + @@ -2183,7 +2183,7 @@ - + @@ -2197,7 +2197,7 @@ - + @@ -2211,7 +2211,7 @@ - + @@ -2225,7 +2225,7 @@ - + @@ -2239,7 +2239,7 @@ - + @@ -2253,7 +2253,7 @@ - + @@ -2267,7 +2267,7 @@ - + @@ -2281,7 +2281,7 @@ - + @@ -2295,7 +2295,7 @@ - + @@ -2309,7 +2309,7 @@ - + @@ -2323,7 +2323,7 @@ - + @@ -2337,7 +2337,7 @@ - + @@ -2351,7 +2351,7 @@ - + @@ -2365,7 +2365,7 @@ - + @@ -2379,7 +2379,7 @@ - + @@ -2393,7 +2393,7 @@ - + @@ -2407,7 +2407,7 @@ - + @@ -2421,7 +2421,7 @@ - + @@ -2435,7 +2435,7 @@ - + @@ -2449,7 +2449,7 @@ - + @@ -2463,7 +2463,7 @@ - + @@ -2477,7 +2477,7 @@ - + @@ -2511,7 +2511,7 @@ - + @@ -2525,7 +2525,7 @@ - + @@ -2539,7 +2539,7 @@ - + @@ -2553,7 +2553,7 @@ - + @@ -2567,7 +2567,7 @@ - + @@ -2581,7 +2581,7 @@ - + @@ -2597,5 +2597,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.json index 6fd2323..b34a2af 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2506", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2506", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2505", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2505", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2504", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2504", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator", "label":"Relational Operator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "Operator", @@ -175,12 +175,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2503", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2503", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "Port", @@ -242,12 +242,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2503#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2503#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "SignalNameFromLabel", @@ -293,12 +293,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2504#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2504#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "SignalNameFromLabel", @@ -344,12 +344,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507:2505#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2505#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg index 0db734d..dfc257e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -156,9 +156,9 @@ - + - + @@ -220,7 +220,7 @@ - + @@ -281,7 +281,7 @@ - + @@ -315,7 +315,7 @@ - + @@ -329,7 +329,7 @@ - + @@ -345,5 +345,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json index fdde0c9..95194d2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9719", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9719", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Start filtering only when motor is enabled (circuit closed).

", "label":"

Start filtering only when motor is enabled (circuit closed).

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9192", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9192", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_phaABC_FOC", "label":"V_phaABC_FOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -129,12 +129,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8859", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8859", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto4", "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -162,12 +162,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8827", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8827", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From8", "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -193,12 +193,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8769", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8769", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From12", "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -224,12 +224,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8778", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8778", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From22", "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -255,20 +255,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8886", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Inv_Park_Transform", "label":"Inv_Park_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -280,6 +280,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -290,10 +291,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -303,7 +303,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -316,6 +316,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -325,21 +326,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -354,20 +352,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8866", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Inv_Clarke_Transform", "label":"Inv_Clarke_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -379,6 +377,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -389,10 +388,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -402,7 +400,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -415,6 +413,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -424,21 +423,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -453,12 +449,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8665", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8665", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_phaAB", "label":"i_phaAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -520,12 +516,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8833", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8833", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto13", "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -553,12 +549,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8666", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8666", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_phaBC", "label":"i_phaBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -620,12 +616,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8835", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8835", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto15", "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -653,12 +649,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9024", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9024", "className":"Simulink.Mux", "icon":"WebViewIcon3", "name":"Mux12", "label":"Mux12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Inputs", @@ -684,12 +680,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9071", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9071", "className":"Simulink.Scope", "icon":"WebViewIcon3", "name":"Scope12", "label":"Scope12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":[ ], "viewer":{ @@ -703,12 +699,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9025", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9025", "className":"Simulink.Mux", "icon":"WebViewIcon3", "name":"Mux13", "label":"Mux13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Inputs", @@ -734,12 +730,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9197", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9197", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_devSignal2", - "label":"r_devSignal2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -814,12 +810,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9195", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9195", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq", "label":"Vq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -894,12 +890,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10447", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10447", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay4", "label":"UnitDelay4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "InitialCondition", @@ -944,20 +940,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Sine_Cosine_Approximation", "label":"Sine_Cosine_Approximation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -969,6 +965,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -979,10 +976,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -992,7 +988,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1005,6 +1001,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1014,21 +1011,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1043,888 +1037,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9026", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "2", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9023", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux1", - "label":"Mux1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "2", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Motor_Limitations", - "label":"Motor_Limitations", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10363", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If3", - "label":"If3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9713", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8863", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9027", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux7", - "label":"Mux7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "3", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8858", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto36", - "label":"Goto36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_cos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8857", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto35", - "label":"Goto35", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_sin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8856", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto34", - "label":"Goto34", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9717", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto32", - "label":"Goto32", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8861", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8851", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8848", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto24", - "label":"Goto24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9028", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux8", - "label":"Mux8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "3", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8843", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8842", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10703", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8837", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8839", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10686", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iqAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8826", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From71", - "label":"From71", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10719", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Park_Transform", "label":"Park_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1936,6 +1062,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1946,10 +1073,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1959,7 +1085,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1972,6 +1098,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1981,21 +1108,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2010,20 +1134,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8825", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9028", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"From69", - "label":"From69", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Mux8", + "label":"Mux8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "z_ctrlMod", - "Tag" + "3", + "bar" ], "tabs":[ "Parameter Attributes" @@ -2036,881 +1160,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10439", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From64", - "label":"From64", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9073", - "className":"Simulink.Scope", - "icon":"WebViewIcon3", - "name":"Scope9", - "label":"Scope9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":[ - ], - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Scope", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8817", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From61", - "label":"From61", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10441", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10440", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From59", - "label":"From59", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10433", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From57", - "label":"From57", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8811", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From56", - "label":"From56", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10362", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task2", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10743", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10729", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8806", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From50", - "label":"From50", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10726", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From44", - "label":"From44", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10395", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8798", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From43", - "label":"From43", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10707", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From39", - "label":"From39", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8810", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From55", - "label":"From55", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8807", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From52", - "label":"From52", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_TgtAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10698", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iqAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8797", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From42", - "label":"From42", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10697", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8850", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10688", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8796", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From41", - "label":"From41", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10448", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VdPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8784", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10394", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8783", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8782", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9072", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9072", "className":"Simulink.Scope", "icon":"WebViewIcon3", "name":"Scope8", "label":"Scope8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":[ ], "viewer":{ @@ -2924,20 +1184,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10446", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9027", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Mux7", + "label":"Mux7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "z_ctrlMod", - "Tag" + "3", + "bar" ], "tabs":[ "Parameter Attributes" @@ -2950,591 +1210,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8815", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9718", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10171", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10432", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From54", - "label":"From54", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8776", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VdPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8775", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8862", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10172", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_TgtAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8772", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10429", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8864", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8768", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10393", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task3", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8787", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From32", - "label":"From32", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10428", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10434", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From58", - "label":"From58", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8790", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From35", - "label":"From35", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Current_Filtering", - "label":"Current_Filtering", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Motor_Limitations", + "label":"Motor_Limitations", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3546,6 +1240,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3556,10 +1251,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3569,7 +1263,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3582,6 +1276,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3591,21 +1286,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3620,1206 +1312,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10687", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8844", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10173", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"toNegative", - "label":"toNegative", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10689", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" - ], - "values":[ - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "-1", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10435", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10702", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs1", - "label":"Abs1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" - ], - "values":[ - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "-1", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8667", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_Transform", - "label":"Clarke_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8795", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8664", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "10", - "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:8663", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_fieldWeak", - "label":"r_fieldWeak", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "9", - "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:10445", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC", - "label":"FOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8794", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10691", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "8", - "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:10174", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10359", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task3", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8786", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10430", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8781", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10728", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto30", - "label":"Goto30", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10358", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"task3", - "label":"task3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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:8846", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10357", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"task2", - "label":"task2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:8849", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8788", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10365", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10365", "className":"Simulink.If", "icon":"WebViewIcon3", "name":"If1", "label":"If1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "NumInputs", @@ -4857,12 +1355,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8838", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8862", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -4870,7 +1368,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "Vq_min", "local", "Tag" ], @@ -4890,79 +1388,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8661", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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:10360", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10359", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -4970,7 +1401,7 @@ "IconDisplay" ], "values":[ - "task2", + "task3", "local", "Tag" ], @@ -4990,19 +1421,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10444", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8858", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Goto36", + "label":"Goto36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "iq", + "r_cos", + "local", "Tag" ], "tabs":[ @@ -5016,17 +1449,50 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8853", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8857", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto35", + "label":"Goto35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8853", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto31", "label":"Goto31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -5054,60 +1520,135 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8662", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9717", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Goto32", + "label":"Goto32", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_motEna", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8851", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8849", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto28", + "label":"Goto28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10363", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If3", + "label":"If3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -5116,66 +1657,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8660", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8845", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"Goto24", + "label":"Goto24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "id", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -5183,24 +1690,321 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10437", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8844", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8843", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8842", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10703", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10728", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto30", + "label":"Goto30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10360", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task2", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10395", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8846", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto25", + "label":"Goto25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10394", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11484", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "Vq_min", + "VqFinPrev", "Tag" ], "tabs":[ @@ -5219,19 +2023,209 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8826", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"From71", + "label":"From71", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], + "values":[ + "id", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8825", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From69", + "label":"From69", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From64", + "label":"From64", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10438", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From62", + "label":"From62", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11472", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto33", + "label":"Goto33", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8811", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From56", + "label":"From56", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8848", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], "values":[ "r_inpTgtSca", + "local", "Tag" ], "tabs":[ @@ -5245,17 +2239,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10431", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8810", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From53", - "label":"From53", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"From55", + "label":"From55", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", @@ -5281,60 +2275,823 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8659", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10432", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"b_enaAdvCtrl", - "label":"b_enaAdvCtrl", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"From54", + "label":"From54", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8861", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8807", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From52", + "label":"From52", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8806", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From50", + "label":"From50", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10444", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10726", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From44", + "label":"From44", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8850", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10719", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8796", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From41", + "label":"From41", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10698", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iqAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8839", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8788", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From33", + "label":"From33", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8787", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From32", + "label":"From32", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10174", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8784", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9718", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_motEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8781", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10441", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From60", + "label":"From60", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8772", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10428", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10686", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8768", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8864", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_mot", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10393", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task3", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10435", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9713", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ZeroCross" ], "values":[ "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", + "u1 ~= 0", "", - "on", "off", - "off", - "off" + "-1", + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -5343,17 +3100,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9196", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9196", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_devSignal1", - "label":"r_devSignal1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -5428,12 +3185,1595 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9716", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8794", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8856", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto34", + "label":"Goto34", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10429", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8790", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From35", + "label":"From35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10171", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10437", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8795", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From40", + "label":"From40", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC", + "label":"FOC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8797", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Current_Filtering", + "label":"Current_Filtering", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8783", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10701", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From38", + "label":"From38", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10445", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_mot", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10446", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10431", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From53", + "label":"From53", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8817", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From61", + "label":"From61", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10689", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10743", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From47", + "label":"From47", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11515", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10729", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10697", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From34", + "label":"From34", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8863", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11516", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "14", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11471", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "13", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8798", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From43", + "label":"From43", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8782", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10702", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs1", + "label":"Abs1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10362", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task2", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Transform", + "label":"Clarke_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10434", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From58", + "label":"From58", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8776", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VdPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8667", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8664", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "10", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11517", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto37", + "label":"Goto37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10173", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"toNegative", + "label":"toNegative", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8815", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10433", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From57", + "label":"From57", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10707", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From39", + "label":"From39", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10436", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9716", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_motEna", "label":"b_motEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -5495,19 +4835,119 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10438", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10357", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"task2", + "label":"task2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10448", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VdPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10440", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From62", - "label":"From62", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "name":"From59", + "label":"From59", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "iq_limProtErr", + "iq_max", "Tag" ], "tabs":[ @@ -5526,12 +4966,839 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8827#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10691", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8838", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10688", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8660", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10358", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"task3", + "label":"task3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10687", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8786", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8663", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_fieldWeak", + "label":"r_fieldWeak", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "9", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8837", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10172", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8775", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10430", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8659", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8662", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8661", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8827#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8886#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8886#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5577,12 +5844,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8665#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5628,12 +5895,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8666#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5679,12 +5946,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8665#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8866#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5730,12 +5997,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8666#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9024#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5781,12 +6048,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9025#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5832,12 +6099,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8781#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5883,12 +6150,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8782#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5934,12 +6201,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9024#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8783#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5985,12 +6252,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9025#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8784#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6036,12 +6303,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8772#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6087,12 +6354,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8782#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8786#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6138,12 +6405,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8787#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6189,12 +6456,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8784#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8788#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6240,12 +6507,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8772#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8661#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6291,12 +6558,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8786#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8810#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6342,12 +6609,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8787#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8798#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6393,12 +6660,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8788#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9028#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6444,12 +6711,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8661#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8811#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6495,12 +6762,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8795#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6546,12 +6813,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9027#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6597,12 +6864,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8810#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8796#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6648,12 +6915,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8798#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8797#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6699,12 +6966,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9028#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6750,12 +7017,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8811#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6801,12 +7068,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8795#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6852,12 +7119,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9027#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6903,12 +7170,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8796#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8815#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6954,12 +7221,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8797#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8659#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7005,12 +7272,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8794#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7056,12 +7323,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8660#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7107,12 +7374,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8662#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7158,12 +7425,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8790#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7209,12 +7476,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8806#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7260,12 +7527,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8659#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7311,12 +7578,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8794#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7362,12 +7629,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8660#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8776#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7413,12 +7680,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8662#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8807#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7464,12 +7731,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8790#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7515,12 +7782,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8806#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7566,12 +7833,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:5", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7617,12 +7884,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:6", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7668,12 +7935,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:7", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7719,12 +7986,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8807#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:8", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7770,12 +8037,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8817#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7821,12 +8088,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:11", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7872,12 +8139,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:12", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7923,12 +8190,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8825#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7974,12 +8241,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8663#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8025,12 +8292,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8743#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8076,12 +8343,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8743#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8127,12 +8394,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:11", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8775#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8178,12 +8445,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:12", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8664#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8229,12 +8496,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8825#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8826#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8280,12 +8547,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8663#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8768#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8331,12 +8598,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9713#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8382,12 +8649,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9716#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8433,12 +8700,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8775#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9718#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8484,12 +8751,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8664#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10173#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8535,12 +8802,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9023#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10174#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8586,12 +8853,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9026#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10357#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8637,12 +8904,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8826#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10358#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8688,12 +8955,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8768#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10363#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8739,12 +9006,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9713#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10362#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8790,12 +9057,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9716#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10365#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8841,12 +9108,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9718#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10393#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8892,12 +9159,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10173#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8943,12 +9210,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10174#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -8994,12 +9261,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10357#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10430#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9045,12 +9312,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10358#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10429#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9096,12 +9363,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10363#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10428#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9147,12 +9414,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10362#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10431#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9198,12 +9465,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10365#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10432#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9249,12 +9516,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10393#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10433#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9300,12 +9567,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10364#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10434#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9351,12 +9618,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10364#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10435#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9402,12 +9669,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10430#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10436#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9453,12 +9720,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10429#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10437#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9504,12 +9771,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10428#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10438#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9555,12 +9822,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10431#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10439#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9606,12 +9873,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10432#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10440#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9657,12 +9924,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10433#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10441#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9708,12 +9975,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10434#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10444#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9759,12 +10026,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10435#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10445#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9810,12 +10077,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10436#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10446#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9861,12 +10128,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10437#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10447#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9912,12 +10179,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10438#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10689#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -9963,12 +10230,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10439#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10688#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10014,12 +10281,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10440#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10691#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10065,12 +10332,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10441#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10697#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10116,12 +10383,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10444#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10698#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10167,12 +10434,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10445#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10701#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10218,12 +10485,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10446#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10702#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10269,12 +10536,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10447#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10707#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10320,12 +10587,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10689#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:9", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10371,12 +10638,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10688#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10726#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10422,12 +10689,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10691#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:10", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10473,12 +10740,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10697#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10729#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10524,12 +10791,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10698#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10743#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10575,12 +10842,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8769#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10626,12 +10893,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10702#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8778#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10677,12 +10944,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11023#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10728,12 +10995,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11023#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10779,12 +11046,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10726#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11471#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10830,12 +11097,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11484#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10881,12 +11148,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10729#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11515#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", @@ -10932,12 +11199,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10743#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11516#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png new file mode 100644 index 0000000..9e5d61b Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg index a5b0182..ebea122 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg @@ -1,25 +1,25 @@ - + - + - + - + - + @@ -32,11 +32,11 @@ - - + + - + @@ -46,29 +46,29 @@ - + 1 - + - + - + - + V_phaABC_FOC @@ -80,11 +80,11 @@ - - + + - + @@ -94,14 +94,14 @@ - + [V_phaABC_FOC] - + @@ -113,11 +113,11 @@ - - + + - + @@ -127,29 +127,29 @@ - + [V_phaABC_FOC] - + - + - + - + sfix16_En4 @@ -161,7 +161,7 @@ - + @@ -194,7 +194,7 @@ - + @@ -209,7 +209,7 @@ - + @@ -242,7 +242,7 @@ - + @@ -257,9 +257,9 @@ - - - + + + @@ -267,7 +267,7 @@ - + @@ -277,7 +277,7 @@ - + Vq @@ -285,7 +285,7 @@ - + Vd @@ -293,7 +293,7 @@ - + r_sin @@ -301,7 +301,7 @@ - + r_cos @@ -309,7 +309,7 @@ - + V_alpha @@ -317,7 +317,7 @@ - + V_beta @@ -330,7 +330,7 @@ - + @@ -343,15 +343,15 @@ - + - + - + Inv_Park_Transform @@ -364,15 +364,15 @@ - + - + - + sfix16_En4 @@ -385,15 +385,15 @@ - + - + - + sfix16_En4 @@ -405,15 +405,15 @@ - + - - + + @@ -421,7 +421,7 @@ - + @@ -431,7 +431,7 @@ - + V_alpha @@ -439,7 +439,7 @@ - + V_beta @@ -447,7 +447,7 @@ - + V_phaABC_FOC @@ -460,7 +460,7 @@ - + @@ -473,15 +473,15 @@ - + - + - + Inv_Clarke_Transform @@ -494,15 +494,15 @@ - + - + - + sfix16_En4 @@ -514,7 +514,7 @@ - + @@ -553,7 +553,7 @@ - + @@ -568,7 +568,7 @@ - + @@ -583,7 +583,7 @@ - + @@ -616,7 +616,7 @@ - + @@ -649,7 +649,7 @@ - + @@ -664,7 +664,7 @@ - + @@ -679,7 +679,7 @@ - + @@ -712,43 +712,43 @@ - - + + - + - + - + - + - + - + - + sfix16_En4 @@ -760,11 +760,11 @@ - - - + + + - + @@ -774,7 +774,7 @@ - + @@ -782,7 +782,7 @@ - + @@ -797,7 +797,7 @@ - + @@ -809,43 +809,43 @@ - - + + - + - + - + - + - + - + - + sfix16_En4 @@ -857,11 +857,11 @@ - - + + - + @@ -871,30 +871,30 @@ - + 4 - + - - + + - + - - r_devSignal2 + + id @@ -905,11 +905,11 @@ - - + + - + @@ -919,29 +919,29 @@ - + 2 - + - + - + - + Vq @@ -953,11 +953,11 @@ - - + + - + @@ -967,7 +967,7 @@ - + @@ -975,7 +975,7 @@ - + @@ -983,7 +983,7 @@ - + @@ -991,7 +991,7 @@ - + @@ -1006,38 +1006,38 @@ - + - - - + + + - + - - Ini=0 + + sfix16_En4 - - - + + + - + - - sfix16_En4 + + Ini=0 @@ -1048,9 +1048,9 @@ - + - + @@ -1115,7 +1115,7 @@ - + @@ -1136,7 +1136,7 @@ - + @@ -1157,7 +1157,7 @@ - + @@ -1172,111 +1172,15 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - + + @@ -1284,170 +1188,58 @@ - - + + - - + + - - z_ctrlMod + + i_apha - - + + - - r_inpTgtScaAbs + + i_beta - - + + - - VdPrev + + r_sin - - + + - - id_TgtAbs + + r_cos - - + + - - iq + + iq_Raw - - + + - - iqAbs - - - - - - - - n_motAbs - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - iq_limProtErr - - - - - - - - Vq_nLimProtMax - - - - - - - - if { } + + id_Raw @@ -1459,8 +1251,8 @@ - - + + @@ -1472,16 +1264,16 @@ - - + + - - + + - - Motor_Limitations + + Park_Transform @@ -1493,15 +1285,15 @@ - + - - + + - + sfix16_En4 @@ -1514,100 +1306,385 @@ - - - - - - - - - - action - - - - - - - - - - - - + - - + + - + sfix16_En4 - + + + + + + + + + + + + + + + + + + + + + - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - sfix16_En4 + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtScaAbs + + + + + + + + VdPrev + + + + + + + + id_TgtAbs + + + + + + + + iq + + + + + + + + iqAbs + + + + + + + + n_motAbs + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + iq_limProtErr + + + + + + + + Vq_nLimProtMax + + + + + + + + if { } + + + + + - - - - - - - - - - sfix16_En4 + + - + - - + + - - + + - - sfix16_En4 + + Motor_Limitations @@ -1619,16 +1696,16 @@ - - + + - - + + - - sfix32_En20 + + sfix16_En4 @@ -1640,15 +1717,15 @@ - + - - + + - + sfix16_En4 @@ -1661,15 +1738,15 @@ - + - - + + - + sfix16_En4 @@ -1682,16 +1759,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1703,15 +1780,15 @@ - + - - + + - + sfix16_En4 @@ -1724,16 +1801,16 @@ - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -1745,15 +1822,141 @@ - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1765,57 +1968,57 @@ - + - + - + - + - + - + u1 - + - + if(u1 ~= 0) - + - + - - + + - + action @@ -1827,84 +2030,28 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - + + - + - - + + - - [b_enaAdvCtrl] + + [Vq_min] - + @@ -1916,44 +2063,29 @@ - - - + + + - - + + - - + + - - + + [task3] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1964,7 +2096,7 @@ - + @@ -1974,11 +2106,11 @@ - + - + [r_cos] @@ -1997,7 +2129,7 @@ - + @@ -2007,11 +2139,11 @@ - + - + [r_sin] @@ -2030,28 +2162,28 @@ - - + + - + - + - - [Vq_nLimProtMax] + + [iq_limProtErr] - + @@ -2063,7 +2195,7 @@ - + @@ -2073,11 +2205,11 @@ - + - + [b_motEna] @@ -2096,40 +2228,7 @@ - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - + @@ -2139,11 +2238,11 @@ - + - + [z_ctrlMod] @@ -2162,28 +2261,28 @@ - - + + - + - - + + - - [r_inpTgtSca] + + [iq_min] - + @@ -2195,7 +2294,63 @@ - + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + @@ -2205,11 +2360,11 @@ - + - + [id] @@ -2228,2922 +2383,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - i_apha - - - - - - - - i_beta - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - iq_Raw - - - - - - - - id_Raw - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Park_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iq_raw - - - - - - - - id_raw - - - - - - - - iq - - - - - - - - id - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Current_Filtering - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - + @@ -5153,11 +2393,11 @@ - + - + [iq] @@ -5176,43 +2416,307 @@ - - - + + + - - + + - - + + - - -1 + + [r_fieldWeak] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task2] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + - + - - + + - + sfix16_En4 @@ -5224,9 +2728,2713 @@ - + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_Tgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task3] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_Tgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [id_Tgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca + + + + + + + + r_inpTgtScaAbs + + + + + + + + n_mot + + + + + + + + id_Tgt + + + + + + + + id + + + + + + + + iq + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + iq_limProtErr + + + + + + + + Vq_nLimProtMax + + + + + + + + VqFinPrev + + + + + + + + b_cruiseCtrlEna + + + + + + + + Vd + + + + + + + + Vq + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq_raw + + + + + + + + id_raw + + + + + + + + iq + + + + + + + + id + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current_Filtering + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -5234,35 +5442,35 @@ - + - + - + - + - + - + - + - + @@ -5288,11 +5496,11 @@ - - + + - + sfix16_En4 @@ -5304,43 +5512,43 @@ - - + + - + - + - - [r_inpTgtSca] + + [r_inpTgtScaAbs] - + - + - - + + - + sfix16_En4 @@ -5352,7 +5560,406 @@ - + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 14 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 13 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + @@ -5362,35 +5969,35 @@ - + - + - + - + - + - + - + - + @@ -5416,11 +6023,11 @@ - - + + - + sfix16_En4 @@ -5432,9 +6039,291 @@ - + + + + + + + + + + + + + + + + [task2] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + i_phaBC + + + + + + + + i_alpha + + + + + + + + i_beta + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -5442,11 +6331,11 @@ - + - + if { } @@ -5464,11 +6353,11 @@ - - + + - + Action Port @@ -5480,193 +6369,7 @@ - - - - - - - - - - - - - - - - - - - - - - i_phaAB - - - - - - - - i_phaBC - - - - - - - - i_alpha - - - - - - - - i_beta - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clarke_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -5676,11 +6379,11 @@ - + - + 10 @@ -5698,11 +6401,11 @@ - - + + - + a_elecAngle @@ -5713,11 +6416,11 @@ - - + + - + sfix16_En6 @@ -5729,529 +6432,29 @@ - - - + + + - - + + - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtSca - - - - - - - - r_inpTgtScaAbs - - - - - - - - n_mot - - - - - - - - id_Tgt - - - - - - - - id - - - - - - - - iq - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - iq_limProtErr - - - - - - - - Vq_nLimProtMax - - - - - - - - Vd - - - - - - - - Vq - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - + - - sfix16_En4 + + [b_cruiseCtrlEna] + + + + + + + @@ -6262,43 +6465,43 @@ - - - + + + - - + + - + - - [r_fieldWeak] + + -1 - - + + - + - + - + sfix16_En4 @@ -6310,29 +6513,44 @@ - - - + + + - - + + - + - - [task3] + + [Vq] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6343,43 +6561,43 @@ - - + + - + - - - - - - - [iq] - - - - - - - - - - - - - - - - + - + + [id_max] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6391,44 +6609,44 @@ - - + + - + - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - + - - boolean + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6439,316 +6657,43 @@ - - + + - + - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - task3 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - task2 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -6760,654 +6705,7 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - n_mot - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_devSignal1 - - - - - - - - - - - + @@ -7417,11 +6715,11 @@ - + - + 6 @@ -7439,11 +6737,11 @@ - - + + - + b_motEna @@ -7454,11 +6752,11 @@ - - + + - + boolean @@ -7470,44 +6768,140 @@ - - - + + + - - + + - - + + - - [iq_limProtErr] + + 4 - + + + + + + + + + + + + + + + + + task2 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + - - + + - - + + - - sfix32_En20 + + sfix16_En4 @@ -7516,49 +6910,814 @@ - + - - - + + + - - + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + [Vd_min] + + + + + + + + + - + - - - + + + - - + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + - + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + task3 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7572,7 +7731,7 @@ - + @@ -7586,77 +7745,49 @@ - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -7670,7 +7801,7 @@ - + @@ -7684,91 +7815,91 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -7782,297 +7913,189 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + @@ -8086,21 +8109,21 @@ - + - + - + - + @@ -8114,7 +8137,7 @@ - + @@ -8128,189 +8151,35 @@ - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -8324,7 +8193,7 @@ - + @@ -8338,21 +8207,175 @@ - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8366,7 +8389,7 @@ - + @@ -8380,7 +8403,7 @@ - + @@ -8394,7 +8417,7 @@ - + @@ -8408,7 +8431,7 @@ - + @@ -8422,63 +8445,35 @@ - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -8492,7 +8487,7 @@ - + @@ -8506,7 +8501,7 @@ - + @@ -8520,7 +8515,7 @@ - + @@ -8534,7 +8529,7 @@ - + @@ -8568,7 +8563,7 @@ - + @@ -8582,7 +8577,7 @@ - + @@ -8596,363 +8591,363 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -8966,7 +8961,7 @@ - + @@ -8980,7 +8975,7 @@ - + @@ -8994,35 +8989,35 @@ - + - + - + - + - + - + - + @@ -9036,7 +9031,7 @@ - + @@ -9050,84 +9045,196 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9136,5 +9243,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json index 2902d24..88881b7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json @@ -1,42 +1,24 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8740", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8739", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"cf_currFilt", - "label":"cf_currFilt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "Inputs", + "DisplayOption" ], "values":[ - "cf_currFilt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" + "2", + "bar" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -44,97 +26,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8741", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "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", - "0", - "off", - "reset", - "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:8742", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8742", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"id", "label":"id", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "Port", @@ -209,12 +111,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Low_Pass_Filter", "label":"Low_Pass_Filter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "ShowPortLabels", @@ -302,12 +204,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8737", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8737", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto6", "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "GotoTag", @@ -335,25 +237,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8739", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8741", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", - "bar" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -361,145 +312,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8736", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_raw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8735", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_raw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8731", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8732", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_raw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8734", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8734", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "GotoTag", @@ -527,12 +350,140 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8729", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8736", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_raw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8733", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_raw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8731", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8735", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_raw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8729", "className":"Simulink.Demux", "icon":"WebViewIcon3", "name":"Demux1", "label":"Demux1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "Outputs", @@ -560,12 +511,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8728", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9714", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8732", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_raw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8728", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"id_raw", "label":"id_raw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "Port", @@ -627,43 +640,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8733", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_raw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8727", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8727", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_raw", "label":"iq_raw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "Port", @@ -725,12 +707,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8730", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8730", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From", "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "GotoTag", @@ -756,25 +738,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9714", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8740", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "name":"cf_currFilt", + "label":"cf_currFilt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "reset", - "Only when execution is resumed" + "cf_currFilt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -782,17 +782,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8739#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8739#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -838,12 +838,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8729#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8729#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -889,12 +889,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8740#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8740#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -940,12 +940,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8728#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8728#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -991,12 +991,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8730#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8730#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1042,12 +1042,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8731#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8731#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1093,12 +1093,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8727#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8727#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1144,12 +1144,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8729#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8729#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1195,12 +1195,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1246,12 +1246,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8732#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1297,12 +1297,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8733#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png new file mode 100644 index 0000000..e61d2bc Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg index efc79f1..eb2e156 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg @@ -9,63 +9,48 @@
- + - - - + + + - - + + - + - - cf_currFilt + + - - - - - - - - - - - - - - - - - cf_currFilt + + - - + + - - + + - - ufix16_En16 + + sfix16_En4 @@ -76,55 +61,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - + @@ -134,11 +71,11 @@ - + - + 2 @@ -156,11 +93,11 @@ - + - + id @@ -172,9 +109,9 @@ - + - + @@ -182,36 +119,68 @@ - + - + u - + - + coef - + - + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -219,7 +188,7 @@ - + @@ -227,7 +196,7 @@ - + @@ -235,7 +204,7 @@ - + @@ -243,7 +212,7 @@ - + @@ -251,7 +220,7 @@ - + @@ -259,7 +228,7 @@ - + @@ -267,7 +236,7 @@ - + @@ -275,7 +244,7 @@ - + @@ -283,7 +252,7 @@ - + @@ -291,7 +260,7 @@ - + @@ -299,7 +268,7 @@ - + @@ -307,7 +276,7 @@ - + @@ -315,7 +284,7 @@ - + @@ -323,7 +292,7 @@ - + @@ -331,46 +300,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + coef @@ -388,11 +325,11 @@ - + - + Low_Pass_Filter @@ -403,11 +340,11 @@ - + - + sfix16_En4 @@ -415,29 +352,29 @@ - + - + - + - + - + - + @@ -451,7 +388,7 @@ - + @@ -461,11 +398,11 @@ - + - + [id] @@ -484,44 +421,44 @@ - - - + + + - - + + - - + + - - + + 1 - - + + - - - + + + - - + + - - sfix16_En4 + + iq @@ -532,169 +469,7 @@ - - - - - - - - - - - - - - - - [id_raw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_raw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_raw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -704,11 +479,11 @@ - + - + [iq] @@ -727,59 +502,29 @@ - - - + + + - - + + - - + + - - + + [id_raw] - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - sfix16_En4 + + @@ -790,70 +535,7 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - id_raw - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -863,11 +545,11 @@ - + - + [id_raw] @@ -885,11 +567,11 @@ - + - + sfix16_En4 @@ -901,106 +583,43 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_raw - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [iq] + + [id] - + - + - - + + - + sfix16_En4 @@ -1012,9 +631,105 @@ - + + + + + + + + + + + + + + + + [iq_raw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -1022,11 +737,11 @@ - + - + if { } @@ -1044,11 +759,11 @@ - + - + Action Port @@ -1058,7 +773,292 @@ - + + + + + + + + + + + + + + + + + + [iq_raw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + id_raw + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + iq_raw + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_currFilt + + + + + + + + + + + + + + + + + + + + + + cf_currFilt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + @@ -1072,7 +1072,7 @@ - + @@ -1086,7 +1086,7 @@ - + @@ -1100,7 +1100,7 @@ - + @@ -1114,7 +1114,7 @@ - + @@ -1128,7 +1128,7 @@ - + @@ -1142,7 +1142,7 @@ - + @@ -1156,7 +1156,7 @@ - + @@ -1170,7 +1170,7 @@ - + @@ -1184,7 +1184,7 @@ - + @@ -1198,7 +1198,7 @@ - + @@ -1214,5 +1214,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json index b9a53ad..91330ce 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json @@ -1,11 +1,179 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2904", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2903", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "0", + "Elements as channels (sample based)", + "-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":"BLDCmotor_FOC_R2017b_fixdt:8738:2902", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "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":"BLDCmotor_FOC_R2017b_fixdt:8738:2901", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Same as first input", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2904", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "Port", @@ -80,180 +248,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2902", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "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:8738:2901", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2903", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "0", - "Elements as channels (sample based)", - "-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:8738:2900", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2900", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide3", "label":"Divide3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "Inputs", @@ -305,12 +305,59 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2898", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2899", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "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":"BLDCmotor_FOC_R2017b_fixdt:8738:2898", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"coef", "label":"coef", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "Port", @@ -372,12 +419,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2897", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2897", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "Port", @@ -439,59 +486,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2899", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "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:8738:2898#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2898#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", @@ -537,12 +537,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2900#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2900#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", @@ -588,12 +588,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2897#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2897#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", @@ -639,12 +639,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2899#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2899#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", @@ -690,12 +690,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2903#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2903#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", @@ -741,12 +741,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2901#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2901#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", @@ -792,12 +792,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2902#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2902#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png new file mode 100644 index 0000000..269d6e1 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg similarity index 80% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg index 1d06c64..1d87427 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg @@ -9,195 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -207,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -261,11 +77,11 @@ - + - + sfix32_En20 @@ -277,9 +93,193 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + - + @@ -333,133 +333,7 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - coef - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -469,20 +343,20 @@ - + - + - + - - + + @@ -507,11 +381,11 @@ - + - + sfix16_En4 @@ -521,7 +395,133 @@ - + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + coef + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -535,7 +535,7 @@ - + @@ -549,7 +549,7 @@ - + @@ -563,7 +563,7 @@ - + @@ -577,7 +577,7 @@ - + @@ -611,7 +611,7 @@ - + @@ -625,7 +625,7 @@ - + @@ -661,5 +661,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json index 66d30e2..48461ca 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8762", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8762", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Note: The Sine and Cosine maps are shifted in phase by 30 deg to align with the Hall sensors position.

", "label":"

Note: The Sine and Cosine maps are shifted in phase by 30 deg to align with the Hall sensors position.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8764", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8764", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Sine/Cosine Look-up Tables

", "label":"

Sine/Cosine Look-up Tables

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8757", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8758", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_sin", - "label":"r_sin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "name":"r_cos", + "label":"r_cos", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "Port", @@ -131,7 +131,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -178,172 +178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8755", - "className":"Simulink.Interpolation_nD", - "icon":"WebViewIcon3", - "name":"r_sin_M1", - "label":"r_sin_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "NumberOfTableDimensions", - "RequireIndexFractionAsBus", - "TableSpecification", - "TableSource", - "Table", - "InterpMethod", - "DiagnosticForOutOfRangeInput", - "ValidIndexMayReachLast", - "NumSelectionDims", - "RemoveProtectionIndex", - "TableDataTypeStr", - "TableMin", - "TableMax", - "OutDataTypeStr", - "OutMin", - "OutMax", - "InternalRulePriority", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ExtrapMethod", - "IntermediateResultsDataTypeStr", - "LookupTableObject", - "SampleTime" - ], - "values":[ - "1", - "off", - "Explicit values", - "Dialog", - "r_sin_M1", - "Flat", - "Error", - "on", - "0", - "on", - "Inherit: Same as output", - "[]", - "[]", - "fixdt(1,16,14)", - "[]", - "[]", - "Speed", - "off", - "Simplest", - "off", - "Clip", - "Inherit: Same as output", - "", - "-1" - ], - "tabs":[ - "Main", - "Data Types", - "-Other" - ], - "tabs_idx":[ - 0, - 10, - 20 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Interpolation_n-D", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8748", - "className":"Simulink.PreLookup", - "icon":"WebViewIcon3", - "name":"a_elecAngle_XA", - "label":"a_elecAngle_XA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", - "LockScale", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "FractionDataTypeStr", - "OutputBusDataTypeStr", - "RndMeth", - "SampleTime", - "UseLastBreakpoint" - ], - "values":[ - "Explicit values", - "Dialog", - "a_elecAngle_XA", - "Index only", - "Evenly spaced points", - "Clip", - "None", - "off", - "Inherit: Same as input", - "[]", - "[]", - "uint8", - "off", - "on", - "", - "10", - "11", - "10", - "fixdt(0,16,14)", - "Inherit: auto", - "Simplest", - "-1", - "off" - ], - "tabs":[ - "Main", - "Data Types", - "-Other" - ], - "tabs_idx":[ - 0, - 8, - 13 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"PreLookup", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8754", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8754", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", "name":"r_cos_M1", "label":"r_cos_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "NumberOfTableDimensions", @@ -419,253 +259,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9646", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_cos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9643", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9639", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10676", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "uint8", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9640", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9645", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9644", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_sin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8758", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8757", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_cos", - "label":"r_cos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "name":"r_sin", + "label":"r_sin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "Port", @@ -693,7 +292,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -740,12 +339,332 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8744", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8748", + "className":"Simulink.PreLookup", + "icon":"WebViewIcon3", + "name":"a_elecAngle_XA", + "label":"a_elecAngle_XA", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "LockScale", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "FractionDataTypeStr", + "OutputBusDataTypeStr", + "RndMeth", + "SampleTime", + "UseLastBreakpoint" + ], + "values":[ + "Explicit values", + "Dialog", + "a_elecAngle_XA", + "Index only", + "Evenly spaced points", + "Clip", + "None", + "off", + "Inherit: Same as input", + "[]", + "[]", + "uint8", + "off", + "on", + "", + "10", + "11", + "10", + "fixdt(0,16,14)", + "Inherit: auto", + "Simplest", + "-1", + "off" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 8, + 13 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"PreLookup", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9644", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9639", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9645", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9640", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10676", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9643", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9646", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_cos", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8744", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"a_elecAngle", "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "Port", @@ -807,12 +726,93 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8748#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8755", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"r_sin_M1", + "label":"r_sin_M1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "RequireIndexFractionAsBus", + "TableSpecification", + "TableSource", + "Table", + "InterpMethod", + "DiagnosticForOutOfRangeInput", + "ValidIndexMayReachLast", + "NumSelectionDims", + "RemoveProtectionIndex", + "TableDataTypeStr", + "TableMin", + "TableMax", + "OutDataTypeStr", + "OutMin", + "OutMax", + "InternalRulePriority", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ExtrapMethod", + "IntermediateResultsDataTypeStr", + "LookupTableObject", + "SampleTime" + ], + "values":[ + "1", + "off", + "Explicit values", + "Dialog", + "r_sin_M1", + "Flat", + "Error", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,14)", + "[]", + "[]", + "Speed", + "off", + "Simplest", + "off", + "Clip", + "Inherit: Same as output", + "", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 10, + 20 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Interpolation_n-D", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8748#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -858,12 +858,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10676#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10676#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -909,12 +909,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8744#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8744#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -960,12 +960,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9640#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9640#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1011,12 +1011,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9643#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9643#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1062,12 +1062,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8755#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8755#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1113,12 +1113,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9645#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9645#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1164,12 +1164,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8754#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8754#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png new file mode 100644 index 0000000..d49957a Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg index 36505bf..3788b7d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg @@ -9,11 +9,11 @@
- + - + @@ -40,7 +40,7 @@ - + @@ -59,11 +59,11 @@ - - + + - + @@ -73,7 +73,422 @@ - + + 2 + + + + + + + + + + + + + + + + + + + + + + r_cos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + r_cos_M1 + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + 1 @@ -91,11 +506,11 @@ - + - + r_sin @@ -107,460 +522,93 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - r_sin_M1 - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - + - - + + - - + + - + - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + @@ -586,11 +634,11 @@ - + - + a_elecAngle_XA @@ -601,11 +649,11 @@ - + - + uint8 @@ -617,632 +665,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - r_cos_M1 - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - + @@ -1252,11 +675,11 @@ - + - + [r_sin] @@ -1275,44 +698,29 @@ - - - + + + - - + + - - + + - - 2 + + [a_elecAngle] - - - - - - - - - - - - - - - - - r_cos + + @@ -1323,7 +731,232 @@ - + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + @@ -1333,11 +966,11 @@ - + - + 1 @@ -1355,11 +988,11 @@ - + - + a_elecAngle @@ -1370,11 +1003,11 @@ - + - + sfix16_En6 @@ -1384,7 +1017,374 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + r_sin_M1 + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + @@ -1418,7 +1418,7 @@ - + @@ -1452,7 +1452,7 @@ - + @@ -1466,7 +1466,7 @@ - + @@ -1480,7 +1480,7 @@ - + @@ -1494,7 +1494,7 @@ - + @@ -1508,7 +1508,7 @@ - + @@ -1522,7 +1522,7 @@ - + @@ -1538,5 +1538,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json index 8e7d536..3ca23a1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8884", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8884", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Space Vector Modulation (SVM)

", "label":"

Space Vector Modulation (SVM)

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8885", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8885", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Inverse Clarke Transform:

V_phaA = V_alpha

V_phaB = -(1/2)*V_alpha + (sqrt(3)/2)*V_beta

V_phaC = -VphaA - V_phaB

", "label":"

Inverse Clarke Transform:

V_phaA = V_alpha

V_phaB = -(1/2)*V_alpha + (sqrt(3)/2)*V_beta

V_phaC = -VphaA - V_phaB

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8868", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8868", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"V_beta", "label":"V_beta", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "Port", @@ -165,12 +165,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8867", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8867", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"V_alpha", "label":"V_alpha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "Port", @@ -232,12 +232,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8881", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8881", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_phaABC_FOC", "label":"V_phaABC_FOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "Port", @@ -312,12 +312,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8879", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8880", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum6", + "label":"Sum6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "-+", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8879", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "IconShape", @@ -371,65 +430,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8877", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "max", - "on", - "1", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8876", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8876", "className":"Simulink.MinMax", "icon":"WebViewIcon3", "name":"MinMax1", "label":"MinMax1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "OutDataTypeStr", @@ -477,319 +483,46 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8875", - "className":"Simulink.Gain", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8877", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "name":"MinMax2", + "label":"MinMax2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "2/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Floor", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8872", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain1", - "label":"Gain1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "sqrt(3)/2", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8870", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Add1", - "label":"Add1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "IconShape", - "Inputs", + "Function", "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", + "Inputs", "LockScale", + "OutMax", + "OutMin", "RndMeth", + "SampleTime", "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "ZeroCross" ], "values":[ - "rectangular", - "-+", - "off", "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Floor", + "max", "on", "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8880", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "-+", "off", - "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8878", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux4", - "label":"Mux4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "3", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8873", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "0.5", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", "Floor", + "-1", "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" + "on" ], "tabs":[ - "Main", "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 8, - 11 + 1 ] }, "viewer":{ @@ -798,76 +531,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"MinMax", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8869", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Add", - "label":"Add", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8874", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8874", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain3", "label":"Gain3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "Gain", @@ -921,12 +595,338 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8873", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain2", + "label":"Gain2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "0.5", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Floor", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8875", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "2/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Floor", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8869", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Add", + "label":"Add", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8878", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux4", + "label":"Mux4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "3", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8872", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain1", + "label":"Gain1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "sqrt(3)/2", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8870", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Add1", + "label":"Add1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "-+", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Floor", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8880#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -972,12 +972,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8879#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1023,12 +1023,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8872#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8872#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1074,12 +1074,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8874#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8874#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1125,12 +1125,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8867#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8867#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"alpha", "label":"alpha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1176,12 +1176,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8868#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8868#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"beta", "label":"beta", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1227,12 +1227,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8869#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1278,12 +1278,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8870#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8870#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1329,12 +1329,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8876#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8876#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1380,12 +1380,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8873#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8873#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1431,12 +1431,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8877#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1482,12 +1482,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8878#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1533,12 +1533,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8875#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8875#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg index b98de0c..27d86e0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,7 +32,7 @@ - + @@ -91,7 +91,7 @@ - + @@ -154,7 +154,7 @@ - + @@ -217,7 +217,7 @@ - + @@ -265,7 +265,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -275,19 +339,19 @@ - + - + - + - + @@ -305,11 +369,11 @@ - + - + sfix16_En4 @@ -321,73 +385,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -395,20 +395,20 @@ - + - + - + - - + + @@ -433,11 +433,11 @@ - + - + sfix16_En4 @@ -449,91 +449,59 @@ - - - + + + - - + + - + - - + + - - 2/sqrt(3) + + + + + + + + + + + + + + + + + + - - + + - + - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + - - sqrt(3)/2 - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -545,303 +513,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0.5 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -851,11 +523,11 @@ - + - + 1/2 @@ -873,11 +545,11 @@ - + - + sfix16_En4 @@ -887,7 +559,335 @@ - + + + + + + + + + + + + + + + + + + 0.5 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + sqrt(3)/2 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -921,7 +921,7 @@ - + @@ -935,7 +935,7 @@ - + @@ -949,7 +949,7 @@ - + @@ -963,7 +963,7 @@ - + @@ -1028,7 +1028,7 @@ - + @@ -1053,7 +1053,7 @@ - + @@ -1067,7 +1067,7 @@ - + @@ -1081,7 +1081,7 @@ - + @@ -1095,7 +1095,7 @@ - + @@ -1109,7 +1109,7 @@ - + @@ -1123,7 +1123,7 @@ - + @@ -1177,7 +1177,7 @@ - + @@ -1193,5 +1193,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json index dca784c..b63f5b9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8911", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8911", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Inverse Park Transform:

V_alpha = Vd*cos(angle) - Vq*sin(angle)

V_beta = Vd*sin(angle) + Vq*cos(angle)

", "label":"

Inverse Park Transform:

V_alpha = Vd*cos(angle) - Vq*sin(angle)

V_beta = Vd*sin(angle) + Vq*cos(angle)

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8888", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8888", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vd", "label":"Vd", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Port", @@ -116,12 +116,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8910", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8910", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_beta", "label":"V_beta", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Port", @@ -196,12 +196,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8887", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8887", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq", "label":"Vq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Port", @@ -263,12 +263,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8909", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8909", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_alpha", "label":"V_alpha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Port", @@ -343,12 +343,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8889", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_sin", "label":"r_sin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Port", @@ -410,12 +410,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8890", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_cos", "label":"r_cos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Port", @@ -477,387 +477,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8906", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_cos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8904", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8905", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_sin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8902", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8901", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8903", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8899", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8897", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8895", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8896", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8894", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8907", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8907", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "IconShape", @@ -911,51 +536,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8891", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8906", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "r_cos", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -963,17 +564,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8898", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8902", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "GotoTag", @@ -999,12 +600,290 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8892", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8900", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8899", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8896", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8897", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8905", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8903", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8895", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8891", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8892", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "Inputs", @@ -1056,69 +935,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8893", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8908", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8908", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum6", "label":"Sum6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "IconShape", @@ -1172,19 +994,76 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8900", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8893", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8901", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "Vq", + "r_sin", "Tag" ], "tabs":[ @@ -1203,12 +1082,133 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8889#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8904", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8898", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8894", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8889#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1254,12 +1254,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8888#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8888#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1305,12 +1305,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8887#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8887#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1356,12 +1356,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8890#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1407,12 +1407,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8896#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1458,12 +1458,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8895#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1509,12 +1509,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8902#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8902#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1560,12 +1560,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8899#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8899#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1611,12 +1611,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8891#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1662,12 +1662,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8897#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8897#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1713,12 +1713,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8898#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8898#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1764,12 +1764,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8892#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1815,12 +1815,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8893#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1866,12 +1866,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8900#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8900#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1917,12 +1917,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8894#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1968,12 +1968,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8901#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8901#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2019,12 +2019,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8907#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8907#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2070,12 +2070,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8908#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8908#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg index b1bb456..9036aa2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg @@ -9,11 +9,11 @@
- + - + @@ -64,7 +64,7 @@ - + @@ -127,7 +127,7 @@ - + @@ -175,7 +175,7 @@ - + @@ -238,7 +238,7 @@ - + @@ -286,7 +286,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -412,7 +412,79 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -422,11 +494,11 @@ - + - + [r_cos] @@ -445,73 +517,7 @@ - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - + @@ -521,11 +527,11 @@ - + - + [Vd] @@ -543,11 +549,11 @@ - + - + sfix16_En4 @@ -559,77 +565,44 @@ - - + + - + - + - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - + [Vq] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -640,7 +613,7 @@ - + @@ -688,103 +661,7 @@ - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - + @@ -794,11 +671,11 @@ - + - + [r_cos] @@ -816,11 +693,11 @@ - + - + sfix16_En14 @@ -832,52 +709,158 @@ - - - + + + - - + + - - + + - - - - - - - - - - + + [Vq] - - + + - + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + - + - - sfix16_En4 + + sfix16_En14 @@ -888,81 +871,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -970,19 +881,19 @@ - + - + - + - + @@ -1000,11 +911,11 @@ - + - + sfix16_En4 @@ -1016,57 +927,9 @@ - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -1074,19 +937,19 @@ - + - + - + - + @@ -1104,11 +967,11 @@ - + - + sfix16_En4 @@ -1120,63 +983,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1186,27 +993,27 @@ - + - + - + - + - + - + @@ -1224,11 +1031,11 @@ - + - + sfix16_En4 @@ -1240,43 +1047,51 @@ - - - + + + - - + + - - + + - - [Vq] + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -1286,7 +1101,192 @@ - + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -1300,7 +1300,7 @@ - + @@ -1314,7 +1314,7 @@ - + @@ -1328,7 +1328,7 @@ - + @@ -1342,7 +1342,7 @@ - + @@ -1356,7 +1356,7 @@ - + @@ -1370,7 +1370,7 @@ - + @@ -1384,7 +1384,7 @@ - + @@ -1398,7 +1398,7 @@ - + @@ -1412,7 +1412,7 @@ - + @@ -1426,7 +1426,7 @@ - + @@ -1440,7 +1440,7 @@ - + @@ -1454,7 +1454,7 @@ - + @@ -1468,7 +1468,7 @@ - + @@ -1482,7 +1482,7 @@ - + @@ -1496,7 +1496,7 @@ - + @@ -1510,7 +1510,7 @@ - + @@ -1524,7 +1524,7 @@ - + @@ -1540,5 +1540,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json index dc07f14..02088f1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9018", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9018", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Speed protection

for cases in which the speed is not directly controlled, i.e., VOLTAGE_MODE and TORQUE_MODE


", "label":"

Speed protection

for cases in which the speed is not directly controlled, i.e., VOLTAGE_MODE and TORQUE_MODE


", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9019", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9019", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Current protection

for cases in which the current is not directly controlled, i.e., VOLTAGE_MODE and SPEED_MODE


", "label":"

Current protection

for cases in which the current is not directly controlled, i.e., VOLTAGE_MODE and SPEED_MODE


", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9020", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9020", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Speed limitations


", "label":"

Speed limitations


", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Text", @@ -147,12 +147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9021", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9021", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Current Circle limitations with priority on i_d (Flux current):

iq_maxSca = sqrt(1 - idSca^2) (unit circle)

iq_max = iq_maxSca * i_max


where, idSca = id / i_max,


The id_Tgt is used instead of measured id, because the target is a more clean signal.


", "label":"

Current Circle limitations with priority on i_d (Flux current):

iq_maxSca = sqrt(1 - idSca^2) (unit circle)

iq_max = iq_maxSca * i_max


where, idSca = id / i_max,


The id_Tgt is used instead of measured id, because the target is a more clean signal.


", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Text", @@ -196,12 +196,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9022", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9022", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Voltage Circle limitations with priority on i_d (Flux current):

Vq_max = sqrt(Vd_max^2 - Vd^2)

Vq_min = -Vq_max


", "label":"

Voltage Circle limitations with priority on i_d (Flux current):

Vq_max = sqrt(Vd_max^2 - Vd^2)

Vq_min = -Vq_max


", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Text", @@ -245,12 +245,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9014", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9014", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"iq_limProtErr", "label":"iq_limProtErr", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -325,12 +325,252 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9010", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10711", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":[ + "9", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9012", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "750", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9011", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "-750", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9010", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"id_max", "label":"id_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -405,12 +645,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9008", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9007", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -438,7 +678,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -451,7 +691,7 @@ "auto", "off", "off", - "900", + "-900", "off", "held", "off", @@ -485,220 +725,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9006", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "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", - "900", - "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:9005", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_max1", - "label":"n_max1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "n_max", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8999", - "className":"Simulink.PreLookup", - "icon":"WebViewIcon3", - "name":"Vq_max_XA", - "label":"Vq_max_XA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", - "LockScale", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "FractionDataTypeStr", - "OutputBusDataTypeStr", - "RndMeth", - "SampleTime", - "UseLastBreakpoint" - ], - "values":[ - "Explicit values", - "Dialog", - "Vq_max_XA", - "Index only", - "Evenly spaced points", - "Clip", - "Error", - "off", - "Inherit: Same as input", - "[]", - "[]", - "uint8", - "off", - "on", - "", - "10", - "11", - "10", - "fixdt(0,8,6)", - "Inherit: auto", - "Simplest", - "-1", - "off" - ], - "tabs":[ - "Main", - "Data Types", - "-Other" - ], - "tabs_idx":[ - 0, - 8, - 13 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"PreLookup", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8998", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8998", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", "name":"Vq_max_M1", "label":"Vq_max_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "NumberOfTableDimensions", @@ -774,12 +806,458 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9009", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8997", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Vd_max1", + "label":"Vd_max1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "Vd_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9008", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "900", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10565", + "className":"Simulink.SwitchCase", + "icon":"WebViewIcon3", + "name":"Switch Case", + "label":"Switch Case", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "CaseConditions", + "ShowDefaultCase", + "SampleTime", + "ZeroCross" + ], + "values":[ + "{VLT_MODE, SPD_MODE, TRQ_MODE}", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SwitchCase", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8975", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8974", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8972", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8976", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9006", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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", + "900", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10715", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10696", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9009", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_min", "label":"Vq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -854,12 +1332,111 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9013", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10713", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8971", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8962", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VdPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9013", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"iq_min", "label":"iq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -934,199 +1511,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8997", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Vd_max1", - "label":"Vd_max1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "Vd_max", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Torque_Mode_Protection", - "label":"Torque_Mode_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10565", - "className":"Simulink.SwitchCase", - "icon":"WebViewIcon3", - "name":"Switch Case", - "label":"Switch Case", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "CaseConditions", - "ShowDefaultCase", - "SampleTime", - "ZeroCross" - ], - "values":[ - "{VLT_MODE, SPD_MODE, TRQ_MODE}", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SwitchCase", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10712", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10712", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_nLimProtMax", "label":"r_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -1201,12 +1591,540 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9002", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8969", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8967", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10718", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8958", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8970", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8968", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8957", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain3", + "label":"Gain3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8956", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain1", + "label":"Gain1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8955", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8954", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8953", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8951", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8950", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10709", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9002", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"i_max", "label":"i_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Value", @@ -1250,12 +2168,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8976", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10708", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8944", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10705", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -1263,7 +2243,7 @@ "IconDisplay" ], "values":[ - "iq", + "r_inpTgtScaAbs", "local", "Tag" ], @@ -1283,12 +2263,429 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8975", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10780", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10564", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8959", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain5", + "label":"Gain5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10602", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Torque_Mode_Protection", + "label":"Torque_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10700", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10681", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9733", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8935", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10675", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10727", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -1296,7 +2693,7 @@ "IconDisplay" ], "values":[ - "id_min", + "r_nLimProtMax", "local", "Tag" ], @@ -1316,120 +2713,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8972", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8939", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8971", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10718", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10713", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "iq_limProtErr", - "local", "Tag" ], "tabs":[ @@ -1443,26 +2739,120 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8970", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8919", + "className":"Simulink.Abs", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9005", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_max1", + "label":"n_max1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10680", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "id_TgtAbs", - "local", + "n_max", "Tag" ], "tabs":[ @@ -1476,26 +2866,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10696", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10816", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "iqAbs", - "local", + "Vq_max", "Tag" ], "tabs":[ @@ -1509,26 +2897,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8974", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10684", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "iq_min", - "local", + "n_max", "Tag" ], "tabs":[ @@ -1542,17 +2928,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9007", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10693", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -1567,20 +2953,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "2", + "7", "Port number", "[]", "[]", @@ -1592,17 +2972,10 @@ "-1", "auto", "off", - "off", - "-900", - "off", - "held", - "off", - "0", "", - [ - ], - "Dialog", - "Auto", + "on", + "off", + "off", "off" ], "tabs":[ @@ -1622,26 +2995,148 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8968", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9732", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8917", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10685", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_min", - "local", + "iq_max", "Tag" ], "tabs":[ @@ -1655,17 +3150,115 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8963", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8952", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10695", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8963", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto10", "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -1693,12 +3286,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9012", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8916", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -1713,20 +3306,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "7", + "4", "Port number", "[]", "[]", @@ -1738,17 +3325,10 @@ "-1", "auto", "off", - "off", - "750", - "off", - "held", - "off", - "0", "", - [ - ], - "Dialog", - "Auto", + "on", + "off", + "off", "off" ], "tabs":[ @@ -1768,17 +3348,66 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8962", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10674", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10694", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -1786,7 +3415,7 @@ "IconDisplay" ], "values":[ - "VdPrev", + "n_motAbs", "local", "Tag" ], @@ -1806,163 +3435,109 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8961", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10566", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Voltage_Mode_Protection", + "label":"Voltage_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8959", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain5", - "label":"Gain5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", + "", "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "" ], "tabs":[ "Main", - "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 8, - 11 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8958", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8955", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10682", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -1988,19 +3563,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8954", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8946", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "iq_max", + "Vd_max", "Tag" ], "tabs":[ @@ -2019,12 +3594,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9017", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8915", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"VdPrev", + "label":"VdPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -2039,20 +3614,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "12", + "3", "Port number", "[]", "[]", @@ -2064,17 +3633,10 @@ "-1", "auto", "off", - "off", - "[]", - "off", - "held", - "off", - "0", "", - [ - ], - "Dialog", - "Auto", + "on", + "off", + "off", "off" ], "tabs":[ @@ -2094,48 +3656,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8953", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9004", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8999", "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"iq_maxSca_XA", - "label":"iq_maxSca_XA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Vq_max_XA", + "label":"Vq_max_XA", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "BreakpointsSpecification", @@ -2165,11 +3696,11 @@ "values":[ "Explicit values", "Dialog", - "iq_maxSca_XA", + "Vq_max_XA", "Index only", "Evenly spaced points", "Clip", - "Error", + "None", "off", "Inherit: Same as input", "[]", @@ -2209,78 +3740,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8957", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain3", - "label":"Gain3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8952", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8934", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "id_TgtAbs", + "VdPrev", "Tag" ], "tabs":[ @@ -2299,173 +3771,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Speed_Mode_Protection", - "label":"Speed_Mode_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8951", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8950", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8947", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8947", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -2491,21 +3802,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10705", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10683", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtScaAbs", - "local", + "iq", "Tag" ], "tabs":[ @@ -2519,17 +3828,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9003", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10361", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9003", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", "name":"iq_maxSca_M1", "label":"iq_maxSca_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "NumberOfTableDimensions", @@ -2605,19 +3945,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10683", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10710", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "iq", + "r_nLimProtMax", "Tag" ], "tabs":[ @@ -2636,25 +3976,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10564", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8914", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "z_ctrlMod", - "Tag" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2662,141 +4038,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10682", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10681", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10680", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8946", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9011", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9017", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -2824,7 +4076,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "12", "Port number", "[]", "[]", @@ -2837,7 +4089,7 @@ "auto", "off", "off", - "-750", + "[]", "off", "held", "off", @@ -2871,943 +4123,72 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8944", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9004", + "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"iq_maxSca_XA", + "label":"iq_maxSca_XA", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8939", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10816", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8935", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10780", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8934", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VdPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8973", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10685", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9732", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", "LockScale", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "FractionDataTypeStr", + "OutputBusDataTypeStr", "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10684", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9733", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8919", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", "SampleTime", - "ZeroCross" + "UseLastBreakpoint" ], "values":[ - "[]", - "[]", - "Inherit: Inherit via back propagation", + "Explicit values", + "Dialog", + "iq_maxSca_XA", + "Index only", + "Evenly spaced points", + "Clip", + "None", "off", - "Zero", - "off", - "-1", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10710", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10709", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10693", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "7", - "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:10695", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "6", - "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:10708", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10715", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10675", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", + "Inherit: Same as input", "[]", "[]", "uint8", "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8967", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Voltage_Mode_Protection", - "label":"Voltage_Mode_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8916", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "Port number", - "[]", - "[]", + "", + "10", + "11", + "10", + "fixdt(0,8,6)", "Inherit: auto", - "off", - "inherit", + "Simplest", "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", "off" ], "tabs":[ "Main", - "Signal Attributes", + "Data Types", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 8, + 13 ] }, "viewer":{ @@ -3816,183 +4197,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"PreLookup", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10694", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8915", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VdPrev", - "label":"VdPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "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:8969", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10727", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10704", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10704", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtScaAbs", "label":"r_inpTgtScaAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -4054,12 +4269,109 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10699", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10584", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode_Protection", + "label":"Speed_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10699", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From27", "label":"From27", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", @@ -4085,215 +4397,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8917", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8961", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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:10711", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "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":[ - "9", - "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:10674", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "uint8", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10700", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbs", + "Vd_max", + "local", "Tag" ], "tabs":[ @@ -4307,25 +4425,27 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10361", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8973", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "iq_max", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -4338,143 +4458,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8956", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain1", - "label":"Gain1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8914", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "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:8999#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8999#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4520,12 +4514,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8947#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8947#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4571,12 +4565,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8935#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8935#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4622,12 +4616,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8959#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8959#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4673,12 +4667,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8997#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8997#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4724,12 +4718,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8934#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8934#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4775,12 +4769,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8915#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8915#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4826,12 +4820,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8916#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8916#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4877,12 +4871,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8946#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8946#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4928,12 +4922,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8950#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8950#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4979,12 +4973,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8957#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8957#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5030,12 +5024,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8958#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8958#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5081,12 +5075,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9002#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9002#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5132,12 +5126,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9733#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5183,12 +5177,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8956#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8956#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5234,12 +5228,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9004#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9004#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5285,12 +5279,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8953#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8953#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5336,12 +5330,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8951#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8951#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5387,12 +5381,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8954#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8954#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5438,12 +5432,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8955#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8955#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5489,12 +5483,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8917#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8917#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5540,12 +5534,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8939#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8939#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5591,12 +5585,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9005#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9005#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5642,12 +5636,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8944#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8944#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5693,12 +5687,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8914#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8914#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5744,12 +5738,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8998#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8998#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5795,12 +5789,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8919#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8919#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5846,12 +5840,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8952#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8952#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5897,12 +5891,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9732#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5948,12 +5942,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9003#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9003#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5999,12 +5993,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10564#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10564#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6050,12 +6044,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10565#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10565#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6101,12 +6095,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10565#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10565#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6152,12 +6146,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10565#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10565#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6203,12 +6197,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10674#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10674#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6254,12 +6248,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10675#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10675#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6305,12 +6299,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10680#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10680#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6356,12 +6350,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10683#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10683#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6407,12 +6401,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10682#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10682#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6458,12 +6452,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10681#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10681#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6509,12 +6503,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10684#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10684#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6560,12 +6554,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10685#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10685#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6611,12 +6605,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10693#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10693#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6662,12 +6656,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10695#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10695#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6713,12 +6707,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10699#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6764,12 +6758,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10700#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6815,12 +6809,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10704#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6866,12 +6860,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10708#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10708#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6917,12 +6911,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10710#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10710#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -6968,12 +6962,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10709#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10709#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7019,12 +7013,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10584#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10584#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7070,12 +7064,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10602#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10602#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7121,12 +7115,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10566#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10566#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7172,12 +7166,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10566#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10566#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7223,12 +7217,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10780#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10780#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", @@ -7274,12 +7268,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png new file mode 100644 index 0000000..7ca5b7c Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg index 56008a2..9c41cb3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg @@ -9,11 +9,11 @@
- + - + @@ -48,7 +48,7 @@ - + @@ -83,7 +83,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -185,7 +185,7 @@ - + @@ -236,7 +236,7 @@ - + @@ -284,11 +284,11 @@ - - + + - + @@ -298,7 +298,151 @@ - + + 9 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + + + + + + + + + + + 5 @@ -316,11 +460,11 @@ - + - + id_max @@ -332,283 +476,44 @@ - - + + - + - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - - - - - - - - - - - - - - - - - - - - - n_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + - - + + 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - Vq_max_XA - - - - - - - - - - - - - - - uint8 + + Vd_min @@ -619,30 +524,222 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + @@ -650,7 +747,7 @@ - + @@ -658,7 +755,7 @@ - + @@ -666,7 +763,7 @@ - + @@ -674,7 +771,7 @@ - + @@ -682,7 +779,7 @@ - + @@ -690,7 +787,7 @@ - + @@ -698,7 +795,7 @@ - + @@ -706,7 +803,7 @@ - + @@ -714,7 +811,7 @@ - + @@ -722,222 +819,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + 1-D T(k,f) - + - + k1 - + - + f1 @@ -955,11 +860,11 @@ - + - + Vq_max_M1 @@ -970,11 +875,11 @@ - + - + sfix16_En4 @@ -986,103 +891,7 @@ - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - + @@ -1092,11 +901,11 @@ - + - + Vd_max @@ -1114,11 +923,11 @@ - + - + sfix16_En4 @@ -1130,7 +939,1564 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + i_max + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1146,43 +2512,43 @@ - + - + n_motAbs - + - + n_max - + - + Vq_max - + - + Vq_nLimProtMax - + - + case: { } @@ -1212,11 +2578,11 @@ - + - + Torque_Mode_Protection @@ -1233,11 +2599,11 @@ - + - + action @@ -1254,11 +2620,11 @@ - + - + sfix16_En4 @@ -1270,1203 +2636,49 @@ - + - - - - - - - - - - - - - - - u1 - - - - - - - - case [ 1 ]: - - - - - - - - case [ 2 ]: - - - - - - - - case [ 3 ]: - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vd_min - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + - + - + - - [iq_min] + + [n_motAbs] - + - + - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iq_maxSca_XA - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -2478,889 +2690,7 @@ - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - iq_limProtErr - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Speed_Mode_Protection - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - iq_maxSca_M1 - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -3370,11 +2700,11 @@ - + - + [iq_max] @@ -3392,11 +2722,11 @@ - + - + sfix16_En4 @@ -3408,641 +2738,7 @@ - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -4052,19 +2748,19 @@ - + - + - + - + @@ -4082,11 +2778,11 @@ - + - + sfix16_En4 @@ -4098,7 +2794,184 @@ - + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -4108,35 +2981,35 @@ - + - + - + - + - + - + - + - + @@ -4162,11 +3035,11 @@ - + - + sfix16_En4 @@ -4178,43 +3051,91 @@ - - - + + + - - + + - - + + - - [r_nLimProtMax] + + n_max - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + - + - - + + - + sfix16_En4 @@ -4226,43 +3147,43 @@ - - + + - + - + - - [r_iqLimProtMax] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -4274,7 +3195,55 @@ - + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -4284,11 +3253,11 @@ - + - + 7 @@ -4306,11 +3275,11 @@ - + - + n_motAbs @@ -4321,11 +3290,11 @@ - + - + sfix16_En4 @@ -4337,7 +3306,239 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -4347,11 +3548,11 @@ - + - + 6 @@ -4369,11 +3570,11 @@ - + - + iqAbs @@ -4384,11 +3585,11 @@ - + - + sfix16_En4 @@ -4400,76 +3601,28 @@ - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [Vq_nLimProtMax] + + [n_max] - + @@ -4481,279 +3634,7 @@ - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - iqAbs - - - - - - - - iq_max - - - - - - - - n_motAbs - - - - - - - - n_max - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Voltage_Mode_Protection - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - + @@ -4763,11 +3644,11 @@ - + - + 4 @@ -4785,11 +3666,11 @@ - + - + id_TgtAbs @@ -4800,11 +3681,11 @@ - + - + sfix16_En4 @@ -4816,7 +3697,55 @@ - + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + @@ -4826,11 +3755,11 @@ - + - + [n_motAbs] @@ -4849,7 +3778,294 @@ - + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + iqAbs + + + + + + + + iq_max + + + + + + + + n_motAbs + + + + + + + + n_max + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Voltage_Mode_Protection + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -4859,11 +4075,11 @@ - + - + 3 @@ -4881,11 +4097,11 @@ - + - + VdPrev @@ -4896,11 +4112,11 @@ - + - + sfix16_En4 @@ -4912,331 +4128,138 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - + + - - + + - - + + - - r_inpTgtScaAbs + + Vq_max_XA - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - r_iqLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - + - - + + - + uint8 @@ -5248,43 +4271,43 @@ - - + + - + - + - - [n_motAbs] + + [VdPrev] - + - + - - + + - + sfix16_En4 @@ -5296,7 +4319,103 @@ - + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -5306,11 +4425,11 @@ - + - + if { } @@ -5328,11 +4447,11 @@ - + - + Action Port @@ -5344,43 +4463,410 @@ - - - + + + - - + + - - + + - - -1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 - - + + + + + + + + + + + + + + + + + iq_maxSca_M1 - + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -5392,7 +4878,7 @@ - + @@ -5402,11 +4888,11 @@ - + - + 1 @@ -5424,11 +4910,11 @@ - + - + z_ctrlMod @@ -5439,11 +4925,11 @@ - + - + uint8 @@ -5453,7 +4939,521 @@ - + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq_maxSca_XA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + iq_limProtErr + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Speed_Mode_Protection + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + @@ -5467,7 +5467,7 @@ - + @@ -5481,7 +5481,7 @@ - + @@ -5495,7 +5495,7 @@ - + @@ -5509,7 +5509,7 @@ - + @@ -5543,7 +5543,7 @@ - + @@ -5557,7 +5557,7 @@ - + @@ -5571,7 +5571,7 @@ - + @@ -5585,7 +5585,7 @@ - + @@ -5599,7 +5599,7 @@ - + @@ -5613,7 +5613,7 @@ - + @@ -5627,7 +5627,7 @@ - + @@ -5641,7 +5641,7 @@ - + @@ -5703,19 +5703,19 @@ + + + - - - - + @@ -5749,7 +5749,7 @@ - + @@ -5763,7 +5763,7 @@ - + @@ -5777,7 +5777,7 @@ - + @@ -5791,7 +5791,7 @@ - + @@ -5805,7 +5805,7 @@ - + @@ -5819,7 +5819,7 @@ - + @@ -5833,7 +5833,7 @@ - + @@ -5847,7 +5847,7 @@ - + @@ -5861,7 +5861,7 @@ - + @@ -5875,7 +5875,7 @@ - + @@ -5889,7 +5889,7 @@ - + @@ -5903,7 +5903,7 @@ - + @@ -5937,7 +5937,7 @@ - + @@ -5951,7 +5951,7 @@ - + @@ -5965,7 +5965,7 @@ - + @@ -5979,7 +5979,7 @@ - + @@ -5993,7 +5993,7 @@ - + @@ -6007,7 +6007,7 @@ - + @@ -6021,7 +6021,7 @@ - + @@ -6035,7 +6035,7 @@ - + @@ -6049,7 +6049,7 @@ - + @@ -6063,7 +6063,7 @@ - + @@ -6077,7 +6077,7 @@ - + @@ -6091,7 +6091,7 @@ - + @@ -6105,7 +6105,7 @@ - + @@ -6119,7 +6119,7 @@ - + @@ -6133,7 +6133,7 @@ - + @@ -6147,7 +6147,7 @@ - + @@ -6161,7 +6161,7 @@ - + @@ -6175,7 +6175,7 @@ - + @@ -6189,7 +6189,7 @@ - + @@ -6203,7 +6203,7 @@ - + @@ -6217,7 +6217,7 @@ - + @@ -6231,7 +6231,7 @@ - + @@ -6245,7 +6245,7 @@ - + @@ -6259,7 +6259,7 @@ - + @@ -6273,7 +6273,7 @@ - + @@ -6287,7 +6287,7 @@ - + @@ -6301,7 +6301,7 @@ - + @@ -6315,7 +6315,7 @@ - + @@ -6329,7 +6329,7 @@ - + @@ -6343,7 +6343,7 @@ - + @@ -6359,5 +6359,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json index 249070d..d3bc21c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9044", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9044", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Just copy the target which will be reduced to 0 in the Input_Target_Sythesis function.

", "label":"

Just copy the target which will be reduced to 0 in the Input_Target_Sythesis function.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9043", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9043", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_Open", "label":"Vq_Open", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ "Port", @@ -129,43 +129,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9031", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9030", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9030", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ "Port", @@ -227,12 +196,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9030#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9031", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9030#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg index 91ba486..274b207 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg @@ -9,11 +9,11 @@
- + - + @@ -40,7 +40,7 @@ - + @@ -88,55 +88,7 @@ - - - - - - - - - - - - - - - - default: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -146,11 +98,11 @@ - + - + 1 @@ -168,11 +120,11 @@ - + - + r_inpTgtSca @@ -183,11 +135,11 @@ - + - + sfix16_En4 @@ -197,7 +149,55 @@ - + + + + + + + + + + + + + + + + + + default: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + @@ -213,5 +213,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json index 9c6a929..8d1b48b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9070", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9070", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Park Transform:

iq = -i_alpha*sin(angle) + i_beta*cos(angle)

id = i_alpha*cos(angle) + i_beta*sin(angle)

", "label":"

Park Transform:

iq = -i_alpha*sin(angle) + i_beta*cos(angle)

id = i_alpha*cos(angle) + i_beta*sin(angle)

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9047", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9047", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_beta", "label":"i_beta", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Port", @@ -116,12 +116,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9068", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9068", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"iq_Raw", "label":"iq_Raw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Port", @@ -196,12 +196,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9046", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9046", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"i_apha", "label":"i_apha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Port", @@ -263,12 +263,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9069", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9069", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"id_Raw", "label":"id_Raw", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Port", @@ -343,12 +343,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9048", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9048", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_sin", "label":"r_sin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Port", @@ -410,12 +410,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9049", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9049", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_cos", "label":"r_cos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Port", @@ -477,12 +477,323 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9066", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9064", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9062", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_cos", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9061", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9058", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_apha", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9055", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9054", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9065", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_beta", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9053", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9060", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_beta", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9066", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "IconShape", @@ -536,200 +847,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9062", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_cos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9061", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9060", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_beta", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9059", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9058", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_apha", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9054", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9051", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9051", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "Inputs", @@ -781,12 +904,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9067", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9067", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum6", "label":"Sum6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "IconShape", @@ -840,313 +963,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9064", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_sin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9050", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9053", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9052", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9056", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9059", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_apha", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9063", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_apha", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9065", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_beta", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9055", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "GotoTag", @@ -1172,12 +994,69 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9057", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9052", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9057", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "GotoTag", @@ -1203,12 +1082,133 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9048#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9056", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_apha", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9050", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9063", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_apha", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9048#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1254,12 +1254,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9047#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9047#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1305,12 +1305,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9046#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9046#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1356,12 +1356,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9049#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9049#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1407,12 +1407,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9054#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9054#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1458,12 +1458,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9056#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9056#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1509,12 +1509,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9053#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9053#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1560,12 +1560,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9050#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9050#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1611,12 +1611,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9057#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9057#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1662,12 +1662,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9055#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9055#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1713,12 +1713,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9067#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9067#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1764,12 +1764,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9051#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9051#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1815,12 +1815,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9058#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9058#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1866,12 +1866,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9059#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9059#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1917,12 +1917,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9052#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9052#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1968,12 +1968,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9060#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9060#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2019,12 +2019,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9061#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9061#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2070,12 +2070,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9066#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9066#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg index a149b82..07ac22b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg @@ -9,11 +9,11 @@
- + - + @@ -64,7 +64,7 @@ - + @@ -127,7 +127,7 @@ - + @@ -175,7 +175,7 @@ - + @@ -238,7 +238,7 @@ - + @@ -286,7 +286,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -412,472 +412,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_beta] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_apha] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -887,11 +422,11 @@ - + - + [r_sin] @@ -910,244 +445,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_apha] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [i_apha] + + [r_cos] - + @@ -1159,7 +478,199 @@ - + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_apha] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + @@ -1169,11 +680,11 @@ - + - + [i_beta] @@ -1192,43 +703,339 @@ - - - + + + - - + + - - + + - - [r_cos] + + + + + + + + + + - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_beta] + + + + + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + - - + + - + sfix16_En14 @@ -1240,7 +1047,63 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1250,11 +1113,11 @@ - + - + [i_beta] @@ -1272,11 +1135,11 @@ - + - + sfix16_En4 @@ -1286,7 +1149,144 @@ - + + + + + + + + + + + + + + + + + + [i_apha] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_apha] + + + + + + + + + + + + + + + + @@ -1300,7 +1300,7 @@ - + @@ -1314,7 +1314,7 @@ - + @@ -1328,7 +1328,7 @@ - + @@ -1342,7 +1342,7 @@ - + @@ -1356,7 +1356,7 @@ - + @@ -1370,7 +1370,7 @@ - + @@ -1384,7 +1384,7 @@ - + @@ -1398,7 +1398,7 @@ - + @@ -1412,7 +1412,7 @@ - + @@ -1426,7 +1426,7 @@ - + @@ -1440,7 +1440,7 @@ - + @@ -1454,7 +1454,7 @@ - + @@ -1468,7 +1468,7 @@ - + @@ -1482,7 +1482,7 @@ - + @@ -1496,7 +1496,7 @@ - + @@ -1510,7 +1510,7 @@ - + @@ -1524,7 +1524,7 @@ - + @@ -1540,5 +1540,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json similarity index 71% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json index 582afc2..91238d0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8601", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9709", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

Activate mode only if the motor is at stand-still

", - "label":"

Activate mode only if the motor is at stand-still

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"

The input is scaled, so already between [n_min, n_max]

", + "label":"

The input is scaled, so already between [n_min, n_max]

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Text", @@ -22,7 +22,7 @@ "ClickFcn" ], "values":[ - "\n\n

Activate mode only if the motor is at stand-still

", + "\n\n

The input is scaled, so already between [n_min, n_max]

", "off", "rich", "auto", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8602", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11681", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

This condition handles the mode change. The mode change from one to another is done via OPEN_MODE as follows:

- afte new mode is requested, activate OPEN_MODE

- wait for the motor to stop

- activate the new mode

", - "label":"

This condition handles the mode change. The mode change from one to another is done via OPEN_MODE as follows:

- afte new mode is requested, activate OPEN_MODE

- wait for the motor to stop

- activate the new mode

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"

If Cruise Control is enabled, the input request can still be used to accelerate, but once the input is released, the controller will resume to the set speed. This is managed using the MIN and MAX limits.

", + "label":"

If Cruise Control is enabled, the input request can still be used to accelerate, but once the input is released, the controller will resume to the set speed. This is managed using the MIN and MAX limits.

", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Text", @@ -71,7 +71,7 @@ "ClickFcn" ], "values":[ - "\n\n

This condition handles the mode change. The mode change from one to another is done via OPEN_MODE as follows:

\n

- afte new mode is requested, activate OPEN_MODE

\n

- wait for the motor to stop

\n

- activate the new mode

", + "\n\n

If Cruise Control is enabled, the input request can still be used to accelerate, but once the input is released, the controller will resume to the set speed. This is managed using the MIN and MAX limits.

", "off", "rich", "auto", @@ -98,172 +98,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8600", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9106", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_toTrqMod", - "label":"b_toTrqMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "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":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8599", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_toSpdMod", - "label":"b_toSpdMod", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "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":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8597", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_toOpen", - "label":"b_toOpen", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"Vq_Spd", + "label":"Vq_Spd", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Port", @@ -304,9 +144,9 @@ "auto", "off", "off", - "0", + "[]", "off", - "reset", + "held", "off", "0", "", @@ -338,12 +178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8593", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11534", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant6", - "label":"constant6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"n_cruiseMotTgt", + "label":"n_cruiseMotTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Value", @@ -356,7 +196,56 @@ "FramePeriod" ], "values":[ - "SPD_MODE", + "n_cruiseMotTgt", + "on", + "inf", + "[]", + "[]", + "int16", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11677", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant3", + "label":"constant3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", "on", "inf", "[]", @@ -387,12 +276,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8592", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9105", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant5", - "label":"constant5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"cf_nKp", + "label":"cf_nKp", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Value", @@ -405,12 +294,12 @@ "FramePeriod" ], "values":[ - "VLT_MODE", + "cf_nKp", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "fixdt(0,16,12)", "off", "inf" ], @@ -436,38 +325,99 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8586", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9104", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Relational Operator5", - "label":"Relational Operator5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"cf_nKi", + "label":"cf_nKi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Operator", + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_nKi", + "off", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11675", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Criteria", "InputSameDT", + "OutMin", + "OutMax", "OutDataTypeStr", + "LockScale", "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", + "Threshold", "ZeroCross" ], "values":[ - "==", + "u2 > Threshold", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", "off", - "boolean", - "Simplest", "-1", + "0", "on" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 1, - 4 + 9 ] }, "viewer":{ @@ -476,62 +426,76 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8584", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9101", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "|+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11674", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator3", "label":"Relational Operator3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:8583", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Operator", @@ -571,132 +535,170 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8581", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11672", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"Relational Operator10", - "label":"Relational Operator10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"Mux1", + "label":"Mux1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" + "Inputs", + "DisplayOption" ], "values":[ - "==", + "2", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", + "name":"PI_clamp_fixdt", + "label":"PI_clamp_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "PropExecContextOutsideSubsystem", + "SystemSampleTime", + "RTWSystemCode", + "RTWFcnNameOpts", + "RTWFcnName", + "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "IsSubsystemVirtual", + "Variant", + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" + ], + "values":[ + "FromPortIcon", + "", + "", + "", + "ReadWrite", + "", + "All", + "on", + "off", "off", - "boolean", - "Simplest", "-1", + "Reusable function", + "Use subsystem name", + "", + "Auto", + "", + "void_void", + "off", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "off", + "off", + "", + "", + "off", + "off", + "off", + "", + "", "on" ], "tabs":[ - "Main", - "Data Type", - "-Other" ], "tabs_idx":[ - 0, - 1, - 4 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8580", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11670", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"MinMax4", + "label":"MinMax4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Operator", - "InputSameDT", "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", "RndMeth", "SampleTime", + "SaturateOnIntegerOverflow", "ZeroCross" ], "values":[ - "==", + "Inherit: Inherit via internal rule", + "min", "off", - "boolean", - "Simplest", + "2", + "off", + "[]", + "[]", + "Floor", "-1", + "off", "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:8589", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant", - "label":"constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "TRQ_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 7 + 1 ] }, "viewer":{ @@ -705,214 +707,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"MinMax", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8595", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant8", - "label":"constant8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "OPEN_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8590", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant1", - "label":"constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "SPD_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8573", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8571", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_toOpen", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8568", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8572", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11680", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto8", "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", @@ -920,7 +725,7 @@ "IconDisplay" ], "values":[ - "b_errFlag", + "Vq_minSpd", "local", "Tag" ], @@ -940,12 +745,144 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11564", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_cruiseMotTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11511", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9095", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9094", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_mot", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9093", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto2", "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", @@ -953,7 +890,7 @@ "IconDisplay" ], "values":[ - "b_toTrqMod", + "Vq_min", "local", "Tag" ], @@ -973,38 +910,136 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8585", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9092", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Relational Operator4", - "label":"Relational Operator4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11669", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax3", + "label":"MinMax3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Operator", - "InputSameDT", "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", "RndMeth", "SampleTime", + "SaturateOnIntegerOverflow", "ZeroCross" ], "values":[ - "==", + "Inherit: Inherit via internal rule", + "max", "off", - "boolean", - "Simplest", + "2", + "off", + "[]", + "[]", + "Floor", "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11676", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch4", + "label":"Switch4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", "on" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 1, - 4 + 9 ] }, "viewer":{ @@ -1013,17 +1048,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8565", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9091", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", @@ -1031,7 +1066,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModPrev", + "Vq_max", "local", "Tag" ], @@ -1051,19 +1086,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8564", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11679", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlModReq", + "Vq_maxSpd", + "local", "Tag" ], "tabs":[ @@ -1077,135 +1114,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8594", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant7", - "label":"constant7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "TRQ_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8563", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toOpen", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9419", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8561", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11665", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From5", "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "b_toOpen", + "n_cruiseMotTgt", "Tag" ], "tabs":[ @@ -1224,19 +1150,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8559", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9090", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "z_ctrlModReq", + "Vq_minSpd", "Tag" ], "tabs":[ @@ -1255,436 +1181,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8558", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toTrqMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8598", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_toActive", - "label":"b_toActive", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "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:8556", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8555", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlModPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8554", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8552", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_errFlag", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8591", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant2", - "label":"constant2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "OPEN_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8570", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_toSpdMod", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8569", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_toActive", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8548", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_errFlag", - "label":"b_errFlag", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "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:8560", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11565", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "z_ctrlModReq", + "n_cruiseMotTgt", "Tag" ], "tabs":[ @@ -1703,12 +1212,414 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9420", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11673", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "2", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9088", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11658", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11500", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11671", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux", + "label":"Mux", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "2", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11660", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9087", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_mot", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11678", + "className":"Simulink.Demux", + "icon":"WebViewIcon3", + "name":"Demux", + "label":"Demux", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Outputs", + "DisplayOption", + "BusSelectionMode" + ], + "values":[ + "2", + "bar", + "off" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Demux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11501", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11659", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11480", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11481", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11510", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Port", @@ -1730,7 +1641,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "7", "Port number", "[]", "[]", @@ -1770,12 +1681,234 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8549", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9082", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11666", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11657", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11479", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11663", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_cruiseMotTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11661", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9078", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Port", @@ -1837,12 +1970,188 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8551", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11535", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion2", + "label":"Data Type Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "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":"BLDCmotor_FOC_R2017b_fixdt:11667", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11664", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9076", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlModPrev", - "label":"z_ctrlModPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9081", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_limProtErr", + "label":"iq_limProtErr", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Port", @@ -1904,19 +2213,86 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8553", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9077", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10714", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "b_toActive", + "iq_limProtErr", "Tag" ], "tabs":[ @@ -1935,12 +2311,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8547", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11662", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9089", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From38", + "label":"From38", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_maxSpd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9075", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Port", @@ -2002,346 +2440,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8562", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toSpdMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9421", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8587", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator6", - "label":"Relational Operator6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:8582", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator11", - "label":"Relational Operator11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "~=", - "off", - "boolean", - "Simplest", - "-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:8579", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator9", - "label":"Logical Operator9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "NOT", - "2", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8578", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator7", - "label":"Logical Operator7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "NOT", - "2", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8576", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator4", - "label":"Logical Operator4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "OR", - "4", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8575", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator3", - "label":"Logical Operator3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "AND", - "3", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11668", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "Operator", @@ -2381,57 +2485,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8577", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator6", - "label":"Logical Operator6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Operator", - "Inputs", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "SampleTime" - ], - "values":[ - "OR", - "3", - "rectangular", - "off", - "boolean", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8587#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9087#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2477,12 +2536,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8593#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9075#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2528,12 +2587,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8594#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9076#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2579,12 +2638,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8584#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9077#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2630,12 +2689,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8585#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9078#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2681,12 +2740,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8575#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9081#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2732,12 +2791,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8556#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9101#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2783,12 +2842,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8592#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9105#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2834,12 +2893,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8560#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9104#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2885,12 +2944,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8589#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10714#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2936,12 +2995,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8590#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11479#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2987,12 +3046,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8580#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9090#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3038,12 +3097,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8559#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11481#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3089,12 +3148,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8586#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11500#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3140,12 +3199,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8564#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9088#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3191,12 +3250,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8579#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11501#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3242,12 +3301,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8591#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11510#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3293,12 +3352,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8581#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3344,12 +3403,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8555#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11534#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3395,12 +3454,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8554#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11535#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3446,12 +3505,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8563#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11565#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3497,12 +3556,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9089#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3548,12 +3607,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8583#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11668#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3599,12 +3658,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8582#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11670#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3650,12 +3709,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11659#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3701,12 +3760,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8595#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11671#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3752,12 +3811,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11669#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3803,12 +3862,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8578#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11663#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3854,12 +3913,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8547#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11664#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3905,12 +3964,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8549#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11674#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3956,12 +4015,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8551#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11677#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4007,12 +4066,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8561#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11661#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4058,12 +4117,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8553#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11675#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4109,12 +4168,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8558#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11662#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4160,12 +4219,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8562#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11667#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4211,12 +4270,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8548#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11672#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4262,12 +4321,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8552#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11673#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4313,12 +4372,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9419#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11666#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4364,12 +4423,318 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9420#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11658#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11660#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11665#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11657#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11676#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11678#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11678#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.png new file mode 100644 index 0000000..6d2f025 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.svg new file mode 100644 index 0000000..4defd79 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.svg @@ -0,0 +1,4005 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + The input is scaled, so already + + + + + + + + between [n_min, n_max] + + + + + + + + + + + + + + + + + + + If Cruise Control is enabled, the input request can still be used to accelerate, but once the input is + + + + + + + + released, the controller will resume to the set speed. This is managed using the MIN and MAX limits. + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq_Spd + + + + + + + + + + + + + + + + + + + + + + + + + + n_cruiseMotTgt + + + + + + + + + + + + + + + + + + + + + + n_cruiseMotTgt + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_nKp + + + + + + + + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_nKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) + + + + + + + + + + + + + + + + + + + + + + PI_clamp_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minSpd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxSpd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minSpd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxSpd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json index 4cb7aa8..e68d49d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json @@ -1,700 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9141", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_Trq", - "label":"Vq_Trq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "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:10834", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant2", - "label":"constant2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9139", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKp", - "label":"cf_iqKp", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_iqKp", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9138", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKi", - "label":"cf_iqKi", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_iqKi", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10831", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "|+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10842", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9131", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10841", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "max", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9128", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9127", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9125", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10819", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9126", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10820", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_minTrq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "ShowPortLabels", @@ -782,25 +93,47 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10838", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10841", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"MinMax2", + "label":"MinMax2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" ], "values":[ - "Vq_nLimProtMax", - "Tag" + "Inherit: Inherit via internal rule", + "max", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" ], "tabs":[ - "Parameter Attributes" + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -808,17 +141,70 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"MinMax", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10842", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax1", + "label":"MinMax1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9127", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", @@ -826,7 +212,7 @@ "IconDisplay" ], "values":[ - "Vq_minTrq", + "iq_max", "local", "Tag" ], @@ -846,12 +232,311 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10821", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9139", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKp", + "label":"cf_iqKp", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_iqKp", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,12)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9125", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11474", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10843", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_maxTrq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9130", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10831", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "|+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10840", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10821", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From9", "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", @@ -877,43 +562,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10845", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_maxTrq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10836", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10836", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From15", "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", @@ -939,61 +593,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9116", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10846", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "Vq_minTrq", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1001,17 +619,79 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10822", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10823", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10820", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10822", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", @@ -1037,12 +717,224 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9129", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10819", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11475", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10834", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant2", + "label":"constant2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10845", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_maxTrq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9117", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9126", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", @@ -1050,7 +942,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "r_inpTgtSca", "local", "Tag" ], @@ -1070,12 +962,45 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9115", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9131", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11473", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "Port", @@ -1097,7 +1022,7 @@ "OutputFunctionCall" ], "values":[ - "6", + "8", "Port number", "[]", "[]", @@ -1137,50 +1062,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9114", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9138", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"cf_iqKi", + "label":"cf_iqKi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "FramePeriod" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", + "cf_iqKi", "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", "off", - "off", - "off" + "inf" ], "tabs":[ "Main", @@ -1189,8 +1096,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -1199,17 +1106,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9113", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9113", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq", "label":"iq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "Port", @@ -1271,76 +1178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10843", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_maxTrq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9117", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9111", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9114", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "Port", @@ -1362,7 +1205,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "5", "Port number", "[]", "[]", @@ -1402,104 +1245,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9130", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9141", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10840", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9110", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"Vq_Trq", + "label":"Vq_Trq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "Port", @@ -1514,11 +1265,17 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ "1", @@ -1533,6 +1290,80 @@ "-1", "auto", "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9116", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", "", "on", "off", @@ -1561,12 +1392,79 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9112", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9115", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9112", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_min", "label":"Vq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "Port", @@ -1628,19 +1526,252 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10823", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9111", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9128", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9129", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10844", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_minTrq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9110", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10838", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "Vq_min", + "Vq_nLimProtMax", "Tag" ], "tabs":[ @@ -1659,12 +1790,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9111#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9111#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1710,12 +1841,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9110#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9110#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1761,12 +1892,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9112#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9112#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1812,12 +1943,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9113#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9113#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1863,12 +1994,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9115#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9115#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1914,12 +2045,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9114#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9114#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1965,12 +2096,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9116#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9116#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2016,12 +2147,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10834#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2067,12 +2198,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10820#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2118,12 +2249,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10820#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10821#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2169,12 +2300,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10821#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10831#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2220,12 +2351,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10831#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10819#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2271,12 +2402,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2322,12 +2453,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10836#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2373,12 +2504,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10838#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2424,12 +2555,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10840#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2475,12 +2606,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10823#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2526,12 +2657,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10823#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10822#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2577,12 +2708,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10822#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10842#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2628,12 +2759,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10842#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10841#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2679,12 +2810,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9138#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2730,12 +2861,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10845#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9139#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2781,12 +2912,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11473#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2832,12 +2963,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9138#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10834#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2883,12 +3014,114 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9139#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10846#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10845#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11475#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.png new file mode 100644 index 0000000..8533c14 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg similarity index 82% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg index 5f478ed..a309b31 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg @@ -1,279 +1,182 @@ - + - + - + - - - + + + - - + + - + - - 1 + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) - - + + - - + + - - - - - - - Vq_Trq - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_iqKp - - - - - - - - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - + - - cf_iqKi - - - - - - - + + PI_clamp_fixdt - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - + @@ -283,224 +186,15 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -526,11 +220,11 @@ - - + + - + sfix16_En4 @@ -542,29 +236,60 @@ - - - + + + - - + + - + - - + + - - [Vq_min] + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -575,7 +300,7 @@ - + @@ -585,11 +310,11 @@ - + - + [iq_max] @@ -608,7 +333,55 @@ - + + + + + + + + + + + + + + + + cf_iqKp + + + + + + + + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + @@ -618,11 +391,11 @@ - + - + [Vq_max] @@ -641,76 +414,28 @@ - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [r_inpTgtSca] + + [VqFinPrev] - + @@ -722,812 +447,7 @@ - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_minTrq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - P - - - - - - - - I - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) - - - - - - - - - - - - - - - - - - - - - - PI_clamp_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_minTrq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_maxTrq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1537,11 +457,11 @@ - + - + [Vq_maxTrq] @@ -1560,118 +480,7 @@ - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1681,11 +490,11 @@ - + - + [iq] @@ -1704,7 +513,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1714,11 +587,11 @@ - + - + -1 @@ -1736,11 +609,11 @@ - - + + - + sfix16_En4 @@ -1752,58 +625,43 @@ - - - + + + - - + + - - + + - - 1 + + [iq_min] - - - - - - - - - - - - - - - - - r_inpTgtSca + + - + - - + + - + sfix16_En4 @@ -1815,58 +673,43 @@ - - - + + + - - + + - - + + - - 3 + + [r_inpTgtSca] - - - - - - - - - - - - - - - - - Vq_min + + - + - - + + - + sfix16_En4 @@ -1878,7 +721,55 @@ - + + + + + + + + + + + + + + + + [Vq_minTrq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1888,11 +779,11 @@ - + - + [Vq_min] @@ -1910,11 +801,11 @@ - - + + - + sfix16_En4 @@ -1924,7 +815,1268 @@ - + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxTrq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_iqKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq_Trq + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minTrq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -1938,7 +2090,7 @@ - + @@ -1952,7 +2104,7 @@ - + @@ -1966,7 +2118,7 @@ - + @@ -1980,7 +2132,7 @@ - + @@ -1994,7 +2146,7 @@ - + @@ -2008,7 +2160,7 @@ - + @@ -2022,21 +2174,7 @@ - - - - - - - - - - - - - - - + @@ -2050,7 +2188,7 @@ - + @@ -2064,7 +2202,7 @@ - + @@ -2078,7 +2216,7 @@ - + @@ -2092,7 +2230,7 @@ - + @@ -2106,21 +2244,21 @@ - + - + - + - + @@ -2134,7 +2272,7 @@ - + @@ -2168,7 +2306,7 @@ - + @@ -2182,7 +2320,7 @@ - + @@ -2196,7 +2334,7 @@ - + @@ -2210,7 +2348,7 @@ - + @@ -2224,7 +2362,7 @@ - + @@ -2238,21 +2376,63 @@ - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2266,28 +2446,28 @@ - + - + - + - + - + - + @@ -2296,5 +2476,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.json similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.json index 6c9c5da..ce55d7c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9165", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9165", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "IconShape", @@ -59,61 +59,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9724", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_idKi1", - "label":"cf_idKi1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_idKi", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9170", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9170", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vd", "label":"Vd", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "Port", @@ -188,12 +139,436 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9726", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9725", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_idKp1", + "label":"cf_idKp1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_idKp", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,12)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9724", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_idKi1", + "label":"cf_idKi1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_idKi", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9161", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9159", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9158", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9723", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9160", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9722", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9156", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9155", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9150", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9726", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"constant1", "label":"constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "Value", @@ -237,21 +612,433 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9161", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9149", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9148", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_max", + "label":"id_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9147", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9162", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "GotoTag", "TagVisibility", "IconDisplay" ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11483", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant2", + "label":"constant2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9157", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9151", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9146", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9152", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], "values":[ "id", - "local", "Tag" ], "tabs":[ @@ -265,50 +1052,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9160", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "ShowPortLabels", @@ -396,717 +1150,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9723", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9162", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9722", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9156", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9725", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_idKp1", - "label":"cf_idKp1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_idKp", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9155", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9152", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9151", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9150", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9159", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9158", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9149", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "6", - "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:9148", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_max", - "label":"id_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "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:9147", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "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:9157", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9146", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "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:9145", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9145", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"id", "label":"id", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "Port", @@ -1168,12 +1217,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9144", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9144", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"id_Tgt", "label":"id_Tgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "Port", @@ -1235,12 +1284,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9152#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9152#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1286,12 +1335,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9151#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9151#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1337,12 +1386,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9144#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9144#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1388,12 +1437,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9145#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9145#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1439,12 +1488,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9147#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9147#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1490,12 +1539,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9146#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9146#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1541,12 +1590,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9148#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9148#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1592,12 +1641,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9149#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9149#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1643,12 +1692,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1694,12 +1743,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9155#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9155#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1745,12 +1794,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9156#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9156#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1796,12 +1845,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9165#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9165#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1847,12 +1896,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9724#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9724#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1898,12 +1947,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9722#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9725#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1949,12 +1998,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9725#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2000,12 +2049,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9726#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9726#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2051,12 +2100,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9723#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2102,12 +2151,63 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9723#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9722#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11483#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.png new file mode 100644 index 0000000..ec57fbe Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg index c755b41..a3a037d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg @@ -9,11 +9,11 @@
- + - + @@ -77,91 +77,43 @@ - - - - - - - - - - - - - - - - cf_idKi - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - + + - + - + - + 1 - + - + - - + + - + Vd @@ -173,44 +125,44 @@ - - - + + + - - + + - - + + - - 0 + + cf_idKp - - + + - - + + - - + + - - sfix32_En20 + + ufix16_En12 @@ -221,7 +173,55 @@ - + + + + + + + + + + + + + + + + cf_idKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + @@ -254,720 +254,7 @@ - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - P - - - - - - - - I - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) - - - - - - - - - - - - - - - - - - - - - - PI_clamp_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_idKp - - - - - - - - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -977,11 +264,11 @@ - + - + [Vd_min] @@ -1000,7 +287,7 @@ - + @@ -1010,11 +297,11 @@ - + - + [Vd_max] @@ -1033,7 +320,440 @@ - + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -1043,11 +763,11 @@ - + - + 6 @@ -1065,11 +785,11 @@ - + - + id_min @@ -1080,11 +800,11 @@ - + - + sfix16_En4 @@ -1096,7 +816,7 @@ - + @@ -1106,11 +826,11 @@ - + - + 5 @@ -1128,11 +848,11 @@ - + - + id_max @@ -1143,11 +863,11 @@ - + - + sfix16_En4 @@ -1159,7 +879,7 @@ - + @@ -1169,11 +889,11 @@ - + - + 4 @@ -1191,11 +911,11 @@ - + - + Vd_min @@ -1206,11 +926,11 @@ - + - + sfix16_En4 @@ -1222,7 +942,88 @@ - + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -1232,11 +1033,11 @@ - + - + [id_Tgt] @@ -1255,7 +1056,55 @@ - + + + + + + + + + + + + + + + + [id_Tgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1265,11 +1114,11 @@ - + - + 3 @@ -1287,11 +1136,11 @@ - + - + Vd_max @@ -1302,11 +1151,11 @@ - + - + sfix16_En4 @@ -1318,7 +1167,214 @@ - + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) + + + + + + + + + + + + + + + + + + + + + + PI_clamp_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1328,11 +1384,11 @@ - + - + 2 @@ -1350,11 +1406,11 @@ - + - + id @@ -1365,11 +1421,11 @@ - + - + sfix16_En4 @@ -1381,7 +1437,7 @@ - + @@ -1391,11 +1447,11 @@ - + - + 1 @@ -1413,11 +1469,11 @@ - + - + id_Tgt @@ -1428,11 +1484,11 @@ - + - + sfix16_En4 @@ -1442,7 +1498,7 @@ - + @@ -1456,7 +1512,7 @@ - + @@ -1470,7 +1526,7 @@ - + @@ -1484,7 +1540,7 @@ - + @@ -1498,7 +1554,7 @@ - + @@ -1512,7 +1568,7 @@ - + @@ -1526,7 +1582,7 @@ - + @@ -1540,7 +1596,7 @@ - + @@ -1554,7 +1610,7 @@ - + @@ -1568,7 +1624,7 @@ - + @@ -1582,7 +1638,7 @@ - + @@ -1596,7 +1652,7 @@ - + @@ -1610,77 +1666,63 @@ - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + @@ -1694,7 +1736,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.json new file mode 100644 index 0000000..1d5efd5 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "OutMin", + "OutMax", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "OutMin", + "OutMax", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "PropDataTypeMode", + "PropDataType", + "IfRefDouble", + "IfRefSingle", + "IsSigned", + "NumBitsBase", + "NumBitsMult", + "NumBitsAdd", + "NumBitsAllowFinal", + "PropScalingMode", + "PropScaling", + "ValuesUsedBestPrec", + "SlopeBase", + "SlopeMult", + "SlopeAdd", + "BiasBase", + "BiasMult", + "BiasAdd" + ], + "values":[ + "Inherit via propagation rule", + "fixdt(1, 16)", + "double", + "single", + "IsSigned1", + "NumBits1", + "1", + "0", + "1:128", + "Inherit via propagation rule", + "2^-10", + "[5 -7]", + "Slope1", + "1", + "0", + "Bias1", + "1", + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Data Type Propagation" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "NumInputPorts" + ], + "values":[ + "2" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeDuplicate", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9164", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg index c11c031..a82fb81 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,9 +61,9 @@ - + - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,9 +524,9 @@ - + - + @@ -603,9 +603,9 @@ - + - + @@ -652,9 +652,9 @@ - + - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1012,19 +1012,19 @@ - - - + + + - + @@ -1058,7 +1058,7 @@ - + @@ -1112,7 +1112,7 @@ - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.json index 5f819b1..a296859 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.json @@ -1,324 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10737", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9189", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "ConversionOutput", - "OutDataTypeStr", - "OverrideOpt" - ], - "values":[ - "Signal copy", - "Inherit: auto", - "off" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SignalConversion", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9186", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9187", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10732", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "3", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9184", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9183", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10738", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9181", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9191", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9191", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_Vlt", "label":"Vq_Vlt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -393,20 +80,22 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9179", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9189", + "className":"Simulink.SignalConversion", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" ], "values":[ - "Vq_max", - "Tag" + "Signal copy", + "Inherit: auto", + "off" ], "tabs":[ "Parameter Attributes" @@ -419,24 +108,118 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SignalConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10731", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10732", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "off", + "3", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9186", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "r_nLimProtMax", + "local", "Tag" ], "tabs":[ @@ -450,25 +233,27 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9177", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10737", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "r_inpTgtScaAbs", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -481,17 +266,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9185", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9185", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto2", "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "GotoTag", @@ -519,19 +304,85 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10733", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9184", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9183", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10738", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgtSca", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -550,12 +401,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10740", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10731", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10740", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU2", "label":"SignDeltaU2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "ZeroCross", @@ -581,12 +463,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10725", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9179", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10725", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "GotoTag", @@ -612,12 +525,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9176", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10733", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9176", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_nLimProtMax", "label":"r_nLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -679,12 +623,69 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9175", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10741", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9175", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_iqLimProtMax", "label":"r_iqLimProtMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -746,12 +747,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9174", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9174", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_min", "label":"Vq_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -813,69 +814,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10741", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9173", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9173", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_max", "label":"Vq_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -937,12 +881,76 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10736", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9181", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9187", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10736", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtScaAbs", "label":"r_inpTgtScaAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -1004,51 +1012,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9172", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9172", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "Port", @@ -1110,12 +1079,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9172#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9177", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9172#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1161,12 +1161,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9181#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9181#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1212,12 +1212,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9179#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9179#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1263,12 +1263,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9173#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9173#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1314,12 +1314,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9174#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9174#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1365,12 +1365,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9175#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9175#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1416,12 +1416,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9176#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9176#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1467,12 +1467,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9189#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9189#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1518,12 +1518,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1569,12 +1569,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10731#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10731#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1620,12 +1620,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10725#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10725#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1671,12 +1671,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10736#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10736#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1722,12 +1722,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10738#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10738#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1773,12 +1773,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10733#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1824,12 +1824,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10732#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1875,12 +1875,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10741#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10741#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1926,12 +1926,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10740#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10740#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.png similarity index 68% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.png index 1dd1515..2da4136 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.png and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg index a5120b9..00232f5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg @@ -9,33 +9,48 @@ - + - - - + + + - - + + - + - - [r_inpTgtScaAbs] + + 1 - - + + + + + + + + + + + + + + + + + Vq_Vlt @@ -46,7 +61,7 @@ - + @@ -56,116 +71,108 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - + @@ -173,7 +180,7 @@ - + @@ -181,6 +188,14 @@ + + + + + + + + @@ -206,11 +221,11 @@ - + - + sfix16_En4 @@ -222,29 +237,108 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - [r_nLimProtMax] + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -255,42 +349,9 @@ - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - + - + @@ -298,20 +359,20 @@ - + - + - + - - + + @@ -336,11 +397,11 @@ - + - + sfix16_En4 @@ -352,302 +413,29 @@ - - + + - + - + - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_Vlt - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [r_nLimProtMax] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -658,44 +446,29 @@ - - - + + + - - + + - - + + - - case: { } + + [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - Action Port + + @@ -706,7 +479,7 @@ - + @@ -716,11 +489,11 @@ - + - + [Vq_min] @@ -739,43 +512,109 @@ - - - + + + - - + + - - + + - + [r_inpTgtSca] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + - + - - + + - + sfix16_En4 @@ -787,9 +626,57 @@ - + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -797,35 +684,35 @@ - + - + - + - + - + - + - + - + @@ -851,11 +738,11 @@ - + - + int16 @@ -867,7 +754,55 @@ - + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -877,11 +812,11 @@ - + - + [r_iqLimProtMax] @@ -899,11 +834,11 @@ - + - + sfix16_En4 @@ -915,7 +850,55 @@ - + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -925,11 +908,11 @@ - + - + 6 @@ -947,11 +930,11 @@ - + - + r_nLimProtMax @@ -962,11 +945,11 @@ - + - + sfix16_En4 @@ -978,135 +961,9 @@ - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - r_iqLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -1114,19 +971,19 @@ - + - + - + - + @@ -1144,11 +1001,11 @@ - + - + sfix16_En4 @@ -1160,7 +1017,133 @@ - + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1170,11 +1153,11 @@ - + - + 3 @@ -1192,11 +1175,11 @@ - + - + Vq_max @@ -1207,11 +1190,11 @@ - + - + sfix16_En4 @@ -1223,7 +1206,88 @@ - + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + @@ -1233,11 +1297,11 @@ - + - + 2 @@ -1255,11 +1319,11 @@ - + - + r_inpTgtScaAbs @@ -1270,11 +1334,11 @@ - + - + sfix16_En4 @@ -1286,119 +1350,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1408,11 +1360,11 @@ - + - + 1 @@ -1430,11 +1382,11 @@ - + - + r_inpTgtSca @@ -1445,11 +1397,11 @@ - + - + sfix16_En4 @@ -1459,7 +1411,55 @@ - + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + @@ -1473,7 +1473,7 @@ - + @@ -1487,7 +1487,7 @@ - + @@ -1501,7 +1501,7 @@ - + @@ -1515,7 +1515,7 @@ - + @@ -1529,7 +1529,7 @@ - + @@ -1543,7 +1543,7 @@ - + @@ -1557,7 +1557,7 @@ - + @@ -1571,7 +1571,7 @@ - + @@ -1585,7 +1585,7 @@ - + @@ -1599,7 +1599,7 @@ - + @@ -1613,7 +1613,7 @@ - + @@ -1627,7 +1627,7 @@ - + @@ -1641,7 +1641,7 @@ - + @@ -1655,7 +1655,7 @@ - + @@ -1669,7 +1669,7 @@ - + @@ -1683,7 +1683,7 @@ - + @@ -1699,5 +1699,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.json new file mode 100644 index 0000000..3a4e984 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "OutMin", + "OutMax", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "<", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "OutMin", + "OutMax", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Nearest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "PropDataTypeMode", + "PropDataType", + "IfRefDouble", + "IfRefSingle", + "IsSigned", + "NumBitsBase", + "NumBitsMult", + "NumBitsAdd", + "NumBitsAllowFinal", + "PropScalingMode", + "PropScaling", + "ValuesUsedBestPrec", + "SlopeBase", + "SlopeMult", + "SlopeAdd", + "BiasBase", + "BiasMult", + "BiasAdd" + ], + "values":[ + "Inherit via propagation rule", + "fixdt(1, 16)", + "double", + "single", + "IsSigned1", + "NumBits1", + "1", + "0", + "1:128", + "Inherit via propagation rule", + "2^-10", + "[5 -7]", + "Slope1", + "1", + "0", + "Bias1", + "1", + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Data Type Propagation" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "NumInputPorts" + ], + "values":[ + "2" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"DataTypeDuplicate", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "tabs":[ + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" + ], + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9188", + "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":[ + ] + } +] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.svg index d38565d..7b55ae2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,9 +61,9 @@ - + - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,9 +524,9 @@ - + - + @@ -603,9 +603,9 @@ - + - + @@ -652,7 +652,7 @@ - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1009,22 +1009,22 @@ - + - + - + - + @@ -1058,7 +1058,7 @@ - + @@ -1112,7 +1112,7 @@ - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json index d07e98e..a2b6f58 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9200", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9200", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_pos", "label":"z_pos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9239", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9239", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"DC_phaC ", "label":"DC_phaC ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -147,12 +147,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9221", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9221", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -180,12 +180,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9238", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9238", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"DC_phaB", "label":"DC_phaB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -260,12 +260,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9237", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9237", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"DC_phaA", "label":"DC_phaA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -340,12 +340,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9226", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9226", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto4", "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -373,12 +373,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9222", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9222", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -406,12 +406,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9224", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9224", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto2", "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -439,12 +439,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9219", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9219", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From8", "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -470,12 +470,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9220", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9220", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From9", "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -501,12 +501,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9212", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9212", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -532,12 +532,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9208", "className":"Simulink.Demux", "icon":"WebViewIcon3", "name":"Demux", "label":"Demux", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Outputs", @@ -565,12 +565,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9202", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9202", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"V_phaABC_FOC", "label":"V_phaABC_FOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -632,12 +632,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9228", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9228", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto6", "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -665,12 +665,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9231", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9231", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto9", "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -698,12 +698,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9205", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9205", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq", "label":"Vq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -765,12 +765,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9213", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9213", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From2", "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -796,12 +796,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9199", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9199", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_enaAdvCtrl", "label":"b_enaAdvCtrl", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -863,12 +863,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9223", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9223", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto10", "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -896,12 +896,1115 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9455", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9449", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay4", + "label":"UnitDelay4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9741", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"SIN_Method", + "label":"SIN_Method", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9233", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator6", + "label":"Relational Operator6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9840", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9835", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9914", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "3", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9833", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If", + "label":"If", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "2", + "u1 ~= 0", + "u2 ~= 0", + "on", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9924", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dir", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9451", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9920", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11470", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9215", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9928", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9839", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9454", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9916", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9915", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_pos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9927", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9452", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9838", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM3", + "label":"CTRL_COMM3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "CTRL_SIN", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9908", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "V_phaABC_FOC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9831", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9834", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "CTRL_FOC", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9904", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"COM_Method", + "label":"COM_Method", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9235", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8216", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion6", + "label":"Data Type Conversion6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "int16", + "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":"BLDCmotor_FOC_R2017b_fixdt:9455", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -976,838 +2079,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9235", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "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:9449", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "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:9233", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator6", - "label":"Relational Operator6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:9840", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:9225", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"SIN_Method", - "label":"SIN_Method", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9925", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9926", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9452", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9927", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9920", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9454", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9917", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9215", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If", - "label":"If", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "2", - "u1 ~= 0", - "u2 ~= 0", - "on", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9451", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9908", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "V_phaABC_FOC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9227", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9924", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dir", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9915", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9842", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"FOC_Method", "label":"FOC_Method", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1819,6 +2104,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1829,10 +2115,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1842,7 +2127,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1855,6 +2140,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1864,21 +2150,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1893,88 +2176,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9835", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-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:9831", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9207", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9207", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"CTRL_COMM1", "label":"CTRL_COMM1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Value", @@ -2018,473 +2225,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9914", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets", - "Inputs" - ], - "values":[ - "[]", - "off", - "[]", - "3" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion6", - "label":"Data Type Conversion6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int16", - "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:9929", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"COM_Method", - "label":"COM_Method", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9214", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9916", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9922", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dir", - "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "8", - "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:9838", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM3", - "label":"CTRL_COMM3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "CTRL_SIN", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9206", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "6", - "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:9923", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9923", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_fieldWeak", "label":"r_fieldWeak", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -2546,43 +2292,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9928", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9832", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dir", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9839", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", @@ -2608,12 +2323,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9921", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9921", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"a_elecAngle", "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -2675,12 +2390,109 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9201", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9225", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9926", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9929", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9201", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlTypSel", "label":"z_ctrlTypSel", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Port", @@ -2742,32 +2554,147 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9834", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9925", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9214", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9227", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9206", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "CTRL_FOC", - "on", - "inf", + "6", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -2776,8 +2703,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -2786,17 +2713,84 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9919", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9922", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9919", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator2", "label":"Logical Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Operator", @@ -2836,12 +2830,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9836", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9836", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "Operator", @@ -2881,12 +2875,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9208#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2932,12 +2926,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9208#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2983,12 +2977,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9208#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3034,12 +3028,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9200#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9200#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3085,12 +3079,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9212#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9212#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3136,12 +3130,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9220#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9220#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3187,12 +3181,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9219#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9219#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3238,12 +3232,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9202#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9202#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3289,12 +3283,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9205#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9205#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3340,12 +3334,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9199#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9199#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3391,12 +3385,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9214#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9214#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3442,12 +3436,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9207#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9207#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3493,12 +3487,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9233#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9233#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3544,12 +3538,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9206#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9206#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3595,12 +3589,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9201#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9201#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3646,12 +3640,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9235#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9235#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3697,12 +3691,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9449#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9449#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3748,12 +3742,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9454#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9454#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3799,12 +3793,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9213#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9213#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3850,12 +3844,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9215#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9215#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3901,12 +3895,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8216#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3952,12 +3946,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9834#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9834#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4003,12 +3997,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9832#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4054,12 +4048,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9835#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9835#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4105,12 +4099,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9831#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9831#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4156,12 +4150,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9839#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4207,12 +4201,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9838#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4258,12 +4252,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9908#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9908#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4309,12 +4303,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9833#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4360,12 +4354,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9904#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4411,12 +4405,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9914#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9914#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4462,12 +4456,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9915#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9915#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4513,12 +4507,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9916#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9916#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4564,12 +4558,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9917#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9836#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4615,12 +4609,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9833#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4666,12 +4660,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9741#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4717,12 +4711,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9842#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4768,12 +4762,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9833#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4819,12 +4813,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9840#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4870,12 +4864,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9919#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4921,12 +4915,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9919#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9920#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4972,12 +4966,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9920#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9921#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5023,12 +5017,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9921#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9922#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5074,12 +5068,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9922#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9923#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5125,12 +5119,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9923#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9927#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5176,12 +5170,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9927#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9928#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5227,12 +5221,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9928#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9929#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", @@ -5278,12 +5272,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9929#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11470#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png new file mode 100644 index 0000000..0272631 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg index 8c387f7..a773497 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -124,7 +124,7 @@ - + @@ -157,7 +157,7 @@ - + @@ -205,7 +205,7 @@ - + @@ -253,7 +253,7 @@ - + @@ -286,7 +286,7 @@ - + @@ -319,7 +319,7 @@ - + @@ -352,7 +352,7 @@ - + @@ -400,7 +400,7 @@ - + @@ -448,7 +448,7 @@ - + @@ -496,7 +496,7 @@ - + @@ -539,30 +539,30 @@ - + - + - + int16 - + - + - + int16 @@ -574,7 +574,7 @@ - + @@ -637,7 +637,7 @@ - + @@ -670,7 +670,7 @@ - + @@ -703,7 +703,7 @@ - + @@ -766,7 +766,7 @@ - + @@ -814,7 +814,7 @@ - + @@ -877,7 +877,7 @@ - + @@ -910,247 +910,7 @@ - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1160,35 +920,35 @@ - + - + - + - + - + - + - + - + @@ -1214,11 +974,11 @@ - + - + sfix16_En4 @@ -1229,11 +989,11 @@ - + - + Ini=0 @@ -1245,184 +1005,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - + @@ -1438,51 +1021,51 @@ - + - - r_inpTgtSca + + VqFin - + - + a_elecAngle - + - + z_dir - + - + r_fieldWeak - + - + V_phaABC_SIN - + - + elseif { } @@ -1512,11 +1095,11 @@ - + - + SIN_Method @@ -1529,16 +1112,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1550,16 +1133,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1570,196 +1153,73 @@ - + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - + + - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - + - - + + - + boolean @@ -1771,43 +1231,203 @@ - - - + + + - - + + - + - - + + - - [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -1819,103 +1439,7 @@ - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1925,43 +1449,43 @@ - + - + u1 - + - + u2 - + - + if(u1 ~= 0) - + - + elseif(u2 ~= 0) - + - + else @@ -1979,26 +1503,11 @@ - + - - action - - - - - - - - - - - - - - + action @@ -2009,11 +1518,26 @@ - + - + + action + + + + + + + + + + + + + + action @@ -2025,7 +1549,40 @@ - + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + @@ -2058,11 +1615,11 @@ - - + + - + @@ -2072,393 +1629,29 @@ - - [V_phaABC_FOC] + + [b_enaAdvCtrl] - + - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - V_phaABC_FOC_in - - - - - - - - V_phaABC_FOC - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC_Method - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + boolean @@ -2470,7 +1663,520 @@ - + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_SIN + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_FOC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -2480,11 +2186,11 @@ - + - + [b_enaAdvCtrl] @@ -2502,11 +2208,11 @@ - + - + boolean @@ -2518,43 +2224,43 @@ - - + + - + - + - + CTRL_FOC - + - + - - + + - + uint8 @@ -2566,59 +2272,325 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + VqFin + + + + + + + + z_pos + + + + + + + + V_phaABC_COM + + + + + + + + else { } + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + COM_Method - + + + + + + + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2630,7 +2602,7 @@ - + @@ -2640,19 +2612,19 @@ - + - + - + - + @@ -2678,11 +2650,11 @@ - + - + int16 @@ -2694,44 +2666,44 @@ - - - + + + - - + + - - + + - - [r_fieldWeak] + + 4 - - + + - - - + + + - - + + - - sfix16_En4 + + VqFinPrev @@ -2742,9 +2714,9 @@ - - - + + + @@ -2752,42 +2724,34 @@ - - + + - - + + - - VqFin + + V_phaABC_FOC_in + + + + + + + + V_phaABC_FOC - + - - z_pos - - - - - - - - V_phaABC_COM - - - - - - - - else { } + + if { } @@ -2799,8 +2763,8 @@ - - + + @@ -2812,16 +2776,16 @@ - - + + - - + + - - COM_Method + + FOC_Method @@ -2833,16 +2797,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -2854,16 +2818,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -2874,208 +2838,49 @@ - + - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - + - + - + - - CTRL_SIN + + CTRL_FOC - + - + - - + + - + uint8 @@ -3087,70 +2892,7 @@ - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -3160,11 +2902,11 @@ - + - + 9 @@ -3182,11 +2924,11 @@ - + - + r_fieldWeak @@ -3197,11 +2939,11 @@ - + - + sfix16_En4 @@ -3213,91 +2955,43 @@ - - + + - + - + - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - + [z_ctrlTypSel] - + - + - - + + - + uint8 @@ -3309,7 +3003,7 @@ - + @@ -3319,11 +3013,11 @@ - + - + 7 @@ -3341,11 +3035,11 @@ - + - + a_elecAngle @@ -3356,11 +3050,11 @@ - + - + sfix16_En6 @@ -3372,7 +3066,121 @@ - + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -3382,11 +3190,11 @@ - + - + 2 @@ -3404,11 +3212,11 @@ - + - + z_ctrlTypSel @@ -3419,11 +3227,11 @@ - + - + uint8 @@ -3435,43 +3243,76 @@ - - - + + + - - + + - - + + - - CTRL_FOC + + [r_fieldWeak] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + - + - - + + - + uint8 @@ -3483,7 +3324,166 @@ - + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + + + + @@ -3506,7 +3506,7 @@ - + @@ -3515,21 +3515,6 @@ - - - - - - - - - - - boolean - - - - @@ -3541,13 +3526,28 @@ + + + + + + + + + + + boolean + + + + - + @@ -3570,7 +3570,7 @@ - + @@ -3579,21 +3579,6 @@ - - - - - - - - - - - boolean - - - - @@ -3605,11 +3590,26 @@ + + + + + + + + + + + boolean + + + + - + @@ -3623,7 +3623,7 @@ - + @@ -3637,7 +3637,7 @@ - + @@ -3651,7 +3651,7 @@ - + @@ -3665,7 +3665,7 @@ - + @@ -3679,7 +3679,7 @@ - + @@ -3693,7 +3693,7 @@ - + @@ -3707,7 +3707,7 @@ - + @@ -3721,7 +3721,7 @@ - + @@ -3735,7 +3735,7 @@ - + @@ -3749,7 +3749,7 @@ - + @@ -3763,7 +3763,7 @@ - + @@ -3777,7 +3777,7 @@ - + @@ -3791,7 +3791,7 @@ - + @@ -3805,7 +3805,7 @@ - + @@ -3819,7 +3819,7 @@ - + @@ -3853,7 +3853,7 @@ - + @@ -3867,7 +3867,7 @@ - + @@ -3881,7 +3881,7 @@ - + @@ -3895,7 +3895,7 @@ - + @@ -3909,7 +3909,7 @@ - + @@ -3923,7 +3923,7 @@ - + @@ -3937,7 +3937,7 @@ - + @@ -3951,7 +3951,7 @@ - + @@ -3965,7 +3965,7 @@ - + @@ -3979,7 +3979,7 @@ - + @@ -3993,7 +3993,7 @@ - + @@ -4007,21 +4007,21 @@ - + - + - + @@ -4035,7 +4035,7 @@ - + @@ -4049,7 +4049,7 @@ - + @@ -4063,49 +4063,35 @@ - + - + - + - + - - - - - - - - - - - - - - - + @@ -4119,7 +4105,7 @@ - + @@ -4133,7 +4119,7 @@ - + @@ -4147,7 +4133,7 @@ - + @@ -4161,7 +4147,7 @@ - + @@ -4175,7 +4161,7 @@ - + @@ -4189,7 +4175,7 @@ - + @@ -4203,7 +4189,7 @@ - + @@ -4217,7 +4203,7 @@ - + @@ -4231,7 +4217,7 @@ - + @@ -4245,7 +4231,7 @@ - + @@ -4259,7 +4245,7 @@ - + @@ -4273,7 +4259,7 @@ - + @@ -4287,7 +4273,7 @@ - + @@ -4301,7 +4287,21 @@ + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg index 3a2d57b..579bfae 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg @@ -6,9 +6,9 @@ - + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg index cfb01d1..e7746a4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg @@ -6,9 +6,9 @@ - + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json index 1ff9b19..2f1983f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9786", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9786", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Sinusoidal With 3rd Harmonic

", "label":"

Sinusoidal With 3rd Harmonic

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9783", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9783", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_phaABC_SIN", "label":"V_phaABC_SIN", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "Port", @@ -129,12 +129,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9780", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9780", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", "name":"r_sin3PhaA_M1", "label":"r_sin3PhaA_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "NumberOfTableDimensions", @@ -210,12 +210,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9781", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9781", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", "name":"r_sin3PhaB_M1", "label":"r_sin3PhaB_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "NumberOfTableDimensions", @@ -291,12 +291,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9782", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9782", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", "name":"r_sin3PhaC_M1", "label":"r_sin3PhaC_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "NumberOfTableDimensions", @@ -372,12 +372,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9779", "className":"Simulink.PreLookup", "icon":"WebViewIcon3", "name":"a_elecAngle_XA", "label":"a_elecAngle_XA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "BreakpointsSpecification", @@ -451,12 +451,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9742", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9742", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "InitializeStates", @@ -482,20 +482,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9743", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Final_Phase_Advance_Calculation", "label":"Final_Phase_Advance_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -507,6 +507,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -517,10 +518,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -530,7 +530,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -543,6 +543,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -552,21 +553,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -581,12 +579,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9802", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9819", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "3", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9802", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto8", "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -594,7 +623,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "VqFin", "local", "Tag" ], @@ -614,12 +643,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9800", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9800", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto4", "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -647,12 +676,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9799", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9799", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -680,12 +709,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9806", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9806", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -711,12 +740,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9803", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9818", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9803", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From", "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -742,12 +802,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9820", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9820", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -775,19 +835,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9810", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9801", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "V_phaABC_SIN", + "a_elecAngle", + "local", "Tag" ], "tabs":[ @@ -801,37 +863,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10677", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9816", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Inputs", + "Multiplication", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "uint8", + "**", + "Element-wise(.*)", "off", - "inf" + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -840,8 +910,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 9 ] }, "viewer":{ @@ -850,17 +920,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9805", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9805", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From2", "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", @@ -886,12 +956,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9798", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9810", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "V_phaABC_SIN", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9798", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_fieldWeak", "label":"r_fieldWeak", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "Port", @@ -953,12 +1054,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9797", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9797", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_dir", "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "Port", @@ -1020,25 +1121,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9819", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10677", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "3", - "bar" + "0", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1046,50 +1165,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9801", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9795", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9795", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"a_elecAngle", "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "Port", @@ -1151,100 +1237,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9818", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9816", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9796", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9796", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "name":"VqFin", + "label":"VqFin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "Port", @@ -1306,12 +1304,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9779#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1357,12 +1355,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10677#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10677#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1408,12 +1406,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9743#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1459,12 +1457,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9795#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9795#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1510,12 +1508,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9798#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9798#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1561,12 +1559,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9797#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9797#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1612,12 +1610,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9796#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9796#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1663,12 +1661,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9803#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9803#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1714,12 +1712,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9805#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9805#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1765,12 +1763,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9806#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9806#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1816,12 +1814,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9810#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9810#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1867,12 +1865,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9818#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1918,12 +1916,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9780#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9780#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1969,12 +1967,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9781#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2020,12 +2018,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9782#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9782#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2071,12 +2069,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9819#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2122,12 +2120,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png new file mode 100644 index 0000000..28d8fc8 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg index 4985ceb..eee94b2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,7 +32,7 @@ - + @@ -80,11 +80,11 @@ - + - + - + @@ -94,7 +94,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -551,11 +551,11 @@ - + - + - + @@ -565,7 +565,7 @@ - + @@ -573,7 +573,7 @@ - + @@ -1022,11 +1022,11 @@ - + - + - + @@ -1036,7 +1036,7 @@ - + @@ -1044,7 +1044,7 @@ - + @@ -1493,11 +1493,11 @@ - + - + - + @@ -1515,7 +1515,7 @@ - + @@ -1539,7 +1539,7 @@ - + @@ -1547,7 +1547,7 @@ - + @@ -1636,9 +1636,9 @@ - + - + @@ -1669,7 +1669,7 @@ - + @@ -1780,13 +1780,61 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + @@ -1796,12 +1844,12 @@ - + - - [r_inpTgtSca] + + [VqFin] @@ -1819,7 +1867,7 @@ - + @@ -1829,11 +1877,11 @@ - + - + [r_fieldWeak] @@ -1852,7 +1900,7 @@ - + @@ -1862,11 +1910,11 @@ - + - + [z_dir] @@ -1885,7 +1933,7 @@ - + @@ -1895,11 +1943,11 @@ - + - + [r_fieldWeak] @@ -1917,11 +1965,11 @@ - + - + sfix16_En4 @@ -1933,7 +1981,55 @@ - + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1943,11 +2039,11 @@ - + - + [a_elecAngle] @@ -1965,11 +2061,11 @@ - + - + sfix16_En6 @@ -1981,7 +2077,7 @@ - + @@ -1991,11 +2087,11 @@ - + - + [V_phaABC_SIN] @@ -2014,325 +2110,7 @@ - - - - - - - - - - - - - - - - [V_phaABC_SIN] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - + @@ -2342,11 +2120,11 @@ - + - + [a_elecAngle] @@ -2365,118 +2143,7 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -2486,19 +2153,19 @@ - + - + - + - + @@ -2516,11 +2183,11 @@ - + - + sfix16_En4 @@ -2532,7 +2199,340 @@ - + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_SIN] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + @@ -2561,15 +2561,15 @@ - + - + - - r_inpTgtSca + + VqFin @@ -2593,7 +2593,7 @@ - + @@ -2647,7 +2647,7 @@ - + @@ -2692,16 +2692,16 @@ - + - + - + @@ -2715,7 +2715,7 @@ - + @@ -2729,7 +2729,7 @@ - + @@ -2743,7 +2743,7 @@ - + @@ -2757,7 +2757,7 @@ - + @@ -2771,7 +2771,7 @@ - + @@ -2785,7 +2785,7 @@ - + @@ -2799,7 +2799,7 @@ - + @@ -2813,7 +2813,7 @@ - + @@ -2827,7 +2827,7 @@ - + @@ -2841,7 +2841,7 @@ - + @@ -2855,7 +2855,7 @@ - + @@ -2869,7 +2869,7 @@ - + @@ -2883,7 +2883,7 @@ - + @@ -2897,7 +2897,7 @@ - + @@ -2913,5 +2913,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json index ee94706..cc4d007 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9778", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9778", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Phase Advance / Field Weakening

", "label":"

Phase Advance / Field Weakening

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9745", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9745", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_dir", "label":"z_dir", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Port", @@ -116,12 +116,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9757", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9757", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -149,12 +149,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9776", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9776", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"a_elecAngleAdv", "label":"a_elecAngleAdv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Port", @@ -229,12 +229,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9749", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9749", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -260,12 +260,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9768", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9768", "className":"Simulink.Scope", "icon":"WebViewIcon3", "name":"Scope", "label":"Scope", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":[ ], "viewer":{ @@ -279,12 +279,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9765", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9765", "className":"Simulink.Mux", "icon":"WebViewIcon3", "name":"Mux", "label":"Mux", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Inputs", @@ -310,12 +310,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9752", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9752", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From2", "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -341,12 +341,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9753", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9753", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -372,12 +372,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9770", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9770", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch_PhaAdv", "label":"Switch_PhaAdv", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Criteria", @@ -429,12 +429,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9751", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9751", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From12", "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -460,12 +460,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9762", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9762", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto9", "label":"Goto9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -493,12 +493,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9772", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9772", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"a_elecPeriod2", "label":"a_elecPeriod2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Value", @@ -542,12 +542,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9769", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9769", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "IconShape", @@ -601,12 +601,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9755", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9755", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From7", "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -632,12 +632,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9766", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9766", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Product2", "label":"Product2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Inputs", @@ -689,12 +689,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9756", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9756", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From9", "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -720,12 +720,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9760", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9760", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto7", "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -753,12 +753,109 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9791", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"b_fieldWeakEna", "label":"b_fieldWeakEna", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Value", @@ -802,12 +899,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9758", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10175", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9758", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto4", "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -835,12 +963,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9794", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9794", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "GotoTag", @@ -866,12 +994,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9746", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9746", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_fieldWeak", "label":"r_fieldWeak", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Port", @@ -933,111 +1061,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"Modulo_fixdt", - "label":"Modulo_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "SystemSampleTime", - "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "Auto", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "-1", - "", - "off", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9747", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9747", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"a_elecAngle", "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "Port", @@ -1099,43 +1128,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10175", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9756#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9756#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1181,12 +1179,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9745#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9745#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1232,12 +1230,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9765#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9765#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1283,12 +1281,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9749#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9749#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1334,12 +1332,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9746#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9746#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1385,12 +1383,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9747#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9747#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1436,12 +1434,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9769#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1487,12 +1485,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9772#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9772#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1538,12 +1536,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1589,12 +1587,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9766#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9766#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1640,12 +1638,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9755#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9755#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1691,12 +1689,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9752#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9752#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1742,12 +1740,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9751#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9751#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1793,12 +1791,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9770#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1844,12 +1842,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9753#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9753#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1895,12 +1893,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9791#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1946,12 +1944,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9794#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9794#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1997,12 +1995,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10175#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10175#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png new file mode 100644 index 0000000..6e8db47 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg index 1eafcf9..ff27dd3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,7 +32,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -176,7 +176,7 @@ - + @@ -224,9 +224,9 @@ - + - + @@ -273,7 +273,7 @@ - + @@ -321,7 +321,7 @@ - + @@ -369,7 +369,7 @@ - + @@ -417,7 +417,7 @@ - + @@ -609,7 +609,7 @@ - + @@ -657,7 +657,7 @@ - + @@ -690,11 +690,11 @@ - - + + - + @@ -704,29 +704,29 @@
- + a_elecPeriod - + - + - + - + sfix16_En6 @@ -738,7 +738,7 @@ - + @@ -810,7 +810,7 @@ - + @@ -858,7 +858,7 @@ - + @@ -914,7 +914,7 @@ - + @@ -962,7 +962,7 @@ - + @@ -995,214 +995,7 @@ - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1218,27 +1011,27 @@ - + - + num - + - + div - + - + rem @@ -1268,11 +1061,11 @@ - + - + sfix16_En6 @@ -1284,29 +1077,29 @@ - + - + - + - + - + - + @@ -1320,65 +1113,65 @@ - + - - + + - - + + - - + + - - 1 + + b_fieldWeakEna - - + + - - + + - - + + - - a_elecAngle + + b_fieldWeakEna - - + + - - + + - - sfix16_En6 + + boolean @@ -1389,7 +1182,7 @@ - + @@ -1399,11 +1192,11 @@ - + - + [r_fieldWeak] @@ -1421,11 +1214,11 @@ - + - + sfix16_En4 @@ -1435,7 +1228,214 @@ - + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + @@ -1449,7 +1449,7 @@ - + @@ -1463,7 +1463,7 @@ - + @@ -1477,7 +1477,7 @@ - + @@ -1491,7 +1491,7 @@ - + @@ -1505,7 +1505,7 @@ - + @@ -1519,7 +1519,7 @@ - + @@ -1533,21 +1533,21 @@ - + - + - + @@ -1561,7 +1561,7 @@ - + @@ -1575,7 +1575,7 @@ - + @@ -1589,7 +1589,7 @@ - + @@ -1603,7 +1603,7 @@ - + @@ -1617,7 +1617,7 @@ - + @@ -1631,7 +1631,7 @@ - + @@ -1645,7 +1645,7 @@ - + @@ -1659,7 +1659,7 @@ - + @@ -1673,7 +1673,7 @@ - + @@ -1689,5 +1689,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json index 14bc7bb..017bf61 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9902", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9902", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_phaABC_FOC", "label":"V_phaABC_FOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9842", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9847", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9847", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9842", "inspector":{ "params":[ "InitializeStates", @@ -111,12 +111,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"V_phaABC_FOC_in", "label":"V_phaABC_FOC_in", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9842", "inspector":{ "params":[ "Port", @@ -178,12 +178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9843#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9842", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg index d01524c..463e588 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,9 +61,9 @@ - + - + @@ -94,7 +94,7 @@ - + @@ -155,7 +155,7 @@ - + @@ -171,5 +171,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json index 108889e..d07e971 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9907", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9907", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_phaABC_COM", "label":"V_phaABC_COM", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9906", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9906", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "InitializeStates", @@ -111,47 +111,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9236", - "className":"Simulink.LookupNDDirect", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9912", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"z_commutMap_M1", - "label":"z_commutMap_M1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ - "NumberOfTableDimensions", - "InputsSelectThisObjectFromTable", - "TableIsInput", - "Table", - "DiagnosticForOutOfRangeInput", - "TableMin", - "TableMax", - "TableDataTypeStr", - "LockScale", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "Column", - "off", - "z_commutMap_M1", - "None", - "[]", - "[]", - "int8", - "off", - "-1" + "VqFin", + "local", + "Tag" ], "tabs":[ - "Main", - "Table Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -159,17 +139,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"LookupNDDirect", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9911", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9911", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "GotoTag", @@ -197,12 +177,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9453", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9453", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "GotoTag", @@ -228,12 +208,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9913", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9913", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From", "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "GotoTag", @@ -259,45 +239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9823", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "V_phaABC_COM", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9211", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9211", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "GotoTag", @@ -323,79 +270,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9910", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_pos", - "label":"z_pos", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", - "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:9209", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9209", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "Inputs", @@ -447,12 +327,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9912", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9823", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "GotoTag", @@ -460,7 +340,7 @@ "IconDisplay" ], "values":[ - "VqFin", + "V_phaABC_COM", "local", "Tag" ], @@ -480,12 +360,132 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9909", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9236", + "className":"Simulink.LookupNDDirect", + "icon":"WebViewIcon3", + "name":"z_commutMap_M1", + "label":"z_commutMap_M1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "InputsSelectThisObjectFromTable", + "TableIsInput", + "Table", + "DiagnosticForOutOfRangeInput", + "TableMin", + "TableMax", + "TableDataTypeStr", + "LockScale", + "SampleTime" + ], + "values":[ + "2", + "Column", + "off", + "z_commutMap_M1", + "None", + "[]", + "[]", + "int8", + "off", + "-1" + ], + "tabs":[ + "Main", + "Table Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"LookupNDDirect", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9910", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_pos", + "label":"z_pos", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9909", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFin", "label":"VqFin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "Port", @@ -547,12 +547,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9209#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9209#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", @@ -598,12 +598,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9211#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9211#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", @@ -649,12 +649,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9236#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9236#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", @@ -700,12 +700,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9453#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9453#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", @@ -751,12 +751,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9909#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9909#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", @@ -802,12 +802,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9910#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9910#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", @@ -853,12 +853,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9913#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9913#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg index d55477f..08e3d9a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -94,543 +94,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-D T[k] - - - - - - - - - - - - - - - - - - - - - - z_commutMap_M1 - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_COM] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_COM] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_pos - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -640,11 +104,11 @@ - + - + [VqFin] @@ -663,7 +127,543 @@ - + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_COM] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_COM] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2-D T[k] + + + + + + + + + + + + + + + + + + + + + + z_commutMap_M1 + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_pos + + + + + + + + + + + + + + + int8 + + + + + + + + + + + @@ -724,7 +724,7 @@ - + @@ -738,7 +738,7 @@ - + @@ -752,7 +752,7 @@ - + @@ -766,7 +766,7 @@ - + @@ -780,7 +780,7 @@ - + @@ -794,7 +794,7 @@ - + @@ -808,7 +808,7 @@ - + @@ -824,5 +824,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json similarity index 52% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json index e6c3816..fff5e7a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json @@ -1,182 +1,181 @@ [ { "hid":1, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt", + "sid":"BLDCmotor_FOC_R2017b_fixdt", "esid":"", "parent":0, "children":[ 2 ], - "name":"BLDCmotorControl_FOC_R2017b_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt", - "label":"BLDCmotorControl_FOC_R2017b_fixdt", + "name":"BLDCmotor_FOC_R2017b_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt", + "label":"BLDCmotor_FOC_R2017b_fixdt", "icon":"WebViewIcon0", "sameAsElement":false }, { "hid":2, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "sid":"BLDCmotor_FOC_R2017b_fixdt:29", + "esid":"BLDCmotor_FOC_R2017b_fixdt:29", "parent":1, "children":[ 3, - 12, - 23, - 35, - 38, - 83, - 89, - 90, - 91 + 14, + 25, + 37, + 40, + 86, + 92, + 93, + 94 ], "name":"BLDC_controller", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller", "label":"BLDC_controller", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json", "elements":[ ":9309", ":9308", ":9307", ":10192", - ":9303", - ":9304", + ":9305", + ":9302", ":9299", + ":9298", ":10064", - ":9297", - ":9441", + ":11487", + ":10164", ":10751", ":10749", ":10156", + ":9293", + ":9306", + ":9304", ":9292", - ":10139", - ":9290", - ":9282", - ":9289", + ":10158", + ":9288", ":9287", ":9286", - ":9283", - ":9272", - ":9275", - ":9274", - ":9456", - ":9252", - ":9278", - ":9250", + ":11488", + ":11349", ":10189", - ":11019", - ":9418", - ":9276", - ":10692", + ":9272", + ":10188", + ":10187", + ":9278", + ":9277", + ":9303", + ":9456", + ":9271", + ":9241", + ":9263", ":9262", - ":10355", + ":11489", + ":11019", + ":10258", ":10259", ":9268", - ":9934", - ":9266", - ":9271", - ":9300", + ":9285", + ":9267", + ":9265", + ":9264", ":9260", ":9930", ":9261", - ":10188", - ":10161", - ":10160", - ":10027", - ":9285", - ":9935", - ":9436", - ":9249", - ":9448", - ":9258", - ":9245", - ":9720", - ":9277", - ":9240", - ":10191", - ":9248", - ":9437", - ":10025", - ":9291", - ":9263", - ":8658", - ":9241", - ":10257", - ":10155", - ":9280", - ":9281", - ":10066", - ":10159", - ":8469", - ":9279", - ":9298", - ":9198", - ":9305", - ":10356", - ":9267", - ":8220", - ":8217", - ":8535", - ":8210", - ":9269", - ":10258", - ":8214", - ":9306", - ":8208", - ":9244", - ":9288", - ":8207", - ":9931", - ":10158", - ":8206", - ":9242", - ":9293", - ":9251", - ":9253", - ":9264", - ":8205", ":9284", - ":10065", - ":10164", - ":9265", - ":8202", - ":10154", - ":9302", - ":9301", - ":9270", - ":8203", - ":8215", - ":8204", - ":10026", - ":8209", - ":10187", ":9259", + ":10257", + ":10160", + ":10159", + ":11305", + ":9274", + ":11304", + ":9266", + ":9935", + ":9249", + ":9280", + ":9289", + ":9297", + ":9244", + ":11303", + ":9252", + ":9275", + ":10191", + ":9448", + ":9437", + ":9418", + ":9276", + ":9441", + ":11351", + ":9269", + ":9198", + ":9301", + ":9290", + ":11518", + ":8658", + ":9931", + ":10066", + ":9291", + ":11306", + ":11302", + ":9282", + ":9240", + ":10155", + ":11151", + ":9720", + ":11485", + ":9251", + ":8220", + ":8469", + ":10161", + ":10065", + ":9270", + ":8210", + ":10154", + ":10139", + ":11556", + ":8208", + ":10355", + ":10692", + ":9245", + ":9283", + ":8207", + ":8209", + ":9253", + ":10356", + ":9250", + ":8205", + ":11348", + ":9281", + ":8204", + ":9934", + ":8202", ":8201", - ":10255", + ":9279", + ":8206", + ":9300", + ":9258", + ":8203", ":10157", + ":10255", ":9268#out:1", - ":8469#out:2", - ":8215#out:1", - ":8214#out:1", ":9290#out:1", ":9251#out:1", ":9260#out:1", ":8220#out:5", - ":9242#out:1", ":9258#out:1", ":9291#out:1", ":9249#out:1", ":9265#out:1", ":9250#out:1", - ":9248#out:1", ":9240#out:1", ":8210#out:1", ":9244#out:1", ":9245#out:1", ":9241#out:1", - ":9267#out:1", ":9266#out:1", ":9198#out:2", ":8202#out:1", @@ -186,7 +185,6 @@ ":8220#out:6", ":9259#out:1", ":8658#out:3", - ":8217#out:1", ":9198#out:3", ":8205#out:1", ":8220#out:8", @@ -196,20 +194,16 @@ ":9253#out:1", ":9264#out:1", ":8220#out:1", - ":8535#out:1", ":9252#out:1", ":8204#out:1", ":8220#out:2", ":9298#out:1", ":9261#out:1", ":9418#out:1", - ":9436#out:1", ":8220#out:7", ":8209#out:1", ":9198#out:4", ":9448#out:1", - ":9263#out:1", - ":9262#out:1", ":9720#out:1", ":8658#out:2", ":8658#out:1", @@ -217,10 +211,7 @@ ":9931#out:1", ":8220#out:3", ":9935#out:1", - ":10025#out:1", - ":10026#out:1", - ":10027#out:1", - ":8535#out:2", + ":11151#out:2", ":8203#out:1", ":10065#out:1", ":10155#out:1", @@ -233,7 +224,6 @@ ":9297#out:1", ":10191#out:1", ":10255#out:1", - ":10258#out:1", ":10257#out:1", ":10356#out:1", ":10355#out:1", @@ -249,29 +239,47 @@ ":10749#out:1", ":10751#out:1", ":8208#out:1", - ":11019#out:1" + ":11019#out:1", + ":11302#out:1", + ":11304#out:1", + ":11303#out:1", + ":11306#out:1", + ":11305#out:1", + ":8469#out:2", + ":11151#out:1", + ":10258#out:1", + ":11348#out:1", + ":11351#out:1", + ":9267#out:1", + ":9263#out:1", + ":9262#out:1", + ":11485#out:1", + ":11489#out:1", + ":11518#out:1", + ":11487#out:1" ], "sameAsElement":true }, { "hid":3, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8220", "parent":2, "children":[ 4, 5, 6, 7, - 11 + 11, + 12 ], "name":"F01_Estimations", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations", "label":"F01_Estimations", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json", "elements":[ ":8221", ":8222", @@ -301,34 +309,41 @@ ":8464", ":8426", ":8428", - ":9433", - ":8467", - ":8462", - ":8457", - ":9432", + ":8468", + ":11402", + ":11355", + ":8460", + ":11353", + ":11413", ":8451", ":8450", ":8449", - ":8446", - ":8461", - ":9933", ":8463", - ":8458", - ":9932", - ":9431", - ":8437", + ":9433", + ":8457", ":8436", ":8435", - ":8431", - ":8430", - ":8429", - ":8466", - ":8427", - ":8460", - ":8432", ":8434", + ":8427", + ":8458", + ":11414", ":8384", - ":8468", + ":9432", + ":9932", + ":8462", + ":9933", + ":8431", + ":8429", + ":9431", + ":8461", + ":8430", + ":11352", + ":8437", + ":8466", + ":8467", + ":11357", + ":8446", + ":8432", ":8462#out:1", ":8440#out:1", ":8439#out:1", @@ -361,31 +376,38 @@ ":8263#out:6", ":8432#out:1", ":8427#out:1", - ":8384#out:1", ":8263#out:2", ":8429#out:1", ":8235#out:1", ":8446#out:1", ":9431#out:1", ":8263#out:5", - ":9932#out:1" + ":9932#out:1", + ":11352#out:1", + ":11413#out:1", + ":11414#out:1", + ":11355#out:1", + ":11355#out:2", + ":8384#out:1", + ":11402#out:1", + ":11357#out:1" ], "sameAsElement":true }, { "hid":4, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8225", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8225", "parent":3, "children":[ ], "name":"F01_01_Edge_Detector", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector", "label":"F01_01_Edge_Detector", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json", "elements":[ ":8226", ":8227", @@ -407,18 +429,18 @@ }, { "hid":5, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8235", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8235", "parent":3, "children":[ ], "name":"F01_02_Position_Calculation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation", "label":"F01_02_Position_Calculation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json", "elements":[ ":8246", ":8236", @@ -444,18 +466,18 @@ }, { "hid":6, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8247", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8247", "parent":3, "children":[ ], "name":"F01_03_Direction_Detection", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection", "label":"F01_03_Direction_Detection", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json", "elements":[ ":8248", ":8261", @@ -489,24 +511,25 @@ }, { "hid":7, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8263", "parent":3, "children":[ 8, 10 ], "name":"F01_04_Speed_Estimation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation", "label":"F01_04_Speed_Estimation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json", "elements":[ ":8381", ":8382", ":8383", + ":11463", ":8368", ":8271", ":8307", @@ -520,59 +543,61 @@ ":8290", ":8266", ":8296", + ":8379", ":9430", - ":8376", - ":8374", + ":8378", + ":8377", + ":8373", ":9429", ":8372", - ":8377", - ":8370", - ":8308", - ":8306", - ":9427", - ":8300", - ":8299", - ":8298", - ":8297", - ":8314", + ":11461", ":8369", - ":9425", - ":8303", + ":8366", + ":8312", + ":8311", + ":9428", + ":8314", + ":8308", + ":8300", + ":8297", + ":8294", ":8289", - ":8286", - ":9477", + ":8291", + ":8305", + ":8285", ":8371", - ":8281", + ":9477", + ":8292", + ":8283", + ":8370", ":8284", ":8280", - ":8373", - ":8276", - ":8275", - ":8379", - ":8278", - ":8270", - ":8312", - ":8291", - ":8268", - ":8283", - ":8282", - ":8277", - ":9428", - ":8294", ":8293", - ":8313", + ":9427", + ":8376", + ":8278", + ":8277", + ":8276", + ":8281", + ":8275", + ":8303", + ":8286", + ":8282", + ":8298", + ":8374", + ":8306", + ":8272", + ":8299", + ":9425", + ":8268", + ":9426", ":8267", ":8301", - ":8305", - ":8292", - ":8272", - ":8366", - ":9426", - ":8378", - ":8285", - ":8311", - ":8310", + ":8270", + ":8313", + ":11462", ":8309", + ":8310", ":8293#out:1", ":8312#out:1", ":8290#out:1", @@ -608,7 +633,6 @@ ":8292#out:1", ":8286#out:1", ":8314#out:2", - ":8310#out:1", ":8294#out:1", ":8374#out:1", ":8278#out:1", @@ -620,25 +644,28 @@ ":9428#out:1", ":9477#out:1", ":8372#out:1", - ":8309#out:1" + ":8309#out:1", + ":11462#out:1", + ":8310#out:1", + ":11461#out:1" ], "sameAsElement":true }, { "hid":8, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8272", "parent":7, "children":[ 9 ], "name":"Counter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter", "label":"Counter", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json", "elements":[ ":8272:2515", ":8272:2416", @@ -658,18 +685,18 @@ }, { "hid":9, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "parent":8, "children":[ ], "name":"rst_Delay", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay", "label":"rst_Delay", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json", "elements":[ ":8272:2515:1577", ":8272:2515:1576", @@ -687,69 +714,69 @@ }, { "hid":10, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8314", "parent":7, "children":[ ], "name":"Raw_Motor_Speed_Estimation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation", "label":"Raw_Motor_Speed_Estimation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json", "elements":[ ":8361", ":8362", ":8363", ":8364", ":8365", - ":8359", ":8357", - ":8354", - ":8353", + ":8355", ":8351", - ":8349", - ":8352", - ":8348", + ":8353", ":8347", - ":8345", + ":8346", + ":8348", ":8344", - ":8358", ":8341", ":8340", - ":8356", - ":8339", - ":8338", - ":8335", - ":8333", - ":8332", ":8331", - ":8350", ":8330", ":8329", ":8328", - ":8326", - ":8355", + ":8332", + ":8342", + ":8345", + ":8335", ":8325", - ":8327", - ":8324", - ":8346", - ":8322", ":8360", - ":8321", - ":8320", - ":8319", - ":8317", - ":8318", + ":8327", ":8336", ":8323", - ":8316", - ":8342", - ":8337", + ":8352", + ":8349", + ":8350", + ":8333", + ":8322", + ":8354", + ":8320", + ":8356", + ":8319", + ":8318", + ":8326", + ":8317", + ":8321", ":8334", + ":8337", + ":8316", + ":8338", + ":8339", + ":8359", ":8315", + ":8358", + ":8324", ":8343", ":8315#out:1", ":8316#out:1", @@ -791,18 +818,18 @@ }, { "hid":11, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8384", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8384", "parent":3, "children":[ ], "name":"F01_05_Electrical_Angle_Estimation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation", "label":"F01_05_Electrical_Angle_Estimation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json", "elements":[ ":8422", ":8423", @@ -825,28 +852,30 @@ ":8413", ":8416", ":8391", - ":8420", + ":8421", ":8418", ":8417", + ":11415", ":9664", ":9660", - ":8404", - ":8403", ":8412", ":8405", - ":8398", - ":8394", - ":8400", - ":8393", - ":8395", - ":8411", - ":9665", + ":8403", ":8397", - ":8410", - ":8421", + ":8394", ":8392", + ":8395", + ":8393", + ":8404", ":8396", + ":9665", ":8389", + ":11459", + ":8400", + ":8420", + ":8398", + ":8410", + ":8411", ":8385#out:1", ":8386#out:1", ":8399#out:1", @@ -876,26 +905,102 @@ ":8403#out:1", ":8418#out:1", ":9665#out:1", - ":9664#out:1" + ":9664#out:1", + ":11415#out:1" ], "sameAsElement":true }, { "hid":12, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11357", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11357", + "parent":3, + "children":[ + 13 + ], + "name":"F01_06_Electrical_Angle_Measurement", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement", + "label":"F01_06_Electrical_Angle_Measurement", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json", + "elements":[ + ":11399", + ":11437", + ":11358", + ":11381", + ":11408", + ":11412", + ":11419", + ":11375", + ":11411", + ":11438", + ":11409", + ":11418", + ":11460", + ":11406", + ":11398", + ":11410", + ":11375#out:1", + ":11358#out:1", + ":11410#out:1", + ":11418#out:1", + ":11411#out:1", + ":11406#out:1", + ":11419#out:1", + ":11409#out:1", + ":11408#out:1", + ":11438#out:1" + ], + "sameAsElement":true + }, + { + "hid":13, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11408", + "parent":12, + "children":[ + ], + "name":"Modulo_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement/Modulo_fixdt", + "label":"Modulo_fixdt", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json", + "elements":[ + ":11408:576", + ":11408:572", + ":11408:573", + ":11408:570", + ":11408:571", + ":11408:575", + ":11408:2906", + ":11408:572#out:1", + ":11408:571#out:1", + ":11408:2906#out:1", + ":11408:570#out:1", + ":11408:573#out:1" + ], + "sameAsElement":true + }, + { + "hid":14, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8469", "parent":2, "children":[ - 13, - 22 + 15, + 24 ], "name":"F02_Diagnostics", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics", "label":"F02_Diagnostics", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json", "elements":[ ":8529", ":8530", @@ -909,52 +1014,52 @@ ":8526", ":8499", ":8497", - ":8527", - ":8524", - ":9405", ":8521", - ":8517", - ":9398", + ":8520", + ":8519", + ":9405", ":8515", ":8514", + ":9404", ":8510", - ":8509", + ":8524", ":8508", - ":11021", + ":8525", ":8504", ":9395", - ":9397", ":8503", - ":9404", ":11022", + ":9398", + ":8527", + ":9406", + ":8492", + ":11021", + ":9407", + ":9397", + ":8500", + ":9402", + ":9400", + ":8486", + ":8493", + ":8487", + ":8482", + ":8509", + ":8480", + ":9412", + ":8479", + ":9410", + ":8474", + ":8483", + ":8484", + ":9403", + ":9396", + ":9408", ":8494", ":8491", - ":8492", - ":9406", - ":9402", - ":8486", - ":8483", - ":8482", - ":9412", - ":8487", - ":8500", - ":9407", - ":8480", - ":9400", - ":8525", - ":9403", - ":8519", - ":8474", - ":8484", - ":9410", - ":9408", - ":9394", - ":8493", - ":9396", - ":8479", - ":11020", ":8478", - ":8520", + ":8517", + ":11020", + ":9394", ":9401", ":8497#out:1", ":8470#out:1", @@ -1000,58 +1105,58 @@ "sameAsElement":true }, { - "hid":13, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "parent":12, + "hid":15, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":14, "children":[ - 14, - 15, - 18, - 21 + 16, + 17, + 20, + 23 ], "name":"Debounce_Filter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter", "label":"Debounce_Filter", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.json", "elements":[ ":8486:2496", - ":8486:2507", - ":8486:2509", ":8486:2472", - ":8486:2467", - ":8486:2466", - ":8486:2465", - ":8486:2461", - ":8486:2457", - ":8486:2456", - ":8486:2455", - ":8486:2454", - ":8486:2453", - ":8486:2452", - ":8486:2462", - ":8486:2450", - ":8486:2449", - ":8486:2473", - ":8486:2459", - ":8486:2448", - ":8486:2464", - ":8486:2458", - ":8486:2423", - ":8486:2428", ":8486:2463", - ":8486:2422", - ":8486:2421", - ":8486:2451", - ":8486:2420", + ":8486:2461", ":8486:2460", - ":8486:2471", - ":8486:2468", + ":8486:2459", + ":8486:2458", + ":8486:2507", + ":8486:2466", + ":8486:2473", + ":8486:2453", + ":8486:2451", + ":8486:2462", + ":8486:2452", + ":8486:2450", + ":8486:2455", + ":8486:2465", + ":8486:2428", + ":8486:2457", + ":8486:2421", + ":8486:2464", + ":8486:2449", + ":8486:2456", + ":8486:2423", + ":8486:2448", + ":8486:2454", + ":8486:2509", + ":8486:2422", + ":8486:2467", + ":8486:2420", ":8486:2470", + ":8486:2471", ":8486:2469", + ":8486:2468", ":8486:2507#out:1", ":8486:2422#out:1", ":8486:2421#out:1", @@ -1085,63 +1190,63 @@ "sameAsElement":true }, { - "hid":14, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "parent":13, + "hid":16, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "parent":15, "children":[ ], "name":"Default", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Default", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Default", "label":"Default", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json", "elements":[ ":8486:2427", - ":8486:2426", ":8486:2425", ":8486:2424", + ":8486:2426", ":8486:2424#out:1" ], "sameAsElement":true }, { - "hid":15, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "parent":13, + "hid":17, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":15, "children":[ - 16 + 18 ], "name":"Dequalification", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification", "label":"Dequalification", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json", "elements":[ - ":8486:2447", + ":8486:2446", ":8486:2445", ":8486:2444", + ":8486:2442", ":8486:2441", + ":8486:2447", ":8486:2440", + ":8486:2439", + ":8486:2443", ":8486:2438", ":8486:2437", - ":8486:2436", ":8486:2434", - ":8486:2442", ":8486:2433", ":8486:2432", ":8486:2431", - ":8486:2439", - ":8486:2443", + ":8486:2436", ":8486:2430", ":8486:2435", ":8486:2429", - ":8486:2446", ":8486:2438#out:1", ":8486:2429#out:1", ":8486:2430#out:1", @@ -1159,28 +1264,28 @@ "sameAsElement":true }, { - "hid":16, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "parent":15, + "hid":18, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":17, "children":[ - 17 + 19 ], "name":"Counter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter", "label":"Counter", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json", "elements":[ ":8486:2435:2418", ":8486:2435:2515", ":8486:2435:2416", - ":8486:2435:2415", - ":8486:2435:2414", - ":8486:2435:2412", ":8486:2435:2413", + ":8486:2435:2414", + ":8486:2435:2415", + ":8486:2435:2412", ":8486:2435:2515#out:1", ":8486:2435:2415#out:1", ":8486:2435:2413#out:1", @@ -1191,19 +1296,19 @@ "sameAsElement":true }, { - "hid":17, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", - "parent":16, + "hid":19, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":18, "children":[ ], "name":"rst_Delay", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter/rst_Delay", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter/rst_Delay", "label":"rst_Delay", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json", "elements":[ ":8486:2435:2515:1577", ":8486:2435:2515:1576", @@ -1220,40 +1325,40 @@ "sameAsElement":true }, { - "hid":18, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "parent":13, + "hid":20, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":15, "children":[ - 19 + 21 ], "name":"Qualification", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification", "label":"Qualification", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json", "elements":[ - ":8486:2491", + ":8486:2492", ":8486:2490", - ":8486:2489", - ":8486:2487", - ":8486:2486", - ":8486:2484", + ":8486:2488", + ":8486:2485", ":8486:2483", ":8486:2482", - ":8486:2492", - ":8486:2480", - ":8486:2488", - ":8486:2479", - ":8486:2485", - ":8486:2476", - ":8486:2477", - ":8486:2478", + ":8486:2491", ":8486:2481", - ":8486:2474", + ":8486:2480", + ":8486:2478", + ":8486:2477", + ":8486:2479", + ":8486:2476", + ":8486:2484", ":8486:2475", + ":8486:2489", + ":8486:2474", + ":8486:2487", + ":8486:2486", ":8486:2480#out:1", ":8486:2491#out:1", ":8486:2481#out:1", @@ -1271,27 +1376,27 @@ "sameAsElement":true }, { - "hid":19, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "parent":18, + "hid":21, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":20, "children":[ - 20 + 22 ], "name":"Counter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter", "label":"Counter", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json", "elements":[ - ":8486:2480:2418", ":8486:2480:2515", - ":8486:2480:2416", + ":8486:2480:2418", ":8486:2480:2415", ":8486:2480:2414", ":8486:2480:2413", + ":8486:2480:2416", ":8486:2480:2412", ":8486:2480:2515#out:1", ":8486:2480:2415#out:1", @@ -1303,19 +1408,19 @@ "sameAsElement":true }, { - "hid":20, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", - "parent":19, + "hid":22, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":21, "children":[ ], "name":"rst_Delay", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter/rst_Delay", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter/rst_Delay", "label":"rst_Delay", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json", "elements":[ ":8486:2480:2515:1577", ":8486:2480:2515:1576", @@ -1332,19 +1437,19 @@ "sameAsElement":true }, { - "hid":21, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", - "parent":13, + "hid":23, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":15, "children":[ ], "name":"either_edge", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/either_edge", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/either_edge", "label":"either_edge", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json", "elements":[ ":8486:2507:2506", ":8486:2507:2505", @@ -1357,19 +1462,19 @@ "sameAsElement":true }, { - "hid":22, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", - "parent":12, + "hid":24, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":14, "children":[ ], "name":"either_edge", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/either_edge", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/either_edge", "label":"either_edge", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.json", "elements":[ ":8519:2506", ":8519:2505", @@ -1382,645 +1487,632 @@ "sameAsElement":true }, { - "hid":23, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "hid":25, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11151", "parent":2, "children":[ - 24, - 25, - 26 + 26, + 27, + 28 ], "name":"F03_Control_Mode_Manager", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager", "label":"F03_Control_Mode_Manager", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json", "elements":[ - ":8655", - ":8634", - ":10029", - ":8654", - ":10024", - ":8645", - ":8651", - ":10019", - ":9423", - ":8640", - ":8639", - ":10020", - ":10017", - ":8635", - ":8632", - ":8643", - ":10028", - ":9995", - ":8630", - ":8628", - ":8625", - ":8624", - ":9953", - ":8646", - ":8603", - ":9424", - ":8546", - ":8642", - ":10022", - ":10018", - ":10023", - ":8539", - ":10256", - ":8647", - ":10021", - ":8537", - ":8650", - ":8633", - ":9994", - ":9422", - ":9997", - ":8536", - ":9996", - ":8636", - ":8634#out:1", - ":8537#out:1", - ":8625#out:1", - ":8630#out:1", - ":8539#out:1", - ":8636#out:1", - ":8654#out:1", - ":8603#out:1", - ":8624#out:1", - ":8546#out:1", - ":8546#out:2", - ":8546#out:3", - ":8546#out:4", - ":8632#out:1", - ":8633#out:1", - ":8635#out:1", - ":8536#out:1", - ":8628#out:1", - ":9422#out:1", - ":9424#out:1", - ":9995#out:1", - ":9994#out:1", - ":9996#out:1", - ":9953#out:1", - ":10017#out:1", - ":10018#out:1", - ":10020#out:1", - ":10022#out:1", - ":10021#out:1", - ":10028#out:1" + ":11300", + ":11283", + ":11301", + ":11299", + ":11298", + ":11499", + ":11296", + ":11295", + ":11293", + ":11294", + ":11290", + ":11287", + ":11286", + ":11282", + ":11277", + ":11275", + ":11281", + ":11285", + ":11276", + ":11274", + ":11288", + ":11201", + ":11200", + ":11280", + ":11297", + ":11284", + ":11157", + ":11291", + ":11292", + ":11158", + ":11278", + ":11156", + ":11497", + ":11154", + ":11153", + ":11279", + ":11498", + ":11159", + ":11152", + ":11155", + ":11289", + ":11283#out:1", + ":11153#out:1", + ":11275#out:1", + ":11277#out:1", + ":11155#out:1", + ":11285#out:1", + ":11200#out:1", + ":11274#out:1", + ":11159#out:1", + ":11159#out:2", + ":11159#out:3", + ":11159#out:4", + ":11282#out:1", + ":11284#out:1", + ":11152#out:1", + ":11276#out:1", + ":11279#out:1", + ":11278#out:1", + ":11280#out:1", + ":11201#out:1", + ":11286#out:1", + ":11157#out:1", + ":11287#out:1", + ":11156#out:1", + ":11154#out:1", + ":11281#out:1", + ":11497#out:1", + ":11498#out:1" ], "sameAsElement":true }, - { - "hid":24, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "parent":23, - "children":[ - ], - "name":"F03_01_Mode_Transition_Calculation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_01_Mode_Transition_Calculation", - "label":"F03_01_Mode_Transition_Calculation", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json", - "elements":[ - ":8601", - ":8602", - ":8600", - ":8599", - ":8597", - ":8593", - ":8592", - ":8586", - ":8584", - ":8583", - ":8581", - ":8580", - ":8589", - ":8595", - ":8590", - ":8573", - ":8571", - ":8568", - ":8572", - ":8566", - ":8585", - ":8565", - ":8564", - ":8594", - ":8563", - ":9419", - ":8561", - ":8559", - ":8558", - ":8598", - ":8556", - ":8555", - ":8554", - ":8552", - ":8591", - ":8570", - ":8569", - ":8548", - ":8560", - ":9420", - ":8549", - ":8551", - ":8553", - ":8547", - ":8562", - ":9421", - ":8587", - ":8582", - ":8579", - ":8578", - ":8576", - ":8575", - ":8574", - ":8577", - ":8587#out:1", - ":8593#out:1", - ":8594#out:1", - ":8584#out:1", - ":8585#out:1", - ":8575#out:1", - ":8556#out:1", - ":8592#out:1", - ":8560#out:1", - ":8589#out:1", - ":8590#out:1", - ":8580#out:1", - ":8559#out:1", - ":8586#out:1", - ":8564#out:1", - ":8579#out:1", - ":8591#out:1", - ":8581#out:1", - ":8555#out:1", - ":8554#out:1", - ":8563#out:1", - ":8576#out:1", - ":8583#out:1", - ":8582#out:1", - ":8577#out:1", - ":8595#out:1", - ":8574#out:1", - ":8578#out:1", - ":8547#out:1", - ":8549#out:1", - ":8551#out:1", - ":8561#out:1", - ":8553#out:1", - ":8558#out:1", - ":8562#out:1", - ":8548#out:1", - ":8552#out:1", - ":9419#out:1", - ":9420#out:1" - ], - "sameAsElement":true - }, - { - "hid":25, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "parent":23, - "children":[ - ], - "name":"F03_02_Control_Mode_Manager", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager", - "label":"F03_02_Control_Mode_Manager", - "icon":"WebViewIcon6", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json", - "elements":[ - ":8603:3", - ":8603:28", - ":8603:6", - ":8603:4", - ":8603:30", - ":8603:9", - ":8603:31", - ":8603:12", - ":8603:33", - ":8603:32", - ":8603:1", - ":8603:13", - ":8603:14", - ":8603:2" - ], - "sameAsElement":false - }, { "hid":26, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", - "parent":23, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11159", + "parent":25, "children":[ - 27, - 28, - 29, - 30 ], - "name":"F03_03_Input_Target_Synthesis", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis", - "label":"F03_03_Input_Target_Synthesis", + "name":"F03_01_Mode_Transition_Calculation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_01_Mode_Transition_Calculation", + "label":"F03_01_Mode_Transition_Calculation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json", "elements":[ - ":9993", - ":10003", - ":10449", - ":9987", - ":10002", - ":10013", - ":9985", - ":9983", - ":10014", - ":9980", - ":10015", - ":9984", - ":9978", - ":9977", - ":10000", - ":9999", - ":9986", - ":9988", - ":9992", - ":9982", - ":10004", - ":10005", - ":9956", - ":9981", - ":10007", - ":10016", - ":9998", - ":9957", - ":9937", - ":9955", - ":9979", - ":9954", - ":9957#out:1", - ":9980#out:1", - ":9978#out:1", - ":9986#out:1", - ":9954#out:1", - ":9979#out:1", - ":9988#out:1", - ":9977#out:1", - ":9956#out:1", - ":9987#out:1", - ":9986#out:2", - ":9981#out:1", - ":9955#out:1", - ":9998#out:1", - ":10000#out:1", - ":10002#out:1", - ":10005#out:1", - ":9937#out:1", - ":10007#out:1", - ":10013#out:1", - ":10015#out:1", - ":10002#out:2", - ":10016#out:1", - ":10449#out:1" + ":11198", + ":11193", + ":11192", + ":11197", + ":11188", + ":11195", + ":11191", + ":11196", + ":11181", + ":11180", + ":11179", + ":11178", + ":11177", + ":11176", + ":11175", + ":11174", + ":11182", + ":11172", + ":11171", + ":11493", + ":11189", + ":11169", + ":11168", + ":11496", + ":11491", + ":11167", + ":11495", + ":11199", + ":11165", + ":11170", + ":11163", + ":11160", + ":11173", + ":11162", + ":11190", + ":11166", + ":11161", + ":11164", + ":11194", + ":11184", + ":11183", + ":11486", + ":11185", + ":11492", + ":11187", + ":11494", + ":11186", + ":11183#out:1", + ":11168#out:1", + ":11194#out:1", + ":11171#out:1", + ":11192#out:1", + ":11193#out:1", + ":11170#out:1", + ":11191#out:1", + ":11175#out:1", + ":11187#out:1", + ":11189#out:1", + ":11165#out:1", + ":11174#out:1", + ":11184#out:1", + ":11195#out:1", + ":11160#out:1", + ":11162#out:1", + ":11172#out:1", + ":11164#out:1", + ":11169#out:1", + ":11173#out:1", + ":11161#out:1", + ":11166#out:1", + ":11167#out:1", + ":11185#out:1", + ":11188#out:1", + ":11486#out:1", + ":11491#out:1", + ":11190#out:1", + ":11492#out:1", + ":11493#out:1", + ":11494#out:1", + ":11186#out:1", + ":11163#out:1", + ":11495#out:1" ], "sameAsElement":true }, { "hid":27, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", - "parent":26, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11200", + "parent":25, "children":[ ], - "name":"Default_Control_Type", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type", - "label":"Default_Control_Type", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json", + "name":"F03_02_Control_Mode_Manager", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager", + "label":"F03_02_Control_Mode_Manager", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json", "elements":[ - ":9991", - ":9990", - ":9989", - ":9989#out:1" + ":11200:3", + ":11200:28", + ":11200:6", + ":11200:4", + ":11200:32", + ":11200:72", + ":11200:73", + ":11200:30", + ":11200:9", + ":11200:71", + ":11200:33", + ":11200:12", + ":11200:31", + ":11200:1", + ":11200:14", + ":11200:2", + ":11200:13" ], - "sameAsElement":true + "sameAsElement":false }, { "hid":28, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", - "parent":26, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11201", + "parent":25, "children":[ + 29, + 30, + 31, + 32 ], - "name":"Default_Mode", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode", - "label":"Default_Mode", + "name":"F03_03_Input_Target_Synthesis", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json", "elements":[ - ":10009", - ":10012", - ":10008", - ":10008#out:1" + ":11272", + ":11273", + ":11254", + ":11253", + ":11270", + ":11251", + ":11249", + ":11248", + ":11243", + ":11241", + ":11245", + ":11240", + ":11252", + ":11244", + ":11215", + ":11242", + ":11271", + ":11238", + ":11250", + ":11211", + ":11207", + ":11247", + ":11205", + ":11206", + ":11204", + ":11236", + ":11237", + ":11235", + ":11239", + ":11203", + ":11202", + ":11246", + ":11215#out:1", + ":11241#out:1", + ":11238#out:1", + ":11250#out:1", + ":11202#out:1", + ":11239#out:1", + ":11207#out:1", + ":11237#out:1", + ":11205#out:1", + ":11252#out:1", + ":11250#out:2", + ":11242#out:1", + ":11203#out:1", + ":11204#out:1", + ":11235#out:1", + ":11251#out:1", + ":11236#out:1", + ":11254#out:1", + ":11211#out:1", + ":11253#out:1", + ":11240#out:1", + ":11251#out:2", + ":11206#out:1", + ":11270#out:1" ], "sameAsElement":true }, { "hid":29, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", - "parent":26, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11207", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11207", + "parent":28, "children":[ ], - "name":"FOC_Control_Type", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type", - "label":"FOC_Control_Type", + "name":"Default_Control_Type", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type", + "label":"Default_Control_Type", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json", "elements":[ - ":9976", - ":9975", - ":9971", - ":9969", - ":9968", - ":9966", - ":9970", - ":9965", - ":9964", - ":9967", - ":9973", - ":9962", - ":9963", - ":9959", - ":9961", - ":9974", - ":9958", - ":9960", - ":9972", - ":9958#out:1", - ":9963#out:1", - ":9959#out:1", - ":9972#out:1", - ":9970#out:1", - ":9973#out:1", - ":9974#out:1", - ":9971#out:1", - ":9969#out:1", - ":9975#out:1", - ":9965#out:1", - ":9962#out:1", - ":9961#out:1", - ":9964#out:1" + ":11210", + ":11209", + ":11208", + ":11208#out:1" ], "sameAsElement":true }, { "hid":30, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", - "parent":26, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11211", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11211", + "parent":28, "children":[ - 31, - 34 ], - "name":"Open_Mode", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode", - "label":"Open_Mode", + "name":"Default_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode", + "label":"Default_Mode", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json", "elements":[ - ":9952", - ":9951", - ":9949", - ":9950", - ":9948", - ":9944", - ":9942", - ":9945", - ":9947", - ":10006", - ":9941", - ":9943", - ":9940", - ":9939", - ":9938", - ":9938#out:1", - ":9940#out:1", - ":9950#out:1", - ":9945#out:1", - ":9949#out:1", - ":9944#out:1", - ":9948#out:1", - ":9943#out:1", - ":9941#out:1", - ":9942#out:1" + ":11214", + ":11213", + ":11212", + ":11212#out:1" ], "sameAsElement":true }, { "hid":31, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", - "parent":30, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11215", + "parent":28, "children":[ - 32, - 33 ], - "name":"Rate_Limiter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter", - "label":"Rate_Limiter", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json", + "name":"FOC_Control_Type", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type", + "label":"FOC_Control_Type", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json", "elements":[ - ":9948:2353", - ":9948:2343", - ":9948:2346", - ":9948:2395", - ":9948:2358", - ":9948:2356", - ":9948:2357", - ":9948:2355", - ":9948:2360", - ":9948:2359", - ":9948:2342", - ":9948:2356#out:1", - ":9948:2342#out:1", - ":9948:2359#out:1", - ":9948:2357#out:1", - ":9948:2343#out:1", - ":9948:2346#out:1", - ":9948:2358#out:1", - ":9948:2355#out:1", - ":9948:2395#out:1" + ":11234", + ":11232", + ":11230", + ":11229", + ":11231", + ":11228", + ":11226", + ":11224", + ":11222", + ":11221", + ":11223", + ":11227", + ":11233", + ":11220", + ":11219", + ":11218", + ":11217", + ":11225", + ":11216", + ":11216#out:1", + ":11221#out:1", + ":11217#out:1", + ":11230#out:1", + ":11228#out:1", + ":11231#out:1", + ":11232#out:1", + ":11229#out:1", + ":11227#out:1", + ":11233#out:1", + ":11223#out:1", + ":11220#out:1", + ":11219#out:1", + ":11222#out:1" ], "sameAsElement":true }, { "hid":32, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", - "parent":31, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11254", + "parent":28, "children":[ + 33, + 36 ], - "name":"Delay_Init1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1", - "label":"Delay_Init1", - "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json", + "name":"Open_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode", + "label":"Open_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json", "elements":[ - ":9948:2342:2337", - ":9948:2342:2335", - ":9948:2342:2339", - ":9948:2342:2334", - ":9948:2342:2340", - ":9948:2342:2341", - ":9948:2342:2512", - ":9948:2342:2335#out:1", - ":9948:2342:2334#out:1", - ":9948:2342:2341#out:1", - ":9948:2342:2340#out:1", - ":9948:2342:2337#out:1", - ":9948:2342:2512#out:1" + ":11269", + ":11267", + ":11264", + ":11263", + ":11266", + ":11268", + ":11259", + ":11258", + ":11262", + ":11260", + ":11256", + ":11265", + ":11261", + ":11255", + ":11257", + ":11255#out:1", + ":11257#out:1", + ":11267#out:1", + ":11262#out:1", + ":11266#out:1", + ":11259#out:1", + ":11261#out:1", + ":11265#out:1", + ":11260#out:1", + ":11258#out:1" ], "sameAsElement":true }, { "hid":33, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", - "parent":31, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11265", + "parent":32, "children":[ + 34, + 35 ], - "name":"Saturation Dynamic", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic", - "label":"Saturation Dynamic", - "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json", + "name":"Rate_Limiter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter", + "label":"Rate_Limiter", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json", "elements":[ - ":9948:2395:10", - ":9948:2395:9", - ":9948:2395:8", - ":9948:2395:7", - ":9948:2395:6", - ":9948:2395:5", - ":9948:2395:4", - ":9948:2395:3", - ":9948:2395:2", - ":9948:2395:1", - ":9948:2395:1#out:1", - ":9948:2395:2#out:1", - ":9948:2395:3#out:1", - ":9948:2395:7#out:1", - ":9948:2395:8#out:1", - ":9948:2395:6#out:1", - ":9948:2395:9#out:1" + ":11265:2353", + ":11265:2343", + ":11265:2346", + ":11265:2395", + ":11265:2360", + ":11265:2358", + ":11265:2357", + ":11265:2355", + ":11265:2356", + ":11265:2342", + ":11265:2359", + ":11265:2356#out:1", + ":11265:2342#out:1", + ":11265:2359#out:1", + ":11265:2357#out:1", + ":11265:2343#out:1", + ":11265:2346#out:1", + ":11265:2358#out:1", + ":11265:2355#out:1", + ":11265:2395#out:1" ], "sameAsElement":true }, { "hid":34, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", - "parent":30, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", + "parent":33, "children":[ ], - "name":"rising_edge_init", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init", - "label":"rising_edge_init", + "name":"Delay_Init1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1", + "label":"Delay_Init1", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json", "elements":[ - ":9950:2364", - ":9950:2363", - ":9950:2362", - ":9950:2363#out:1", - ":9950:2362#out:1" + ":11265:2342:2337", + ":11265:2342:2335", + ":11265:2342:2339", + ":11265:2342:2334", + ":11265:2342:2340", + ":11265:2342:2341", + ":11265:2342:2512", + ":11265:2342:2335#out:1", + ":11265:2342:2334#out:1", + ":11265:2342:2341#out:1", + ":11265:2342:2340#out:1", + ":11265:2342:2337#out:1", + ":11265:2342:2512#out:1" ], "sameAsElement":true }, { "hid":35, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10066", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "parent":33, + "children":[ + ], + "name":"Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic", + "label":"Saturation Dynamic", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json", + "elements":[ + ":11265:2395:10", + ":11265:2395:9", + ":11265:2395:8", + ":11265:2395:7", + ":11265:2395:6", + ":11265:2395:5", + ":11265:2395:4", + ":11265:2395:3", + ":11265:2395:2", + ":11265:2395:1", + ":11265:2395:1#out:1", + ":11265:2395:2#out:1", + ":11265:2395:3#out:1", + ":11265:2395:7#out:1", + ":11265:2395:8#out:1", + ":11265:2395:6#out:1", + ":11265:2395:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":36, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11267", + "parent":32, + "children":[ + ], + "name":"rising_edge_init", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init", + "label":"rising_edge_init", + "icon":"WebViewIcon4", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json", + "elements":[ + ":11267:2364", + ":11267:2363", + ":11267:2362", + ":11267:2363#out:1", + ":11267:2362#out:1" + ], + "sameAsElement":true + }, + { + "hid":37, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10066", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10066", "parent":2, "children":[ - 36, - 37 + 38, + 39 ], "name":"F04_Field_Weakening", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening", "label":"F04_Field_Weakening", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json", "elements":[ ":10523", ":10522", ":10521", - ":10520", - ":10518", + ":10519", + ":10517", ":10516", ":10514", + ":10520", + ":10513", + ":10511", ":10510", - ":10509", ":10508", - ":10507", - ":10515", + ":10506", ":10504", - ":10503", + ":10515", ":10502", ":10501", - ":10500", - ":10519", - ":10513", - ":10497", - ":10511", + ":10499", + ":10498", + ":10503", ":10495", ":10494", - ":10499", - ":10493", - ":10517", - ":10506", - ":10491", - ":10498", - ":10512", + ":10497", + ":10492", + ":10509", ":10490", ":10496", - ":10489", - ":10488", ":10505", - ":10492", + ":10489", + ":10507", + ":10518", + ":10493", + ":10500", + ":10488", ":10487", + ":10491", ":10486", + ":10512", ":10514#out:1", ":10500#out:1", ":10513#out:1", @@ -2053,19 +2145,19 @@ "sameAsElement":true }, { - "hid":36, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10507", - "parent":35, + "hid":38, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":37, "children":[ ], "name":"Saturation Dynamic", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic", "label":"Saturation Dynamic", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10507_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json", "elements":[ ":10507:10", ":10507:9", @@ -2088,19 +2180,19 @@ "sameAsElement":true }, { - "hid":37, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10508", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10508", - "parent":35, + "hid":39, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":37, "children":[ ], "name":"Saturation Dynamic1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic1", "label":"Saturation Dynamic1", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10508_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.json", "elements":[ ":10508:10", ":10508:9", @@ -2123,27 +2215,27 @@ "sameAsElement":true }, { - "hid":38, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "hid":40, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8658", "parent":2, "children":[ - 39, - 42, - 44, - 65, - 66, - 67, - 81, - 82 + 41, + 45, + 47, + 68, + 69, + 70, + 84, + 85 ], "name":"F05_Field_Oriented_Control", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control", "label":"F05_Field_Oriented_Control", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json", "elements":[ ":9719", ":9192", @@ -2164,130 +2256,131 @@ ":9195", ":10447", ":8743", - ":9026", - ":9023", - ":8913", - ":10363", - ":9713", - ":8863", + ":9045", + ":9028", + ":9072", ":9027", + ":8913", + ":10365", + ":8862", + ":10359", ":8858", ":8857", - ":8856", + ":8853", ":9717", - ":8861", ":8851", - ":8848", + ":8849", + ":10363", ":8845", - ":9028", + ":8844", ":8843", ":8842", ":10703", - ":8837", - ":8839", - ":10686", + ":10728", + ":10360", + ":10395", + ":8846", + ":10394", + ":11484", ":8826", - ":10719", - ":9045", ":8825", ":10439", - ":9073", - ":8817", - ":10441", - ":10440", - ":10433", - ":8811", - ":10362", - ":10743", - ":10729", - ":8806", - ":10726", - ":10395", - ":8798", - ":10707", - ":8810", - ":8807", - ":10698", - ":8797", - ":10697", - ":8850", - ":10688", - ":8796", - ":10448", - ":8784", - ":10394", - ":8783", - ":8782", - ":9072", - ":10446", - ":8815", - ":9718", - ":10171", - ":10432", - ":8776", - ":8775", - ":8862", - ":10436", - ":10172", - ":8772", - ":10429", - ":8864", - ":8768", - ":10393", - ":8787", - ":10428", - ":10434", - ":8790", - ":8726", - ":10687", - ":8844", - ":10173", - ":10689", - ":10435", - ":10702", - ":8667", - ":8668", - ":8795", - ":8664", - ":8663", - ":10445", - ":10364", - ":8794", - ":10691", - ":10174", - ":10359", - ":8786", - ":10430", - ":8781", - ":10728", - ":10358", - ":8846", - ":10357", - ":8849", - ":8788", - ":10365", - ":8838", - ":8661", - ":10360", - ":10444", - ":8853", - ":8662", - ":8660", - ":10437", - ":10701", - ":10431", - ":8659", - ":9196", - ":9716", ":10438", + ":11472", + ":8811", + ":8848", + ":8810", + ":10432", + ":8861", + ":8807", + ":8806", + ":10444", + ":10726", + ":8850", + ":10719", + ":8796", + ":10698", + ":8839", + ":8788", + ":8787", + ":10174", + ":8784", + ":9718", + ":8781", + ":10441", + ":8772", + ":10428", + ":10686", + ":8768", + ":8864", + ":10393", + ":10435", + ":9713", + ":9196", + ":8794", + ":8856", + ":10429", + ":8790", + ":10171", + ":10437", + ":8795", + ":10364", + ":8797", + ":8726", + ":8783", + ":10701", + ":10445", + ":10446", + ":10431", + ":8817", + ":10689", + ":10743", + ":11515", + ":10729", + ":10697", + ":8863", + ":11516", + ":11471", + ":8798", + ":8782", + ":10702", + ":10362", + ":11023", + ":10434", + ":8776", + ":8667", + ":8664", + ":11517", + ":10173", + ":8815", + ":10433", + ":10707", + ":10436", + ":9716", + ":10357", + ":10448", + ":10440", + ":10691", + ":8838", + ":10688", + ":8660", + ":10358", + ":10687", + ":8786", + ":8663", + ":8837", + ":10172", + ":8775", + ":10430", + ":8659", + ":8662", + ":8661", ":8827#out:1", ":8886#out:1", ":8886#out:2", ":8665#out:1", ":8666#out:1", ":8866#out:1", - ":8668#out:1", - ":8668#out:2", ":9024#out:1", ":9025#out:1", ":8781#out:1", @@ -2299,8 +2392,6 @@ ":8787#out:1", ":8788#out:1", ":8661#out:1", - ":8769#out:1", - ":8778#out:1", ":8810#out:1", ":8798#out:1", ":9028#out:1", @@ -2339,8 +2430,6 @@ ":8743#out:2", ":8775#out:1", ":8664#out:1", - ":9023#out:1", - ":9026#out:1", ":8826#out:1", ":8768#out:1", ":9713#out:1", @@ -2386,194 +2475,257 @@ ":10726#out:1", ":8913#out:10", ":10729#out:1", - ":10743#out:1" - ], - "sameAsElement":true - }, - { - "hid":39, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "parent":38, - "children":[ - 40, - 41 - ], - "name":"Clarke_Transform", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform", - "label":"Clarke_Transform", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json", - "elements":[ - ":8725", - ":8723", - ":8722", - ":8720", - ":8719", - ":8717", - ":8716", - ":8714", - ":8713", - ":8712", - ":8710", - ":8718", - ":8724", - ":8721", - ":8705", - ":8709", - ":8704", - ":8708", - ":8706", - ":8711", - ":8702", - ":8715", - ":8703", - ":8671", - ":8670", - ":8707", - ":8669", - ":8686", - ":8686#out:1", - ":8705#out:1", - ":8704#out:1", - ":8669#out:1", - ":8711#out:1", - ":8709#out:1", - ":8671#out:1", - ":8702#out:1", - ":8720#out:1", - ":8723#out:1", - ":8720#out:2", - ":8703#out:1", - ":8707#out:1", - ":8671#out:2", - ":8670#out:1", - ":8710#out:1", - ":8722#out:1", - ":8721#out:1", - ":8708#out:1", - ":8706#out:1", - ":8686#out:2" - ], - "sameAsElement":true - }, - { - "hid":40, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "parent":39, - "children":[ - ], - "name":"Clarke_PhasesAB", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAB", - "label":"Clarke_PhasesAB", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json", - "elements":[ - ":8685", - ":8682", - ":8681", - ":8684", - ":8680", - ":8683", - ":8676", - ":8674", - ":8678", - ":8673", - ":8677", - ":8679", - ":8672", - ":8675", - ":8673#out:1", - ":8672#out:1", - ":8675#out:1", - ":8677#out:1", - ":8676#out:1", - ":8678#out:1", - ":8682#out:1", - ":8681#out:1" + ":10743#out:1", + ":8769#out:1", + ":8778#out:1", + ":11023#out:1", + ":11023#out:2", + ":11471#out:1", + ":11484#out:1", + ":11515#out:1", + ":11516#out:1" ], "sameAsElement":true }, { "hid":41, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "parent":39, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11023", + "parent":40, "children":[ + 42, + 43, + 44 ], - "name":"Clarke_PhasesBC", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesBC", - "label":"Clarke_PhasesBC", + "name":"Clarke_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform", + "label":"Clarke_Transform", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json", "elements":[ - ":8701", - ":8696", - ":8694", - ":8699", - ":8690", - ":8695", - ":8689", - ":8700", - ":8688", - ":8687", - ":8698", - ":8692", - ":8693", - ":8697", - ":8691", - ":8691#out:1", - ":8690#out:1", - ":8693#out:1", - ":8694#out:1", - ":8698#out:1", - ":8692#out:1", - ":8697#out:1", - ":8687#out:1", - ":8688#out:1" + ":11101", + ":11100", + ":11099", + ":11098", + ":11094", + ":11092", + ":11091", + ":11090", + ":11095", + ":11085", + ":11083", + ":11082", + ":11093", + ":11080", + ":11089", + ":11097", + ":11077", + ":11076", + ":11075", + ":11074", + ":11079", + ":11086", + ":11087", + ":11096", + ":11073", + ":11026", + ":11081", + ":11088", + ":11041", + ":11056", + ":11025", + ":11084", + ":11072", + ":11024", + ":11078", + ":11056#out:1", + ":11079#out:1", + ":11078#out:1", + ":11024#out:1", + ":11085#out:1", + ":11083#out:1", + ":11026#out:1", + ":11072#out:1", + ":11096#out:1", + ":11099#out:1", + ":11073#out:1", + ":11081#out:1", + ":11026#out:2", + ":11025#out:1", + ":11084#out:1", + ":11097#out:1", + ":11098#out:1", + ":11082#out:1", + ":11080#out:1", + ":11056#out:2", + ":11096#out:2", + ":11096#out:3", + ":11074#out:1", + ":11075#out:1", + ":11041#out:2", + ":11041#out:1", + ":11076#out:1", + ":11077#out:1" ], "sameAsElement":true }, { "hid":42, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "parent":38, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11026", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11026", + "parent":41, "children":[ - 43 + ], + "name":"Clarke_PhasesAB", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAB", + "label":"Clarke_PhasesAB", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json", + "elements":[ + ":11040", + ":11039", + ":11037", + ":11036", + ":11033", + ":11038", + ":11035", + ":11028", + ":11029", + ":11030", + ":11027", + ":11034", + ":11031", + ":11032", + ":11028#out:1", + ":11027#out:1", + ":11030#out:1", + ":11032#out:1", + ":11031#out:1", + ":11033#out:1", + ":11037#out:1", + ":11036#out:1" + ], + "sameAsElement":true + }, + { + "hid":43, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11041", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11041", + "parent":41, + "children":[ + ], + "name":"Clarke_PhasesAC", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAC", + "label":"Clarke_PhasesAC", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json", + "elements":[ + ":11055", + ":11053", + ":11051", + ":11050", + ":11049", + ":11048", + ":11044", + ":11047", + ":11045", + ":11046", + ":11052", + ":11043", + ":11054", + ":11042", + ":11051#out:1", + ":11052#out:1", + ":11048#out:1", + ":11046#out:1", + ":11047#out:1", + ":11045#out:1", + ":11043#out:1", + ":11042#out:1" + ], + "sameAsElement":true + }, + { + "hid":44, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11056", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11056", + "parent":41, + "children":[ + ], + "name":"Clarke_PhasesBC", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesBC", + "label":"Clarke_PhasesBC", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json", + "elements":[ + ":11071", + ":11070", + ":11069", + ":11065", + ":11062", + ":11067", + ":11066", + ":11061", + ":11059", + ":11064", + ":11058", + ":11057", + ":11063", + ":11068", + ":11060", + ":11061#out:1", + ":11060#out:1", + ":11063#out:1", + ":11064#out:1", + ":11068#out:1", + ":11062#out:1", + ":11067#out:1", + ":11057#out:1", + ":11058#out:1" + ], + "sameAsElement":true + }, + { + "hid":45, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8726", + "parent":40, + "children":[ + 46 ], "name":"Current_Filtering", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering", "label":"Current_Filtering", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json", "elements":[ - ":8740", - ":8741", + ":8739", ":8742", ":8738", ":8737", - ":8739", - ":8736", - ":8735", - ":8731", - ":8732", + ":8741", ":8734", - ":8729", - ":8728", + ":8736", ":8733", + ":8731", + ":8735", + ":8729", + ":9714", + ":8732", + ":8728", ":8727", ":8730", - ":9714", + ":8740", ":8739#out:1", ":8729#out:2", ":8740#out:1", @@ -2589,28 +2741,28 @@ "sameAsElement":true }, { - "hid":43, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "parent":42, + "hid":46, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8738", + "parent":45, "children":[ ], "name":"Low_Pass_Filter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering/Low_Pass_Filter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering/Low_Pass_Filter", "label":"Low_Pass_Filter", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json", "elements":[ - ":8738:2904", + ":8738:2903", ":8738:2902", ":8738:2901", - ":8738:2903", + ":8738:2904", ":8738:2900", + ":8738:2899", ":8738:2898", ":8738:2897", - ":8738:2899", ":8738:2898#out:1", ":8738:2900#out:1", ":8738:2897#out:1", @@ -2622,115 +2774,122 @@ "sameAsElement":true }, { - "hid":44, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10364", - "parent":38, + "hid":47, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":40, "children":[ - 45, - 46, - 51, - 57, - 63 + 48, + 49, + 54, + 60, + 66 ], "name":"FOC", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC", "label":"FOC", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json", "elements":[ - ":9143", + ":10368", + ":9171", + ":9108", ":9074", - ":9029", ":8912", ":9715", - ":10425", ":10391", - ":9108", - ":10424", - ":10420", ":10419", - ":10418", - ":10413", + ":10421", + ":8852", + ":10388", ":10387", - ":8841", - ":10412", - ":10411", - ":10722", - ":8834", - ":10368", + ":11477", + ":10409", + ":10723", + ":10418", + ":8831", + ":10420", + ":10398", ":10408", ":10030", - ":8830", - ":8824", - ":8823", - ":8813", - ":8812", - ":10742", - ":8852", + ":8834", + ":10427", + ":10722", ":8816", + ":8814", + ":8824", + ":8802", + ":8813", + ":10742", + ":8799", ":8801", + ":10411", ":10730", - ":8804", + ":8812", + ":10413", ":8793", - ":10388", - ":10410", - ":8792", - ":10370", - ":8791", - ":10724", - ":9171", - ":8780", - ":10723", - ":10421", - ":8777", - ":8774", - ":10409", - ":8789", - ":8771", - ":8770", ":10367", - ":8765", + ":8791", + ":8792", + ":11482", + ":8780", + ":8841", + ":10724", + ":8823", + ":8779", + ":10369", + ":8771", + ":8766", ":10366", + ":8777", + ":11476", + ":8789", + ":10370", ":10416", - ":8832", + ":10721", + ":8809", + ":10720", ":10423", ":8800", - ":10415", - ":10407", - ":8809", - ":8802", - ":10720", - ":8773", - ":10397", - ":9109", - ":8779", - ":8799", - ":10403", - ":8814", - ":8808", ":10422", - ":10369", - ":10404", - ":10402", - ":10721", - ":10398", - ":10426", + ":11512", + ":10407", + ":8770", + ":8773", + ":9143", + ":8830", + ":8832", ":10406", - ":8831", - ":8803", - ":10427", - ":10372", - ":10405", ":10417", - ":10371", + ":9029", + ":8804", + ":10415", + ":10403", + ":10405", + ":10402", + ":10426", + ":10410", + ":10425", + ":9109", ":10734", - ":8766", + ":10424", + ":8774", + ":10404", ":10735", + ":8765", + ":8803", + ":10412", + ":10397", + ":10372", + ":11478", ":10414", + ":11514", + ":8808", + ":10371", ":10373", + ":11513", ":8766#out:1", ":8770#out:1", ":8779#out:1", @@ -2757,7 +2916,6 @@ ":8802#out:1", ":8803#out:1", ":8804#out:1", - ":8912#out:1", ":8808#out:1", ":8809#out:1", ":8812#out:1", @@ -2766,7 +2924,6 @@ ":8816#out:1", ":8823#out:1", ":8824#out:1", - ":9143#out:1", ":8771#out:1", ":9715#out:1", ":10030#out:1", @@ -2794,130 +2951,206 @@ ":10724#out:1", ":10730#out:1", ":10734#out:1", - ":10742#out:1" + ":10742#out:1", + ":11476#out:1", + ":11478#out:1", + ":11482#out:1", + ":11512#out:1", + ":11513#out:1", + ":9143#out:1", + ":8912#out:1" ], "sameAsElement":true }, { - "hid":45, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "parent":44, + "hid":48, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9029", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9029", + "parent":47, "children":[ ], "name":"Open_Mode", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Open_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Open_Mode", "label":"Open_Mode", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json", "elements":[ ":9044", ":9043", - ":9031", ":9030", + ":9031", ":9030#out:1" ], "sameAsElement":true }, { - "hid":46, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "parent":44, + "hid":49, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9074", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":47, "children":[ - 47 + 50 ], "name":"Speed_Mode", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode", "label":"Speed_Mode", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json", "elements":[ ":9709", + ":11681", ":9106", + ":11534", + ":11677", ":9105", ":9104", - ":10455", - ":9094", - ":9092", - ":9091", - ":9093", - ":9095", - ":9088", - ":9087", - ":10714", - ":9089", + ":11675", ":9101", - ":9077", - ":9078", - ":9076", + ":11674", + ":11672", + ":10455", + ":11670", + ":11680", + ":11564", + ":11511", + ":9095", + ":9094", + ":9093", + ":9092", + ":11669", + ":11676", + ":9091", + ":11679", + ":11665", ":9090", - ":9081", + ":11565", + ":11673", + ":9088", + ":11658", + ":11500", + ":11671", + ":11660", + ":9087", + ":11678", + ":11501", + ":11659", + ":11480", + ":11481", + ":11510", ":9082", + ":11666", + ":11657", + ":11479", + ":11663", + ":11661", + ":9078", + ":11535", + ":11667", + ":11664", + ":9076", + ":9081", + ":9077", + ":10714", + ":11662", + ":9089", ":9075", + ":11668", ":9087#out:1", ":9075#out:1", ":9076#out:1", ":9077#out:1", ":9078#out:1", ":9081#out:1", - ":9088#out:1", ":9101#out:1", ":9105#out:1", ":9104#out:1", + ":10714#out:1", + ":11479#out:1", ":9090#out:1", - ":9089#out:1", + ":11481#out:1", + ":11500#out:1", + ":9088#out:1", + ":11501#out:1", + ":11510#out:1", ":10455#out:1", - ":10714#out:1" + ":11534#out:1", + ":11535#out:1", + ":11565#out:1", + ":9089#out:1", + ":11668#out:1", + ":11670#out:1", + ":11659#out:1", + ":11671#out:1", + ":11669#out:1", + ":11663#out:1", + ":11664#out:1", + ":11674#out:1", + ":11677#out:1", + ":11661#out:1", + ":11675#out:1", + ":11662#out:1", + ":11667#out:1", + ":11672#out:1", + ":11673#out:1", + ":11666#out:1", + ":11658#out:1", + ":11660#out:1", + ":11665#out:1", + ":11657#out:1", + ":11676#out:1", + ":11678#out:1", + ":11678#out:2" ], "sameAsElement":true }, { - "hid":47, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10455", - "parent":46, + "hid":50, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":49, "children":[ - 48, - 49, - 50 + 51, + 52, + 53 ], "name":"PI_clamp_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.json", "elements":[ - ":10455:2785", ":10455:2817", + ":10455:2814", + ":10455:2785", + ":10455:2781", + ":10455:2783", ":10455:2791", - ":10455:2779", + ":10455:2845", ":10455:2795", + ":10455:2833", ":10455:2832", ":10455:2776", - ":10455:2833", ":10455:2815", - ":10455:2778", - ":10455:2816", - ":10455:2781", - ":10455:2845", - ":10455:2773", - ":10455:2733", - ":10455:2732", ":10455:2846", - ":10455:2771", - ":10455:2783", - ":10455:2770", - ":10455:2814", - ":10455:2769", ":10455:2794", + ":10455:2816", + ":10455:2778", + ":10455:2733", + ":10455:2910", + ":10455:2771", + ":10455:2770", + ":10455:2769", + ":10455:2779", + ":10455:2773", + ":10455:2732", ":10455:2844", + ":10455:2910#out:1", ":10455:2791#out:2", ":10455:2846#out:1", ":10455:2844#out:1", @@ -2944,28 +3177,28 @@ "sameAsElement":true }, { - "hid":48, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", - "parent":47, + "hid":51, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":50, "children":[ ], "name":"Clamping_circuit", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Clamping_circuit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Clamping_circuit", "label":"Clamping_circuit", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2816_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json", "elements":[ ":10455:2819", ":10455:2818", ":10455:2831", ":10455:2839", ":10455:2837", - ":10455:2843", - ":10455:2836", ":10455:2841", + ":10455:2836", + ":10455:2843", ":10455:2840", ":10455:2838", ":10455:2843#out:1", @@ -2981,57 +3214,59 @@ "sameAsElement":true }, { - "hid":49, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779", - "parent":47, + "hid":52, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":50, "children":[ ], "name":"Integrator", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Integrator", "label":"Integrator", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2779_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.json", "elements":[ ":10455:2790", - ":10455:2789", ":10455:2787", - ":10455:2786", ":10455:2788", + ":10455:2909", + ":10455:2908", + ":10455:2786", + ":10455:2909#out:1", ":10455:2787#out:1", - ":10455:2789#out:1", + ":10455:2908#out:1", ":10455:2788#out:1", ":10455:2786#out:1" ], "sameAsElement":true }, { - "hid":50, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", - "parent":47, + "hid":53, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":50, "children":[ ], "name":"Saturation_hit", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Saturation_hit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Speed_Mode/PI_clamp_fixdt/Saturation_hit", "label":"Saturation_hit", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10455_2791_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json", "elements":[ - ":10455:2791:2707", + ":10455:2791:2709", ":10455:2791:2849", + ":10455:2791:2707", + ":10455:2791:2704", + ":10455:2791:2701", ":10455:2791:2710", ":10455:2791:2848", - ":10455:2791:2701", - ":10455:2791:2377", ":10455:2791:2700", - ":10455:2791:2709", + ":10455:2791:2377", ":10455:2791:2699", - ":10455:2791:2704", ":10455:2791:2849#out:1", ":10455:2791:2701#out:1", ":10455:2791:2704#out:1", @@ -3043,58 +3278,61 @@ "sameAsElement":true }, { - "hid":51, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "parent":44, + "hid":54, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9109", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":47, "children":[ - 52, - 56 + 55, + 59 ], "name":"Torque_Mode", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode", "label":"Torque_Mode", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json", "elements":[ - ":9141", - ":10834", - ":9139", - ":9138", - ":10831", - ":10842", - ":10829", - ":9131", - ":10841", - ":9128", - ":9127", - ":9125", - ":10819", - ":9126", - ":10820", - ":10846", ":10828", - ":10838", - ":10844", - ":10821", - ":10845", - ":10836", - ":9116", - ":10822", - ":9129", - ":9115", - ":9114", - ":9113", + ":10841", + ":10842", + ":9127", + ":9139", + ":9125", + ":11474", ":10843", - ":9117", - ":9111", ":9130", + ":10831", ":10840", - ":9110", - ":9112", + ":10821", + ":10836", + ":10846", ":10823", + ":10820", + ":10822", + ":10819", + ":11475", + ":10834", + ":10829", + ":10845", + ":9117", + ":9126", + ":9131", + ":11473", + ":9138", + ":9113", + ":9114", + ":9141", + ":9116", + ":9115", + ":9112", + ":9111", + ":9128", + ":9129", + ":10844", + ":9110", + ":10838", ":9111#out:1", ":9110#out:1", ":9112#out:1", @@ -3102,7 +3340,6 @@ ":9115#out:1", ":9114#out:1", ":9116#out:1", - ":10834#out:1", ":10829#out:1", ":10820#out:1", ":10821#out:1", @@ -3116,55 +3353,60 @@ ":10822#out:1", ":10842#out:1", ":10841#out:1", - ":10845#out:1", - ":10846#out:1", ":9138#out:1", - ":9139#out:1" + ":9139#out:1", + ":11473#out:1", + ":10834#out:1", + ":10846#out:1", + ":10845#out:1", + ":11475#out:1" ], "sameAsElement":true }, { - "hid":52, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10828", - "parent":51, + "hid":55, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":54, "children":[ - 53, - 54, - 55 + 56, + 57, + 58 ], "name":"PI_clamp_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.json", "elements":[ ":10828:2785", + ":10828:2817", ":10828:2814", - ":10828:2791", + ":10828:2781", ":10828:2783", - ":10828:2794", - ":10828:2795", + ":10828:2779", + ":10828:2845", ":10828:2846", ":10828:2833", ":10828:2832", - ":10828:2778", - ":10828:2817", - ":10828:2816", - ":10828:2779", - ":10828:2776", - ":10828:2773", - ":10828:2733", - ":10828:2732", - ":10828:2781", - ":10828:2771", - ":10828:2769", ":10828:2815", + ":10828:2732", + ":10828:2795", + ":10828:2791", + ":10828:2733", + ":10828:2778", + ":10828:2776", + ":10828:2910", + ":10828:2771", + ":10828:2816", ":10828:2770", - ":10828:2845", + ":10828:2773", + ":10828:2794", + ":10828:2769", ":10828:2844", + ":10828:2910#out:1", ":10828:2791#out:2", ":10828:2846#out:1", ":10828:2844#out:1", @@ -3191,29 +3433,29 @@ "sameAsElement":true }, { - "hid":53, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", - "parent":52, + "hid":56, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":55, "children":[ ], "name":"Clamping_circuit", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Clamping_circuit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Clamping_circuit", "label":"Clamping_circuit", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2816_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json", "elements":[ ":10828:2819", ":10828:2818", ":10828:2831", - ":10828:2839", - ":10828:2837", - ":10828:2841", ":10828:2840", + ":10828:2839", ":10828:2836", ":10828:2843", + ":10828:2841", + ":10828:2837", ":10828:2838", ":10828:2843#out:1", ":10828:2838#out:1", @@ -3228,56 +3470,58 @@ "sameAsElement":true }, { - "hid":54, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779", - "parent":52, + "hid":57, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":55, "children":[ ], "name":"Integrator", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Integrator", "label":"Integrator", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2779_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.json", "elements":[ ":10828:2788", - ":10828:2789", ":10828:2790", - ":10828:2787", + ":10828:2909", + ":10828:2908", ":10828:2786", + ":10828:2787", + ":10828:2909#out:1", ":10828:2787#out:1", - ":10828:2789#out:1", + ":10828:2908#out:1", ":10828:2788#out:1", ":10828:2786#out:1" ], "sameAsElement":true }, { - "hid":55, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", - "parent":52, + "hid":58, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":55, "children":[ ], "name":"Saturation_hit", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Saturation_hit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/PI_clamp_fixdt/Saturation_hit", "label":"Saturation_hit", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10828_2791_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json", "elements":[ ":10828:2791:2377", - ":10828:2791:2849", - ":10828:2791:2710", ":10828:2791:2709", + ":10828:2791:2710", + ":10828:2791:2849", + ":10828:2791:2707", ":10828:2791:2848", ":10828:2791:2704", - ":10828:2791:2700", - ":10828:2791:2707", ":10828:2791:2701", + ":10828:2791:2700", ":10828:2791:2699", ":10828:2791:2849#out:1", ":10828:2791:2701#out:1", @@ -3290,19 +3534,19 @@ "sameAsElement":true }, { - "hid":56, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10829", - "parent":51, + "hid":59, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":54, "children":[ ], "name":"Saturation Dynamic1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Torque_Mode/Saturation Dynamic1", "label":"Saturation Dynamic1", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10829_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.json", "elements":[ ":10829:10", ":10829:9", @@ -3325,46 +3569,47 @@ "sameAsElement":true }, { - "hid":57, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "parent":44, + "hid":60, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9143", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":47, "children":[ - 58, - 62 + 61, + 65 ], "name":"Vd_Calculation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation", "label":"Vd_Calculation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.json", "elements":[ ":9165", - ":9724", ":9170", - ":9726", - ":9161", - ":9160", - ":10454", - ":9723", - ":9164", - ":9162", - ":9722", - ":9156", ":9725", - ":9155", - ":9152", - ":9151", - ":9150", + ":9724", + ":9161", ":9159", ":9158", + ":9723", + ":9164", + ":9160", + ":9722", + ":9156", + ":9155", + ":9150", + ":9726", ":9149", ":9148", ":9147", + ":9162", + ":11483", ":9157", + ":9151", ":9146", + ":9152", + ":10454", ":9145", ":9144", ":9152#out:1", @@ -3380,56 +3625,59 @@ ":9156#out:1", ":9165#out:1", ":9724#out:1", - ":9722#out:1", ":9725#out:1", - ":9726#out:1", ":10454#out:1", - ":9723#out:1" + ":9726#out:1", + ":9723#out:1", + ":9722#out:1", + ":11483#out:1" ], "sameAsElement":true }, { - "hid":58, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10454", - "parent":57, + "hid":61, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":60, "children":[ - 59, - 60, - 61 + 62, + 63, + 64 ], "name":"PI_clamp_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.json", "elements":[ - ":10454:2817", - ":10454:2814", + ":10454:2785", ":10454:2781", + ":10454:2783", + ":10454:2779", + ":10454:2814", ":10454:2794", ":10454:2845", ":10454:2846", - ":10454:2833", ":10454:2832", - ":10454:2791", - ":10454:2779", - ":10454:2776", - ":10454:2816", - ":10454:2815", - ":10454:2733", - ":10454:2795", - ":10454:2732", - ":10454:2783", - ":10454:2785", - ":10454:2773", ":10454:2778", + ":10454:2776", + ":10454:2833", + ":10454:2815", + ":10454:2773", + ":10454:2791", + ":10454:2733", + ":10454:2732", + ":10454:2816", + ":10454:2795", ":10454:2771", - ":10454:2770", + ":10454:2910", + ":10454:2817", ":10454:2769", + ":10454:2770", ":10454:2844", + ":10454:2910#out:1", ":10454:2791#out:2", ":10454:2846#out:1", ":10454:2844#out:1", @@ -3456,29 +3704,29 @@ "sameAsElement":true }, { - "hid":59, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", - "parent":58, + "hid":62, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":61, "children":[ ], "name":"Clamping_circuit", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit", "label":"Clamping_circuit", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2816_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json", "elements":[ ":10454:2819", ":10454:2818", ":10454:2831", ":10454:2839", ":10454:2837", - ":10454:2841", ":10454:2840", - ":10454:2843", ":10454:2836", + ":10454:2843", + ":10454:2841", ":10454:2838", ":10454:2843#out:1", ":10454:2838#out:1", @@ -3493,57 +3741,59 @@ "sameAsElement":true }, { - "hid":60, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779", - "parent":58, + "hid":63, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":61, "children":[ ], "name":"Integrator", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Integrator", "label":"Integrator", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2779_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.json", "elements":[ - ":10454:2789", - ":10454:2787", ":10454:2790", ":10454:2788", + ":10454:2909", + ":10454:2787", ":10454:2786", + ":10454:2908", + ":10454:2909#out:1", ":10454:2787#out:1", - ":10454:2789#out:1", + ":10454:2908#out:1", ":10454:2788#out:1", ":10454:2786#out:1" ], "sameAsElement":true }, { - "hid":61, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", - "parent":58, + "hid":64, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":61, "children":[ ], "name":"Saturation_hit", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Saturation_hit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/PI_clamp_fixdt/Saturation_hit", "label":"Saturation_hit", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10454_2791_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json", "elements":[ - ":10454:2791:2710", ":10454:2791:2377", ":10454:2791:2709", - ":10454:2791:2707", - ":10454:2791:2701", + ":10454:2791:2710", + ":10454:2791:2848", ":10454:2791:2704", + ":10454:2791:2707", ":10454:2791:2849", + ":10454:2791:2701", ":10454:2791:2700", ":10454:2791:2699", - ":10454:2791:2848", ":10454:2791:2849#out:1", ":10454:2791:2701#out:1", ":10454:2791:2704#out:1", @@ -3555,19 +3805,19 @@ "sameAsElement":true }, { - "hid":62, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", - "parent":57, + "hid":65, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9164", + "parent":60, "children":[ ], "name":"Saturation Dynamic", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Vd_Calculation/Saturation Dynamic", "label":"Saturation Dynamic", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.json", "elements":[ ":9164:10", ":9164:9", @@ -3590,46 +3840,46 @@ "sameAsElement":true }, { - "hid":63, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "parent":44, + "hid":66, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9171", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":47, "children":[ - 64 + 67 ], "name":"Voltage_Mode", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode", "label":"Voltage_Mode", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.json", "elements":[ - ":10737", + ":9191", ":9189", - ":9186", - ":9187", + ":9188", ":10732", + ":9186", + ":10737", + ":9185", ":9184", ":9183", ":10738", - ":9181", - ":9191", - ":9179", ":10731", - ":9177", - ":9185", - ":10733", ":10740", + ":9179", ":10725", + ":10733", ":9176", + ":10741", ":9175", ":9174", - ":10741", ":9173", + ":9181", + ":9187", ":10736", - ":9188", ":9172", + ":9177", ":9172#out:1", ":9181#out:1", ":9179#out:1", @@ -3651,19 +3901,19 @@ "sameAsElement":true }, { - "hid":64, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", - "parent":63, + "hid":67, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9188", + "parent":66, "children":[ ], "name":"Saturation Dynamic1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode/Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/Voltage_Mode/Saturation Dynamic1", "label":"Saturation Dynamic1", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.json", "elements":[ ":9188:10", ":9188:9", @@ -3686,36 +3936,36 @@ "sameAsElement":true }, { - "hid":65, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "parent":38, + "hid":68, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8866", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":40, "children":[ ], "name":"Inv_Clarke_Transform", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Clarke_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Clarke_Transform", "label":"Inv_Clarke_Transform", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json", "elements":[ ":8884", ":8885", ":8868", ":8867", ":8881", + ":8880", ":8879", - ":8877", ":8876", + ":8877", + ":8874", + ":8873", ":8875", + ":8869", + ":8878", ":8872", ":8870", - ":8880", - ":8878", - ":8873", - ":8869", - ":8874", ":8880#out:1", ":8879#out:1", ":8872#out:1", @@ -3733,19 +3983,19 @@ "sameAsElement":true }, { - "hid":66, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "parent":38, + "hid":69, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8886", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":40, "children":[ ], "name":"Inv_Park_Transform", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Park_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Inv_Park_Transform", "label":"Inv_Park_Transform", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json", "elements":[ ":8911", ":8888", @@ -3754,24 +4004,24 @@ ":8909", ":8889", ":8890", - ":8906", - ":8904", - ":8905", - ":8902", - ":8901", - ":8903", - ":8899", - ":8897", - ":8895", - ":8896", - ":8894", ":8907", - ":8891", - ":8898", - ":8892", - ":8893", - ":8908", + ":8906", + ":8902", ":8900", + ":8899", + ":8896", + ":8897", + ":8905", + ":8903", + ":8895", + ":8891", + ":8892", + ":8908", + ":8893", + ":8901", + ":8904", + ":8898", + ":8894", ":8889#out:1", ":8888#out:1", ":8887#out:1", @@ -3794,22 +4044,22 @@ "sameAsElement":true }, { - "hid":67, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "parent":38, + "hid":70, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8913", + "parent":40, "children":[ - 68, - 70, - 74 + 71, + 73, + 77 ], "name":"Motor_Limitations", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations", "label":"Motor_Limitations", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json", "elements":[ ":9018", ":9019", @@ -3817,91 +4067,91 @@ ":9021", ":9022", ":9014", - ":9010", - ":9008", - ":9006", - ":9005", - ":8999", - ":8998", - ":9009", - ":9013", - ":8997", - ":10602", - ":10565", - ":10712", - ":9002", - ":8976", - ":8975", - ":8972", - ":8971", - ":10718", - ":10713", - ":8970", - ":10696", - ":8974", - ":9007", - ":8968", - ":8963", + ":10711", ":9012", + ":9011", + ":9010", + ":9007", + ":8998", + ":8997", + ":9008", + ":10565", + ":8975", + ":8974", + ":8972", + ":8976", + ":9006", + ":10715", + ":10696", + ":9009", + ":10713", + ":8971", ":8962", - ":8961", - ":8959", + ":9013", + ":10712", + ":8969", + ":8967", + ":10718", ":8958", + ":8970", + ":8968", + ":8957", + ":8956", ":8955", ":8954", - ":9017", ":8953", - ":9004", - ":8957", - ":8952", - ":10584", ":8951", ":8950", - ":8947", - ":10705", - ":9003", - ":10683", - ":10564", - ":10682", - ":10681", - ":10680", - ":8946", - ":9011", - ":8944", - ":8939", - ":10816", - ":8935", - ":10780", - ":8934", - ":8973", - ":10685", - ":9732", - ":10684", - ":9733", - ":8919", - ":10710", ":10709", - ":10693", - ":10695", + ":9002", ":10708", - ":10715", - ":10675", - ":8967", - ":10566", - ":8916", - ":10694", - ":8915", - ":8969", - ":10727", - ":10704", - ":10699", - ":8917", - ":10711", - ":10674", + ":8944", + ":10705", + ":10780", + ":10564", + ":8959", + ":10602", ":10700", + ":10681", + ":9733", + ":8935", + ":10675", + ":10727", + ":8939", + ":8919", + ":9005", + ":10680", + ":10816", + ":10684", + ":10693", + ":9732", + ":8917", + ":10685", + ":8952", + ":10695", + ":8963", + ":8916", + ":10674", + ":10694", + ":10566", + ":10682", + ":8946", + ":8915", + ":8999", + ":8934", + ":8947", + ":10683", ":10361", - ":8956", + ":9003", + ":10710", ":8914", + ":9017", + ":9004", + ":10704", + ":10584", + ":10699", + ":8961", + ":8973", ":8999#out:1", ":8947#out:1", ":8935#out:1", @@ -3962,27 +4212,27 @@ "sameAsElement":true }, { - "hid":68, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10584", - "parent":67, + "hid":71, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10584", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":70, "children":[ - 69 + 72 ], "name":"Speed_Mode_Protection", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection", "label":"Speed_Mode_Protection", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10584_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json", "elements":[ + ":10662", ":10600", - ":10597", ":10594", ":10661", - ":10662", ":10591", + ":10597", ":10586", ":10587", ":10585", @@ -3997,19 +4247,19 @@ "sameAsElement":true }, { - "hid":69, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10594", - "parent":68, + "hid":72, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":71, "children":[ ], "name":"Saturation Dynamic", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection/Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Speed_Mode_Protection/Saturation Dynamic", "label":"Saturation Dynamic", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10594_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.json", "elements":[ ":10594:10", ":10594:9", @@ -4032,37 +4282,37 @@ "sameAsElement":true }, { - "hid":70, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10602", - "parent":67, + "hid":73, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10602", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":70, "children":[ - 71 + 74 ], "name":"Torque_Mode_Protection", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection", "label":"Torque_Mode_Protection", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10602_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.json", "elements":[ - ":10809", + ":10810", + ":10619", + ":10808", + ":10777", + ":10776", ":10815", ":10805", - ":10777", - ":10619", ":10812", - ":10808", ":10803", - ":10811", - ":10804", - ":10810", - ":10607", - ":10776", - ":10774", - ":10609", ":10814", + ":10804", + ":10609", + ":10607", + ":10809", + ":10811", + ":10774", ":10774#out:1", ":10607#out:1", ":10809#out:1", @@ -4078,34 +4328,34 @@ "sameAsElement":true }, { - "hid":71, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10808", - "parent":70, + "hid":74, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":73, "children":[ - 72, - 73 + 75, + 76 ], "name":"I_backCalc_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt", "label":"I_backCalc_fixdt", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.json", "elements":[ ":10808:2893", - ":10808:2889", - ":10808:2894", - ":10808:2895", - ":10808:2854", - ":10808:2891", - ":10808:2877", - ":10808:2890", - ":10808:2855", - ":10808:2853", ":10808:2892", + ":10808:2895", + ":10808:2877", ":10808:2869", + ":10808:2891", + ":10808:2855", + ":10808:2889", + ":10808:2854", + ":10808:2853", + ":10808:2894", + ":10808:2890", ":10808:2851", ":10808:2892#out:1", ":10808:2869#out:1", @@ -4123,24 +4373,24 @@ "sameAsElement":true }, { - "hid":72, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", - "parent":71, + "hid":75, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":74, "children":[ ], "name":"Integrator", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Integrator", "label":"Integrator", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2877_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json", "elements":[ - ":10808:2896", - ":10808:2880", ":10808:2882", + ":10808:2896", ":10808:2879", + ":10808:2880", ":10808:2878", ":10808:2878#out:1", ":10808:2880#out:1", @@ -4150,19 +4400,19 @@ "sameAsElement":true }, { - "hid":73, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895", - "parent":71, + "hid":76, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "parent":74, "children":[ ], "name":"Saturation Dynamic1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1", "label":"Saturation Dynamic1", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10808_2895_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.json", "elements":[ ":10808:2895:10", ":10808:2895:9", @@ -4185,53 +4435,53 @@ "sameAsElement":true }, { - "hid":74, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10566", - "parent":67, + "hid":77, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10566", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":70, "children":[ - 75, - 78 + 78, + 81 ], "name":"Voltage_Mode_Protection", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection", "label":"Voltage_Mode_Protection", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10566_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.json", "elements":[ + ":10583", ":10575", - ":10653", - ":10574", - ":10640", + ":10634", ":10651", ":10746", - ":10658", + ":10745", ":10649", ":10629", - ":10659", - ":10641", - ":10627", - ":10633", - ":10632", ":10630", - ":10643", - ":10577", - ":10672", - ":10576", - ":10570", - ":10567", ":10656", - ":10655", - ":10673", - ":10745", - ":10634", - ":10625", - ":10657", - ":10568", + ":10640", + ":10641", ":10642", - ":10583", + ":10659", + ":10633", + ":10655", + ":10658", + ":10632", + ":10574", + ":10643", + ":10672", + ":10627", + ":10570", + ":10577", + ":10653", + ":10576", + ":10673", + ":10568", + ":10567", + ":10657", + ":10625", ":10568#out:1", ":10567#out:1", ":10577#out:1", @@ -4257,35 +4507,35 @@ "sameAsElement":true }, { - "hid":75, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10745", - "parent":74, + "hid":78, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":77, "children":[ - 76, - 77 + 79, + 80 ], "name":"I_backCalc_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt", "label":"I_backCalc_fixdt", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.json", "elements":[ ":10745:2894", - ":10745:2889", - ":10745:2893", - ":10745:2892", ":10745:2895", - ":10745:2877", - ":10745:2891", - ":10745:2855", - ":10745:2890", ":10745:2854", - ":10745:2851", - ":10745:2869", + ":10745:2877", + ":10745:2890", + ":10745:2892", ":10745:2853", + ":10745:2869", + ":10745:2891", + ":10745:2893", + ":10745:2851", + ":10745:2889", + ":10745:2855", ":10745:2892#out:1", ":10745:2869#out:1", ":10745:2890#out:1", @@ -4302,19 +4552,19 @@ "sameAsElement":true }, { - "hid":76, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", - "parent":75, + "hid":79, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":78, "children":[ ], "name":"Integrator", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator", "label":"Integrator", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2877_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.json", "elements":[ ":10745:2882", ":10745:2896", @@ -4329,19 +4579,19 @@ "sameAsElement":true }, { - "hid":77, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895", - "parent":75, + "hid":80, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":78, "children":[ ], "name":"Saturation Dynamic1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1", "label":"Saturation Dynamic1", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10745_2895_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.json", "elements":[ ":10745:2895:10", ":10745:2895:9", @@ -4364,35 +4614,35 @@ "sameAsElement":true }, { - "hid":78, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10746", - "parent":74, + "hid":81, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":77, "children":[ - 79, - 80 + 82, + 83 ], "name":"I_backCalc_fixdt1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1", "label":"I_backCalc_fixdt1", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.json", "elements":[ - ":10746:2894", - ":10746:2892", - ":10746:2891", - ":10746:2869", - ":10746:2855", - ":10746:2895", - ":10746:2854", - ":10746:2853", ":10746:2889", - ":10746:2877", - ":10746:2851", + ":10746:2894", ":10746:2893", + ":10746:2892", + ":10746:2855", ":10746:2890", + ":10746:2854", + ":10746:2895", + ":10746:2869", + ":10746:2853", + ":10746:2877", + ":10746:2891", + ":10746:2851", ":10746:2892#out:1", ":10746:2869#out:1", ":10746:2890#out:1", @@ -4409,25 +4659,25 @@ "sameAsElement":true }, { - "hid":79, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", - "parent":78, + "hid":82, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":81, "children":[ ], "name":"Integrator", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator", "label":"Integrator", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2877_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json", "elements":[ ":10746:2896", - ":10746:2880", - ":10746:2878", ":10746:2882", + ":10746:2880", ":10746:2879", + ":10746:2878", ":10746:2878#out:1", ":10746:2880#out:1", ":10746:2896#out:1", @@ -4436,19 +4686,19 @@ "sameAsElement":true }, { - "hid":80, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895", - "parent":78, + "hid":83, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "parent":81, "children":[ ], "name":"Saturation Dynamic1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1", "label":"Saturation Dynamic1", "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10746_2895_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.json", "elements":[ ":10746:2895:10", ":10746:2895:9", @@ -4471,19 +4721,19 @@ "sameAsElement":true }, { - "hid":81, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "parent":38, + "hid":84, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9045", + "parent":40, "children":[ ], "name":"Park_Transform", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Park_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Park_Transform", "label":"Park_Transform", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json", "elements":[ ":9070", ":9047", @@ -4492,24 +4742,24 @@ ":9069", ":9048", ":9049", - ":9066", + ":9064", ":9062", ":9061", - ":9060", - ":9059", ":9058", + ":9055", ":9054", + ":9065", + ":9053", + ":9060", + ":9066", ":9051", ":9067", - ":9064", - ":9050", - ":9053", + ":9059", ":9052", - ":9056", - ":9063", - ":9065", - ":9055", ":9057", + ":9056", + ":9050", + ":9063", ":9048#out:1", ":9047#out:1", ":9046#out:1", @@ -4532,35 +4782,35 @@ "sameAsElement":true }, { - "hid":82, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "parent":38, + "hid":85, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8743", + "parent":40, "children":[ ], "name":"Sine_Cosine_Approximation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Sine_Cosine_Approximation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Sine_Cosine_Approximation", "label":"Sine_Cosine_Approximation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json", "elements":[ ":8762", ":8764", - ":8757", - ":8755", - ":8748", - ":8754", - ":9646", - ":9643", - ":9639", - ":10676", - ":9640", - ":9645", - ":9644", ":8758", + ":8754", + ":8757", + ":8748", + ":9644", + ":9639", + ":9645", + ":9640", + ":10676", + ":9643", + ":9646", ":8744", + ":8755", ":8748#out:1", ":10676#out:1", ":8744#out:1", @@ -4573,22 +4823,22 @@ "sameAsElement":true }, { - "hid":83, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "hid":86, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9198", "parent":2, "children":[ - 84, - 85, - 86 + 87, + 88, + 89 ], "name":"F06_Control_Type_Management", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management", "label":"F06_Control_Type_Management", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json", "elements":[ ":9200", ":9239", @@ -4609,47 +4859,47 @@ ":9213", ":9199", ":9223", - ":9455", - ":9235", ":9449", + ":9741", ":9233", ":9840", - ":9225", - ":9741", - ":9925", - ":9926", - ":9452", - ":9927", - ":9920", - ":9454", - ":9917", - ":9215", - ":9833", - ":9451", - ":9908", - ":9227", - ":9924", - ":9832", - ":9915", - ":9842", ":9835", - ":9831", - ":9207", ":9914", - ":8216", - ":9929", - ":9904", - ":9214", - ":9916", - ":9922", - ":9838", - ":9206", - ":9923", + ":9833", + ":9924", + ":9451", + ":9920", + ":11470", + ":9215", ":9928", ":9839", - ":9921", - ":9201", + ":9454", + ":9916", + ":9915", + ":9927", + ":9452", + ":9838", + ":9908", + ":9831", ":9834", + ":9904", + ":9235", + ":8216", + ":9455", + ":9842", + ":9207", + ":9923", + ":9832", + ":9921", + ":9225", + ":9926", + ":9929", + ":9201", + ":9925", + ":9214", + ":9227", + ":9206", + ":9922", ":9919", ":9836", ":9208#out:3", @@ -4685,7 +4935,6 @@ ":9914#out:1", ":9915#out:1", ":9916#out:1", - ":9917#out:1", ":9836#out:1", ":9833#out:2", ":9741#out:1", @@ -4699,36 +4948,37 @@ ":9923#out:1", ":9927#out:1", ":9928#out:1", - ":9929#out:1" + ":9929#out:1", + ":11470#out:1" ], "sameAsElement":true }, { - "hid":84, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", - "parent":83, + "hid":87, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9904", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9904", + "parent":86, "children":[ ], "name":"COM_Method", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/COM_Method", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/COM_Method", "label":"COM_Method", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json", "elements":[ ":9907", ":9906", - ":9236", + ":9912", ":9911", ":9453", ":9913", - ":9823", ":9211", - ":9910", ":9209", - ":9912", + ":9823", + ":9236", + ":9910", ":9909", ":9209#out:1", ":9211#out:1", @@ -4741,19 +4991,19 @@ "sameAsElement":true }, { - "hid":85, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", - "parent":83, + "hid":88, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9842", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9842", + "parent":86, "children":[ ], "name":"FOC_Method", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/FOC_Method", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/FOC_Method", "label":"FOC_Method", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json", "elements":[ ":9902", ":9847", @@ -4763,20 +5013,20 @@ "sameAsElement":true }, { - "hid":86, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", - "parent":83, + "hid":89, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9741", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9741", + "parent":86, "children":[ - 87 + 90 ], "name":"SIN_Method", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method", "label":"SIN_Method", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json", "elements":[ ":9786", ":9783", @@ -4786,22 +5036,22 @@ ":9779", ":9742", ":9743", + ":9819", ":9802", ":9800", ":9799", ":9806", + ":9818", ":9803", ":9820", - ":9810", - ":10677", + ":9801", + ":9816", ":9805", + ":9810", ":9798", ":9797", - ":9819", - ":9801", + ":10677", ":9795", - ":9818", - ":9816", ":9796", ":9779#out:1", ":10677#out:1", @@ -4824,20 +5074,20 @@ "sameAsElement":true }, { - "hid":87, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", - "parent":86, + "hid":90, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9743", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9743", + "parent":89, "children":[ - 88 + 91 ], "name":"Final_Phase_Advance_Calculation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation", "label":"Final_Phase_Advance_Calculation", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json", "elements":[ ":9778", ":9745", @@ -4857,13 +5107,13 @@ ":9766", ":9756", ":9760", + ":10035", ":9791", + ":10175", ":9758", ":9794", ":9746", - ":10035", ":9747", - ":10175", ":9756#out:1", ":9745#out:1", ":9765#out:1", @@ -4886,95 +5136,95 @@ "sameAsElement":true }, { - "hid":88, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", - "parent":87, + "hid":91, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10035", + "parent":90, "children":[ ], "name":"Modulo_fixdt", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation/Modulo_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation/Modulo_fixdt", "label":"Modulo_fixdt", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json", + "icon":"WebViewIcon6", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json", "elements":[ ":10035:576", ":10035:572", - ":10035:574", ":10035:573", ":10035:570", ":10035:571", ":10035:575", + ":10035:2906", ":10035:572#out:1", ":10035:571#out:1", - ":10035:573#out:1", - ":10035:574#out:1", - ":10035:570#out:1" + ":10035:2906#out:1", + ":10035:570#out:1", + ":10035:573#out:1" ], "sameAsElement":true }, { - "hid":89, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", + "hid":92, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9292", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9292", "parent":2, "children":[ ], "name":"Implemented_control_methods", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/Implemented_control_methods", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Implemented_control_methods", "label":"Implemented_control_methods", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json", "elements":[ ], "sameAsElement":true }, { - "hid":90, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", + "hid":93, + "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", + "esid":"BLDCmotor_FOC_R2017b_fixdt:9293", "parent":2, "children":[ ], "name":"Model_Info", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/Model_Info", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Model_Info", "label":"Model_Info", "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json", "elements":[ ], "sameAsElement":true }, { - "hid":91, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10164", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "hid":94, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10164", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10164", "parent":2, "children":[ ], "name":"Task_Scheduler", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler", "label":"Task_Scheduler", "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.json", "elements":[ ":10169", - ":10186", ":10168", - ":10185", ":10167", + ":10185", + ":10184", ":10162", ":10183", + ":10186", ":10190", - ":10184", ":10163", ":10162#out:1", ":10163#out:1", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json index f326e81..bca57eb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json @@ -1,19 +1,19 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "sid":"BLDCmotor_FOC_R2017b_fixdt:29", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"BLDC_controller", "label":"BLDC_controller", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -25,6 +25,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -35,10 +36,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -47,8 +47,8 @@ "ReadWrite", "", "All", - "off", - "Auto", + "on", + "on", "", "", "off", @@ -61,6 +61,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -70,21 +71,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "Ts_ctrl", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -99,20 +97,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_Estimations", "label":"F01_Estimations", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -124,6 +122,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -134,10 +133,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -147,7 +145,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -160,6 +158,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -169,21 +168,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -198,20 +194,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8225", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_01_Edge_Detector", "label":"F01_01_Edge_Detector", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -223,6 +219,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -233,10 +230,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -246,7 +242,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -259,6 +255,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -268,21 +265,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -297,20 +291,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8235", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_02_Position_Calculation", "label":"F01_02_Position_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -322,6 +316,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -332,10 +327,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -345,7 +339,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -358,6 +352,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -367,21 +362,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -396,20 +388,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8247", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_03_Direction_Detection", "label":"F01_03_Direction_Detection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -421,6 +413,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -431,10 +424,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -444,7 +436,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -457,6 +449,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -466,21 +459,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -495,20 +485,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8263", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_04_Speed_Estimation", "label":"F01_04_Speed_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -520,6 +510,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -530,10 +521,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -543,7 +533,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -556,6 +546,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -565,21 +556,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -594,12 +582,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "z_cntInit" @@ -623,12 +611,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ "initVal" @@ -652,20 +640,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Raw_Motor_Speed_Estimation", "label":"Raw_Motor_Speed_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -677,6 +665,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -687,10 +676,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -700,7 +688,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -713,6 +701,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -722,21 +711,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -751,20 +737,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8384", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F01_05_Electrical_Angle_Estimation", "label":"F01_05_Electrical_Angle_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -776,6 +762,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -786,10 +773,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -799,7 +785,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -807,11 +793,12 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", "off", + "off", "", "Auto", "", @@ -821,21 +808,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -850,20 +834,214 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11357", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_06_Electrical_Angle_Measurement", + "label":"F01_06_Electrical_Angle_Measurement", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F02_Diagnostics", "label":"F02_Diagnostics", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -875,6 +1053,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -885,10 +1064,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -898,7 +1076,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -911,6 +1089,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -920,21 +1099,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -949,20 +1125,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Debounce_Filter", "label":"Debounce_Filter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -974,6 +1150,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -984,10 +1161,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -996,8 +1172,8 @@ "ReadWrite", "", "All", - "off", - "Reusable function", + "on", + "on", "", "", "off", @@ -1010,6 +1186,7 @@ "off", "", "off", + "off", "", "Use subsystem name", "", @@ -1019,21 +1196,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Reusable function", "-1", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1048,20 +1222,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Default", "label":"Default", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1073,6 +1247,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1083,10 +1258,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1096,7 +1270,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1109,6 +1283,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1118,21 +1293,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1147,20 +1319,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Dequalification", "label":"Dequalification", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1172,6 +1344,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1182,10 +1355,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1195,7 +1367,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1208,6 +1380,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1217,21 +1390,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1246,12 +1416,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "z_cntInit" @@ -1275,12 +1445,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ "initVal" @@ -1304,20 +1474,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Qualification", "label":"Qualification", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1329,6 +1499,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1339,10 +1510,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1352,7 +1522,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1365,6 +1535,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1374,21 +1545,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1403,12 +1571,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "z_cntInit" @@ -1432,12 +1600,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", "inspector":{ "params":[ "initVal" @@ -1461,20 +1629,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", "className":"Either edge detection", "icon":"WebViewIcon4", "name":"either_edge", "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1486,6 +1654,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1496,10 +1665,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1508,8 +1676,8 @@ "ReadWrite", "", "All", - "off", - "Auto", + "on", + "on", "", "", "off", @@ -1522,6 +1690,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1531,21 +1700,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1560,20 +1726,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8519", "className":"Either edge detection", "icon":"WebViewIcon4", "name":"either_edge", "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1585,6 +1751,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1595,10 +1762,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1607,8 +1773,8 @@ "ReadWrite", "", "All", - "off", - "Auto", + "on", + "on", "", "", "off", @@ -1621,6 +1787,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1630,21 +1797,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1659,20 +1823,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F03_Control_Mode_Manager", "label":"F03_Control_Mode_Manager", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1684,6 +1848,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1694,10 +1859,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1707,7 +1871,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1720,6 +1884,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1729,21 +1894,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1758,20 +1920,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11159", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F03_01_Mode_Transition_Calculation", "label":"F03_01_Mode_Transition_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1783,6 +1945,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1793,10 +1956,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1806,7 +1968,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1819,6 +1981,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1828,21 +1991,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1857,12 +2017,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", "className":"Stateflow.Chart", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"F03_02_Control_Mode_Manager", "label":"F03_02_Control_Mode_Manager", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "ActionLanguage", @@ -1916,20 +2076,20 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F03_03_Input_Target_Synthesis", "label":"F03_03_Input_Target_Synthesis", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -1941,6 +2101,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -1951,10 +2112,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -1964,7 +2124,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -1977,6 +2137,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -1986,21 +2147,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2015,20 +2173,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11207", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Default_Control_Type", "label":"Default_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2040,6 +2198,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2050,10 +2209,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2063,7 +2221,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -2076,6 +2234,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2085,21 +2244,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2114,20 +2270,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11211", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Default_Mode", "label":"Default_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2139,6 +2295,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2149,10 +2306,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2162,7 +2318,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -2175,6 +2331,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2184,21 +2341,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2213,20 +2367,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"FOC_Control_Type", "label":"FOC_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2238,6 +2392,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2248,10 +2403,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2261,7 +2415,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -2274,6 +2428,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2283,21 +2438,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2312,20 +2464,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Open_Mode", "label":"Open_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2337,6 +2489,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2347,10 +2500,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2360,7 +2512,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -2373,6 +2525,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2382,21 +2535,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2411,12 +2561,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Rate_Limiter", "label":"Rate_Limiter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "ShowPortLabels", @@ -2504,12 +2654,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Delay_Init1", "label":"Delay_Init1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "initVal" @@ -2533,12 +2683,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ "OutMin", @@ -2572,20 +2722,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", "className":"Rising edge init", "icon":"WebViewIcon4", "name":"rising_edge_init", "label":"rising_edge_init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2597,6 +2747,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2607,10 +2758,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2619,8 +2769,8 @@ "ReadWrite", "", "All", - "off", - "Auto", + "on", + "on", "", "", "off", @@ -2633,6 +2783,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2642,21 +2793,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", - "on", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2671,20 +2819,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10066", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F04_Field_Weakening", "label":"F04_Field_Weakening", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2696,6 +2844,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2706,10 +2855,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2719,7 +2867,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -2732,6 +2880,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2741,21 +2890,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2770,12 +2916,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10507", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "OutMin", @@ -2809,12 +2955,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10508", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10508", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "OutMin", @@ -2848,20 +2994,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F05_Field_Oriented_Control", "label":"F05_Field_Oriented_Control", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2873,6 +3019,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2883,10 +3030,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2896,7 +3042,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -2909,6 +3055,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -2918,21 +3065,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2947,20 +3091,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clarke_Transform", "label":"Clarke_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -2972,6 +3116,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -2982,10 +3127,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -2995,7 +3139,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3008,6 +3152,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3017,21 +3162,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3046,20 +3188,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11026", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clarke_PhasesAB", "label":"Clarke_PhasesAB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3071,6 +3213,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3081,10 +3224,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3094,7 +3236,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3107,6 +3249,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3116,21 +3259,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3145,20 +3285,117 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11041", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesAC", + "label":"Clarke_PhasesAC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11056", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clarke_PhasesBC", "label":"Clarke_PhasesBC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3170,6 +3407,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3180,10 +3418,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3193,7 +3430,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3206,6 +3443,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3215,21 +3453,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3244,20 +3479,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Current_Filtering", "label":"Current_Filtering", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3269,6 +3504,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3279,10 +3515,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3292,7 +3527,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3305,6 +3540,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3314,21 +3550,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3343,12 +3576,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Low_Pass_Filter", "label":"Low_Pass_Filter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "ShowPortLabels", @@ -3436,20 +3669,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"FOC", "label":"FOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3461,6 +3694,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3471,10 +3705,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3484,7 +3717,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3497,6 +3730,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3506,21 +3740,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3535,20 +3766,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9029", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Open_Mode", "label":"Open_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3560,6 +3791,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3570,10 +3802,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3583,7 +3814,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3596,6 +3827,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3605,21 +3837,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3634,20 +3863,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9074", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Speed_Mode", "label":"Speed_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3659,6 +3888,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3669,10 +3899,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3682,7 +3911,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3695,6 +3924,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3704,21 +3934,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3733,12 +3960,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "ShowPortLabels", @@ -3826,20 +4053,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2816", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3851,6 +4078,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3861,10 +4089,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3874,7 +4101,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3887,6 +4114,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3896,21 +4124,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3925,20 +4150,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -3950,6 +4175,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -3960,10 +4186,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -3973,7 +4198,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -3986,6 +4211,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -3995,21 +4221,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4024,12 +4247,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10455:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", "inspector":{ "params":[ "ShowPortLabels", @@ -4117,20 +4340,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9109", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Torque_Mode", "label":"Torque_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -4142,6 +4365,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -4152,10 +4376,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -4165,7 +4388,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -4178,6 +4401,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -4187,21 +4411,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4216,12 +4437,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "ShowPortLabels", @@ -4309,20 +4530,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2816", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -4334,6 +4555,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -4344,10 +4566,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -4357,7 +4578,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -4370,6 +4591,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -4379,21 +4601,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4408,20 +4627,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -4433,6 +4652,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -4443,10 +4663,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -4456,7 +4675,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -4469,6 +4688,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -4478,21 +4698,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4507,12 +4724,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10828:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", "inspector":{ "params":[ "ShowPortLabels", @@ -4600,12 +4817,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10829", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10829", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "OutMin", @@ -4639,20 +4856,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9143", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Vd_Calculation", "label":"Vd_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -4664,6 +4881,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -4674,10 +4892,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -4687,7 +4904,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -4700,6 +4917,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -4709,21 +4927,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4738,12 +4953,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "ShowPortLabels", @@ -4831,20 +5046,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2816", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -4856,6 +5071,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -4866,10 +5082,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -4879,7 +5094,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -4892,6 +5107,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -4901,21 +5117,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4930,20 +5143,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -4955,6 +5168,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -4965,10 +5179,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -4978,7 +5191,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -4991,6 +5204,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5000,21 +5214,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5029,12 +5240,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10454:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", "inspector":{ "params":[ "ShowPortLabels", @@ -5122,12 +5333,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9164", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "OutMin", @@ -5161,20 +5372,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9171", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Voltage_Mode", "label":"Voltage_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5186,6 +5397,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5196,10 +5408,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5209,7 +5420,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5222,6 +5433,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5231,21 +5443,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5260,12 +5469,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9188", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "OutMin", @@ -5299,20 +5508,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8866", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Inv_Clarke_Transform", "label":"Inv_Clarke_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5324,6 +5533,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5334,10 +5544,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5347,7 +5556,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5360,6 +5569,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5369,21 +5579,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5398,20 +5605,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8886", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Inv_Park_Transform", "label":"Inv_Park_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5423,6 +5630,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5433,10 +5641,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5446,7 +5653,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5459,6 +5666,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5468,21 +5676,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5497,20 +5702,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Motor_Limitations", "label":"Motor_Limitations", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5522,6 +5727,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5532,10 +5738,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5545,7 +5750,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5558,6 +5763,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5567,21 +5773,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5596,20 +5799,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10584", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Speed_Mode_Protection", "label":"Speed_Mode_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5621,6 +5824,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5631,10 +5835,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5644,7 +5847,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5657,6 +5860,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5666,21 +5870,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5695,12 +5896,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10594", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10594", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", "inspector":{ "params":[ "OutMin", @@ -5734,20 +5935,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10602", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Torque_Mode_Protection", "label":"Torque_Mode_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5759,6 +5960,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5769,10 +5971,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5782,7 +5983,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5795,6 +5996,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5804,21 +6006,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5833,18 +6032,18 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"I_backCalc_fixdt", "label":"I_backCalc_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", "inspector":{ "params":[ "yInit" ], "values":[ - "0" + "900" ], "tabs":[ ], @@ -5862,20 +6061,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -5887,6 +6086,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -5897,10 +6097,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -5910,7 +6109,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -5923,6 +6122,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -5932,21 +6132,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5961,12 +6158,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10808:2895", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", "inspector":{ "params":[ "OutMin", @@ -6000,20 +6197,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10566", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Voltage_Mode_Protection", "label":"Voltage_Mode_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6025,6 +6222,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6035,10 +6233,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6048,7 +6245,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6061,6 +6258,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6070,21 +6268,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6099,18 +6294,18 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"I_backCalc_fixdt", "label":"I_backCalc_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "yInit" ], "values":[ - "0" + "1000" ], "tabs":[ ], @@ -6128,20 +6323,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6153,6 +6348,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6163,10 +6359,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6176,7 +6371,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6189,6 +6384,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6198,21 +6394,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6227,12 +6420,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10745:2895", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", "inspector":{ "params":[ "OutMin", @@ -6266,18 +6459,18 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"I_backCalc_fixdt1", "label":"I_backCalc_fixdt1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", "inspector":{ "params":[ "yInit" ], "values":[ - "0" + "1000" ], "tabs":[ ], @@ -6295,20 +6488,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6320,6 +6513,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6330,10 +6524,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6343,7 +6536,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6356,6 +6549,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6365,21 +6559,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6394,12 +6585,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10746:2895", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", "inspector":{ "params":[ "OutMin", @@ -6433,20 +6624,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Park_Transform", "label":"Park_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6458,6 +6649,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6468,10 +6660,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6481,7 +6672,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6494,6 +6685,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6503,21 +6695,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6532,20 +6721,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Sine_Cosine_Approximation", "label":"Sine_Cosine_Approximation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6557,6 +6746,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6567,10 +6757,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6580,7 +6769,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6593,6 +6782,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6602,21 +6792,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6631,20 +6818,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"F06_Control_Type_Management", "label":"F06_Control_Type_Management", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6656,6 +6843,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6666,10 +6854,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6679,7 +6866,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6692,6 +6879,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6701,21 +6889,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6730,20 +6915,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9904", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"COM_Method", "label":"COM_Method", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6755,6 +6940,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6765,10 +6951,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6778,7 +6963,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6791,6 +6976,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6800,21 +6986,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6829,20 +7012,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9842", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"FOC_Method", "label":"FOC_Method", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6854,6 +7037,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6864,10 +7048,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6877,7 +7060,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6890,6 +7073,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6899,21 +7083,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6928,20 +7109,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9741", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"SIN_Method", "label":"SIN_Method", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -6953,6 +7134,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -6963,10 +7145,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -6976,7 +7157,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -6989,6 +7170,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -6998,21 +7180,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7027,20 +7206,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9743", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Final_Phase_Advance_Calculation", "label":"Final_Phase_Advance_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -7052,6 +7231,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -7062,10 +7242,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -7075,7 +7254,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -7088,6 +7267,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -7097,21 +7277,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7126,20 +7303,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", + "icon":"WebViewIcon6", "name":"Modulo_fixdt", "label":"Modulo_fixdt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -7151,6 +7328,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -7161,10 +7339,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -7174,7 +7351,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -7187,6 +7364,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -7196,21 +7374,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7225,12 +7400,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9292", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Implemented_control_methods", "label":"Implemented_control_methods", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", @@ -7318,20 +7493,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", "name":"Model_Info", "label":"Model_Info", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -7343,6 +7518,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -7353,10 +7529,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -7366,7 +7541,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -7379,6 +7554,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -7388,21 +7564,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7417,20 +7590,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10164", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10164", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Task_Scheduler", "label":"Task_Scheduler", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "RTWSystemCode", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", @@ -7442,6 +7615,7 @@ "MemberBlocks", "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", @@ -7452,10 +7626,9 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", "SystemSampleTime", "TemplateBlock", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], @@ -7465,7 +7638,7 @@ "", "All", "off", - "Auto", + "on", "", "", "off", @@ -7478,6 +7651,7 @@ "off", "", "off", + "off", "", "Auto", "", @@ -7487,21 +7661,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", "-1", "", "off", - "on", - "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, diff --git a/BLDC_controller_ert_rtw/rtwtypes.h b/BLDC_controller_ert_rtw/rtwtypes.h new file mode 100644 index 0000000..0ecb78e --- /dev/null +++ b/BLDC_controller_ert_rtw/rtwtypes.h @@ -0,0 +1,104 @@ +/* + * File: rtwtypes.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 RTWTYPES_H +#define RTWTYPES_H + +/* Logical type definitions */ +#if (!defined(__cplusplus)) +# ifndef false +# define false (0U) +# endif + +# ifndef true +# define true (1U) +# endif +#endif + +/*=======================================================================* + * Target hardware information + * Device type: MATLAB Host + * Number of bits: char: 8 short: 16 int: 32 + * long: 32 long long: 64 + * native word size: 64 + * Byte ordering: LittleEndian + * Signed integer division rounds to: Zero + * Shift right on a signed integer as arithmetic shift: on + *=======================================================================*/ + +/*=======================================================================* + * Fixed width word size data types: * + * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * + * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers * + * real32_T, real64_T - 32 and 64 bit floating point numbers * + *=======================================================================*/ +typedef signed char int8_T; +typedef unsigned char uint8_T; +typedef short int16_T; +typedef unsigned short uint16_T; +typedef int int32_T; +typedef unsigned int uint32_T; +typedef long long int64_T; +typedef unsigned long long uint64_T; +typedef float real32_T; +typedef double real64_T; + +/*===========================================================================* + * Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, * + * real_T, time_T, ulong_T, ulonglong_T. * + *===========================================================================*/ +typedef double real_T; +typedef double time_T; +typedef unsigned char boolean_T; +typedef int int_T; +typedef unsigned int uint_T; +typedef unsigned long ulong_T; +typedef unsigned long long ulonglong_T; +typedef char char_T; +typedef unsigned char uchar_T; +typedef char_T byte_T; + +/*=======================================================================* + * Min and Max: * + * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * + * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers * + *=======================================================================*/ +#define MAX_int8_T ((int8_T)(127)) +#define MIN_int8_T ((int8_T)(-128)) +#define MAX_uint8_T ((uint8_T)(255U)) +#define MAX_int16_T ((int16_T)(32767)) +#define MIN_int16_T ((int16_T)(-32768)) +#define MAX_uint16_T ((uint16_T)(65535U)) +#define MAX_int32_T ((int32_T)(2147483647)) +#define MIN_int32_T ((int32_T)(-2147483647-1)) +#define MAX_uint32_T ((uint32_T)(0xFFFFFFFFU)) +#define MAX_int64_T ((int64_T)(9223372036854775807LL)) +#define MIN_int64_T ((int64_T)(-9223372036854775807LL-1LL)) +#define MAX_uint64_T ((uint64_T)(0xFFFFFFFFFFFFFFFFULL)) + +/* Block D-Work pointer type */ +typedef void * pointer_T; + +#endif /* RTWTYPES_H */ + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/BLDCmotor_FOC_R2017b_fixdt.slx b/BLDCmotor_FOC_R2017b_fixdt.slx index 1b0b016..4b76b20 100644 Binary files a/BLDCmotor_FOC_R2017b_fixdt.slx and b/BLDCmotor_FOC_R2017b_fixdt.slx differ diff --git a/README.md b/README.md index 462d416..f73346d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CU2SWN2XV9SCY¤cy_code=EUR&source=url) -This repository implements Field Oriented Control (FOC) for BLDC motors in Matlab/Simulink. The controller was deployed and tested on a real-time hoverboard embedded platform (see [hoverboard-firmware-hack-FOC](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC)). +This repository implements Field Oriented Control (FOC) for BLDC motors in Matlab/Simulink. The controller was deployed and tested on a real-time hoverboard embedded platform: + - [hoverboard-firmware-hack-FOC](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC) --- ## FOC Architecture @@ -34,6 +35,12 @@ The C code for the controller is capable for auto-code generated using [Matlab/S To explore the controller without a Matlab/Simulink installation a [webview](/BLDC_controller_ert_rtw/html/webview) was created. The webview allows to visualize the controller with browsers like: Microsoft Internet Explorer or Microsoft Edgeview. +### Parameters + +The controller parameters are given in the following table: + +![Parameters table](/02_Figures/paramTable.png) + --- ## Contributions diff --git a/init_model.m b/init_model.m index 0e45046..2b80aa3 100644 --- a/init_model.m +++ b/init_model.m @@ -10,7 +10,7 @@ % >> improved motor efficiency -> lower energy consumption % % Author: Emanuel FERU -% Copyright © 2019-2020 Emanuel FERU +% Copyright © 2019-2021 Emanuel FERU % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ f_ctrl = 16e3; % [Hz] Controller frequency % Ts_ctrl = 12e-5; % [s] Controller sampling time (~8 kHz) % Motor parameters -n_polePairs = 15; % [-] Number of pole pairs +n_polePairs = 15; % [-] Number of motor pole pairs a_elecPeriod = 360; % [deg] Electrical angle period a_elecAngle = 60; % [deg] Electrical angle between two Hall sensor changing events a_mechAngle = a_elecAngle / n_polePairs; % [deg] Mechanical angle between two Hall sensor changing events @@ -58,17 +58,21 @@ r_cos_M1 = cos((a_elecAngle_XA + 30)*(pi/180)); %% Control selection % Control type selection -CTRL_COM = 0; % [-] Commutation Control -CTRL_SIN = 1; % [-] Sinusoidal Control -CTRL_FOC = 2; % [-] Field Oriented Control (FOC) -z_ctrlTypSel = CTRL_FOC; % [-] Control Type Selection (default) +CTRL_COM = 0; % [-] Commutation Control +CTRL_SIN = 1; % [-] Sinusoidal Control +CTRL_FOC = 2; % [-] Field Oriented Control (FOC) +z_ctrlTypSel = CTRL_FOC; % [-] Control Type Selection (default) % Control model request -OPEN_MODE = 0; % [-] Open mode -VLT_MODE = 1; % [-] Voltage mode -SPD_MODE = 2; % [-] Speed mode -TRQ_MODE = 3; % [-] Torque mode -z_ctrlModReq = VLT_MODE; % [-] Control Mode Request (default) +OPEN_MODE = 0; % [-] Open mode +VLT_MODE = 1; % [-] Voltage mode +SPD_MODE = 2; % [-] Speed mode +TRQ_MODE = 3; % [-] Torque mode +z_ctrlModReq = VLT_MODE; % [-] Control Mode Request (default) + +% Cruise control +b_cruiseCtrlEna = 0; % [-] Cruise control enable flag: 0 = disable (default), 1 = enable +n_cruiseMotTgt = 0; % [-] Cruise control motor speed target %% F01_Estimations @@ -79,13 +83,16 @@ vec_hallToPos = [0 2 0 1 4 3 5 0]; % [-] Mapping Hall signal to position % Speed Calculation Parameters cf_speedCoef = round(f_ctrl * a_mechAngle * (pi/180) * (30/pi)); % [-] Speed calculation coefficient (factors are due to conversions rpm <-> rad/s) -z_maxCntRst = 2000; % [-] Maximum counter value for reset (works also as time-out to detect standing still) -n_commDeacvHi = 30; % [rpm] Commutation method deactivation speed high -n_commAcvLo = 15; % [rpm] Commutation method activation speed low -dz_cntTrnsDetHi = 40; % [-] Counter gradient High for transient behavior detection (used for speed estimation) -dz_cntTrnsDetLo = 20; % [-] Counter gradient Low for steady state detection (used for speed estimation) -n_stdStillDet = 3; % [rpm] Speed threshold for Stand still detection -cf_currFilt = 0.12; % [%] Current filter coefficient [0, 1]. Lower values mean softer filter +z_maxCntRst = 2000; % [-] Maximum counter value for reset (works also as time-out to detect standing still) +n_commDeacvHi = 30; % [rpm] Commutation method deactivation speed high +n_commAcvLo = 15; % [rpm] Commutation method activation speed low +dz_cntTrnsDetHi = 40; % [-] Counter gradient High for transient behavior detection (used for speed estimation) +dz_cntTrnsDetLo = 20; % [-] Counter gradient Low for steady state detection (used for speed estimation) +n_stdStillDet = 3; % [rpm] Speed threshold for Stand still detection +cf_currFilt = 0.12; % [%] Current filter coefficient [0, 1]. Lower values mean softer filter + +% Motor Angle Measurement (e.g. using an encoder) +b_angleMeasEna = 0; % [-] Enable flag for external mechanical motor angle sensor: 0 = estimated (default), 1 = measured %% F02_Diagnostics b_diagEna = 1; % [-] Diagnostics enable flag: 0 = Disabled, 1 = Enabled (default) @@ -98,8 +105,8 @@ dV_openRate = 1000 / (f_ctrl/3);% [V/s] Rate for voltage cut-off in Open %% F04_Field_Weakening b_fieldWeakEna = 0; % [-] Field weakening enable flag: 0 = disable (default), 1 = enable -r_fieldWeakHi = 1500; % [-] Input target High threshold for reaching maximum Field Weakening / Phase Advance -r_fieldWeakLo = 1000; % [-] Input target Low threshold for starting Field Weakening / Phase Advance +r_fieldWeakHi = 1000; % [1000, 1500] Input target High threshold for reaching maximum Field Weakening / Phase Advance +r_fieldWeakLo = 750; % [ 500, 1000] Input target Low threshold for starting Field Weakening / Phase Advance n_fieldWeakAuthHi = 400; % [rpm] Motor speed High for field weakening authorization n_fieldWeakAuthLo = 300; % [rpm] Motor speed Low for field weakening authorization @@ -111,7 +118,7 @@ a_phaAdvMax = 25; % [deg] Maximum phase advance angle %% F05_Field_Oriented_Control -b_selPhaABCurrMeas = 1; % [-] Select measured current phases: {iA,iB} = 1 (default); {iB,iC} = 0 +z_selPhaCurMeasABC = 0; % [-] Select measured current phases: {iA,iB} = 0; {iB,iC} = 1; {iA,iC} = 2 % Motor Limitations Calibratables cf_iqKiLimProt = 60 / (f_ctrl/3); % [-] Current limit protection integral gain (only used in VLT_MODE and SPD_MODE) @@ -127,7 +134,7 @@ Vq_max_M1 = sqrt(Vd_max^2 - Vq_max_XA.^2); % Circle limitations look- % stairs(Vq_max_XA, Vq_max_M1); legend('V_{max}'); % Speed limitations -n_max = 1000; % [rpm] Maximum motor speed +n_max = 1500; % [rpm] Maximum motor speed: [-1500, 1500] % Current Limitations i_max = 15; % [A] Maximum allowed motor current (continuous)