diff --git a/BLDC_controller_ert_rtw/BLDC_controller.c b/BLDC_controller_ert_rtw/BLDC_controller.c index 2028911..439c623 100644 --- a/BLDC_controller_ert_rtw/BLDC_controller.c +++ b/BLDC_controller_ert_rtw/BLDC_controller.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'BLDC_controller'. * - * Model version : 1.1284 + * Model version : 1.1296 * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017 - * C/C++ source code generated on : Sun Oct 11 21:38:56 2020 + * C/C++ source code generated on : Tue Oct 20 17:29:57 2020 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex @@ -19,7 +19,7 @@ #include "BLDC_controller.h" -/* Named constants for Chart: '/F03_02_Control_Mode_Manager' */ +/* 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) @@ -101,35 +101,39 @@ 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 Counter_b_Init(DW_Counter_b *localDW, uint16_T rtp_z_cntInit); +extern void Counter_n(uint16_T rtu_inc, uint16_T rtu_max, boolean_T rtu_rst, + uint16_T *rty_cnt, DW_Counter_b *localDW); +extern void either_edge(boolean_T rtu_u, boolean_T *rty_y, 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); extern void I_backCalc_fixdt_Init(DW_I_backCalc_fixdt *localDW, int32_T rtp_yInit); +extern void I_backCalc_fixdt_Reset(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); +extern void PI_clamp_fixdt_Init(DW_PI_clamp_fixdt *localDW); +extern void PI_clamp_fixdt_Reset(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_d_Init(DW_PI_clamp_fixdt_m *localDW); +extern void PI_clamp_fixdt_b_Reset(DW_PI_clamp_fixdt_m *localDW); +extern void PI_clamp_fixdt_l(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, int16_T *rty_out, DW_PI_clamp_fixdt_m *localDW); +extern void PI_clamp_fixdt_f_Init(DW_PI_clamp_fixdt_g *localDW); +extern void PI_clamp_fixdt_g_Reset(DW_PI_clamp_fixdt_g *localDW); +extern void PI_clamp_fixdt_k(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, int16_T *rty_out, DW_PI_clamp_fixdt_g *localDW); uint8_T plook_u8s16_evencka(int16_T u, int16_T bp0, uint16_T bpSpace, uint32_T maxIndex) { @@ -190,23 +194,23 @@ int32_T div_nde_s32_floor(int32_T numerator, int32_T denominator) 0) ? -1 : 0) + numerator / denominator; } -/* System initialize for atomic system: '/Counter' */ +/* System initialize for atomic system: '/Counter' */ void Counter_Init(DW_Counter *localDW, int16_T rtp_z_cntInit) { - /* InitializeConditions for UnitDelay: '/UnitDelay' */ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = rtp_z_cntInit; } -/* Output and update for atomic system: '/Counter' */ +/* 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' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant23' + * UnitDelay: '/UnitDelay' */ if (rtu_rst) { rtu_rst_0 = 0; @@ -214,478 +218,40 @@ int16_T Counter(int16_T rtu_inc, int16_T rtu_max, boolean_T rtu_rst, DW_Counter rtu_rst_0 = localDW->UnitDelay_DSTATE; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ rty_cnt_0 = (int16_T)(rtu_inc + rtu_rst_0); - /* MinMax: '/MinMax' */ + /* MinMax: '/MinMax' */ if (rty_cnt_0 < rtu_max) { - /* Update for UnitDelay: '/UnitDelay' */ + /* Update for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = rty_cnt_0; } else { - /* Update for UnitDelay: '/UnitDelay' */ + /* Update for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = rtu_max; } - /* End of MinMax: '/MinMax' */ + /* 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' */ +/* System reset for atomic system: '/Low_Pass_Filter' */ void Low_Pass_Filter_Reset(DW_Low_Pass_Filter *localDW) { - /* InitializeConditions for UnitDelay: '/UnitDelay1' */ + /* InitializeConditions for UnitDelay: '/UnitDelay1' */ localDW->UnitDelay1_DSTATE[0] = 0; localDW->UnitDelay1_DSTATE[1] = 0; } -/* Output and update for atomic system: '/Low_Pass_Filter' */ +/* 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' + /* Sum: '/Sum2' incorporates: + * UnitDelay: '/UnitDelay1' */ rtb_Sum3_g = rtu_u[0] - (localDW->UnitDelay1_DSTATE[0] >> 16); if (rtb_Sum3_g > 32767) { @@ -696,21 +262,21 @@ void Low_Pass_Filter(const int16_T rtu_u[2], uint16_T rtu_coef, int16_T rty_y[2] } } - /* Sum: '/Sum3' incorporates: - * Product: '/Divide3' - * Sum: '/Sum2' - * UnitDelay: '/UnitDelay1' + /* 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' */ + /* DataTypeConversion: '/Data Type Conversion' */ rty_y[0] = (int16_T)(rtb_Sum3_g >> 16); - /* Update for UnitDelay: '/UnitDelay1' */ + /* Update for UnitDelay: '/UnitDelay1' */ localDW->UnitDelay1_DSTATE[0] = rtb_Sum3_g; - /* Sum: '/Sum2' incorporates: - * UnitDelay: '/UnitDelay1' + /* Sum: '/Sum2' incorporates: + * UnitDelay: '/UnitDelay1' */ rtb_Sum3_g = rtu_u[1] - (localDW->UnitDelay1_DSTATE[1] >> 16); if (rtb_Sum3_g > 32767) { @@ -721,122 +287,44 @@ void Low_Pass_Filter(const int16_T rtu_u[2], uint16_T rtu_coef, int16_T rty_y[2] } } - /* Sum: '/Sum3' incorporates: - * Product: '/Divide3' - * Sum: '/Sum2' - * UnitDelay: '/UnitDelay1' + /* 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' */ + /* DataTypeConversion: '/Data Type Conversion' */ rty_y[1] = (int16_T)(rtb_Sum3_g >> 16); - /* Update for UnitDelay: '/UnitDelay1' */ + /* 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' + * '/Counter' + * '/Counter' */ -void I_backCalc_fixdt_Init(DW_I_backCalc_fixdt *localDW, int32_T rtp_yInit) +void Counter_b_Init(DW_Counter_b *localDW, uint16_T rtp_z_cntInit) { - /* 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' */ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = rtp_z_cntInit; } /* * Output and update for atomic system: - * '/Counter' - * '/Counter' + * '/Counter' + * '/Counter' */ -uint16_T Counter_i(uint16_T rtu_inc, uint16_T rtu_max, boolean_T rtu_rst, - DW_Counter_l *localDW) +void Counter_n(uint16_T rtu_inc, uint16_T rtu_max, boolean_T rtu_rst, uint16_T + *rty_cnt, DW_Counter_b *localDW) { uint16_T rtu_rst_0; - uint16_T rty_cnt_0; - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant23' - * UnitDelay: '/UnitDelay' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant23' + * UnitDelay: '/UnitDelay' */ if (rtu_rst) { rtu_rst_0 = 0U; @@ -844,141 +332,672 @@ uint16_T Counter_i(uint16_T rtu_inc, uint16_T rtu_max, boolean_T rtu_rst, rtu_rst_0 = localDW->UnitDelay_DSTATE; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Sum: '/Sum1' */ - rty_cnt_0 = (uint16_T)((uint32_T)rtu_inc + rtu_rst_0); + /* Sum: '/Sum1' */ + *rty_cnt = (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; + /* MinMax: '/MinMax' */ + if (*rty_cnt < rtu_max) { + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = *rty_cnt; } else { - /* Update for UnitDelay: '/UnitDelay' */ + /* Update for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = rtu_max; } - /* End of MinMax: '/MinMax' */ - return rty_cnt_0; + /* End of MinMax: '/MinMax' */ } /* * Output and update for atomic system: - * '/either_edge' - * '/either_edge' + * '/either_edge' + * '/either_edge' */ -boolean_T either_edge(boolean_T rtu_u, DW_either_edge *localDW) +void either_edge(boolean_T rtu_u, boolean_T *rty_y, DW_either_edge *localDW) { - boolean_T rty_y_0; - - /* RelationalOperator: '/Relational Operator' incorporates: - * UnitDelay: '/UnitDelay' + /* RelationalOperator: '/Relational Operator' incorporates: + * UnitDelay: '/UnitDelay' */ - rty_y_0 = (rtu_u != localDW->UnitDelay_DSTATE); + *rty_y = (rtu_u != localDW->UnitDelay_DSTATE); - /* Update for UnitDelay: '/UnitDelay' */ + /* Update for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = rtu_u; - return rty_y_0; } -/* System initialize for atomic system: '/Debounce_Filter' */ +/* System initialize for atomic system: '/Debounce_Filter' */ void Debounce_Filter_Init(DW_Debounce_Filter *localDW) { - /* SystemInitialize for IfAction SubSystem: '/Qualification' */ + /* SystemInitialize for IfAction SubSystem: '/Qualification' */ - /* SystemInitialize for Atomic SubSystem: '/Counter' */ - Counter_b_Init(&localDW->Counter_i0, 0U); + /* SystemInitialize for Atomic SubSystem: '/Counter' */ + Counter_b_Init(&localDW->Counter_n1, 0U); - /* End of SystemInitialize for SubSystem: '/Counter' */ + /* End of SystemInitialize for SubSystem: '/Counter' */ - /* End of SystemInitialize for SubSystem: '/Qualification' */ + /* End of SystemInitialize for SubSystem: '/Qualification' */ - /* SystemInitialize for IfAction SubSystem: '/Dequalification' */ + /* SystemInitialize for IfAction SubSystem: '/Dequalification' */ - /* SystemInitialize for Atomic SubSystem: '/Counter' */ - Counter_b_Init(&localDW->Counter_h, 0U); + /* SystemInitialize for Atomic SubSystem: '/Counter' */ + Counter_b_Init(&localDW->Counter_e, 0U); - /* End of SystemInitialize for SubSystem: '/Counter' */ + /* End of SystemInitialize for SubSystem: '/Counter' */ - /* End of SystemInitialize for SubSystem: '/Dequalification' */ + /* End of SystemInitialize for SubSystem: '/Dequalification' */ } -/* Output and update for atomic system: '/Debounce_Filter' */ +/* 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; + uint16_T rtb_Sum1_n; + boolean_T rtb_RelationalOperator_g; - /* UnitDelay: '/UnitDelay' */ - rtb_UnitDelay_o = localDW->UnitDelay_DSTATE; + /* Outputs for Atomic SubSystem: '/either_edge' */ + either_edge(rtu_u, &rtb_RelationalOperator_g, &localDW->either_edge_p); - /* Outputs for Atomic SubSystem: '/either_edge' */ - rtb_RelationalOperator_f = either_edge(rtu_u, &localDW->either_edge_k); + /* End of Outputs for SubSystem: '/either_edge' */ - /* 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: '/If2' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant6' + * Inport: '/yPrev' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/UnitDelay' */ - if (rtu_u && (!rtb_UnitDelay_o)) { - /* Outputs for IfAction SubSystem: '/Qualification' incorporates: + if (rtu_u && (!localDW->UnitDelay_DSTATE)) { + /* Outputs for IfAction SubSystem: '/Qualification' incorporates: + * ActionPort: '/Action Port' + */ + + /* Outputs for Atomic SubSystem: '/Counter' */ + Counter_n(1U, rtu_tAcv, rtb_RelationalOperator_g, &rtb_Sum1_n, + &localDW->Counter_n1); + + /* End of Outputs for SubSystem: '/Counter' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * RelationalOperator: '/Relational Operator2' + */ + *rty_y = ((rtb_Sum1_n > rtu_tAcv) || localDW->UnitDelay_DSTATE); + + /* End of Outputs for SubSystem: '/Qualification' */ + } else if ((!rtu_u) && localDW->UnitDelay_DSTATE) { + /* Outputs for IfAction SubSystem: '/Dequalification' incorporates: + * ActionPort: '/Action Port' + */ + + /* Outputs for Atomic SubSystem: '/Counter' */ + Counter_n(1U, rtu_tDeacv, rtb_RelationalOperator_g, &rtb_Sum1_n, + &localDW->Counter_e); + + /* End of Outputs for SubSystem: '/Counter' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * RelationalOperator: '/Relational Operator2' + */ + *rty_y = ((!(rtb_Sum1_n > rtu_tDeacv)) && localDW->UnitDelay_DSTATE); + + /* End of Outputs for SubSystem: '/Dequalification' */ + } else { + /* Outputs for IfAction SubSystem: '/Default' incorporates: * ActionPort: '/Action Port' */ + *rty_y = localDW->UnitDelay_DSTATE; - /* 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 Outputs for SubSystem: '/Default' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ - /* Update for UnitDelay: '/UnitDelay' */ + /* Update for UnitDelay: '/UnitDelay' */ localDW->UnitDelay_DSTATE = *rty_y; } +/* + * 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_m = rtp_yInit; +} + +/* + * System reset for atomic system: + * '/I_backCalc_fixdt' + * '/I_backCalc_fixdt1' + * '/I_backCalc_fixdt' + */ +void I_backCalc_fixdt_Reset(DW_I_backCalc_fixdt *localDW, int32_T rtp_yInit) +{ + /* InitializeConditions for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE = 0; + + /* InitializeConditions for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE_m = 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_o; + int16_T rtb_DataTypeConversion1_gf; + + /* Sum: '/Sum2' incorporates: + * Product: '/Divide2' + * UnitDelay: '/UnitDelay' + */ + rtb_Sum1_o = (rtu_err * rtu_I) >> 4; + if ((rtb_Sum1_o < 0) && (localDW->UnitDelay_DSTATE < MIN_int32_T - rtb_Sum1_o)) + { + rtb_Sum1_o = MIN_int32_T; + } else if ((rtb_Sum1_o > 0) && (localDW->UnitDelay_DSTATE > MAX_int32_T + - rtb_Sum1_o)) { + rtb_Sum1_o = MAX_int32_T; + } else { + rtb_Sum1_o += localDW->UnitDelay_DSTATE; + } + + /* End of Sum: '/Sum2' */ + + /* Sum: '/Sum1' incorporates: + * UnitDelay: '/UnitDelay' + */ + rtb_Sum1_o += localDW->UnitDelay_DSTATE_m; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_DataTypeConversion1_gf = (int16_T)(rtb_Sum1_o >> 12); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_DataTypeConversion1_gf > rtu_satMax) { + *rty_out = rtu_satMax; + } else if (rtb_DataTypeConversion1_gf < rtu_satMin) { + /* Switch: '/Switch' */ + *rty_out = rtu_satMin; + } else { + *rty_out = rtb_DataTypeConversion1_gf; + } + + /* End of Switch: '/Switch2' */ + + /* Update for UnitDelay: '/UnitDelay' incorporates: + * Product: '/Divide1' + * Sum: '/Sum3' + */ + localDW->UnitDelay_DSTATE = (int16_T)(*rty_out - rtb_DataTypeConversion1_gf) * + rtu_Kb; + + /* Update for UnitDelay: '/UnitDelay' */ + localDW->UnitDelay_DSTATE_m = rtb_Sum1_o; +} + +/* 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; +} + +/* System reset for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_Reset(DW_PI_clamp_fixdt *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' */ +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_c0; + boolean_T rtb_UpperRelop_f; + int32_T rtb_Sum1_p0; + 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_p0 = 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_p0 >> 16) << 1) + tmp) >> 1; + if (tmp > 32767) { + tmp = 32767; + } else { + if (tmp < -32768) { + tmp = -32768; + } + } + + /* RelationalOperator: '/LowerRelop1' incorporates: + * Sum: '/Sum1' + */ + rtb_LowerRelop1_c0 = ((int16_T)tmp > rtu_satMax); + + /* RelationalOperator: '/UpperRelop' incorporates: + * Sum: '/Sum1' + */ + rtb_UpperRelop_f = ((int16_T)tmp < rtu_satMin); + + /* Switch: '/Switch1' incorporates: + * Sum: '/Sum1' + * Switch: '/Switch3' + */ + if (rtb_LowerRelop1_c0) { + *rty_out = rtu_satMax; + } else if (rtb_UpperRelop_f) { + /* 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_c0 || + rtb_UpperRelop_f)); + + /* Update for Delay: '/Resettable Delay' */ + localDW->icLoad = 0U; + localDW->ResettableDelay_DSTATE = rtb_Sum1_p0; +} + +/* System initialize for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_d_Init(DW_PI_clamp_fixdt_m *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_m *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' */ +void PI_clamp_fixdt_l(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, int16_T *rty_out, DW_PI_clamp_fixdt_m + *localDW) +{ + boolean_T rtb_LowerRelop1_l; + boolean_T rtb_UpperRelop_l; + int32_T rtb_Sum1_ni; + 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 << 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_ni = 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_ni >> 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_l = ((int16_T)tmp < rtu_satMin); + + /* Switch: '/Switch1' incorporates: + * Sum: '/Sum1' + * Switch: '/Switch3' + */ + if (rtb_LowerRelop1_l) { + *rty_out = rtu_satMax; + } else if (rtb_UpperRelop_l) { + /* 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_l || + rtb_UpperRelop_l)); + + /* Update for Delay: '/Resettable Delay' */ + localDW->icLoad = 0U; + localDW->ResettableDelay_DSTATE = rtb_Sum1_ni; +} + +/* System initialize for atomic system: '/PI_clamp_fixdt' */ +void PI_clamp_fixdt_f_Init(DW_PI_clamp_fixdt_g *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_g *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' */ +void PI_clamp_fixdt_k(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, int16_T *rty_out, DW_PI_clamp_fixdt_g + *localDW) +{ + boolean_T rtb_LowerRelop1_i3; + boolean_T rtb_UpperRelop_i; + int16_T rtb_Sum1_bm; + int16_T tmp; + int32_T tmp_0; + int32_T q0; + + /* 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_bm = (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_bm << 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_i3 = ((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_i3) { + *rty_out = rtu_satMax; + } else if (rtb_UpperRelop_i) { + /* Switch: '/Switch3' */ + *rty_out = rtu_satMin; + } else { + *rty_out = (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_i3 || + rtb_UpperRelop_i)); + + /* Update for Delay: '/Resettable Delay' */ + localDW->icLoad = 0U; + localDW->ResettableDelay_DSTATE = rtb_Sum1_bm; +} + /* Model step function */ void BLDC_controller_step(RT_MODEL *const rtM) { @@ -986,83 +1005,82 @@ void BLDC_controller_step(RT_MODEL *const rtM) 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_UnitDelay5_e; + uint8_T rtb_a_elecAngle_XA_g; + boolean_T rtb_LogicalOperator1_j; boolean_T rtb_LogicalOperator2_p; - boolean_T rtb_LogicalOperator4; - int16_T rtb_Switch2_k; - int16_T rtb_Abs5; - int16_T rtb_DataTypeConversion2; + boolean_T rtb_RelationalOperator1_mv; int16_T rtb_Switch1_l; int16_T rtb_Saturation; int16_T rtb_Saturation1; - int16_T rtb_Merge; - int16_T rtb_Switch2_l; - int16_T rtb_toNegative; - int32_T rtb_DataTypeConversion; + int32_T rtb_Sum1_jt; + int16_T rtb_Merge_m; + int16_T rtb_Merge1; + int16_T rtb_TmpSignalConversionAtLow_Pa[2]; int32_T rtb_Switch1; int32_T rtb_Sum1; int32_T rtb_Gain3; - int16_T rtb_TmpSignalConversionAtLow_Pa[2]; + uint8_T Sum; + int16_T Switch2; + int16_T Abs5; + int16_T DataTypeConversion2; 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' + /* 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); + 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: + /* Logic: '/Logical Operator' incorporates: * Inport: '/b_hallA ' * Inport: '/b_hallB' * Inport: '/b_hallC' - * UnitDelay: '/UnitDelay1' - * UnitDelay: '/UnitDelay2' - * UnitDelay: '/UnitDelay3' + * 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: '/If2' incorporates: + * If: '/If2' + * Inport: '/z_counterRawPrev' + * UnitDelay: '/UnitDelay3' */ if (rtb_LogicalOperator) { - /* Outputs for IfAction SubSystem: '/F01_03_Direction_Detection' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/F01_03_Direction_Detection' incorporates: + * ActionPort: '/Action Port' */ - /* UnitDelay: '/UnitDelay3' */ + /* UnitDelay: '/UnitDelay3' */ UnitDelay3 = rtDW->Switch2_e; - /* Sum: '/Sum2' incorporates: - * Constant: '/vec_hallToPos' - * Selector: '/Selector' - * UnitDelay: '/UnitDelay2' + /* Sum: '/Sum2' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + * UnitDelay: '/UnitDelay2' */ - rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[rtb_Sum] - + rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[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' + /* 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; @@ -1070,38 +1088,38 @@ void BLDC_controller_step(RT_MODEL *const rtM) rtDW->Switch2_e = -1; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Update for UnitDelay: '/UnitDelay2' incorporates: - * Constant: '/vec_hallToPos' - * Selector: '/Selector' + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' */ - rtDW->UnitDelay2_DSTATE_b = rtConstP.vec_hallToPos_Value[rtb_Sum]; + rtDW->UnitDelay2_DSTATE_b = rtConstP.vec_hallToPos_Value[Sum]; - /* End of Outputs for SubSystem: '/F01_03_Direction_Detection' */ + /* End of Outputs for SubSystem: '/F01_03_Direction_Detection' */ - /* Outputs for IfAction SubSystem: '/Raw_Motor_Speed_Estimation' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* Sum: '/Sum7' incorporates: + * Inport: '/z_counterRawPrev' + * UnitDelay: '/UnitDelay3' + * UnitDelay: '/UnitDelay4' */ - rtb_Switch2_k = (int16_T)(rtDW->z_counterRawPrev - rtDW->UnitDelay4_DSTATE); + Switch2 = (int16_T)(rtDW->z_counterRawPrev - rtDW->UnitDelay4_DSTATE); - /* Abs: '/Abs2' */ - if (rtb_Switch2_k < 0) { - rtb_Switch1_l = (int16_T)-rtb_Switch2_k; + /* Abs: '/Abs2' */ + if (Switch2 < 0) { + rtb_Switch1_l = (int16_T)-Switch2; } else { - rtb_Switch1_l = rtb_Switch2_k; + rtb_Switch1_l = Switch2; } - /* End of Abs: '/Abs2' */ + /* End of Abs: '/Abs2' */ - /* Relay: '/dz_cntTrnsDet' */ + /* Relay: '/dz_cntTrnsDet' */ if (rtb_Switch1_l >= rtP->dz_cntTrnsDetHi) { rtDW->dz_cntTrnsDet_Mode = true; } else { @@ -1112,560 +1130,138 @@ void BLDC_controller_step(RT_MODEL *const rtM) rtDW->dz_cntTrnsDet = rtDW->dz_cntTrnsDet_Mode; - /* End of Relay: '/dz_cntTrnsDet' */ + /* End of Relay: '/dz_cntTrnsDet' */ - /* RelationalOperator: '/Relational Operator4' */ + /* RelationalOperator: '/Relational Operator4' */ rtb_RelationalOperator4_d = (rtDW->Switch2_e != UnitDelay3); - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant4' - * Logic: '/Logical Operator1' - * Switch: '/Switch1' - * Switch: '/Switch2' - * UnitDelay: '/UnitDelay1' + /* 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' + /* 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' + /* 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' + /* 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' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide11' */ + /* Product: '/Divide11' */ rtDW->Divide11 = (int16_T)(rtb_Switch1_l * rtDW->Switch2_e); - /* Update for UnitDelay: '/UnitDelay4' */ + /* Update for UnitDelay: '/UnitDelay4' */ rtDW->UnitDelay4_DSTATE = rtDW->z_counterRawPrev; - /* Update for UnitDelay: '/UnitDelay2' incorporates: - * UnitDelay: '/UnitDelay3' + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * UnitDelay: '/UnitDelay3' */ rtDW->UnitDelay2_DSTATE = rtDW->UnitDelay3_DSTATE_o; - /* Update for UnitDelay: '/UnitDelay3' incorporates: - * UnitDelay: '/UnitDelay5' + /* Update for UnitDelay: '/UnitDelay3' incorporates: + * UnitDelay: '/UnitDelay5' */ rtDW->UnitDelay3_DSTATE_o = rtDW->UnitDelay5_DSTATE; - /* Update for UnitDelay: '/UnitDelay5' */ + /* Update for UnitDelay: '/UnitDelay5' */ rtDW->UnitDelay5_DSTATE = rtDW->z_counterRawPrev; - /* Update for UnitDelay: '/UnitDelay1' */ + /* Update for UnitDelay: '/UnitDelay1' */ rtDW->UnitDelay1_DSTATE_n = rtb_RelationalOperator4_d; - /* End of Outputs for SubSystem: '/Raw_Motor_Speed_Estimation' */ + /* End of Outputs for SubSystem: '/Raw_Motor_Speed_Estimation' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ - /* Outputs for Atomic SubSystem: '/Counter' */ + /* Outputs for Atomic SubSystem: '/Counter' */ - /* Constant: '/Constant6' incorporates: - * Constant: '/z_maxCntRst2' + /* 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' */ + /* End of Outputs for SubSystem: '/Counter' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' - * Constant: '/z_maxCntRst' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' + * Constant: '/z_maxCntRst' + * RelationalOperator: '/Relational Operator2' */ if (rtb_Switch1_l > rtP->z_maxCntRst) { - rtb_Switch2_k = 0; + Switch2 = 0; } else { - rtb_Switch2_k = rtDW->Divide11; + Switch2 = rtDW->Divide11; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Abs: '/Abs5' */ - if (rtb_Switch2_k < 0) { - rtb_Abs5 = (int16_T)-rtb_Switch2_k; + /* Abs: '/Abs5' */ + if (Switch2 < 0) { + Abs5 = (int16_T)-Switch2; } else { - rtb_Abs5 = rtb_Switch2_k; + Abs5 = Switch2; } - /* End of Abs: '/Abs5' */ + /* End of Abs: '/Abs5' */ - /* Relay: '/n_commDeacv' */ - if (rtb_Abs5 >= rtP->n_commDeacvHi) { + /* Relay: '/n_commDeacv' */ + if (Abs5 >= rtP->n_commDeacvHi) { rtDW->n_commDeacv_Mode = true; } else { - if (rtb_Abs5 <= rtP->n_commAcvLo) { + if (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' + /* 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))); + /* UnitDelay: '/UnitDelay2' */ + rtb_RelationalOperator4_d = rtDW->UnitDelay2_DSTATE_c; + + /* UnitDelay: '/UnitDelay5' */ + rtb_UnitDelay5_e = rtDW->UnitDelay5_DSTATE_m; + /* 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; + DataTypeConversion2 = (int16_T)(rtU->r_inpTgt << 4); /* Saturate: '/Saturation' incorporates: * Inport: '/i_phaAB' @@ -1695,207 +1291,108 @@ void BLDC_controller_step(RT_MODEL *const rtM) /* End of Saturate: '/Saturation1' */ - /* If: '/If1' incorporates: - * Constant: '/b_angleMeasEna' + /* If: '/If1' incorporates: + * Constant: '/b_angleMeasEna' */ if (!rtP->b_angleMeasEna) { - /* Outputs for IfAction SubSystem: '/F01_05_Electrical_Angle_Estimation' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant16' + * Product: '/Divide1' + * Product: '/Divide3' + * RelationalOperator: '/Relational Operator7' + * Sum: '/Sum3' + * Switch: '/Switch3' */ if (rtb_LogicalOperator) { - /* MinMax: '/MinMax' */ - rtb_Merge = rtb_Switch1_l; - if (!(rtb_Merge < rtDW->z_counterRawPrev)) { - rtb_Merge = rtDW->z_counterRawPrev; + /* MinMax: '/MinMax' */ + rtb_Merge_m = rtb_Switch1_l; + if (!(rtb_Merge_m < rtDW->z_counterRawPrev)) { + rtb_Merge_m = rtDW->z_counterRawPrev; } - /* End of MinMax: '/MinMax' */ + /* End of MinMax: '/MinMax' */ - /* Switch: '/Switch3' incorporates: - * Constant: '/vec_hallToPos' - * Constant: '/Constant16' - * RelationalOperator: '/Relational Operator7' - * Selector: '/Selector' - * Sum: '/Sum1' + /* 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]; + rtb_Sum2_h = rtConstP.vec_hallToPos_Value[Sum]; } else { - rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[rtb_Sum] + 1); + rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[Sum] + 1); } - rtb_Merge = (int16_T)(((int16_T)((int16_T)((rtb_Merge << 14) / + rtb_Merge_m = (int16_T)(((int16_T)((int16_T)((rtb_Merge_m << 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' + /* Switch: '/Switch3' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' */ - rtb_Sum2_h = rtConstP.vec_hallToPos_Value[rtb_Sum]; + rtb_Sum2_h = rtConstP.vec_hallToPos_Value[Sum]; } else { - /* Switch: '/Switch3' incorporates: - * Constant: '/vec_hallToPos' - * Selector: '/Selector' - * Sum: '/Sum1' + /* Switch: '/Switch3' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' + * Sum: '/Sum1' */ - rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[rtb_Sum] + 1); + rtb_Sum2_h = (int8_T)(rtConstP.vec_hallToPos_Value[Sum] + 1); } - rtb_Merge = (int16_T)(rtb_Sum2_h << 12); + rtb_Merge_m = (int16_T)(rtb_Sum2_h << 12); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MinMax: '/MinMax1' incorporates: - * Constant: '/Constant1' + /* MinMax: '/MinMax1' incorporates: + * Constant: '/Constant1' */ - if (!(rtb_Merge > 0)) { - rtb_Merge = 0; + if (!(rtb_Merge_m > 0)) { + rtb_Merge_m = 0; } - /* End of MinMax: '/MinMax1' */ + /* End of MinMax: '/MinMax1' */ - /* SignalConversion: '/Signal Conversion2' incorporates: - * Product: '/Divide2' + /* SignalConversion: '/Signal Conversion2' incorporates: + * Product: '/Divide2' */ - rtb_Merge = (int16_T)((15 * rtb_Merge) >> 4); + rtb_Merge_m = (int16_T)((15 * rtb_Merge_m) >> 4); - /* End of Outputs for SubSystem: '/F01_05_Electrical_Angle_Estimation' */ + /* End of Outputs for SubSystem: '/F01_05_Electrical_Angle_Estimation' */ } else { - /* Outputs for IfAction SubSystem: '/F01_06_Electrical_Angle_Measurement' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/F01_06_Electrical_Angle_Measurement' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum1' incorporates: - * Constant: '/Constant2' - * Constant: '/n_polePairs' + /* Sum: '/Sum1' incorporates: + * Constant: '/Constant2' + * Constant: '/n_polePairs' * Inport: '/a_mechAngle' - * Product: '/Divide' + * Product: '/Divide' */ - rtb_DataTypeConversion = rtU->a_mechAngle * rtP->n_polePairs - 480; + rtb_Sum1_jt = rtU->a_mechAngle * rtP->n_polePairs - 480; - /* DataTypeConversion: '/Data Type Conversion20' incorporates: - * Constant: '/a_elecPeriod' - * Product: '/Divide2' - * Product: '/Divide3' - * Sum: '/Sum3' + /* DataTypeConversion: '/Data Type Conversion20' incorporates: + * Constant: '/a_elecPeriod' + * Product: '/Divide2' + * Product: '/Divide3' + * Sum: '/Sum3' */ - rtb_Merge = (int16_T)((int16_T)(rtb_DataTypeConversion - ((int16_T)((int16_T) - div_nde_s32_floor(rtb_DataTypeConversion, 5760) * 360) << 4)) << 2); + rtb_Merge_m = (int16_T)((int16_T)(rtb_Sum1_jt - ((int16_T)((int16_T) + div_nde_s32_floor(rtb_Sum1_jt, 5760) * 360) << 4)) << 2); - /* End of Outputs for SubSystem: '/F01_06_Electrical_Angle_Measurement' */ + /* End of Outputs for SubSystem: '/F01_06_Electrical_Angle_Measurement' */ } - /* End of If: '/If1' */ + /* 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: + /* If: '/If1' incorporates: * Constant: '/z_ctrlTypSel' */ rtb_Sum2_h = rtDW->If1_ActiveSubsystem; @@ -1906,89 +1403,61 @@ void BLDC_controller_step(RT_MODEL *const rtM) rtDW->If1_ActiveSubsystem = UnitDelay3; if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { - /* Disable for If: '/If2' */ + /* Disable for If: '/If2' */ if (rtDW->If2_ActiveSubsystem_a == 0) { - /* Disable for Outport: '/iq' */ + /* Disable for Outport: '/iq' */ rtDW->DataTypeConversion[0] = 0; - /* Disable for Outport: '/id' */ + /* Disable for Outport: '/iqAbs' */ + rtDW->Abs5_h = 0; + + /* Disable for Outport: '/id' */ rtDW->DataTypeConversion[1] = 0; } rtDW->If2_ActiveSubsystem_a = -1; - /* End of Disable for If: '/If2' */ + /* 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; - } + /* Disable for Outport: '/r_sin' */ + rtDW->r_sin_M1 = 0; - rtDW->If1_ActiveSubsystem_e = -1; + /* Disable for Outport: '/r_cos' */ + rtDW->r_cos_M1 = 0; - /* 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' */ + /* Disable for Outport: '/iq' */ rtDW->DataTypeConversion[0] = 0; - /* Disable for Outport: '/id' */ + /* Disable for Outport: '/id' */ rtDW->DataTypeConversion[1] = 0; + + /* Disable for Outport: '/iqAbs' */ + rtDW->Abs5_h = 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' + /* Outputs for IfAction SubSystem: '/Clarke_Park_Transform_Forward' 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: '/If1' incorporates: + * Constant: '/z_selPhaCurMeasABC' */ if (rtP->z_selPhaCurMeasABC == 0) { - /* Outputs for IfAction SubSystem: '/Clarke_PhasesAB' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Clarke_PhasesAB' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Gain3 = 18919 * rtb_Saturation; - /* Gain: '/Gain2' */ - rtb_DataTypeConversion = 18919 * rtb_Saturation1; + /* Gain: '/Gain2' */ + rtb_Sum1_jt = 18919 * rtb_Saturation1; - /* Sum: '/Sum1' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain4' + /* 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); + (((rtb_Sum1_jt < 0 ? 16383 : 0) + rtb_Sum1_jt) >> 14); if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -1997,15 +1466,15 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - rtb_DataTypeConversion2 = (int16_T)rtb_Gain3; + rtb_Merge1 = (int16_T)rtb_Gain3; - /* End of Sum: '/Sum1' */ - /* End of Outputs for SubSystem: '/Clarke_PhasesAB' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Clarke_PhasesBC' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum3' */ + /* Sum: '/Sum3' */ rtb_Gain3 = rtb_Saturation - rtb_Saturation1; if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; @@ -2015,14 +1484,13 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Gain: '/Gain2' incorporates: - * Sum: '/Sum3' + /* Gain: '/Gain2' incorporates: + * Sum: '/Sum3' */ rtb_Gain3 *= 18919; - rtb_DataTypeConversion2 = (int16_T)(((rtb_Gain3 < 0 ? 32767 : 0) + - rtb_Gain3) >> 15); + rtb_Merge1 = (int16_T)(((rtb_Gain3 < 0 ? 32767 : 0) + rtb_Gain3) >> 15); - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ rtb_Gain3 = -rtb_Saturation - rtb_Saturation1; if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; @@ -2034,25 +1502,24 @@ void BLDC_controller_step(RT_MODEL *const rtM) rtb_Saturation = (int16_T)rtb_Gain3; - /* End of Sum: '/Sum1' */ - /* End of Outputs for SubSystem: '/Clarke_PhasesBC' */ + /* End of Sum: '/Sum1' */ + /* End of Outputs for SubSystem: '/Clarke_PhasesBC' */ } else { - /* Outputs for IfAction SubSystem: '/Clarke_PhasesAC' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Clarke_PhasesAC' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Gain3 = 18919 * rtb_Saturation; - /* Gain: '/Gain2' */ - rtb_DataTypeConversion = 18919 * rtb_Saturation1; + /* Gain: '/Gain2' */ + rtb_Sum1_jt = 18919 * rtb_Saturation1; - /* Sum: '/Sum1' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain4' + /* 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); + (((rtb_Sum1_jt < 0 ? 16383 : 0) + rtb_Sum1_jt) >> 14); if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2061,19 +1528,25 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - rtb_DataTypeConversion2 = (int16_T)rtb_Gain3; + rtb_Merge1 = (int16_T)rtb_Gain3; - /* End of Sum: '/Sum1' */ - /* End of Outputs for SubSystem: '/Clarke_PhasesAC' */ + /* End of Sum: '/Sum1' */ + /* End of Outputs for SubSystem: '/Clarke_PhasesAC' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* PreLookup: '/a_elecAngle_XA' */ - rtb_Sum_l = plook_u8s16_evencka(rtb_Merge, 0, 128U, 180U); + /* PreLookup: '/a_elecAngle_XA' */ + rtb_a_elecAngle_XA_g = plook_u8s16_evencka(rtb_Merge_m, 0, 128U, 180U); - /* If: '/If2' incorporates: - * Constant: '/cf_currFilt' + /* Interpolation_n-D: '/r_sin_M1' */ + rtDW->r_sin_M1 = rtConstP.r_sin_M1_Table[rtb_a_elecAngle_XA_g]; + + /* Interpolation_n-D: '/r_cos_M1' */ + rtDW->r_cos_M1 = rtConstP.r_cos_M1_Table[rtb_a_elecAngle_XA_g]; + + /* If: '/If2' incorporates: + * Constant: '/cf_currFilt' * Inport: '/b_motEna' */ rtb_Sum2_h = rtDW->If2_ActiveSubsystem_a; @@ -2084,38 +1557,38 @@ void BLDC_controller_step(RT_MODEL *const rtM) rtDW->If2_ActiveSubsystem_a = UnitDelay3; if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { - /* Disable for Outport: '/iq' */ + /* Disable for Outport: '/iq' */ rtDW->DataTypeConversion[0] = 0; - /* Disable for Outport: '/id' */ + /* Disable for Outport: '/iqAbs' */ + rtDW->Abs5_h = 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 IfAction SubSystem: '/Current_Filtering' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for Atomic SubSystem: '/Low_Pass_Filter' */ + /* SystemReset for Atomic SubSystem: '/Low_Pass_Filter' */ - /* SystemReset for If: '/If2' */ + /* 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: '/Low_Pass_Filter' */ - /* End of SystemReset for SubSystem: '/Current_Filtering' */ + /* 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' + /* Sum: '/Sum6' incorporates: + * Product: '/Divide1' + * Product: '/Divide4' */ - rtb_Gain3 = (int16_T)((rtb_DataTypeConversion2 * - rtConstP.r_cos_M1_Table[rtb_Sum_l]) >> 14) - (int16_T)((rtb_Saturation * - rtConstP.r_sin_M1_Table[rtb_Sum_l]) >> 14); + rtb_Gain3 = (int16_T)((rtb_Merge1 * rtDW->r_cos_M1) >> 14) - (int16_T) + ((rtb_Saturation * rtDW->r_sin_M1) >> 14); if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2124,25 +1597,22 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Outputs for IfAction SubSystem: '/Current_Filtering' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current_Filtering' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/TmpSignal ConversionAtLow_Pass_FilterInport1' incorporates: - * Sum: '/Sum6' + /* SignalConversion: '/TmpSignal ConversionAtLow_Pass_FilterInport1' incorporates: + * Sum: '/Sum6' */ rtb_TmpSignalConversionAtLow_Pa[0] = (int16_T)rtb_Gain3; - /* End of Outputs for SubSystem: '/Current_Filtering' */ + /* 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' + /* Sum: '/Sum1' incorporates: + * Product: '/Divide2' + * Product: '/Divide3' */ - rtb_Gain3 = (int16_T)((rtb_Saturation * rtConstP.r_cos_M1_Table[rtb_Sum_l]) - >> 14) + (int16_T)((rtb_DataTypeConversion2 * - rtConstP.r_sin_M1_Table[rtb_Sum_l]) >> 14); + rtb_Gain3 = (int16_T)((rtb_Saturation * rtDW->r_cos_M1) >> 14) + (int16_T) + ((rtb_Merge1 * rtDW->r_sin_M1) >> 14); if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2151,65 +1621,615 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Outputs for IfAction SubSystem: '/Current_Filtering' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current_Filtering' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/TmpSignal ConversionAtLow_Pass_FilterInport1' incorporates: - * Sum: '/Sum1' + /* SignalConversion: '/TmpSignal ConversionAtLow_Pass_FilterInport1' incorporates: + * Sum: '/Sum1' */ rtb_TmpSignalConversionAtLow_Pa[1] = (int16_T)rtb_Gain3; - /* Outputs for Atomic SubSystem: '/Low_Pass_Filter' */ + /* 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: '/Low_Pass_Filter' */ - /* End of Outputs for SubSystem: '/Current_Filtering' */ + /* Abs: '/Abs5' incorporates: + * Constant: '/cf_currFilt' + */ + if (rtDW->DataTypeConversion[0] < 0) { + rtDW->Abs5_h = (int16_T)-rtDW->DataTypeConversion[0]; + } else { + rtDW->Abs5_h = rtDW->DataTypeConversion[0]; + } + + /* End of Abs: '/Abs5' */ + /* End of Outputs for SubSystem: '/Current_Filtering' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Clarke_Park_Transform_Forward' */ + } - /* If: '/If3' incorporates: - * Constant: '/Vd_max1' - * Constant: '/i_max' - * UnitDelay: '/UnitDelay5' + /* End of If: '/If1' */ + + /* Chart: '/Task_Scheduler' incorporates: + * UnitDelay: '/UnitDelay2' + * UnitDelay: '/UnitDelay5' + * UnitDelay: '/UnitDelay6' + */ + if (rtDW->UnitDelay2_DSTATE_c) { + /* Outputs for Function Call SubSystem: '/F02_Diagnostics' */ + /* If: '/If2' incorporates: + * Constant: '/CTRL_COMM2' + * Constant: '/t_errDequal' + * Constant: '/t_errQual' + * Constant: '/b_diagEna' + * RelationalOperator: '/Relational Operator2' */ - if (rtDW->UnitDelay5_DSTATE_l) { - /* Outputs for IfAction SubSystem: '/Motor_Limitations' incorporates: - * ActionPort: '/Action Port' + if (rtP->b_diagEna) { + /* Outputs for IfAction SubSystem: '/Diagnostics_Enabled' 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 ((rtDW->UnitDelay_DSTATE_e & 4) != 0) { + rtb_RelationalOperator1_mv = true; + } else { + if (rtDW->UnitDelay4_DSTATE_eu < 0) { + /* Abs: '/Abs4' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtb_Saturation1 = (int16_T)-rtDW->UnitDelay4_DSTATE_eu; + } else { + /* Abs: '/Abs4' incorporates: + * UnitDelay: '/UnitDelay4' + */ + rtb_Saturation1 = rtDW->UnitDelay4_DSTATE_eu; + } + + rtb_RelationalOperator1_mv = (rtU->b_motEna && (Abs5 < + rtP->n_stdStillDet) && (rtb_Saturation1 > 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_a_elecAngle_XA_g = (uint8_T)(((uint32_T)((Sum == 7) << 1) + (Sum == 0)) + + (rtb_RelationalOperator1_mv << 2)); + + /* Outputs for Atomic SubSystem: '/Debounce_Filter' */ + Debounce_Filter(rtb_a_elecAngle_XA_g != 0, rtP->t_errQual, + rtP->t_errDequal, &rtDW->Merge_p, &rtDW->Debounce_Filter_k); + + /* End of Outputs for SubSystem: '/Debounce_Filter' */ + + /* Outputs for Atomic SubSystem: '/either_edge' */ + either_edge(rtDW->Merge_p, &rtb_RelationalOperator1_mv, + &rtDW->either_edge_i); + + /* 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_mv) { + /* Outport: '/z_errCode' */ + rtY->z_errCode = rtb_a_elecAngle_XA_g; + } else { + /* Outport: '/z_errCode' incorporates: + * UnitDelay: '/UnitDelay' + */ + rtY->z_errCode = rtDW->UnitDelay_DSTATE_e; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/UnitDelay' incorporates: + * Outport: '/z_errCode' + */ + rtDW->UnitDelay_DSTATE_e = rtY->z_errCode; + + /* End of Outputs for SubSystem: '/Diagnostics_Enabled' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/F02_Diagnostics' */ + + /* Outputs for Function Call SubSystem: '/F03_Control_Mode_Manager' */ + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/constant8' + * Inport: '/b_motEna' + * Inport: '/z_ctrlModReq' + * Logic: '/Logical Operator7' + * RelationalOperator: '/Relational Operator10' + */ + rtb_RelationalOperator1_mv = (rtDW->Merge_p || (!rtU->b_motEna) || + (rtU->z_ctrlModReq == 0)); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/b_cruiseCtrlEna' + * Constant: '/constant1' + * Inport: '/z_ctrlModReq' + * RelationalOperator: '/Relational Operator1' + */ + rtb_LogicalOperator1_j = ((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)); + + /* 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_RelationalOperator1_mv) { + 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_LogicalOperator1_j) { + 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_LogicalOperator1_j) { + 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_LogicalOperator1_j) { + 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_LogicalOperator1_j) { + 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_RelationalOperator1_mv) && ((rtU->z_ctrlModReq == 1) || + rtb_LogicalOperator1_j || 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_LogicalOperator1_j) { + 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 (DataTypeConversion2 > 16000) { + DataTypeConversion2 = 16000; + } else { + if (DataTypeConversion2 < -16000) { + DataTypeConversion2 = -16000; + } + } + + /* Outputs for IfAction SubSystem: '/FOC_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* Product: '/Divide1' incorporates: + * Inport: '/z_ctrlModReq' + * Product: '/Divide4' + * Selector: '/Selector' + */ + rtb_Saturation = (int16_T)(((uint16_T)((tmp[rtU->z_ctrlModReq] << 5) / 125) + * DataTypeConversion2) >> 12); + + /* End of Outputs for SubSystem: '/FOC_Control_Type' */ + } else if (DataTypeConversion2 > 16000) { + /* Outputs for IfAction SubSystem: '/Default_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Inport: '/r_inpTgt' + */ + rtb_Saturation = 16000; + + /* End of Outputs for SubSystem: '/Default_Control_Type' */ + } else if (DataTypeConversion2 < -16000) { + /* Outputs for IfAction SubSystem: '/Default_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Inport: '/r_inpTgt' + */ + rtb_Saturation = -16000; + + /* End of Outputs for SubSystem: '/Default_Control_Type' */ + } else { + /* Outputs for IfAction SubSystem: '/Default_Control_Type' incorporates: + * ActionPort: '/Action Port' + */ + rtb_Saturation = 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_f; + UnitDelay3 = (int8_T)!(rtDW->z_ctrlMod == 0); + rtDW->If2_ActiveSubsystem_f = 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_Sum1_jt = (rtb_Gain3 & 134217728) != 0 ? rtb_Gain3 | -134217728 : + rtb_Gain3 & 134217727; + + /* Outputs for Atomic SubSystem: '/rising_edge_init' */ + /* UnitDelay: '/UnitDelay' */ + rtb_RelationalOperator1_mv = 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_mv) { + rtb_Switch1 = rtb_Sum1_jt; + } 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_mv) { + /* Update for UnitDelay: '/UnitDelay' */ + rtDW->UnitDelay_DSTATE = rtb_Sum1_jt; + } 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_Saturation; + + /* End of Outputs for SubSystem: '/Default_Mode' */ + break; + } + + /* End of If: '/If2' */ + + /* Abs: '/Abs1' */ + if (rtDW->Merge1 < 0) { + rtDW->Abs1 = (int16_T)-rtDW->Merge1; + } else { + rtDW->Abs1 = rtDW->Merge1; + } + + /* End of Abs: '/Abs1' */ + /* End of Outputs for SubSystem: '/F03_Control_Mode_Manager' */ + } else if (rtDW->UnitDelay5_DSTATE_m) { + /* Outputs for Function Call SubSystem: '/F04_Field_Weakening' */ + /* If: '/If3' incorporates: + * Constant: '/b_fieldWeakEna' + */ + if (rtP->b_fieldWeakEna) { + /* Outputs for IfAction SubSystem: '/Field_Weakening_Enabled' incorporates: + * ActionPort: '/Action Port' + */ + /* Abs: '/Abs5' */ + if (DataTypeConversion2 < 0) { + DataTypeConversion2 = (int16_T)-DataTypeConversion2; + } + + /* End of Abs: '/Abs5' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/r_fieldWeakHi' + * Constant: '/r_fieldWeakLo' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (DataTypeConversion2 > rtP->r_fieldWeakHi) { + DataTypeConversion2 = rtP->r_fieldWeakHi; + } else { + if (DataTypeConversion2 < rtP->r_fieldWeakLo) { + /* Switch: '/Switch' incorporates: + * Constant: '/r_fieldWeakLo' + */ + DataTypeConversion2 = rtP->r_fieldWeakLo; + } + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/z_ctrlTypSel' + * Constant: '/CTRL_COMM2' + * Constant: '/a_phaAdvMax' + * Constant: '/id_fieldWeakMax' + * RelationalOperator: '/Relational Operator1' + */ + if (rtP->z_ctrlTypSel == 2) { + rtb_Saturation1 = rtP->id_fieldWeakMax; + } else { + rtb_Saturation1 = rtP->a_phaAdvMax; + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/n_fieldWeakAuthHi' + * Constant: '/n_fieldWeakAuthLo' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (Abs5 > rtP->n_fieldWeakAuthHi) { + rtb_Saturation = rtP->n_fieldWeakAuthHi; + } else if (Abs5 < rtP->n_fieldWeakAuthLo) { + /* Switch: '/Switch' incorporates: + * Constant: '/n_fieldWeakAuthLo' + */ + rtb_Saturation = rtP->n_fieldWeakAuthLo; + } else { + rtb_Saturation = 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) + (DataTypeConversion2 - rtP->r_fieldWeakLo) << 15) / (int16_T) + (rtP->r_fieldWeakHi - rtP->r_fieldWeakLo)) * (uint16_T)(((int16_T) + (rtb_Saturation - rtP->n_fieldWeakAuthLo) << 15) / (int16_T) + (rtP->n_fieldWeakAuthHi - rtP->n_fieldWeakAuthLo))) >> 15) * + rtb_Saturation1) >> 15); + + /* End of Outputs for SubSystem: '/Field_Weakening_Enabled' */ + } + + /* End of If: '/If3' */ + /* End of Outputs for SubSystem: '/F04_Field_Weakening' */ + + /* Outputs for Function Call SubSystem: '/Motor_Limitations' */ + /* If: '/If1' incorporates: + * Constant: '/z_ctrlTypSel' + * Constant: '/Vd_max1' + * Constant: '/i_max' + */ + rtb_Sum2_h = rtDW->If1_ActiveSubsystem_o; + UnitDelay3 = -1; + if (rtP->z_ctrlTypSel == 2) { + UnitDelay3 = 0; + } + + rtDW->If1_ActiveSubsystem_o = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for SwitchCase: '/Switch Case' */ + rtDW->SwitchCase_ActiveSubsystem_d = -1; + } + + if (UnitDelay3 == 0) { + /* Outputs for IfAction SubSystem: '/Motor_Limitations_Enabled' incorporates: + * ActionPort: '/Action Port' */ rtDW->Vd_max1 = rtP->Vd_max; - /* Gain: '/Gain3' incorporates: - * Constant: '/Vd_max1' + /* 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' + /* 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; + if (rtDW->Switch1 < 0) { + rtb_Saturation1 = (int16_T)-rtDW->Switch1; } else { - rtb_Merge_f_idx_2 = rtDW->UnitDelay4_DSTATE_h; + rtb_Saturation1 = rtDW->Switch1; } - rtDW->Vq_max_M1 = rtP->Vq_max_M1[plook_u8s16_evencka(rtb_Merge_f_idx_2, + rtDW->Vq_max_M1 = rtP->Vq_max_M1[plook_u8s16_evencka(rtb_Saturation1, 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' */ + /* End of Interpolation_n-D: '/Vq_max_M1' */ - /* Gain: '/Gain5' */ + /* 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' + /* 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) ? @@ -2222,202 +2242,37 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Product: '/Divide1' incorporates: - * Interpolation_n-D: '/iq_maxSca_M1' - * PreLookup: '/iq_maxSca_XA' - * Product: '/Divide4' + /* Product: '/Divide1' incorporates: + * Interpolation_n-D: '/iq_maxSca_M1' + * PreLookup: '/iq_maxSca_XA' + * Product: '/Divide4' */ - rtDW->Divide1_a = (int16_T) + rtDW->Divide1_n = (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; + /* Gain: '/Gain1' */ + rtDW->Gain1 = (int16_T)-rtDW->Divide1_n; - /* 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' + /* 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' */ + rtb_Sum2_h = rtDW->SwitchCase_ActiveSubsystem_d; + UnitDelay3 = -1; 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: + UnitDelay3 = 0; break; case 2: @@ -2427,257 +2282,533 @@ void BLDC_controller_step(RT_MODEL *const rtM) case 3: UnitDelay3 = 2; break; - - default: - UnitDelay3 = 3; - break; } - rtDW->SwitchCase_ActiveSubsystem = UnitDelay3; + rtDW->SwitchCase_ActiveSubsystem_d = 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_Saturation = (int16_T)(rtb_Switch2_l * rtb_Merge_f_idx_2); - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_Saturation > rtDW->Vq_max_M1) { - /* SignalConversion: '/Signal Conversion2' */ - rtDW->Merge = rtDW->Vq_max_M1; - } else if (rtb_Saturation < rtDW->Gain5) { - /* Switch: '/Switch' incorporates: - * SignalConversion: '/Signal Conversion2' + if (UnitDelay3 != rtb_Sum2_h) { + /* SystemReset for IfAction SubSystem: '/Voltage_Mode_Protection' incorporates: + * ActionPort: '/Action Port' */ - rtDW->Merge = rtDW->Gain5; - } else { - /* SignalConversion: '/Signal Conversion2' incorporates: - * Switch: '/Switch' - */ - rtDW->Merge = rtb_Saturation; + + /* SystemReset for Atomic SubSystem: '/I_backCalc_fixdt' */ + + /* SystemReset for SwitchCase: '/Switch Case' */ + I_backCalc_fixdt_Reset(&rtDW->I_backCalc_fixdt_i, 65536000); + + /* End of SystemReset for SubSystem: '/I_backCalc_fixdt' */ + + /* SystemReset for Atomic SubSystem: '/I_backCalc_fixdt1' */ + I_backCalc_fixdt_Reset(&rtDW->I_backCalc_fixdt1, 65536000); + + /* End of SystemReset for SubSystem: '/I_backCalc_fixdt1' */ + + /* End of SystemReset for SubSystem: '/Voltage_Mode_Protection' */ } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Voltage_Mode' */ + /* 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_n - rtDW->Abs5_h), + rtP->cf_iqKiLimProt, rtP->cf_KbLimProt, rtDW->Abs1, 0, + &rtDW->Switch2_a, &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 - Abs5), rtP->cf_nKiLimProt, + rtP->cf_KbLimProt, rtDW->Abs1, 0, &rtDW->Switch2_o, + &rtDW->I_backCalc_fixdt1); + + /* End of Outputs for SubSystem: '/I_backCalc_fixdt1' */ + + /* End of Outputs for SubSystem: '/Voltage_Mode_Protection' */ 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' + /* Outputs for IfAction SubSystem: '/Speed_Mode_Protection' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Constant: '/n_cruiseMotTgt' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - rtb_Saturation = (int16_T)(rtP->n_cruiseMotTgt << 4); - - /* Switch: '/Switch4' incorporates: - * Constant: '/b_cruiseCtrlEna' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator3' - */ - if (rtP->b_cruiseCtrlEna && (rtb_Saturation != 0)) { - /* Switch: '/Switch3' incorporates: - * MinMax: '/MinMax4' - */ - if (rtb_Saturation > 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' */ + if (rtDW->DataTypeConversion[0] > rtDW->Divide1_n) { + rtb_Saturation1 = rtDW->Divide1_n; + } else if (rtDW->DataTypeConversion[0] < rtDW->Gain1) { + /* Switch: '/Switch' */ + rtb_Saturation1 = rtDW->Gain1; } else { - rtb_TmpSignalConversionAtLow_Pa[0] = rtDW->Vq_max_M1; - rtb_TmpSignalConversionAtLow_Pa[1] = rtDW->Gain5; + rtb_Saturation1 = rtDW->DataTypeConversion[0]; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/b_cruiseCtrlEna' + /* Product: '/Divide1' incorporates: + * Constant: '/cf_iqKiLimProt' + * Sum: '/Sum3' */ - if (!rtP->b_cruiseCtrlEna) { - rtb_Saturation = rtDW->Merge1; - } + rtDW->Divide1 = (int16_T)(rtb_Saturation1 - rtDW->DataTypeConversion[0]) + * rtP->cf_iqKiLimProt; - /* End of Switch: '/Switch2' */ - - /* Sum: '/Sum3' */ - rtb_Gain3 = rtb_Saturation - 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' */ + /* End of Outputs for SubSystem: '/Speed_Mode_Protection' */ break; case 2: if (UnitDelay3 != rtb_Sum2_h) { - /* SystemReset for IfAction SubSystem: '/Torque_Mode' incorporates: - * ActionPort: '/Action Port' + /* SystemReset for IfAction SubSystem: '/Torque_Mode_Protection' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for Atomic SubSystem: '/PI_clamp_fixdt' */ + /* SystemReset for Atomic SubSystem: '/I_backCalc_fixdt' */ - /* SystemReset for SwitchCase: '/Switch Case' */ - PI_clamp_fixdt_b_Reset(&rtDW->PI_clamp_fixdt_at); + /* SystemReset for SwitchCase: '/Switch Case' */ + I_backCalc_fixdt_Reset(&rtDW->I_backCalc_fixdt_j, 58982400); - /* End of SystemReset for SubSystem: '/PI_clamp_fixdt' */ + /* End of SystemReset for SubSystem: '/I_backCalc_fixdt' */ - /* End of SystemReset for SubSystem: '/Torque_Mode' */ + /* End of SystemReset for SubSystem: '/Torque_Mode_Protection' */ } - /* Outputs for IfAction SubSystem: '/Torque_Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Torque_Mode_Protection' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/Gain4' */ - rtb_Saturation = (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; - } + /* Outputs for Atomic SubSystem: '/I_backCalc_fixdt' */ + I_backCalc_fixdt((int16_T)(rtP->n_max - Abs5), rtP->cf_nKiLimProt, + rtP->cf_KbLimProt, rtDW->Vq_max_M1, 0, &rtDW->Switch2_i, + &rtDW->I_backCalc_fixdt_j); - /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/I_backCalc_fixdt' */ - /* 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_Saturation > rtDW->Gain5)) { - rtb_Saturation = 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_Saturation, 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' */ + /* End of Outputs for SubSystem: '/Torque_Mode_Protection' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/FOC' */ + /* End of SwitchCase: '/Switch Case' */ + + /* Gain: '/Gain4' */ + rtDW->Gain4 = (int16_T)-rtDW->i_max; + + /* End of Outputs for SubSystem: '/Motor_Limitations_Enabled' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Motor_Limitations' */ + } else { + if (rtDW->UnitDelay6_DSTATE) { + /* Outputs for Function Call SubSystem: '/FOC' */ + /* If: '/If1' incorporates: + * Constant: '/z_ctrlTypSel' + */ + rtb_Sum2_h = rtDW->If1_ActiveSubsystem_j; + UnitDelay3 = -1; + if (rtP->z_ctrlTypSel == 2) { + UnitDelay3 = 0; + } - /* Sum: '/Sum6' incorporates: - * Interpolation_n-D: '/r_cos_M1' - * Interpolation_n-D: '/r_sin_M1' - * Product: '/Divide1' - * Product: '/Divide4' + rtDW->If1_ActiveSubsystem_j = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for SwitchCase: '/Switch Case' */ + rtDW->SwitchCase_ActiveSubsystem = -1; + + /* Disable for If: '/If1' */ + rtDW->If1_ActiveSubsystem_a = -1; + } + + if (UnitDelay3 == 0) { + /* Outputs for IfAction SubSystem: '/FOC_Enabled' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * Constant: '/cf_nKi' + * Constant: '/cf_nKp' + * Inport: '/r_inpTgtSca' + * Sum: '/Sum3' + * 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 (rtDW->Abs1 < rtDW->Switch2_a) { + DataTypeConversion2 = rtDW->Abs1; + } else { + DataTypeConversion2 = rtDW->Switch2_a; + } + + if (!(DataTypeConversion2 < rtDW->Switch2_o)) { + DataTypeConversion2 = rtDW->Switch2_o; + } + + /* End of MinMax: '/MinMax' */ + + /* Signum: '/SignDeltaU2' */ + if (rtDW->Merge1 < 0) { + rtb_Saturation1 = -1; + } else { + rtb_Saturation1 = (int16_T)(rtDW->Merge1 > 0); + } + + /* End of Signum: '/SignDeltaU2' */ + + /* Product: '/Divide1' */ + rtb_Saturation = (int16_T)(DataTypeConversion2 * rtb_Saturation1); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_Saturation > rtDW->Vq_max_M1) { + /* SignalConversion: '/Signal Conversion2' */ + rtDW->Merge = rtDW->Vq_max_M1; + } else if (rtb_Saturation < rtDW->Gain5) { + /* Switch: '/Switch' incorporates: + * SignalConversion: '/Signal Conversion2' + */ + rtDW->Merge = rtDW->Gain5; + } else { + /* SignalConversion: '/Signal Conversion2' incorporates: + * Switch: '/Switch' + */ + rtDW->Merge = rtb_Saturation; + } + + /* 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_b_Reset(&rtDW->PI_clamp_fixdt_l4); + + /* 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_Saturation = (int16_T)(rtP->n_cruiseMotTgt << 4); + + /* Switch: '/Switch4' incorporates: + * Constant: '/b_cruiseCtrlEna' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator3' + */ + if (rtP->b_cruiseCtrlEna && (rtb_Saturation != 0)) { + /* Switch: '/Switch3' incorporates: + * MinMax: '/MinMax4' + */ + if (rtb_Saturation > 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_Saturation = rtDW->Merge1; + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum3' */ + rtb_Gain3 = rtb_Saturation - Switch2; + 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_l((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->Merge, &rtDW->PI_clamp_fixdt_l4); + + /* 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_g_Reset(&rtDW->PI_clamp_fixdt_kh); + + /* 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_Saturation = (int16_T)-rtDW->Switch2_i; + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtDW->Merge1 > rtDW->Divide1_n) { + rtb_Saturation1 = rtDW->Divide1_n; + } else if (rtDW->Merge1 < rtDW->Gain1) { + /* Switch: '/Switch' */ + rtb_Saturation1 = rtDW->Gain1; + } else { + rtb_Saturation1 = rtDW->Merge1; + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum2' */ + rtb_Gain3 = rtb_Saturation1 - 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_i) { + rtb_Saturation1 = rtDW->Vq_max_M1; + } else { + rtb_Saturation1 = rtDW->Switch2_i; + } + + /* End of MinMax: '/MinMax1' */ + + /* MinMax: '/MinMax2' */ + if (!(rtb_Saturation > rtDW->Gain5)) { + rtb_Saturation = rtDW->Gain5; + } + + /* End of MinMax: '/MinMax2' */ + + /* Outputs for Atomic SubSystem: '/PI_clamp_fixdt' */ + + /* SignalConversion: '/Signal Conversion2' incorporates: + * Constant: '/cf_iqKi' + * Constant: '/cf_iqKp' + * Constant: '/constant2' + * Sum: '/Sum2' + * UnitDelay: '/UnitDelay4' + */ + PI_clamp_fixdt_k((int16_T)rtb_Gain3, rtP->cf_iqKp, rtP->cf_iqKi, + rtDW->UnitDelay4_DSTATE_eu, rtb_Saturation1, + rtb_Saturation, 0, &rtDW->Merge, + &rtDW->PI_clamp_fixdt_kh); + + /* 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' */ + + /* If: '/If1' incorporates: + * Constant: '/cf_idKi1' + * Constant: '/cf_idKp1' + * Constant: '/constant1' + * Constant: '/constant2' + * Sum: '/Sum3' + */ + rtb_Sum2_h = rtDW->If1_ActiveSubsystem_a; + UnitDelay3 = -1; + if (rtb_LogicalOperator) { + UnitDelay3 = 0; + } + + rtDW->If1_ActiveSubsystem_a = UnitDelay3; + if (UnitDelay3 == 0) { + if (0 != rtb_Sum2_h) { + /* SystemReset for IfAction SubSystem: '/Vd_Calculation' incorporates: + * ActionPort: '/Action Port' + */ + + /* SystemReset for Atomic SubSystem: '/PI_clamp_fixdt' */ + + /* SystemReset for If: '/If1' */ + PI_clamp_fixdt_Reset(&rtDW->PI_clamp_fixdt_i); + + /* End of SystemReset for SubSystem: '/PI_clamp_fixdt' */ + + /* End of SystemReset for SubSystem: '/Vd_Calculation' */ + } + + /* Outputs for IfAction SubSystem: '/Vd_Calculation' incorporates: + * ActionPort: '/Action Port' + */ + /* Gain: '/toNegative' */ + rtb_Saturation = (int16_T)-rtDW->Divide3; + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_Saturation > rtDW->i_max) { + rtb_Saturation = rtDW->i_max; + } else { + if (rtb_Saturation < rtDW->Gain4) { + /* Switch: '/Switch' */ + rtb_Saturation = rtDW->Gain4; + } + } + + /* End of Switch: '/Switch2' */ + + /* Sum: '/Sum3' */ + rtb_Gain3 = rtb_Saturation - 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_i); + + /* End of Outputs for SubSystem: '/PI_clamp_fixdt' */ + + /* End of Outputs for SubSystem: '/Vd_Calculation' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/FOC_Enabled' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/FOC' */ + } + } + + /* End of Chart: '/Task_Scheduler' */ + + /* If: '/If2' incorporates: + * Constant: '/z_ctrlTypSel' + * Constant: '/CTRL_COMM1' + * RelationalOperator: '/Relational Operator6' + * Switch: '/Switch2' + */ + rtb_Sum2_h = rtDW->If2_ActiveSubsystem; + UnitDelay3 = -1; + if (rtP->z_ctrlTypSel == 2) { + rtb_Saturation = rtDW->Merge; + UnitDelay3 = 0; + } else { + rtb_Saturation = rtDW->Merge1; + } + + rtDW->If2_ActiveSubsystem = UnitDelay3; + if ((rtb_Sum2_h != UnitDelay3) && (rtb_Sum2_h == 0)) { + /* Disable for Outport: '/V_phaABC_FOC' */ + rtDW->Gain4_e[0] = 0; + rtDW->Gain4_e[1] = 0; + rtDW->Gain4_e[2] = 0; + } + + if (UnitDelay3 == 0) { + /* Outputs for IfAction SubSystem: '/Clarke_Park_Transform_Inverse' incorporates: + * ActionPort: '/Action Port' */ - 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); + /* Sum: '/Sum6' incorporates: + * Product: '/Divide1' + * Product: '/Divide4' + */ + rtb_Gain3 = (int16_T)((rtDW->Switch1 * rtDW->r_cos_M1) >> 14) - (int16_T) + ((rtDW->Merge * rtDW->r_sin_M1) >> 14); if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2686,49 +2817,45 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Sum: '/Sum1' incorporates: - * Interpolation_n-D: '/r_cos_M1' - * Interpolation_n-D: '/r_sin_M1' - * Product: '/Divide2' - * Product: '/Divide3' + /* Sum: '/Sum1' incorporates: + * 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; + rtb_Sum1_jt = (int16_T)((rtDW->Switch1 * rtDW->r_sin_M1) >> 14) + (int16_T) + ((rtDW->Merge * rtDW->r_cos_M1) >> 14); + if (rtb_Sum1_jt > 32767) { + rtb_Sum1_jt = 32767; } else { - if (rtb_DataTypeConversion < -32768) { - rtb_DataTypeConversion = -32768; + if (rtb_Sum1_jt < -32768) { + rtb_Sum1_jt = -32768; } } - /* Gain: '/Gain1' incorporates: - * Sum: '/Sum1' + /* Gain: '/Gain1' incorporates: + * Sum: '/Sum1' */ - rtb_DataTypeConversion *= 14189; + rtb_Sum1_jt *= 14189; - /* Sum: '/Sum6' incorporates: - * Gain: '/Gain1' - * Gain: '/Gain3' - * Sum: '/Sum6' + /* 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; + rtb_Sum1_jt = (((rtb_Sum1_jt < 0 ? 16383 : 0) + rtb_Sum1_jt) >> 14) - + ((int16_T)(((int16_T)rtb_Gain3 < 0) + (int16_T)rtb_Gain3) >> 1); + if (rtb_Sum1_jt > 32767) { + rtb_Sum1_jt = 32767; } else { - if (rtb_DataTypeConversion < -32768) { - rtb_DataTypeConversion = -32768; + if (rtb_Sum1_jt < -32768) { + rtb_Sum1_jt = -32768; } } - /* Sum: '/Sum2' incorporates: - * Sum: '/Sum6' - * Sum: '/Sum6' + /* Sum: '/Sum2' incorporates: + * Sum: '/Sum6' + * Sum: '/Sum6' */ - rtb_Switch1 = -(int16_T)rtb_Gain3 - (int16_T)rtb_DataTypeConversion; + rtb_Switch1 = -(int16_T)rtb_Gain3 - (int16_T)rtb_Sum1_jt; if (rtb_Switch1 > 32767) { rtb_Switch1 = 32767; } else { @@ -2737,39 +2864,39 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* MinMax: '/MinMax1' incorporates: - * Sum: '/Sum2' - * Sum: '/Sum6' - * Sum: '/Sum6' + /* 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; + DataTypeConversion2 = (int16_T)rtb_Gain3; + if (!((int16_T)rtb_Gain3 < (int16_T)rtb_Sum1_jt)) { + DataTypeConversion2 = (int16_T)rtb_Sum1_jt; } - if (!(rtb_Switch2_l < (int16_T)rtb_Switch1)) { - rtb_Switch2_l = (int16_T)rtb_Switch1; + if (!(DataTypeConversion2 < (int16_T)rtb_Switch1)) { + DataTypeConversion2 = (int16_T)rtb_Switch1; } - /* MinMax: '/MinMax2' incorporates: - * Sum: '/Sum2' - * Sum: '/Sum6' - * Sum: '/Sum6' + /* MinMax: '/MinMax2' incorporates: + * Sum: '/Sum2' + * Sum: '/Sum6' + * Sum: '/Sum6' */ - rtb_Saturation = (int16_T)rtb_Gain3; - if (!((int16_T)rtb_Gain3 > (int16_T)rtb_DataTypeConversion)) { - rtb_Saturation = (int16_T)rtb_DataTypeConversion; + rtb_Saturation1 = (int16_T)rtb_Gain3; + if (!((int16_T)rtb_Gain3 > (int16_T)rtb_Sum1_jt)) { + rtb_Saturation1 = (int16_T)rtb_Sum1_jt; } - if (!(rtb_Saturation > (int16_T)rtb_Switch1)) { - rtb_Saturation = (int16_T)rtb_Switch1; + if (!(rtb_Saturation1 > (int16_T)rtb_Switch1)) { + rtb_Saturation1 = (int16_T)rtb_Switch1; } - /* Sum: '/Add' incorporates: - * MinMax: '/MinMax1' - * MinMax: '/MinMax2' + /* Sum: '/Add' incorporates: + * MinMax: '/MinMax1' + * MinMax: '/MinMax2' */ - rtb_Sum1 = rtb_Switch2_l + rtb_Saturation; + rtb_Sum1 = DataTypeConversion2 + rtb_Saturation1; if (rtb_Sum1 > 32767) { rtb_Sum1 = 32767; } else { @@ -2778,15 +2905,15 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Gain: '/Gain2' incorporates: - * Sum: '/Add' + /* Gain: '/Gain2' incorporates: + * Sum: '/Add' */ - rtb_DataTypeConversion2 = (int16_T)(rtb_Sum1 >> 1); + rtb_Merge1 = (int16_T)(rtb_Sum1 >> 1); - /* Sum: '/Add1' incorporates: - * Sum: '/Sum6' + /* Sum: '/Add1' incorporates: + * Sum: '/Sum6' */ - rtb_Gain3 = (int16_T)rtb_Gain3 - rtb_DataTypeConversion2; + rtb_Gain3 = (int16_T)rtb_Gain3 - rtb_Merge1; if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2795,15 +2922,15 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Gain: '/Gain4' incorporates: - * Sum: '/Add1' + /* Gain: '/Gain4' incorporates: + * Sum: '/Add1' */ - rtDW->Gain4[0] = (int16_T)((18919 * rtb_Gain3) >> 14); + rtDW->Gain4_e[0] = (int16_T)((18919 * rtb_Gain3) >> 14); - /* Sum: '/Add1' incorporates: - * Sum: '/Sum6' + /* Sum: '/Add1' incorporates: + * Sum: '/Sum6' */ - rtb_Gain3 = (int16_T)rtb_DataTypeConversion - rtb_DataTypeConversion2; + rtb_Gain3 = (int16_T)rtb_Sum1_jt - rtb_Merge1; if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2812,15 +2939,15 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Gain: '/Gain4' incorporates: - * Sum: '/Add1' + /* Gain: '/Gain4' incorporates: + * Sum: '/Add1' */ - rtDW->Gain4[1] = (int16_T)((18919 * rtb_Gain3) >> 14); + rtDW->Gain4_e[1] = (int16_T)((18919 * rtb_Gain3) >> 14); - /* Sum: '/Add1' incorporates: - * Sum: '/Sum2' + /* Sum: '/Add1' incorporates: + * Sum: '/Sum2' */ - rtb_Gain3 = (int16_T)rtb_Switch1 - rtb_DataTypeConversion2; + rtb_Gain3 = (int16_T)rtb_Switch1 - rtb_Merge1; if (rtb_Gain3 > 32767) { rtb_Gain3 = 32767; } else { @@ -2829,212 +2956,196 @@ void BLDC_controller_step(RT_MODEL *const rtM) } } - /* Gain: '/Gain4' incorporates: - * Sum: '/Add1' + /* Gain: '/Gain4' incorporates: + * Sum: '/Add1' */ - rtDW->Gain4[2] = (int16_T)((18919 * rtb_Gain3) >> 14); + rtDW->Gain4_e[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 Outputs for SubSystem: '/Clarke_Park_Transform_Inverse' */ } - /* End of If: '/If1' */ + /* End of If: '/If2' */ - /* Switch: '/Switch2' incorporates: + /* If: '/If' incorporates: + * Constant: '/vec_hallToPos' * Constant: '/z_ctrlTypSel' - * Constant: '/CTRL_COMM1' - * RelationalOperator: '/Relational Operator6' - */ - if (rtP->z_ctrlTypSel == 2) { - rtb_Saturation = rtDW->Merge; - } else { - rtb_Saturation = 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' + * 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': + * 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' + /* 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]; + DataTypeConversion2 = rtDW->Gain4_e[0]; + rtb_Saturation1 = rtDW->Gain4_e[1]; + rtb_Merge1 = rtDW->Gain4_e[2]; - /* End of Outputs for SubSystem: '/FOC_Method' */ + /* 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' + /* Outputs for IfAction SubSystem: '/SIN_Method' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch_PhaAdv' incorporates: - * Constant: '/b_fieldWeakEna' - * Product: '/Divide2' - * Product: '/Divide3' - * Sum: '/Sum3' + /* Switch: '/Switch_PhaAdv' incorporates: + * Constant: '/b_fieldWeakEna' + * Product: '/Divide2' + * Product: '/Divide3' + * Sum: '/Sum3' */ if (rtP->b_fieldWeakEna) { - /* Sum: '/Sum3' incorporates: - * Product: '/Product2' + /* Sum: '/Sum3' incorporates: + * Product: '/Product2' */ - rtb_Saturation1 = (int16_T)((int16_T)((int16_T)(rtDW->Divide3 * - rtDW->Switch2_e) << 2) + rtb_Merge); - rtb_Saturation1 -= (int16_T)((int16_T)((int16_T)div_nde_s32_floor - (rtb_Saturation1, 23040) * 360) << 6); + DataTypeConversion2 = (int16_T)((int16_T)((int16_T)(rtDW->Divide3 * + rtDW->Switch2_e) << 2) + rtb_Merge_m); + DataTypeConversion2 -= (int16_T)((int16_T)((int16_T)div_nde_s32_floor + (DataTypeConversion2, 23040) * 360) << 6); } else { - rtb_Saturation1 = rtb_Merge; + DataTypeConversion2 = rtb_Merge_m; } - /* End of Switch: '/Switch_PhaAdv' */ + /* End of Switch: '/Switch_PhaAdv' */ - /* PreLookup: '/a_elecAngle_XA' */ - rtb_Sum = plook_u8s16_evencka(rtb_Saturation1, 0, 128U, 180U); + /* PreLookup: '/a_elecAngle_XA' */ + Sum = plook_u8s16_evencka(DataTypeConversion2, 0, 128U, 180U); - /* Product: '/Divide2' incorporates: - * Interpolation_n-D: '/r_sin3PhaA_M1' - * Interpolation_n-D: '/r_sin3PhaB_M1' - * Interpolation_n-D: '/r_sin3PhaC_M1' + /* 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_Saturation * - rtConstP.r_sin3PhaA_M1_Table[rtb_Sum]) >> 14); + DataTypeConversion2 = (int16_T)((rtb_Saturation * + rtConstP.r_sin3PhaA_M1_Table[Sum]) >> 14); rtb_Saturation1 = (int16_T)((rtb_Saturation * - rtConstP.r_sin3PhaB_M1_Table[rtb_Sum]) >> 14); - rtb_Merge_f_idx_2 = (int16_T)((rtb_Saturation * - rtConstP.r_sin3PhaC_M1_Table[rtb_Sum]) >> 14); + rtConstP.r_sin3PhaB_M1_Table[Sum]) >> 14); + rtb_Merge1 = (int16_T)((rtb_Saturation * rtConstP.r_sin3PhaC_M1_Table[Sum]) >> + 14); - /* End of Outputs for SubSystem: '/SIN_Method' */ + /* End of Outputs for SubSystem: '/SIN_Method' */ } else { - /* Outputs for IfAction SubSystem: '/COM_Method' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/COM_Method' incorporates: + * ActionPort: '/Action Port' */ - if (rtConstP.vec_hallToPos_Value[rtb_Sum] > 5) { - /* LookupNDDirect: '/z_commutMap_M1' + if (rtConstP.vec_hallToPos_Value[Sum] > 5) { + /* LookupNDDirect: '/z_commutMap_M1' * - * About '/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' + } else if (rtConstP.vec_hallToPos_Value[Sum] < 0) { + /* LookupNDDirect: '/z_commutMap_M1' * - * About '/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' + /* LookupNDDirect: '/z_commutMap_M1' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' * - * About '/z_commutMap_M1': + * About '/z_commutMap_M1': * 2-dimensional Direct Look-Up returning a Column */ - rtb_Sum2_h = rtConstP.vec_hallToPos_Value[rtb_Sum]; + rtb_Sum2_h = rtConstP.vec_hallToPos_Value[Sum]; } - /* LookupNDDirect: '/z_commutMap_M1' incorporates: - * Constant: '/vec_hallToPos' - * Selector: '/Selector' + /* LookupNDDirect: '/z_commutMap_M1' incorporates: + * Constant: '/vec_hallToPos' + * Selector: '/Selector' * - * About '/z_commutMap_M1': + * About '/z_commutMap_M1': * 2-dimensional Direct Look-Up returning a Column */ - rtb_DataTypeConversion = rtb_Sum2_h * 3; + rtb_Sum1_jt = rtb_Sum2_h * 3; - /* Product: '/Divide2' incorporates: - * LookupNDDirect: '/z_commutMap_M1' + /* Product: '/Divide2' incorporates: + * LookupNDDirect: '/z_commutMap_M1' * - * About '/z_commutMap_M1': + * About '/z_commutMap_M1': * 2-dimensional Direct Look-Up returning a Column */ - rtb_DataTypeConversion2 = (int16_T)(rtb_Saturation * - rtConstP.z_commutMap_M1_table[rtb_DataTypeConversion]); - rtb_Saturation1 = (int16_T)(rtConstP.z_commutMap_M1_table[1 + - rtb_DataTypeConversion] * rtb_Saturation); - rtb_Merge_f_idx_2 = (int16_T)(rtConstP.z_commutMap_M1_table[2 + - rtb_DataTypeConversion] * rtb_Saturation); + DataTypeConversion2 = (int16_T)(rtb_Saturation * + rtConstP.z_commutMap_M1_table[rtb_Sum1_jt]); + rtb_Saturation1 = (int16_T)(rtConstP.z_commutMap_M1_table[1 + rtb_Sum1_jt] * + rtb_Saturation); + rtb_Merge1 = (int16_T)(rtConstP.z_commutMap_M1_table[2 + rtb_Sum1_jt] * + rtb_Saturation); - /* End of Outputs for SubSystem: '/COM_Method' */ + /* End of Outputs for SubSystem: '/COM_Method' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ /* Outport: '/DC_phaA' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + * DataTypeConversion: '/Data Type Conversion6' */ - rtY->DC_phaA = (int16_T)(rtb_DataTypeConversion2 >> 4); + rtY->DC_phaA = (int16_T)(DataTypeConversion2 >> 4); /* Outport: '/DC_phaB' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + * DataTypeConversion: '/Data Type Conversion6' */ rtY->DC_phaB = (int16_T)(rtb_Saturation1 >> 4); - /* Update for UnitDelay: '/UnitDelay3' incorporates: + /* Update for UnitDelay: '/UnitDelay3' incorporates: * Inport: '/b_hallA ' */ rtDW->UnitDelay3_DSTATE_fy = rtU->b_hallA; - /* Update for UnitDelay: '/UnitDelay1' incorporates: + /* Update for UnitDelay: '/UnitDelay1' incorporates: * Inport: '/b_hallB' */ rtDW->UnitDelay1_DSTATE = rtU->b_hallB; - /* Update for UnitDelay: '/UnitDelay2' incorporates: + /* Update for UnitDelay: '/UnitDelay2' incorporates: * Inport: '/b_hallC' */ rtDW->UnitDelay2_DSTATE_f = rtU->b_hallC; - /* Update for UnitDelay: '/UnitDelay3' */ + /* Update for UnitDelay: '/UnitDelay3' */ rtDW->UnitDelay3_DSTATE = rtb_Switch1_l; - /* Update for UnitDelay: '/UnitDelay4' */ - rtDW->UnitDelay4_DSTATE_e = rtb_Abs5; + /* Update for UnitDelay: '/UnitDelay4' */ + rtDW->UnitDelay4_DSTATE_e = Abs5; - /* Update for UnitDelay: '/UnitDelay2' incorporates: - * UnitDelay: '/UnitDelay6' + /* Update for UnitDelay: '/UnitDelay2' incorporates: + * UnitDelay: '/UnitDelay6' */ - rtDW->UnitDelay2_DSTATE_g = rtDW->UnitDelay6_DSTATE; + rtDW->UnitDelay2_DSTATE_c = rtDW->UnitDelay6_DSTATE; - /* Update for UnitDelay: '/UnitDelay4' */ + /* Update for UnitDelay: '/UnitDelay5' */ + rtDW->UnitDelay5_DSTATE_m = rtb_RelationalOperator4_d; + + /* Update for UnitDelay: '/UnitDelay6' */ + rtDW->UnitDelay6_DSTATE = rtb_UnitDelay5_e; + + /* Update for UnitDelay: '/UnitDelay4' */ rtDW->UnitDelay4_DSTATE_eu = rtb_Saturation; - /* 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' + * DataTypeConversion: '/Data Type Conversion6' */ - rtY->DC_phaC = (int16_T)(rtb_Merge_f_idx_2 >> 4); + rtY->DC_phaC = (int16_T)(rtb_Merge1 >> 4); /* Outport: '/n_mot' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtY->n_mot = (int16_T)(rtb_Switch2_k >> 4); + rtY->n_mot = (int16_T)(Switch2 >> 4); /* Outport: '/a_elecAngle' incorporates: * DataTypeConversion: '/Data Type Conversion3' */ - rtY->a_elecAngle = (int16_T)(rtb_Merge >> 6); + rtY->a_elecAngle = (int16_T)(rtb_Merge_m >> 6); /* End of Outputs for SubSystem: '/BLDC_controller' */ @@ -3052,154 +3163,184 @@ void BLDC_controller_initialize(RT_MODEL *const rtM) 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' */ + /* Start for If: '/If1' */ rtDW->If1_ActiveSubsystem = -1; - /* Start for IfAction SubSystem: '/F05_Field_Oriented_Control' */ - /* Start for If: '/If2' */ + /* Start for IfAction SubSystem: '/Clarke_Park_Transform_Forward' */ + /* Start for If: '/If2' */ rtDW->If2_ActiveSubsystem_a = -1; - /* Start for If: '/If1' */ - rtDW->If1_ActiveSubsystem_e = -1; + /* End of Start for SubSystem: '/Clarke_Park_Transform_Forward' */ - /* Start for IfAction SubSystem: '/FOC' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for Chart: '/Task_Scheduler' incorporates: + * SubSystem: '/F03_Control_Mode_Manager' + */ + /* Start for If: '/If2' */ + rtDW->If2_ActiveSubsystem_f = -1; + + /* Start for Chart: '/Task_Scheduler' incorporates: + * SubSystem: '/Motor_Limitations' + */ + /* Start for If: '/If1' */ + rtDW->If1_ActiveSubsystem_o = -1; + + /* Start for IfAction SubSystem: '/Motor_Limitations_Enabled' */ + /* Start for SwitchCase: '/Switch Case' */ + rtDW->SwitchCase_ActiveSubsystem_d = -1; + + /* End of Start for SubSystem: '/Motor_Limitations_Enabled' */ + + /* Start for Chart: '/Task_Scheduler' incorporates: + * SubSystem: '/FOC' + */ + /* Start for If: '/If1' */ + rtDW->If1_ActiveSubsystem_j = -1; + + /* Start for IfAction SubSystem: '/FOC_Enabled' */ + /* Start for SwitchCase: '/Switch Case' */ rtDW->SwitchCase_ActiveSubsystem = -1; - /* End of Start for SubSystem: '/FOC' */ - /* End of Start for SubSystem: '/F05_Field_Oriented_Control' */ + /* Start for If: '/If1' */ + rtDW->If1_ActiveSubsystem_a = -1; + + /* End of Start for SubSystem: '/FOC_Enabled' */ + + /* Start for If: '/If2' */ + rtDW->If2_ActiveSubsystem = -1; + /* End of Start for SubSystem: '/BLDC_controller' */ /* SystemInitialize for Atomic SubSystem: '/BLDC_controller' */ - /* InitializeConditions for UnitDelay: '/UnitDelay3' */ + /* InitializeConditions for UnitDelay: '/UnitDelay3' */ rtDW->UnitDelay3_DSTATE = rtP->z_maxCntRst; - /* InitializeConditions for UnitDelay: '/UnitDelay2' */ - rtDW->UnitDelay2_DSTATE_g = true; + /* InitializeConditions for UnitDelay: '/UnitDelay2' */ + rtDW->UnitDelay2_DSTATE_c = true; - /* SystemInitialize for IfAction SubSystem: '/Raw_Motor_Speed_Estimation' */ - /* SystemInitialize for Outport: '/z_counter' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Raw_Motor_Speed_Estimation' */ - /* SystemInitialize for Atomic SubSystem: '/Counter' */ + /* SystemInitialize for Atomic SubSystem: '/Counter' */ Counter_Init(&rtDW->Counter_e, rtP->z_maxCntRst); - /* End of SystemInitialize for SubSystem: '/Counter' */ + /* End of SystemInitialize for SubSystem: '/Counter' */ - /* SystemInitialize for IfAction SubSystem: '/F02_Diagnostics' */ + /* SystemInitialize for Chart: '/Task_Scheduler' incorporates: + * SubSystem: '/F02_Diagnostics' + */ - /* SystemInitialize for Atomic SubSystem: '/Debounce_Filter' */ - Debounce_Filter_Init(&rtDW->Debounce_Filter_f); + /* SystemInitialize for IfAction SubSystem: '/Diagnostics_Enabled' */ - /* End of SystemInitialize for SubSystem: '/Debounce_Filter' */ + /* SystemInitialize for Atomic SubSystem: '/Debounce_Filter' */ + Debounce_Filter_Init(&rtDW->Debounce_Filter_k); - /* End of SystemInitialize for SubSystem: '/F02_Diagnostics' */ + /* End of SystemInitialize for SubSystem: '/Debounce_Filter' */ - /* 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' */ + /* End of SystemInitialize for SubSystem: '/Diagnostics_Enabled' */ + + /* SystemInitialize for Chart: '/Task_Scheduler' incorporates: + * 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' */ + /* End of SystemInitialize for SubSystem: '/rising_edge_init' */ + /* End of SystemInitialize for SubSystem: '/Open_Mode' */ - /* SystemInitialize for IfAction SubSystem: '/F05_Field_Oriented_Control' */ - /* SystemInitialize for IfAction SubSystem: '/Motor_Limitations' */ + /* SystemInitialize for Chart: '/Task_Scheduler' incorporates: + * SubSystem: '/Motor_Limitations' + */ + /* SystemInitialize for IfAction SubSystem: '/Motor_Limitations_Enabled' */ - /* SystemInitialize for IfAction SubSystem: '/Voltage_Mode_Protection' */ + /* SystemInitialize for IfAction SubSystem: '/Voltage_Mode_Protection' */ - /* SystemInitialize for Atomic SubSystem: '/I_backCalc_fixdt' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/I_backCalc_fixdt' */ - /* SystemInitialize for Atomic SubSystem: '/I_backCalc_fixdt1' */ + /* 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: '/I_backCalc_fixdt1' */ - /* End of SystemInitialize for SubSystem: '/Voltage_Mode_Protection' */ + /* End of SystemInitialize for SubSystem: '/Voltage_Mode_Protection' */ - /* SystemInitialize for IfAction SubSystem: '/Torque_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); + /* SystemInitialize for Atomic SubSystem: '/I_backCalc_fixdt' */ + I_backCalc_fixdt_Init(&rtDW->I_backCalc_fixdt_j, 58982400); - /* End of SystemInitialize for SubSystem: '/I_backCalc_fixdt' */ + /* End of SystemInitialize for SubSystem: '/I_backCalc_fixdt' */ - /* End of SystemInitialize for SubSystem: '/Torque_Mode_Protection' */ + /* End of SystemInitialize for SubSystem: '/Torque_Mode_Protection' */ - /* SystemInitialize for Outport: '/Vd_max' */ + /* SystemInitialize for Outport: '/Vd_max' */ rtDW->Vd_max1 = 14400; - /* SystemInitialize for Outport: '/Vd_min' */ + /* SystemInitialize for Outport: '/Vd_min' */ rtDW->Gain3 = -14400; - /* SystemInitialize for Outport: '/Vq_max' */ + /* SystemInitialize for Outport: '/Vq_max' */ rtDW->Vq_max_M1 = 14400; - /* SystemInitialize for Outport: '/Vq_min' */ + /* SystemInitialize for Outport: '/Vq_min' */ rtDW->Gain5 = -14400; - /* SystemInitialize for Outport: '/id_max' */ + /* SystemInitialize for Outport: '/id_max' */ rtDW->i_max = 12000; - /* SystemInitialize for Outport: '/id_min' */ - rtDW->Gain4_c = -12000; + /* SystemInitialize for Outport: '/id_min' */ + rtDW->Gain4 = -12000; - /* SystemInitialize for Outport: '/iq_max' */ - rtDW->Divide1_a = 12000; + /* SystemInitialize for Outport: '/iq_max' */ + rtDW->Divide1_n = 12000; - /* SystemInitialize for Outport: '/iq_min' */ + /* SystemInitialize for Outport: '/iq_min' */ rtDW->Gain1 = -12000; - /* End of SystemInitialize for SubSystem: '/Motor_Limitations' */ + /* End of SystemInitialize for SubSystem: '/Motor_Limitations_Enabled' */ - /* SystemInitialize for IfAction SubSystem: '/FOC' */ + /* SystemInitialize for Chart: '/Task_Scheduler' incorporates: + * SubSystem: '/FOC' + */ - /* SystemInitialize for IfAction SubSystem: '/Vd_Calculation' */ + /* SystemInitialize for IfAction SubSystem: '/FOC_Enabled' */ - /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ - PI_clamp_fixdt_Init(&rtDW->PI_clamp_fixdt_k); + /* SystemInitialize for IfAction SubSystem: '/Speed_Mode' */ - /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ + /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt_d_Init(&rtDW->PI_clamp_fixdt_l4); - /* End of SystemInitialize for SubSystem: '/Vd_Calculation' */ + /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ - /* SystemInitialize for IfAction SubSystem: '/Speed_Mode' */ + /* End of SystemInitialize for SubSystem: '/Speed_Mode' */ - /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ - PI_clamp_fixdt_g_Init(&rtDW->PI_clamp_fixdt_oc); + /* SystemInitialize for IfAction SubSystem: '/Torque_Mode' */ - /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ + /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt_f_Init(&rtDW->PI_clamp_fixdt_kh); - /* End of SystemInitialize for SubSystem: '/Speed_Mode' */ + /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ - /* SystemInitialize for IfAction SubSystem: '/Torque_Mode' */ + /* End of SystemInitialize for SubSystem: '/Torque_Mode' */ - /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ - PI_clamp_fixdt_k_Init(&rtDW->PI_clamp_fixdt_at); + /* SystemInitialize for IfAction SubSystem: '/Vd_Calculation' */ - /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ + /* SystemInitialize for Atomic SubSystem: '/PI_clamp_fixdt' */ + PI_clamp_fixdt_Init(&rtDW->PI_clamp_fixdt_i); - /* End of SystemInitialize for SubSystem: '/Torque_Mode' */ + /* End of SystemInitialize for SubSystem: '/PI_clamp_fixdt' */ - /* End of SystemInitialize for SubSystem: '/FOC' */ + /* End of SystemInitialize for SubSystem: '/Vd_Calculation' */ + + /* End of SystemInitialize for SubSystem: '/FOC_Enabled' */ - /* End of SystemInitialize for SubSystem: '/F05_Field_Oriented_Control' */ /* End of SystemInitialize for SubSystem: '/BLDC_controller' */ } diff --git a/BLDC_controller_ert_rtw/BLDC_controller.h b/BLDC_controller_ert_rtw/BLDC_controller.h index 264222a..73f7876 100644 --- a/BLDC_controller_ert_rtw/BLDC_controller.h +++ b/BLDC_controller_ert_rtw/BLDC_controller.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'BLDC_controller'. * - * Model version : 1.1284 + * Model version : 1.1296 * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017 - * C/C++ source code generated on : Sun Oct 11 21:38:56 2020 + * C/C++ source code generated on : Tue Oct 20 17:29:57 2020 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex @@ -30,167 +30,174 @@ /* Forward declaration for rtModel */ typedef struct tag_RTM RT_MODEL; -/* Block signals and states (auto storage) for system '/Counter' */ +/* Block signals and states (auto storage) for system '/Counter' */ typedef struct { - int16_T UnitDelay_DSTATE; /* '/UnitDelay' */ + int16_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_Counter; -/* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ +/* Block signals and states (auto storage) for system '/Low_Pass_Filter' */ 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' */ + int32_T UnitDelay1_DSTATE[2]; /* '/UnitDelay1' */ } DW_Low_Pass_Filter; -/* Block signals and states (auto storage) for system '/I_backCalc_fixdt' */ +/* Block signals and states (auto storage) for system '/Counter' */ typedef struct { - int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ - int32_T UnitDelay_DSTATE_h; /* '/UnitDelay' */ -} DW_I_backCalc_fixdt; + uint16_T UnitDelay_DSTATE; /* '/UnitDelay' */ +} DW_Counter_b; -/* Block signals and states (auto storage) for system '/Counter' */ +/* Block signals and states (auto storage) for system '/either_edge' */ 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' */ + boolean_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_either_edge; -/* Block signals and states (auto storage) for system '/Debounce_Filter' */ +/* 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_either_edge either_edge_p; /* '/either_edge' */ + DW_Counter_b Counter_e; /* '/Counter' */ + DW_Counter_b Counter_n1; /* '/Counter' */ + boolean_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_Debounce_Filter; +/* Block signals and states (auto storage) for system '/I_backCalc_fixdt' */ +typedef struct { + int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ + int32_T UnitDelay_DSTATE_m; /* '/UnitDelay' */ +} DW_I_backCalc_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; + +/* 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_m; + +/* 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_g; + /* 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; /* '/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_PI_clamp_fixdt_g PI_clamp_fixdt_kh;/* '/PI_clamp_fixdt' */ + DW_PI_clamp_fixdt_m PI_clamp_fixdt_l4;/* '/PI_clamp_fixdt' */ + DW_PI_clamp_fixdt PI_clamp_fixdt_i; /* '/PI_clamp_fixdt' */ + DW_I_backCalc_fixdt I_backCalc_fixdt_j;/* '/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_either_edge either_edge_i; /* '/either_edge' */ + DW_Debounce_Filter Debounce_Filter_k;/* '/Debounce_Filter' */ + DW_Low_Pass_Filter Low_Pass_Filter_m;/* '/Low_Pass_Filter' */ + DW_Counter Counter_e; /* '/Counter' */ + int32_T Divide1; /* '/Divide1' */ + int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ + int16_T Gain4_e[3]; /* '/Gain4' */ + int16_T DataTypeConversion[2]; /* '/Data Type Conversion' */ + int16_T z_counterRawPrev; /* '/z_counterRawPrev' */ + int16_T Merge; /* '/Merge' */ + int16_T Switch1; /* '/Switch1' */ + 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_n; /* '/Divide1' */ + int16_T Gain1; /* '/Gain1' */ + int16_T Gain4; /* '/Gain4' */ + int16_T Switch2_i; /* '/Switch2' */ + int16_T Switch2_o; /* '/Switch2' */ + int16_T Switch2_a; /* '/Switch2' */ + int16_T Divide3; /* '/Divide3' */ + int16_T Merge1; /* '/Merge1' */ + int16_T Abs1; /* '/Abs1' */ + int16_T Abs5_h; /* '/Abs5' */ + int16_T Divide11; /* '/Divide11' */ + int16_T r_sin_M1; /* '/r_sin_M1' */ + int16_T r_cos_M1; /* '/r_cos_M1' */ + 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' */ + int8_T Switch2_e; /* '/Switch2' */ + int8_T UnitDelay2_DSTATE_b; /* '/UnitDelay2' */ + int8_T If1_ActiveSubsystem; /* '/If1' */ + int8_T If2_ActiveSubsystem; /* '/If2' */ + int8_T If1_ActiveSubsystem_j; /* '/If1' */ + int8_T SwitchCase_ActiveSubsystem; /* '/Switch Case' */ + int8_T If1_ActiveSubsystem_a; /* '/If1' */ + int8_T If1_ActiveSubsystem_o; /* '/If1' */ + int8_T SwitchCase_ActiveSubsystem_d; /* '/Switch Case' */ + int8_T If2_ActiveSubsystem_f; /* '/If2' */ + int8_T If2_ActiveSubsystem_a; /* '/If2' */ + 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 UnitDelay_DSTATE_e; /* '/UnitDelay' */ + 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_p; /* '/Merge' */ + boolean_T dz_cntTrnsDet; /* '/dz_cntTrnsDet' */ + boolean_T UnitDelay2_DSTATE_c; /* '/UnitDelay2' */ + boolean_T UnitDelay5_DSTATE_m; /* '/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' + * Referenced by: '/r_sin_M1' */ int16_T r_sin_M1_Table[181]; /* Computed Parameter: r_cos_M1_Table - * Referenced by: '/r_cos_M1' + * Referenced by: '/r_cos_M1' */ int16_T r_cos_M1_Table[181]; + /* 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: iq_maxSca_M1_Table - * Referenced by: '/iq_maxSca_M1' + * Referenced by: '/iq_maxSca_M1' */ uint16_T iq_maxSca_M1_Table[50]; /* Computed Parameter: z_commutMap_M1_table - * Referenced by: '/z_commutMap_M1' + * Referenced by: '/z_commutMap_M1' */ int8_T z_commutMap_M1_table[18]; /* Computed Parameter: vec_hallToPos_Value - * Referenced by: '/vec_hallToPos' + * Referenced by: '/vec_hallToPos' */ int8_T vec_hallToPos_Value[8]; } ConstP; @@ -224,145 +231,145 @@ typedef struct { /* Parameters (auto storage) */ struct P_ { int32_T dV_openRate; /* Variable: dV_openRate - * Referenced by: '/dV_openRate' + * Referenced by: '/dV_openRate' */ int16_T dz_cntTrnsDetHi; /* Variable: dz_cntTrnsDetHi - * Referenced by: '/dz_cntTrnsDet' + * Referenced by: '/dz_cntTrnsDet' */ int16_T dz_cntTrnsDetLo; /* Variable: dz_cntTrnsDetLo - * Referenced by: '/dz_cntTrnsDet' + * Referenced by: '/dz_cntTrnsDet' */ int16_T n_cruiseMotTgt; /* Variable: n_cruiseMotTgt - * Referenced by: '/n_cruiseMotTgt' + * Referenced by: '/n_cruiseMotTgt' */ int16_T z_maxCntRst; /* Variable: z_maxCntRst * Referenced by: - * '/Counter' - * '/z_maxCntRst' - * '/z_maxCntRst2' - * '/UnitDelay3' - * '/z_counter' + * '/Counter' + * '/z_maxCntRst' + * '/z_maxCntRst2' + * '/UnitDelay3' + * '/z_counter' */ uint16_T cf_speedCoef; /* Variable: cf_speedCoef - * Referenced by: '/cf_speedCoef' + * Referenced by: '/cf_speedCoef' */ uint16_T t_errDequal; /* Variable: t_errDequal - * Referenced by: '/t_errDequal' + * Referenced by: '/t_errDequal' */ uint16_T t_errQual; /* Variable: t_errQual - * Referenced by: '/t_errQual' + * Referenced by: '/t_errQual' */ int16_T Vd_max; /* Variable: Vd_max * Referenced by: - * '/Vd_max1' - * '/Vd_max' + * '/Vd_max' + * '/Vd_max1' */ int16_T Vq_max_M1[46]; /* Variable: Vq_max_M1 - * Referenced by: '/Vq_max_M1' + * Referenced by: '/Vq_max_M1' */ int16_T Vq_max_XA[46]; /* Variable: Vq_max_XA - * Referenced by: '/Vq_max_XA' + * Referenced by: '/Vq_max_XA' */ int16_T a_phaAdvMax; /* Variable: a_phaAdvMax - * Referenced by: '/a_phaAdvMax' + * Referenced by: '/a_phaAdvMax' */ int16_T i_max; /* Variable: i_max * Referenced by: - * '/i_max' - * '/i_max' + * '/i_max' + * '/i_max' */ int16_T id_fieldWeakMax; /* Variable: id_fieldWeakMax - * Referenced by: '/id_fieldWeakMax' + * Referenced by: '/id_fieldWeakMax' */ int16_T n_commAcvLo; /* Variable: n_commAcvLo - * Referenced by: '/n_commDeacv' + * Referenced by: '/n_commDeacv' */ int16_T n_commDeacvHi; /* Variable: n_commDeacvHi - * Referenced by: '/n_commDeacv' + * Referenced by: '/n_commDeacv' */ int16_T n_fieldWeakAuthHi; /* Variable: n_fieldWeakAuthHi - * Referenced by: '/n_fieldWeakAuthHi' + * Referenced by: '/n_fieldWeakAuthHi' */ int16_T n_fieldWeakAuthLo; /* Variable: n_fieldWeakAuthLo - * Referenced by: '/n_fieldWeakAuthLo' + * Referenced by: '/n_fieldWeakAuthLo' */ int16_T n_max; /* Variable: n_max * Referenced by: - * '/n_max1' - * '/n_max' + * '/n_max' + * '/n_max1' */ int16_T n_stdStillDet; /* Variable: n_stdStillDet - * Referenced by: '/n_stdStillDet' + * Referenced by: '/n_stdStillDet' */ int16_T r_errInpTgtThres; /* Variable: r_errInpTgtThres - * Referenced by: '/r_errInpTgtThres' + * Referenced by: '/r_errInpTgtThres' */ int16_T r_fieldWeakHi; /* Variable: r_fieldWeakHi - * Referenced by: '/r_fieldWeakHi' + * Referenced by: '/r_fieldWeakHi' */ int16_T r_fieldWeakLo; /* Variable: r_fieldWeakLo - * Referenced by: '/r_fieldWeakLo' + * Referenced by: '/r_fieldWeakLo' */ uint16_T cf_KbLimProt; /* Variable: cf_KbLimProt * Referenced by: - * '/cf_KbLimProt' - * '/cf_KbLimProt' + * '/cf_KbLimProt' + * '/cf_KbLimProt' */ uint16_T cf_idKp; /* Variable: cf_idKp - * Referenced by: '/cf_idKp1' + * Referenced by: '/cf_idKp1' */ uint16_T cf_iqKp; /* Variable: cf_iqKp - * Referenced by: '/cf_iqKp' + * Referenced by: '/cf_iqKp' */ uint16_T cf_nKp; /* Variable: cf_nKp - * Referenced by: '/cf_nKp' + * Referenced by: '/cf_nKp' */ uint16_T cf_currFilt; /* Variable: cf_currFilt - * Referenced by: '/cf_currFilt' + * Referenced by: '/cf_currFilt' */ uint16_T cf_idKi; /* Variable: cf_idKi - * Referenced by: '/cf_idKi1' + * Referenced by: '/cf_idKi1' */ uint16_T cf_iqKi; /* Variable: cf_iqKi - * Referenced by: '/cf_iqKi' + * Referenced by: '/cf_iqKi' */ uint16_T cf_iqKiLimProt; /* Variable: cf_iqKiLimProt * Referenced by: - * '/cf_iqKiLimProt' - * '/cf_iqKiLimProt' + * '/cf_iqKiLimProt' + * '/cf_iqKiLimProt' */ uint16_T cf_nKi; /* Variable: cf_nKi - * Referenced by: '/cf_nKi' + * Referenced by: '/cf_nKi' */ uint16_T cf_nKiLimProt; /* Variable: cf_nKiLimProt * Referenced by: - * '/cf_nKiLimProt' - * '/cf_nKiLimProt' + * '/cf_nKiLimProt' + * '/cf_nKiLimProt' */ uint8_T n_polePairs; /* Variable: n_polePairs - * Referenced by: '/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' + * Referenced by: '/z_selPhaCurMeasABC' */ boolean_T b_angleMeasEna; /* Variable: b_angleMeasEna * Referenced by: - * '/b_angleMeasEna' - * '/b_angleMeasEna' + * '/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' + * Referenced by: '/b_diagEna' */ boolean_T b_fieldWeakEna; /* Variable: b_fieldWeakEna * Referenced by: - * '/b_fieldWeakEna' - * '/b_fieldWeakEna' + * '/b_fieldWeakEna' + * '/b_fieldWeakEna' */ }; @@ -387,33 +394,34 @@ extern void BLDC_controller_step(RT_MODEL *const rtM); /*- * These blocks were eliminated from the model due to optimizations: * - * Block '/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 '/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 '/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 + * 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 '/toNegative' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion */ /*- @@ -435,96 +443,103 @@ extern void BLDC_controller_step(RT_MODEL *const rtM); * * '' : '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' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Call_Scheduler' + * '' : '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/Diagnostics_Enabled' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/either_edge' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Default' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/either_edge' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter/rst_Delay' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/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/Field_Weakening_Enabled' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Park_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAB' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAC' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesBC' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering/Low_Pass_Filter' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Clarke_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Park_Transform' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Open_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Clamping_circuit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Saturation_hit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Clamping_circuit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Saturation_hit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Saturation_hit' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection/Saturation Dynamic' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator' + * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/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_ */ diff --git a/BLDC_controller_ert_rtw/BLDC_controller_data.c b/BLDC_controller_ert_rtw/BLDC_controller_data.c index 94af034..976551a 100644 --- a/BLDC_controller_ert_rtw/BLDC_controller_data.c +++ b/BLDC_controller_ert_rtw/BLDC_controller_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'BLDC_controller'. * - * Model version : 1.1284 + * Model version : 1.1296 * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017 - * C/C++ source code generated on : Sun Oct 11 21:38:56 2020 + * C/C++ source code generated on : Tue Oct 20 17:29:57 2020 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex @@ -21,8 +21,50 @@ /* Constant parameters (auto storage) */ const ConstP rtConstP = { + /* Computed Parameter: r_sin_M1_Table + * Referenced by: '/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: r_sin3PhaA_M1_Table - * Referenced by: '/r_sin3PhaA_M1' + * Referenced by: '/r_sin3PhaA_M1' */ { -13091, -13634, -14126, -14565, -14953, -15289, -15577, -15816, -16009, -16159, -16269, -16340, -16377, -16383, -16362, -16317, -16253, -16172, @@ -44,7 +86,7 @@ const ConstP rtConstP = { -9623, -10411, -11154, -11849, -12496, -13091 }, /* Computed Parameter: r_sin3PhaB_M1_Table - * Referenced by: '/r_sin3PhaB_M1' + * 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, @@ -66,7 +108,7 @@ const ConstP rtConstP = { 15377, 15306, 15248, 15206, 15180, 15172 }, /* Computed Parameter: r_sin3PhaC_M1_Table - * Referenced by: '/r_sin3PhaC_M1' + * 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, @@ -87,50 +129,8 @@ const ConstP rtConstP = { -16362, -16383, -16377, -16340, -16269, -16159, -16009, -15816, -15577, -15289, -14953, -14565, -14126, -13634, -13091 }, - /* Computed Parameter: r_sin_M1_Table - * Referenced by: '/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' + * Referenced by: '/iq_maxSca_M1' */ { 65535U, 65523U, 65484U, 65418U, 65326U, 65207U, 65062U, 64890U, 64691U, 64465U, 64211U, 63930U, 63620U, 63281U, 62913U, 62516U, 62088U, 61630U, @@ -140,12 +140,12 @@ const ConstP rtConstP = { 28540U, 25655U, 22323U, 18304U, 12974U }, /* Computed Parameter: z_commutMap_M1_table - * Referenced by: '/z_commutMap_M1' + * 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' + * Referenced by: '/vec_hallToPos' */ { 0, 2, 0, 1, 4, 3, 5, 0 } }; diff --git a/BLDC_controller_ert_rtw/ert_main.c b/BLDC_controller_ert_rtw/ert_main.c index 3b84a12..99b5210 100644 --- a/BLDC_controller_ert_rtw/ert_main.c +++ b/BLDC_controller_ert_rtw/ert_main.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'BLDC_controller'. * - * Model version : 1.1284 + * Model version : 1.1296 * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017 - * C/C++ source code generated on : Sun Oct 11 21:38:56 2020 + * C/C++ source code generated on : Tue Oct 20 17:29:57 2020 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex @@ -26,59 +26,59 @@ static RT_MODEL rtM_; static RT_MODEL *const rtMPtr = &rtM_; /* Real-time model */ static P rtP = { /* Variable: dV_openRate - * Referenced by: '/dV_openRate' + * Referenced by: '/dV_openRate' */ 12288, /* Variable: dz_cntTrnsDetHi - * Referenced by: '/dz_cntTrnsDet' + * Referenced by: '/dz_cntTrnsDet' */ 40, /* Variable: dz_cntTrnsDetLo - * Referenced by: '/dz_cntTrnsDet' + * Referenced by: '/dz_cntTrnsDet' */ 20, /* Variable: n_cruiseMotTgt - * Referenced by: '/n_cruiseMotTgt' + * Referenced by: '/n_cruiseMotTgt' */ 0, /* Variable: z_maxCntRst * Referenced by: - * '/Counter' - * '/z_maxCntRst' - * '/z_maxCntRst2' - * '/UnitDelay3' - * '/z_counter' + * '/Counter' + * '/z_maxCntRst' + * '/z_maxCntRst2' + * '/UnitDelay3' + * '/z_counter' */ 2000, /* Variable: cf_speedCoef - * Referenced by: '/cf_speedCoef' + * Referenced by: '/cf_speedCoef' */ 10667U, /* Variable: t_errDequal - * Referenced by: '/t_errDequal' + * Referenced by: '/t_errDequal' */ 9600U, /* Variable: t_errQual - * Referenced by: '/t_errQual' + * Referenced by: '/t_errQual' */ 1280U, /* Variable: Vd_max * Referenced by: - * '/Vd_max1' - * '/Vd_max' + * '/Vd_max' + * '/Vd_max1' */ 14400, /* Variable: Vq_max_M1 - * Referenced by: '/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, @@ -86,7 +86,7 @@ static P rtP = { 9790, 9433, 9051, 8640, 8196, 7713, 7184, 6597, 5935, 5170, 4245, 3019, 0 }, /* Variable: Vq_max_XA - * Referenced by: '/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, @@ -94,127 +94,127 @@ static P rtP = { 12160, 12480, 12800, 13120, 13440, 13760, 14080, 14400 }, /* Variable: a_phaAdvMax - * Referenced by: '/a_phaAdvMax' + * Referenced by: '/a_phaAdvMax' */ 400, /* Variable: i_max * Referenced by: - * '/i_max' - * '/i_max' + * '/i_max' + * '/i_max' */ 12000, /* Variable: id_fieldWeakMax - * Referenced by: '/id_fieldWeakMax' + * Referenced by: '/id_fieldWeakMax' */ 4000, /* Variable: n_commAcvLo - * Referenced by: '/n_commDeacv' + * Referenced by: '/n_commDeacv' */ 240, /* Variable: n_commDeacvHi - * Referenced by: '/n_commDeacv' + * Referenced by: '/n_commDeacv' */ 480, /* Variable: n_fieldWeakAuthHi - * Referenced by: '/n_fieldWeakAuthHi' + * Referenced by: '/n_fieldWeakAuthHi' */ 6400, /* Variable: n_fieldWeakAuthLo - * Referenced by: '/n_fieldWeakAuthLo' + * Referenced by: '/n_fieldWeakAuthLo' */ 4800, /* Variable: n_max * Referenced by: - * '/n_max1' - * '/n_max' + * '/n_max' + * '/n_max1' */ - 24000, + 16000, /* Variable: n_stdStillDet - * Referenced by: '/n_stdStillDet' + * Referenced by: '/n_stdStillDet' */ 48, /* Variable: r_errInpTgtThres - * Referenced by: '/r_errInpTgtThres' + * Referenced by: '/r_errInpTgtThres' */ 9600, /* Variable: r_fieldWeakHi - * Referenced by: '/r_fieldWeakHi' + * Referenced by: '/r_fieldWeakHi' */ 16000, /* Variable: r_fieldWeakLo - * Referenced by: '/r_fieldWeakLo' + * Referenced by: '/r_fieldWeakLo' */ 12000, /* Variable: cf_KbLimProt * Referenced by: - * '/cf_KbLimProt' - * '/cf_KbLimProt' + * '/cf_KbLimProt' + * '/cf_KbLimProt' */ 768U, /* Variable: cf_idKp - * Referenced by: '/cf_idKp1' + * Referenced by: '/cf_idKp1' */ 819U, /* Variable: cf_iqKp - * Referenced by: '/cf_iqKp' + * Referenced by: '/cf_iqKp' */ 1229U, /* Variable: cf_nKp - * Referenced by: '/cf_nKp' + * Referenced by: '/cf_nKp' */ 4833U, /* Variable: cf_currFilt - * Referenced by: '/cf_currFilt' + * Referenced by: '/cf_currFilt' */ 7864U, /* Variable: cf_idKi - * Referenced by: '/cf_idKi1' + * Referenced by: '/cf_idKi1' */ 737U, /* Variable: cf_iqKi - * Referenced by: '/cf_iqKi' + * Referenced by: '/cf_iqKi' */ 1229U, /* Variable: cf_iqKiLimProt * Referenced by: - * '/cf_iqKiLimProt' - * '/cf_iqKiLimProt' + * '/cf_iqKiLimProt' + * '/cf_iqKiLimProt' */ 737U, /* Variable: cf_nKi - * Referenced by: '/cf_nKi' + * Referenced by: '/cf_nKi' */ 251U, /* Variable: cf_nKiLimProt * Referenced by: - * '/cf_nKiLimProt' - * '/cf_nKiLimProt' + * '/cf_nKiLimProt' + * '/cf_nKiLimProt' */ 246U, /* Variable: n_polePairs - * Referenced by: '/n_polePairs' + * Referenced by: '/n_polePairs' */ 15U, @@ -224,14 +224,14 @@ static P rtP = { 2U, /* Variable: z_selPhaCurMeasABC - * Referenced by: '/z_selPhaCurMeasABC' + * Referenced by: '/z_selPhaCurMeasABC' */ 0U, /* Variable: b_angleMeasEna * Referenced by: - * '/b_angleMeasEna' - * '/b_angleMeasEna' + * '/b_angleMeasEna' + * '/b_angleMeasEna' */ 0, @@ -241,14 +241,14 @@ static P rtP = { 0, /* Variable: b_diagEna - * Referenced by: '/b_diagEna' + * Referenced by: '/b_diagEna' */ 1, /* Variable: b_fieldWeakEna * Referenced by: - * '/b_fieldWeakEna' - * '/b_fieldWeakEna' + * '/b_fieldWeakEna' + * '/b_fieldWeakEna' */ 0 }; /* Modifiable parameters */ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview.json index ddb7833..7842ec6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview.json @@ -8,7 +8,7 @@ "sid":"BLDCmotor_FOC_R2017b_fixdt", "name":"BLDCmotor_FOC_R2017b_fixdt", "fullname":"BLDCmotor_FOC_R2017b_fixdt", - "label":"BLDCmotor_FOC_R2017b_fixdt*", + "label":"BLDCmotor_FOC_R2017b_fixdt", "parent":0, "descendants":[ 2, @@ -103,7 +103,14 @@ 91, 92, 93, - 94 + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101 ], "hierarchyUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json" diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json index f9fcdc6..b1ccd3d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json @@ -438,7 +438,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:572#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", @@ -489,7 +489,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:571#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", @@ -540,7 +540,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:2906#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", @@ -591,7 +591,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:570#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", @@ -642,7 +642,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035:573#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10035", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg index 76398d4..4f94c9f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg @@ -117,7 +117,7 @@ - + @@ -519,5 +519,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json index f45483f..f2f0d4b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json @@ -1,157 +1,10 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10523", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Field Weakening / Phase Advance

", - "label":"

Field Weakening / Phase Advance

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

Field Weakening / Phase Advance

", - "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: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":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

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

", - "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:10521", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Calculate Blending Factor

", - "label":"

Calculate Blending Factor

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

Calculate Blending Factor

", - "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:10519", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10064", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"r_fieldWeakLo", - "label":"r_fieldWeakLo", + "name":"b_fieldWeakEna", + "label":"b_fieldWeakEna", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ @@ -165,331 +18,66 @@ "FramePeriod" ], "values":[ - "r_fieldWeakLo", + "b_fieldWeakEna", "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: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: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:10513", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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: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: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: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" + "off", + "inf" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10139", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If3", + "label":"If3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 1, 4 ] }, @@ -499,7 +87,263 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"If", + "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:11766", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "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:11765", + "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:11767", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11768", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "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:11719", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Field_Weakening_Enabled", + "label":"Field_Weakening_Enabled", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", "masktype":"" } }, @@ -583,7 +427,7 @@ "auto", "off", "off", - "[]", + "0", "off", "held", "off", @@ -616,1006 +460,6 @@ "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: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: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: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: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: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: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: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:10497", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10495", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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: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: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:10492", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "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: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: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:10490", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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:10496", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_blendFactor", - "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":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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:10511", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "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:10509", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "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:10494", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "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:10487", "className":"Simulink.Inport", @@ -1684,7 +528,184 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10486", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10488", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "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: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:11764", + "className":"Simulink.TriggerPort", + "icon":"WebViewIcon3", + "name":"function", + "label":"function", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "TriggerType", + "IsSimulinkFunction", + "StatesWhenEnabling", + "PropagateVarSize", + "ShowOutputPort", + "SampleTimeType", + "OutDataTypeStr", + "FunctionName", + "FunctionPrototype", + "FunctionVisibility", + "GeneratePreprocessorConditionals", + "InitialTriggerSignalState", + "Interpolate", + "OutMax", + "OutMin", + "OutputDataType", + "PortDimensions", + "SampleTime", + "TriggerSignalSampleTime", + "Variant", + "VariantControl", + "ZeroCross" + ], + "values":[ + "function-call", + "off", + "held", + "During execution", + "off", + "triggered", + "Inherit: auto", + "", + "f()", + "global", + "off", + "compatibility (no trigger on first evaluation)", + "on", + "[]", + "[]", + "auto", + "-1", + "1", + "-1", + "off", + "Variant", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"TriggerPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12675", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlTypSel", @@ -1751,19 +772,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10500", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12676", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_fieldWeak", + "z_ctrlTypSel", + "local", "Tag" ], "tabs":[ @@ -1777,351 +800,14 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10489", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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:10514#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10500#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10513#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10517#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10491#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10506#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10498#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -2172,721 +858,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10488#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10493#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10507#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10516#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10492#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10512#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10496#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10511#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10515#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10499#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10508#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10494#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10510#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10490#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10486#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -2937,7 +909,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10487#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -2986,9 +958,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10518#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10139#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -3037,9 +1009,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10519#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11766#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -3088,9 +1060,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10495#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11765#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -3139,9 +1111,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10509#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11767#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", @@ -3190,9 +1162,111 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10497#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11719#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:10064#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12675#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", 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 index 20318dc..dd0cad3 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png 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/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg index 2ef769e..987242b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg @@ -1,660 +1,70 @@ - + - + - - - - - - - - - - - - - - Field Weakening / Phase Advance - - - - - - - - - - - - - - - - - - - This blendig factor is a number between [0, 1]. - - - - - - - - It manages the Field weakening amount, - - - - - - - - ranging from 0 to a calibratable Max value. - - - - - - - - - - - - - - - - - - - Calculate Blending Factor - - - - - - - - + + + - - + + - - + + - - r_fieldWeakLo + + b_fieldWeakEna - - + + - - + + - - + + - - r_fieldWeakLo + + b_fieldWeakEna - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - r_fieldWeakHi - - - - - - - - - - - - - - - - - - - - - - r_fieldWeakHi - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - a_phaAdvMax - - - - - - - - - - - - - - - - - - - - - - a_phaAdvMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthHi - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthHi - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + boolean @@ -666,28 +76,455 @@ - - - + + + - - + + - - + + - + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + r_inpTgt + + + + + + + + n_motAbs + + + + + + + + r_fieldWeak + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Field_Weakening_Enabled + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + @@ -700,42 +537,42 @@ - + - + - + - + 1 - + - + - - + + - + r_fieldWeak @@ -747,317 +584,58 @@ - - - + + + - - + + - - + + - - [r_inpTgt] + + 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - id_fieldWeakMax - - - - - - - + + - - + + - - + + - - id_fieldWeakMax + + r_inpTgt - + - - + + - + sfix16_En4 @@ -1067,806 +645,60 @@ - - - - - - - - - - - - - - - - - - [r_blendFactor] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthLo - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthLo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - CTRL_FOC - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_blendFactor] - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - + - + - + - + 3 - + - + - - + + - + n_motAbs - + - - + + - + sfix16_En4 @@ -1878,60 +710,29 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + [r_inpTgt] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1942,179 +743,44 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + f() - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - + + - - + + - - + + - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 + + function @@ -2125,58 +791,58 @@ - - + + - + - + - + 1 - + - + - - + + - + z_ctrlTypSel - + - - + + - + uint8 @@ -2188,110 +854,33 @@ - - - + + + - - + + - - + + - - [r_fieldWeak] + + [z_ctrlTypSel] - - + + - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - @@ -2299,121 +888,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2423,227 +902,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2653,141 +916,109 @@ - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2796,5 +1027,5 @@ - + 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 deleted file mode 100644 index 9e9ff24..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json index afb64bf..4c81c09 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json @@ -1,278 +1,4 @@ [ - { - "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: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: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: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: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:10419", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10370", "className":"Simulink.Outport", @@ -280,185 +6,6 @@ "name":"Vd", "label":"Vd", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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:8852", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto30", - "label":"Goto30", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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:10388", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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: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:10368", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq", - "label":"Vq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -533,240 +80,91 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11477", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10368", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", + "name":"Vq", + "label":"Vq", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "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":[ - "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:10735", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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: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: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: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", + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", "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", + "inherit", "-1", - "", + "Inherit", + "-1", + "auto", "off", - "" + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10409", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10425", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -774,550 +172,9 @@ "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: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: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: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: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: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: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: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: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: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: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:10030", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "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: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: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:8816", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], "values":[ "iq_min", + "local", "Tag" ], "tabs":[ @@ -1331,131 +188,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8809", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From54", - "label":"From54", - "parent":"BLDCmotor_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":"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: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: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", + "blocktype":"Goto", "masktype":"" } }, @@ -1493,135 +226,11 @@ } }, { - "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: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: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: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:10408", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10424", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -1630,7 +239,7 @@ "IconDisplay" ], "values":[ - "id_Tgt", + "iq_max", "local", "Tag" ], @@ -1650,147 +259,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8793", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10419", + "className":"Simulink.Goto", "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: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:8789", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "Vq_min", + "local", "Tag" ], "tabs":[ @@ -1804,24 +287,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10724", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10388", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_iqLimProtMax", + "z_ctrlMod", + "local", "Tag" ], "tabs":[ @@ -1835,7 +320,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -1873,166 +358,11 @@ } }, { - "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: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:8774", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "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: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: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:8832", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11514", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto23", + "label":"Goto23", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2041,7 +371,7 @@ "IconDisplay" ], "values":[ - "Vq_Spd", + "b_cruiseCtrlEna", "local", "Tag" ], @@ -2094,11 +424,275 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11512", + "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: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:12672", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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: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:12671", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "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: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:12670", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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:10408", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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:12665", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2106,7 +700,7 @@ "IconDisplay" ], "values":[ - "b_cruiseCtrlEna", + "VqFinPrev", "Tag" ], "tabs":[ @@ -2125,7 +719,457 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12664", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "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:12662", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From62", + "label":"From62", + "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:10387", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_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":"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:12660", + "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:12659", + "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:12658", + "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:12653", + "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:12661", + "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:12652", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From44", + "label":"From44", + "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:12668", + "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 == 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: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:12650", + "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:12649", + "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:12651", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From36", @@ -2156,11 +1200,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8766", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12648", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From16", + "label":"From16", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2168,7 +1212,7 @@ "IconDisplay" ], "values":[ - "id", + "Vq_max", "Tag" ], "tabs":[ @@ -2187,7 +1231,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8771", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12655", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From47", + "label":"From47", + "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:12647", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From14", @@ -2218,11 +1293,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8765", + "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:12646", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2230,7 +1338,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "id_TgtAbs", "Tag" ], "tabs":[ @@ -2249,20 +1357,20 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10366", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12645", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "b_cruiseCtrlEna", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -2275,16 +1383,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8830", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10418", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2293,7 +1401,71 @@ "IconDisplay" ], "values":[ - "Vq_Open", + "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: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:10735", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", "local", "Tag" ], @@ -2345,6 +1517,114 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12644", + "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:11718", + "className":"Simulink.TriggerPort", + "icon":"WebViewIcon3", + "name":"function", + "label":"function", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "TriggerType", + "IsSimulinkFunction", + "StatesWhenEnabling", + "PropagateVarSize", + "ShowOutputPort", + "SampleTimeType", + "OutDataTypeStr", + "FunctionName", + "FunctionPrototype", + "FunctionVisibility", + "GeneratePreprocessorConditionals", + "InitialTriggerSignalState", + "Interpolate", + "OutMax", + "OutMin", + "OutputDataType", + "PortDimensions", + "SampleTime", + "TriggerSignalSampleTime", + "Variant", + "VariantControl", + "ZeroCross" + ], + "values":[ + "function-call", + "off", + "held", + "During execution", + "off", + "triggered", + "Inherit: auto", + "", + "f()", + "global", + "off", + "compatibility (no trigger on first evaluation)", + "on", + "[]", + "[]", + "auto", + "-1", + "1", + "-1", + "off", + "Variant", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"TriggerPort", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11513", "className":"Simulink.Inport", @@ -2373,1045 +1653,7 @@ "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: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: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:10720", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", - "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":[ - "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":"BLDCmotor_FOC_R2017b_fixdt:10406", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_max", - "label":"id_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":[ - "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:10415", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_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":[ - "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":"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:10721", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", - "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":[ - "18", - "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: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:10414", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_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":[ - "11", - "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: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: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: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:10417", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "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":[ - "20", - "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: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: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: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: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", + "23", "Port number", "[]", "[]", @@ -3478,733 +1720,7 @@ "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: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: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:10387", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotor_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":"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:10734", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", - "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":[ - "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:10373", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "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":[ - "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: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:10416", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_limProtErr", - "label":"iq_limProtErr", - "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":[ - "19", - "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: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: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: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: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: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", + "17", "Port number", "[]", "[]", @@ -4250,6 +1766,805 @@ "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":[ + "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: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":[ + "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:12667", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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:10414", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_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":[ + "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":"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":[ + "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: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":[ + "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:10721", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "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":[ + "19", + "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_TgtAbs", + "label":"id_TgtAbs", + "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:10417", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", + "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:12654", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "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: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":[ + "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:10415", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_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":[ + "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: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":[ + "11", + "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:10406", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_max", + "label":"id_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "Port", @@ -4311,97 +2626,93 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8766#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10412", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "id", + "local", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Goto", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8770#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10734", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4409,101 +2720,165 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8779#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12392", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Enabled", + "label":"FOC_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" ], "values":[ - "", + "FromPortIcon", + "ReadWrite", "off", "off", - "off", - "off", - "Simulink", + "-1", "Auto", "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", "" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", + "Main", "Code Generation", - "Documentation" + "-Other" ], "tabs_idx":[ 0, - 3, 5, - 7 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9029#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10373", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4511,152 +2886,130 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9109#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12663", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From64", + "label":"From64", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "Vq_nLimProtMax", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"From", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9074#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10409", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "Vd_max", + "local", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Goto", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9171#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10416", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_limProtErr", + "label":"iq_limProtErr", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "20", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", "", + "on", "off", "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4664,50 +3017,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8765#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "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":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4715,50 +3084,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8773#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10720", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "18", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", "", + "on", "off", "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4766,101 +3151,97 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8777#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12657", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From54", + "label":"From54", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "Vd_min", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"From", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8774#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10403", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4868,50 +3249,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8780#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10397", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4919,101 +3316,99 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8789#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10398", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "iq", + "local", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Goto", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8791#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "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":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -5021,50 +3416,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8799#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12669", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -5072,1135 +3483,46 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8793#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12656", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From53", + "label":"From53", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "Vd_max", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8792#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:8800#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:9108#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:9108#out:2", - "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:9108#out:3", - "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:9108#out:4", - "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:8801#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:8802#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:8803#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:8804#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:8808#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:8809#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:8812#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:8813#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:8814#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:8816#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:8823#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:8824#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:8771#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:9715#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:10030#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":[ - ] + "finder":{ + "blocktype":"From", + "masktype":"" + } }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10367#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6251,7 +3573,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10369#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6302,7 +3624,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10373#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6353,7 +3675,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10372#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6404,7 +3726,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10371#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6455,7 +3777,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10397#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6506,7 +3828,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10407#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6557,7 +3879,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10406#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6608,7 +3930,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10404#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6659,7 +3981,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10402#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6710,7 +4032,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10403#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6761,7 +4083,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10405#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6812,7 +4134,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10415#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6863,7 +4185,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10414#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6914,7 +4236,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10417#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -6965,7 +4287,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10416#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7016,7 +4338,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10423#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7067,7 +4389,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10422#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7118,7 +4440,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10426#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7169,7 +4491,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10720#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7220,109 +4542,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10721#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:10724#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:10730#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7373,58 +4593,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10734#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:10742#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7475,160 +4644,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11476#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:11478#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: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", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7679,7 +4695,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11513#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7728,9 +4744,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9143#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12645#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", @@ -7779,9 +4795,1284 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8912#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12654#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "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:12644#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12655#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12656#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12647#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12652#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12661#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12653#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12650#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12651#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12649#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12663#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12646#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12658#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12660#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12657#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12664#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12665#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12659#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12648#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12662#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12667#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12668#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12669#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12392#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12392#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", 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 index 1fbc23c..c03ac42 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png 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/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg index 86ff90f..abf548c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg @@ -1,513 +1,55 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - id_Tgt - - - - - - - - id - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - Vd - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vd_Calculation - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - case [ 1 ]: - - - - - - - - case [ 2 ]: - - - - - - - - case [ 3 ]: - - - - - - - - default: - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - + - + - + - - 1 + + 2 - + - + - - + + - + Vd @@ -517,144 +59,45 @@ - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - + - + - + - - 2 + + 1 - + - + - - + + - + Vq @@ -666,383 +109,7 @@ - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - n_mot - - - - - - - - iq_limProtErr - - - - - - - - VqFinPrev - - - - - - - - b_cruiseCtrlEna - - - - - - - - Vq_Spd - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Speed_Mode - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - + @@ -1052,12 +119,12 @@ - + - - [r_iqLimProtMax] + + [iq_min] @@ -1075,61 +142,28 @@ - - + + - + - - - - - - [Vq_Trq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [iq] + + [b_enaAdvCtrl] - + @@ -1139,78 +173,30 @@ - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + - + - + - + [iq_max] - + @@ -1222,1961 +208,7 @@ - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - iq - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - Vq_nLimProtMax - - - - - - - - VqFinPrev - - - - - - - - Vq_Trq - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Torque_Mode - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Trq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Spd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Vlt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_Open - - - - - - - - default: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Open_Mode - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Spd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Open] - - - - - - - - - - - - - - - - - - + @@ -3186,12 +218,12 @@ - + - - [id_max] + + [Vq_min] @@ -3209,1358 +241,7 @@ - - - - - - - - - - - - - - - - 22 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 17 - - - - - - - - - - - - - - - - - - - - - - r_iqLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 13 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - r_inpTgtScaAbs - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - Vq_Vlt - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Voltage_Mode - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 18 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 21 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 11 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 15 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - Vd_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - id - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 16 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_Tgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -4570,12 +251,12 @@ - + - - [r_inpTgtSca] + + [z_ctrlMod] @@ -4593,43 +274,1008 @@ - - - + + + - - + + - - + + - - [z_ctrlMod] + + [id_min] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + - - + + - + uint8 @@ -4641,58 +1287,43 @@ - - - + + + - - + + - - + + - - 4 + + [Vq_min] - - - - - - - - - - - - - - - - - r_inpTgtScaAbs + + - + - - + + - + sfix16_En4 @@ -4704,58 +1335,43 @@ - - - + + + - - + + - - + + - - 3 + + [n_mot] - - - - - - - - - - - - - - - - - r_inpTgtSca + + - + - - + + - + sfix16_En4 @@ -4767,58 +1383,43 @@ - - - + + + - - + + - - + + - - 5 + + [Vq_max] - - - - - - - - - - - - - - - - - n_mot + + - + - - + + - + sfix16_En4 @@ -4830,7 +1431,964 @@ - + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + f() + + + + + + + + + + + + + + + + + + + + + + function + + + + + + + + + + + + + + + + + + + + + + + + + + 23 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 17 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 15 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 22 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -4840,11 +2398,11 @@ - + - + 19 @@ -4859,140 +2417,29 @@ - + - - + + - - iq_limProtErr + + r_nLimProtMax - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Open] - - - - - - - - - - - - - - - + + - + sfix16_En4 @@ -5004,202 +2451,58 @@ - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - + + - + - + - - 1 + + 7 - + - - + + - - + + - - b_enaAdvCtrl + + id_TgtAbs - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Vlt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - + - - + + - + sfix16_En4 @@ -5211,7 +2514,307 @@ - + + + + + + + + + + + + + + + + 21 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 13 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -5221,11 +2824,11 @@ - + - + 14 @@ -5240,15 +2843,15 @@ - + - - + + - - id_min + + id_max @@ -5258,11 +2861,11 @@ - - + + - + sfix16_En4 @@ -5272,518 +2875,1137 @@ - + - - - + + + - - + + + + + + + + + + + + [id] + + + + + + + + + - + - - - + + + - - + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca + + + + + + + + r_inpTgtScaAbs + + + + + + + + n_mot + + + + + + + + id_TgtAbs + + + + + + + + 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 + + + + + + + + Vq + + + + + + + + Vd + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC_Enabled + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + - + - - - + + + + + + + + + - - + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + [Vd_max] + + + + + + + + + - + - - - + + + - - + + + + + + + + + + + + 20 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + sfix32_En20 + + - + - - - + + + - - + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + - + - - - + + + - - + + + + + + + + + + + + 18 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + - + - - - + + + - - + + + + + + + + + + + + [iq] + + + + + + + + + - + - - - + + + - - + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + - + - - - + + + - - + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + - + - - - + + + - - + + - - - - - - - - - - - - + + + + + + + + [Vd_max] + + - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + sfix16_En4 + + @@ -5793,11 +4015,11 @@ - + - + @@ -5807,11 +4029,11 @@ - + - + @@ -5819,300 +4041,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6126,21 +4054,161 @@ - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6154,49 +4222,105 @@ - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6210,28 +4334,392 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6240,5 +4728,5 @@ - + 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 deleted file mode 100644 index 9f0d036..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.png and /dev/null differ 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 deleted file mode 100644 index 9b0ad1c..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_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/BLDCmotor_FOC_R2017b_fixdt_10508_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.svg deleted file mode 100644 index 5af9853..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_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/BLDCmotor_FOC_R2017b_fixdt_10566_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.png deleted file mode 100644 index 641063d..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.png and /dev/null differ 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 deleted file mode 100644 index 7d20e66..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.json +++ /dev/null @@ -1,936 +0,0 @@ -[ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:10", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "OutMin", - "OutMax", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:9", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "<", - "off", - "boolean", - "Nearest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:8", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "OutMin", - "OutMax", - "Inherit: Inherit via back propagation", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:7", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch", - "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:6", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - ">", - "off", - "boolean", - "Nearest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:5", - "className":"Simulink.SFunction", - "icon":"WebViewIcon3", - "name":"Data Type Propagation", - "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "PropDataTypeMode", - "PropDataType", - "IfRefDouble", - "IfRefSingle", - "IsSigned", - "NumBitsBase", - "NumBitsMult", - "NumBitsAdd", - "NumBitsAllowFinal", - "PropScalingMode", - "PropScaling", - "ValuesUsedBestPrec", - "SlopeBase", - "SlopeMult", - "SlopeAdd", - "BiasBase", - "BiasMult", - "BiasAdd" - ], - "values":[ - "Inherit via propagation rule", - "fixdt(1, 16)", - "double", - "single", - "IsSigned1", - "NumBits1", - "1", - "0", - "1:128", - "Inherit via propagation rule", - "2^-10", - "[5 -7]", - "Slope1", - "1", - "0", - "Bias1", - "1", - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"S-Function", - "masktype":"Data Type Propagation" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:4", - "className":"Simulink.DataTypeDuplicate", - "icon":"WebViewIcon3", - "name":"Data Type Duplicate", - "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "NumInputPorts" - ], - "values":[ - "2" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"DataTypeDuplicate", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:3", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:2", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:1", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"up", - "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:1#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:2#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:3#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:7#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:8#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:6#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895:9#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - } -] \ No newline at end of file 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 deleted file mode 100644 index 893375d..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.json +++ /dev/null @@ -1,936 +0,0 @@ -[ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:10", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "OutMin", - "OutMax", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:9", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "<", - "off", - "boolean", - "Nearest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:8", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "OutMin", - "OutMax", - "Inherit: Inherit via back propagation", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:7", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch", - "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Floor", - "off", - "off", - "-1", - "0", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:6", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - ">", - "off", - "boolean", - "Nearest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:5", - "className":"Simulink.SFunction", - "icon":"WebViewIcon3", - "name":"Data Type Propagation", - "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "PropDataTypeMode", - "PropDataType", - "IfRefDouble", - "IfRefSingle", - "IsSigned", - "NumBitsBase", - "NumBitsMult", - "NumBitsAdd", - "NumBitsAllowFinal", - "PropScalingMode", - "PropScaling", - "ValuesUsedBestPrec", - "SlopeBase", - "SlopeMult", - "SlopeAdd", - "BiasBase", - "BiasMult", - "BiasAdd" - ], - "values":[ - "Inherit via propagation rule", - "fixdt(1, 16)", - "double", - "single", - "IsSigned1", - "NumBits1", - "1", - "0", - "1:128", - "Inherit via propagation rule", - "2^-10", - "[5 -7]", - "Slope1", - "1", - "0", - "Bias1", - "1", - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"S-Function", - "masktype":"Data Type Propagation" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:4", - "className":"Simulink.DataTypeDuplicate", - "icon":"WebViewIcon3", - "name":"Data Type Duplicate", - "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "NumInputPorts" - ], - "values":[ - "2" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"DataTypeDuplicate", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:3", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:2", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:1", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"up", - "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:1#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:2#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:3#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:7#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:8#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:6#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895:9#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - } -] \ No newline at end of file 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 deleted file mode 100644 index 305a72e..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.png and /dev/null differ 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 index 5bb5e61..71e6b10 100644 --- 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 @@ -1,123 +1,4 @@ [ - { - "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: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:11097", "className":"Simulink.Merge", @@ -201,27 +82,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11093", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11100", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"i_alpha", + "label":"i_alpha", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "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":[ - "i_alphaAC", - "local", - "Tag" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "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" @@ -229,40 +157,7 @@ "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", + "blocktype":"Outport", "masktype":"" } }, @@ -300,11 +195,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11088", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11094", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -313,7 +208,40 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "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: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" ], @@ -366,11 +294,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11087", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11090", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -379,7 +307,7 @@ "IconDisplay" ], "values":[ - "i_alphaAB", + "i_alphaBC", "local", "Tag" ], @@ -399,11 +327,60 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11086", + "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:11088", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -412,7 +389,7 @@ "IconDisplay" ], "values":[ - "i_alpha", + "i_phaAB", "local", "Tag" ], @@ -432,11 +409,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11085", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11084", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From8", + "label":"From8", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -463,11 +440,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11094", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11089", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -476,7 +453,7 @@ "IconDisplay" ], "values":[ - "i_beta", + "i_phaBC", "local", "Tag" ], @@ -495,68 +472,6 @@ "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: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:11079", "className":"Simulink.From", @@ -589,11 +504,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11077", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11078", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -601,7 +516,108 @@ "IconDisplay" ], "values":[ - "i_betaAC", + "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: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: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: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":[ @@ -650,6 +666,39 @@ "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:11074", "className":"Simulink.From", @@ -713,21 +762,118 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11089", - "className":"Simulink.Goto", + "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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11077", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "i_phaBC", - "local", + "i_betaAC", "Tag" ], "tabs":[ @@ -741,7 +887,69 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "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: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":"" } }, @@ -826,108 +1034,11 @@ } }, { - "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:11082", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11080", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From4", + "label":"From4", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -935,7 +1046,7 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "i_alpha", "Tag" ], "tabs":[ @@ -953,119 +1064,6 @@ "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: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: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:11026", "className":"Simulink.SubSystem", @@ -1077,21 +1075,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1103,30 +1102,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1138,18 +1137,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1163,68 +1163,6 @@ "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: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:11025", "className":"Simulink.Inport", @@ -1293,11 +1231,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11084", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11083", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -1305,38 +1243,7 @@ "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:11078", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_betaAB", + "i_phaAB", "Tag" ], "tabs":[ @@ -1365,21 +1272,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1391,30 +1299,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1426,18 +1334,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1451,6 +1360,70 @@ "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: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:11024", "className":"Simulink.Inport", @@ -1518,10 +1491,43 @@ "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:11056#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1572,7 +1578,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11079#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1623,7 +1629,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11078#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1674,7 +1680,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11024#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1725,7 +1731,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11085#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1776,7 +1782,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11083#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1827,7 +1833,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11026#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1878,7 +1884,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11072#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1929,7 +1935,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11096#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -1980,7 +1986,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11099#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2031,7 +2037,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11073#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2082,7 +2088,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11081#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2133,7 +2139,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11026#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2184,7 +2190,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11025#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2235,7 +2241,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11084#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2286,7 +2292,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11097#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2337,7 +2343,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11098#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2388,7 +2394,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11082#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2439,7 +2445,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11080#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2490,7 +2496,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11056#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2541,7 +2547,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11096#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2592,7 +2598,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11096#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2643,7 +2649,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11074#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2694,7 +2700,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11075#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2745,7 +2751,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11041#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2796,7 +2802,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11041#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2847,7 +2853,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11076#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", @@ -2898,7 +2904,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11077#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", 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 index def65b4..4e6c357 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png 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/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg index 7c9a78e..7eebac4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg @@ -10,124 +10,12 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alpha - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - + @@ -135,19 +23,19 @@ - + - + - + - + @@ -173,11 +61,11 @@ - + - + sfix16_En4 @@ -191,7 +79,7 @@ - + @@ -199,35 +87,35 @@ - + - + u1 - + - + if(u1 == 0) - + - + elseif(u1 == 1) - + - + else @@ -245,26 +133,11 @@ - + - - action - - - - - - - - - - - - - - + action @@ -275,11 +148,26 @@ - + - + + action + + + + + + + + + + + + + + action @@ -291,62 +179,44 @@ - - - + + + - - + + - - + + - - [i_alphaAC] + + 1 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [i_alphaBC] - - - - - - - + + i_alpha @@ -367,11 +237,11 @@ - + - + [i_betaAC] @@ -390,28 +260,61 @@ - - + + - + - + - - [i_phaAB] + + [i_beta] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAC] + + + + + + @@ -433,11 +336,11 @@ - + - + [i_betaAB] @@ -456,28 +359,28 @@ - - + + - + - + - - [i_alphaAB] + + [i_alphaBC] - + @@ -489,28 +392,91 @@ - - - + + + - - + + - - + + - - [i_alpha] + + z_selPhaCurMeasABC - + + + + + + + + + + + + + + + + + z_selPhaCurMeasABC + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + @@ -522,412 +488,43 @@ - - + + - + - + - + [i_phaBC] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_beta] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alpha] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaAC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alphaAC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alphaAB] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -949,11 +546,11 @@ - + - + [i_phaBC] @@ -972,44 +569,429 @@ - - - + + + - - + + - - + + - - 2 + + [i_betaBC] - - + + - - - + + + - - + + - - i_beta + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_betaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_beta] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1022,7 +1004,7 @@ - + @@ -1036,43 +1018,43 @@ - + - + i_phaB - + - + i_phaC - + - + i_alphaBC - + - + i_betaBC - + - + elseif { } @@ -1102,11 +1084,11 @@ - + - + Clarke_PhasesBC @@ -1119,16 +1101,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1140,16 +1122,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1161,15 +1143,15 @@ - + - - + + - + sfix16_En4 @@ -1181,49 +1163,49 @@ - + - + - + - + - - [i_phaAB] + + [i_betaAC] - + - + - - + + - + sfix16_En4 @@ -1235,29 +1217,44 @@ - - - + + + - - + + - - + + - - [i_betaBC] + + [i_phaBC] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1268,11 +1265,11 @@ - - + + - + @@ -1282,29 +1279,29 @@ - - [i_alphaBC] + + [i_phaBC] - + - + - + - + sfix16_En4 @@ -1316,59 +1313,92 @@ - - - + + + - - + + - + - - z_selPhaCurMeasABC + + 2 - - + + - - + + - + - - z_selPhaCurMeasABC + + i_beta + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alpha] + + + + + + + - - + + - - + + - - uint8 + + sfix16_En4 @@ -1381,7 +1411,7 @@ - + @@ -1395,43 +1425,43 @@ - + - + i_phaA - + - + i_phaB - + - + i_alphaAB - + - + i_betaAB - + - + if { } @@ -1461,11 +1491,11 @@ - + - + Clarke_PhasesAB @@ -1478,16 +1508,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1499,16 +1529,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1520,117 +1550,15 @@ - + - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_beta] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1643,6 +1571,12 @@ + + + + + + @@ -1652,11 +1586,11 @@ - + - + 2 @@ -1674,11 +1608,11 @@ - + - + i_phaBC @@ -1689,11 +1623,11 @@ - + - + sfix16_En4 @@ -1705,91 +1639,43 @@ - - + + - + - + - - [i_phaBC] + + [i_phaAB] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaAB] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1803,7 +1689,7 @@ - + @@ -1817,43 +1703,43 @@ - + - + i_phaA - + - + i_phaC - + - + i_alphaAC - + - + i_betaAC - + - + else { } @@ -1883,11 +1769,11 @@ - + - + Clarke_PhasesAC @@ -1900,16 +1786,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1921,16 +1807,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1942,15 +1828,15 @@ - + - - + + - + sfix16_En4 @@ -1962,13 +1848,94 @@ - + + + + + + + + + + + + + + + + [i_alphaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_betaBC] + + + + + + + + + + + + + + + + + + @@ -1978,11 +1945,11 @@ - + - + 1 @@ -2000,11 +1967,11 @@ - + - + i_phaAB @@ -2015,11 +1982,11 @@ - + - + sfix16_En4 @@ -2029,6 +1996,39 @@ + + + + + + + + + + + + + + + + + + [i_alpha] + + + + + + + + + + + + + + + @@ -2423,5 +2423,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json index 41e3e31..1ba8e19 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json @@ -128,6 +128,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11037", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11038", "className":"Simulink.Outport", @@ -208,6 +267,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11035", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11036", "className":"Simulink.SignalConversion", @@ -241,65 +333,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11037", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11034", "className":"Simulink.Goto", @@ -333,6 +366,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11031", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11032", "className":"Simulink.Gain", @@ -392,6 +456,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11030", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaA", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11033", "className":"Simulink.Gain", @@ -451,199 +546,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11031", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11030", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11029", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11035", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11028", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"i_phaB", - "label":"i_phaB", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11027", "className":"Simulink.Inport", @@ -711,10 +613,108 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11028", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaB", + "label":"i_phaB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11029", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11028#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -765,7 +765,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11027#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -816,7 +816,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11030#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -867,7 +867,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11032#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -918,7 +918,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11031#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -969,7 +969,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11033#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -1020,7 +1020,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11037#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", @@ -1071,7 +1071,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11036#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg index 213960f..35526cb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg @@ -110,6 +110,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -122,11 +194,11 @@ - + - + 1 @@ -144,11 +216,11 @@ - + - + i_alphaAB @@ -158,6 +230,39 @@ + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + + + + + + + + + @@ -170,84 +275,20 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -255,7 +296,7 @@ - + @@ -263,7 +304,7 @@ - + @@ -271,15 +312,15 @@ - + - + - - + + @@ -287,14 +328,78 @@ - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -320,83 +425,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -418,11 +451,11 @@ - + - + [i_phaA] @@ -439,102 +472,6 @@ - - - - - - - - - - - - - - - - - - 2/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -547,11 +484,11 @@ - + - + [i_phaB] @@ -569,11 +506,59 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2/sqrt(3) + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -595,11 +580,11 @@ - + - + [i_phaA] @@ -617,11 +602,11 @@ - + - + sfix16_En4 @@ -633,139 +618,43 @@ - - - + + + - - + + - - + + - - if { } + + 1/sqrt(3) - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaB + + - + - - + + - + sfix16_En4 @@ -787,11 +676,11 @@ - + - + 1 @@ -809,11 +698,11 @@ - + - + i_phaA @@ -824,11 +713,11 @@ - + - + sfix16_En4 @@ -838,6 +727,117 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + @@ -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 index 10e78eb..78464d3 100644 --- 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 @@ -48,226 +48,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11051", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "ConversionOutput", - "OutDataTypeStr", - "OverrideOpt" - ], - "values":[ - "Signal copy", - "Inherit: auto", - "off" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SignalConversion", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11050", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaA", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11049", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11047", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "2/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11046", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11045", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11054", "className":"Simulink.Outport", @@ -428,6 +208,254 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11052", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "--", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11051", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" + ], + "values":[ + "Signal copy", + "Inherit: auto", + "off" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SignalConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11049", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11048", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "1/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11050", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaA", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11046", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11044", "className":"Simulink.ActionPort", @@ -459,6 +487,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11045", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaA", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11043", "className":"Simulink.Inport", @@ -526,124 +585,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11048", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "1/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11052", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "--", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11042", "className":"Simulink.Inport", @@ -711,10 +652,69 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11047", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain2", + "label":"Gain2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "2/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11051#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -765,7 +765,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11052#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -816,7 +816,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11048#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -867,7 +867,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11046#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -918,7 +918,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11047#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -969,7 +969,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11045#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -1020,7 +1020,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11043#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", @@ -1071,7 +1071,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11042#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", 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 index aef59c3..a4b5a90 100644 --- 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 @@ -62,6 +62,158 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_betaAC + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_alphaAC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -74,100 +226,20 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -175,15 +247,15 @@ - + - + - - + + @@ -191,14 +263,94 @@ - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -224,11 +376,92 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1/sqrt(3) + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -250,11 +483,11 @@ - + - + [i_phaA] @@ -271,87 +504,6 @@ - - - - - - - - - - - - - - - - - - [i_phaC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -364,11 +516,11 @@ - + - + [i_phaC] @@ -386,11 +538,11 @@ - + - + sfix16_En4 @@ -400,6 +552,54 @@ + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + @@ -412,11 +612,11 @@ - + - + [i_phaA] @@ -434,11 +634,11 @@ - + - + sfix16_En4 @@ -448,150 +648,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_betaAC - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alphaAC - - - - - - - - - - - - - - - - - - - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -604,11 +660,11 @@ - + - + 2 @@ -626,11 +682,11 @@ - + - + i_phaC @@ -641,115 +697,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -771,11 +723,11 @@ - + - + 1 @@ -793,11 +745,11 @@ - + - + i_phaA @@ -808,11 +760,59 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2/sqrt(3) + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -956,5 +956,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json index 386a86b..812b6ac 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json @@ -48,86 +48,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11070", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_betaBC", - "label":"i_betaBC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11069", "className":"Simulink.Outport", @@ -267,6 +187,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11067", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "--", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11066", "className":"Simulink.Goto", @@ -360,19 +339,83 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11062", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11063", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From5", + "label":"From5", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], + "values":[ + "i_phaC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11065", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], "values":[ "i_phaB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11061", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaC", "Tag" ], "tabs":[ @@ -421,6 +464,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11070", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_betaBC", + "label":"i_betaBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11059", "className":"Simulink.ActionPort", @@ -520,142 +643,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11063", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11062", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From4", + "label":"From4", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], - "values":[ - "i_phaC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11067", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "--", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11065", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], "values":[ "i_phaB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11061", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaC", "Tag" ], "tabs":[ @@ -743,7 +743,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11061#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -794,7 +794,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11060#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -845,7 +845,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11063#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -896,7 +896,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11064#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -947,7 +947,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11068#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -998,7 +998,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11062#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -1049,7 +1049,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11067#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -1100,7 +1100,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11057#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", @@ -1151,7 +1151,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11058#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg index 5a1ee43..c69db28 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg @@ -62,54 +62,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_betaBC - - - - - - - - @@ -122,11 +74,11 @@ - + - + 1 @@ -144,11 +96,11 @@ - + - + i_alphaBC @@ -170,27 +122,27 @@ - + - + - + - + - + - + @@ -208,11 +160,67 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -234,11 +242,11 @@ - + - + [i_phaC] @@ -267,11 +275,11 @@ - + - + 1/sqrt(3) @@ -289,218 +297,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - elseif { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaC - - - - - - - - - - - - - - + sfix16_En4 @@ -522,11 +323,11 @@ - + - + [i_phaC] @@ -544,67 +345,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -626,11 +371,11 @@ - + - + [i_phaB] @@ -659,11 +404,11 @@ - + - + [i_phaC] @@ -681,11 +426,266 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_betaBC + + + + + + + + + + + + + + + + + + + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaC + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -886,5 +886,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json index a4978c3..238e268 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json @@ -144,7 +144,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -190,39 +190,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11299", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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:11499", "className":"Simulink.Goto", @@ -289,39 +256,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11296", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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:11295", "className":"Simulink.Goto", @@ -356,11 +290,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11293", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11294", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -369,7 +303,7 @@ "IconDisplay" ], "values":[ - "b_toActive", + "z_ctrlModReq", "local", "Tag" ], @@ -421,6 +355,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11291", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11290", "className":"Simulink.Goto", @@ -454,6 +421,72 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11299", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11850", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11289", "className":"Simulink.Goto", @@ -488,19 +521,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11287", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11288", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "VqFinPrev", + "z_ctrlMod", + "local", "Tag" ], "tabs":[ @@ -514,16 +549,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11286", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11287", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -531,7 +566,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "VqFinPrev", "Tag" ], "tabs":[ @@ -580,103 +615,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11284", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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:11298", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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:11288", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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:11498", "className":"Simulink.From", @@ -740,11 +678,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11280", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11851", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -752,7 +690,7 @@ "IconDisplay" ], "values":[ - "r_inpTgt", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -801,6 +739,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11280", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11278", "className":"Simulink.From", @@ -864,44 +833,11 @@ } }, { - "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:11275", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11276", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From12", + "label":"From12", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -909,7 +845,7 @@ "IconDisplay" ], "values":[ - "b_toOpen", + "b_errFlag", "Tag" ], "tabs":[ @@ -928,11 +864,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11281", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11274", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -940,7 +876,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "b_toActive", "Tag" ], "tabs":[ @@ -959,35 +895,200 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11291", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" ], "values":[ - "r_inpTgt", - "local", - "Tag" + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "Code Generation", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 5, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"F03_02_Control_Mode_Manager", + "label":"F03_02_Control_Mode_Manager", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "on", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "Stateflow.Translate.translate", + "void_void", + "off", + "off", + "off", + "", + "", + "ExplicitOnly", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", "masktype":"" } }, @@ -1002,21 +1103,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1028,30 +1130,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -1063,18 +1165,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1088,6 +1191,152 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11296", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11852", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11298", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11156", "className":"Simulink.Inport", @@ -1156,108 +1405,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", - "className":"Simulink.SubSystem", - "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", - "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:11276", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11284", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -1265,7 +1417,7 @@ "IconDisplay" ], "values":[ - "b_errFlag", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -1284,20 +1436,22 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11158", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11293", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "b_toActive", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -1310,7 +1464,121 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11157", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "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":[ + "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:10702", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs1", + "label":"Abs1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"" } }, @@ -1381,134 +1649,6 @@ "masktype":"" } }, - { - "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:11274", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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:11154", "className":"Simulink.Inport", @@ -1576,6 +1716,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11281", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:11497", "className":"Simulink.Inport", @@ -1778,50 +1949,122 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11157", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11286", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", + "name":"From8", + "label":"From8", "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":[ - "7", - "Port number", - "[]", - "[]", + "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: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:11716", + "className":"Simulink.TriggerPort", + "icon":"WebViewIcon3", + "name":"function", + "label":"function", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "TriggerType", + "IsSimulinkFunction", + "StatesWhenEnabling", + "PropagateVarSize", + "ShowOutputPort", + "SampleTimeType", + "OutDataTypeStr", + "FunctionName", + "FunctionPrototype", + "FunctionVisibility", + "GeneratePreprocessorConditionals", + "InitialTriggerSignalState", + "Interpolate", + "OutMax", + "OutMin", + "OutputDataType", + "PortDimensions", + "SampleTime", + "TriggerSignalSampleTime", + "Variant", + "VariantControl", + "ZeroCross" + ], + "values":[ + "function-call", + "off", + "held", + "During execution", + "off", + "triggered", "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", "", + "f()", + "global", + "off", + "compatibility (no trigger on first evaluation)", "on", + "[]", + "[]", + "auto", + "-1", + "1", + "-1", "off", - "off", - "off" + "Variant", + "on" ], "tabs":[ "Main", @@ -1830,8 +2073,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 6, + 7 ] }, "viewer":{ @@ -1840,14 +2083,14 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"TriggerPort", "masktype":"" } }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11283#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -1898,7 +2141,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11153#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -1949,7 +2192,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11275#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2000,7 +2243,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11277#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2051,7 +2294,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11155#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2102,7 +2345,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11285#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2153,7 +2396,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2204,7 +2447,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11274#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2255,7 +2498,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2306,7 +2549,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2357,7 +2600,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2408,7 +2651,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11159#out:4", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2459,7 +2702,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11282#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2510,7 +2753,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11284#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2561,7 +2804,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11152#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2612,7 +2855,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11276#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2663,7 +2906,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11279#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2714,7 +2957,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11278#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2765,7 +3008,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11280#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2816,7 +3059,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11201#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2867,7 +3110,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11286#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2918,7 +3161,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11157#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2969,7 +3212,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11287#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -3020,7 +3263,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11156#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -3071,7 +3314,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11154#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -3122,7 +3365,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11281#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -3173,7 +3416,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11497#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -3224,7 +3467,109 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11498#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:10702#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11851#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", 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 index 0895637..f826c50 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png 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/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg index 067aaef..02c626a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg @@ -1,10 +1,10 @@ - + - + @@ -46,7 +46,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -110,10 +110,10 @@ - + - + @@ -123,29 +123,29 @@ - - 2 + + 3 - + - + - + - + r_inpTgtSca @@ -155,39 +155,6 @@ - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - @@ -200,11 +167,11 @@ - + - + [b_cruiseCtrlEna] @@ -233,11 +200,11 @@ - + - + [z_ctrlTypSel] @@ -254,39 +221,6 @@ - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - @@ -299,11 +233,11 @@ - + - + [b_toSpdMod] @@ -322,28 +256,28 @@ - - + + - + - + - - [b_toActive] + + [z_ctrlModReq] - + @@ -356,27 +290,60 @@ - + - + - + - + [r_inpTgtSca] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + @@ -398,11 +365,11 @@ - + - + [VqFinPrev] @@ -419,6 +386,72 @@ + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + @@ -431,11 +464,11 @@ - + - + [b_toOpen] @@ -452,6 +485,39 @@ + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + @@ -464,11 +530,11 @@ - + - + [VqFinPrev] @@ -486,11 +552,11 @@ - - + + - + sfix16_En4 @@ -500,54 +566,6 @@ - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -560,11 +578,11 @@ - + - + [b_toTrqMod] @@ -582,11 +600,11 @@ - - + + - + boolean @@ -596,120 +614,6 @@ - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - @@ -722,11 +626,11 @@ - + - + [b_cruiseCtrlEna] @@ -744,11 +648,11 @@ - - + + - + boolean @@ -770,11 +674,11 @@ - + - + [b_motEna] @@ -792,11 +696,11 @@ - - + + - + boolean @@ -806,6 +710,102 @@ + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + @@ -841,7 +841,7 @@ - + @@ -854,54 +854,6 @@ - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -914,11 +866,11 @@ - + - + [z_ctrlTypSel] @@ -936,11 +888,11 @@ - - + + - + uint8 @@ -962,11 +914,11 @@ - + - + [b_toSpdMod] @@ -984,11 +936,11 @@ - - + + - + boolean @@ -998,579 +950,9 @@ - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - z_ctrlModReq - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgt - - - - - - - - VqFinPrev - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F03_03_Input_Target_Synthesis - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - @@ -1580,11 +962,11 @@ - + - + [b_errFlag] @@ -1602,11 +984,11 @@ - - + + - + boolean @@ -1618,44 +1000,928 @@ - - - + + + - - + + - - + + - - if { } + + [b_toActive] - - + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + z_ctrlModReq + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgt + + + + + + + + VqFinPrev + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + - - + + + + + + + + - - + + - - Action Port + + F03_03_Input_Target_Synthesis + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_toOpen + + + + + + + + b_toActive + + + + + + + + b_toSpdMod + + + + + + + + b_toTrqMod + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + + + + + + + F03_02_Control_Mode_Manager + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1676,11 +1942,11 @@ - + - + 5 @@ -1698,11 +1964,11 @@ - - + + - + z_ctrlModReq @@ -1713,11 +1979,11 @@ - - + + - + uint8 @@ -1727,192 +1993,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - b_toOpen - - - - - - - - b_toActive - - - - - - - - b_toSpdMod - - - - - - - - b_toTrqMod - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - - - - - - - F03_02_Control_Mode_Manager - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -1925,11 +2005,11 @@ - + - + 4 @@ -1947,11 +2027,11 @@ - - + + - + z_ctrlTypSel @@ -1962,11 +2042,11 @@ - - + + - + uint8 @@ -1976,6 +2056,54 @@ + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -1988,11 +2116,11 @@ - + - + 3 @@ -2010,11 +2138,11 @@ - - + + - + b_cruiseCtrlEna @@ -2025,11 +2153,11 @@ - - + + - + boolean @@ -2051,11 +2179,11 @@ - + - + 2 @@ -2073,11 +2201,11 @@ - - + + - + b_motEna @@ -2088,11 +2216,11 @@ - - + + - + boolean @@ -2114,11 +2242,11 @@ - + - + 1 @@ -2136,11 +2264,11 @@ - - + + - + b_errFlag @@ -2151,11 +2279,11 @@ - - + + - + boolean @@ -2167,59 +2295,140 @@ - - - + + + - - + + - - + + - - 7 + + [z_ctrlMod] - - - - - - - - - - - - - - - - - VqFinPrev + + - - + + - - + + - - sfix16_En4 + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + f() + + + + + + + + + + + + + + + + + + + + + + function @@ -2315,11 +2524,11 @@ - + - + @@ -2497,15 +2706,35 @@ - + + + + + + + + - + + + + + + + + + + + + + + @@ -2581,11 +2810,11 @@ - + - + @@ -2620,7 +2849,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 index 7fd7b5e..096d630 100644 --- 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 @@ -1,90 +1,10 @@ [ { - "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:11195", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11193", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant8", - "label":"constant8", + "name":"constant1", + "label":"constant1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -98,7 +18,7 @@ "FramePeriod" ], "values":[ - "OPEN_MODE", + "SPD_MODE", "on", "inf", "[]", @@ -173,6 +93,51 @@ "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:11189", "className":"Simulink.RelationalOperator", @@ -263,816 +228,6 @@ "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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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:11192", "className":"Simulink.Constant", @@ -1122,496 +277,6 @@ "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: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: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: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: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: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: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: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: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:11197", "className":"Simulink.Outport", @@ -1692,6 +357,1341 @@ "masktype":"" } }, + { + "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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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:11187", "className":"Simulink.Logic", @@ -1702,18 +1702,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "NOT", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -1723,53 +1723,8 @@ ], "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 + 2, + 4 ] }, "viewer":{ @@ -1792,18 +1747,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "OR", + "rectangular", + "off", + "boolean", "3", - "rectangular", - "off", - "boolean", "-1" ], "tabs":[ @@ -1813,188 +1768,8 @@ ], "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: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: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 + 2, + 4 ] }, "viewer":{ @@ -2017,18 +1792,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -2038,8 +1813,233 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 + ] + }, + "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", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "OR", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "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", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "AND", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "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", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "NOT", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "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", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "OR", + "rectangular", + "off", + "boolean", + "3", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "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", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "NOT", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 ] }, "viewer":{ @@ -2055,7 +2055,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11183#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2106,7 +2106,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11168#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2157,7 +2157,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11194#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2208,7 +2208,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11171#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2259,7 +2259,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11192#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2310,7 +2310,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11193#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2361,7 +2361,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11170#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2412,7 +2412,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11191#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2463,7 +2463,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11175#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2514,7 +2514,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11187#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2565,7 +2565,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11189#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2616,7 +2616,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11165#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2667,7 +2667,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11174#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2718,7 +2718,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11184#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2769,7 +2769,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11195#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2820,7 +2820,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11160#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2871,7 +2871,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11162#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2922,7 +2922,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11172#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -2973,7 +2973,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11164#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3024,7 +3024,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11169#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3075,7 +3075,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11173#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3126,7 +3126,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11161#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3177,7 +3177,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11166#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3228,7 +3228,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11167#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3279,7 +3279,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11185#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3330,7 +3330,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11188#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3381,7 +3381,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11486#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3432,7 +3432,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11491#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3483,7 +3483,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11190#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3534,7 +3534,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11492#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3585,7 +3585,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11493#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3636,7 +3636,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11494#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3687,7 +3687,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11186#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3738,7 +3738,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11163#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", @@ -3789,7 +3789,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11495#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", 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 index d01447a..b7b0a5d 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png 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/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg index 653ceb8..2042443 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg @@ -13,91 +13,43 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_toOpen - - - - - - - - - - - - + + - + - + - - OPEN_MODE + + SPD_MODE - + - + - - + + - + uint8 @@ -111,7 +63,7 @@ - + @@ -119,27 +71,27 @@ - + - + - + - + - + - + @@ -165,722 +117,11 @@ - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - + boolean @@ -894,7 +135,7 @@ - + @@ -902,27 +143,27 @@ - + - + - + - + - + - + @@ -948,11 +189,11 @@ - + - + boolean @@ -964,124 +205,67 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VLT_MODE - - - - - - - + + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - + - - + + - + boolean @@ -1093,43 +277,67 @@ - - - + + + - - + + - + - - + + - - [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + boolean @@ -1139,198 +347,6 @@ - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_toSpdMod - - - - - - - - @@ -1343,11 +359,11 @@ - + - + TRQ_MODE @@ -1365,11 +381,11 @@ - + - + uint8 @@ -1381,58 +397,445 @@ - - + + - + - + - - 4 + + 2 - + - - + + - - + + - - z_ctrlModReq + + b_toActive + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_toSpdMod + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OPEN_MODE + + + + + + + - + - - + + - + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + VLT_MODE + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + uint8 @@ -1454,11 +857,11 @@ - + - + [z_ctrlModReq] @@ -1476,11 +879,11 @@ - + - + uint8 @@ -1492,44 +895,44 @@ - - - + + + - - + + - - + + - - SPD_MODE + + [b_toTrqMod] - - + + - - + + - - + + - - uint8 + + boolean @@ -1540,58 +943,364 @@ - - - + + + - - + + - - + + - - 3 + + [z_ctrlModReq] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + - - + + - - + + - - b_cruiseCtrlEna + + b_toOpen + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + - + - - + + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + boolean @@ -1613,11 +1322,11 @@ - + - + 2 @@ -1635,11 +1344,11 @@ - + - + b_motEna @@ -1650,11 +1359,11 @@ - + - + boolean @@ -1666,44 +1375,29 @@ - - - + + + - - + + - - + + - - 4 + + [b_toActive] - - - - - - - - - - - - - - - - - b_toTrqMod + + @@ -1714,44 +1408,188 @@ - - + + - + - + - - [z_ctrlModReq] + + [b_toOpen] - + - - + + - - + + - - uint8 + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + @@ -1772,11 +1610,11 @@ - + - + 1 @@ -1794,11 +1632,11 @@ - + - + b_errFlag @@ -1809,11 +1647,11 @@ - + - + boolean @@ -1825,11 +1663,173 @@ - - + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + @@ -1839,30 +1839,30 @@ - - [b_motEna] + + [z_ctrlModReq] - + - - + + - + - - boolean + + uint8 @@ -1873,11 +1873,11 @@ - - + + - + @@ -1887,30 +1887,30 @@ - - 2 + + 4 - + - - + + - + - - b_toActive + + b_toTrqMod @@ -1944,7 +1944,135 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1954,23 +2082,23 @@ - + - - + + - + boolean - - + + @@ -1987,7 +2115,7 @@ - + @@ -1995,19 +2123,19 @@ - + - + - + - + @@ -2022,11 +2150,11 @@ - + - + boolean @@ -2047,139 +2175,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - + @@ -2264,7 +2264,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2274,23 +2338,23 @@ - + - - + + - + boolean - - + + @@ -2315,20 +2379,20 @@ - + - + - + - - + + @@ -2342,11 +2406,11 @@ - + - + boolean @@ -2367,70 +2431,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - @@ -2923,5 +2923,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json index 49bd722..19ab883 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json @@ -44,51 +44,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:28", - "className":"Stateflow.State", - "icon":"WebViewIcon8", - "name":"VOLTAGE_MODE", - "label":"VOLTAGE_MODE", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", - "inspector":{ - "params":[ - "HasOutputData", - "InlineOption", - "LabelString", - "DataLogging", - "TestPoint", - "Description", - "Document" - ], - "values":[ - false, - "Auto", - "VOLTAGE_MODE\n\nentry:\nz_ctrlMod = VLT_MODE;", - false, - false, - "", - "" - ], - "tabs":[ - "General", - "Logging", - "Documentation" - ], - "tabs_idx":[ - 0, - 3, - 5 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:6", "className":"Stateflow.State", @@ -180,29 +135,41 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:12", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:28", + "className":"Stateflow.State", + "icon":"WebViewIcon8", + "name":"VOLTAGE_MODE", + "label":"VOLTAGE_MODE", "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ - "ExecutionOrder", + "HasOutputData", + "InlineOption", "LabelString", + "DataLogging", + "TestPoint", "Description", "Document" ], "values":[ - 2, - "", + false, + "Auto", + "VOLTAGE_MODE\n\nentry:\nz_ctrlMod = VLT_MODE;", + false, + false, "", "" ], "tabs":[ - "Parameter Attributes" + "General", + "Logging", + "Documentation" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 5 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -213,11 +180,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:71", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:73", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", - "label":"[~b_toTrqMod]", + "label":"[b_toTrqMod || ... b_toSpdMod]", "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ @@ -228,139 +195,7 @@ ], "values":[ 1, - "[~b_toTrqMod]", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "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: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: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:33", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "", + "[b_toTrqMod || ...\nb_toSpdMod]", "", "" ], @@ -411,11 +246,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:73", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:12", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", - "label":"[b_toTrqMod || ... b_toSpdMod]", + "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ @@ -425,8 +260,8 @@ "Document" ], "values":[ - 1, - "[b_toTrqMod || ...\nb_toSpdMod]", + 2, + "", "", "" ], @@ -476,6 +311,171 @@ "finder":[ ] }, + { + "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: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: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: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: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:1", "className":"Stateflow.State", @@ -521,6 +521,39 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:14", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toOpen]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toOpen]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:13", "className":"Stateflow.Transition", @@ -586,38 +619,5 @@ ], "finder":[ ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:14", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"[b_toOpen]", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[b_toOpen]", - "", - "" - ], - "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.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg index 8c1e498..7c09915 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg @@ -55,6 +55,18 @@ + + + + + + + + + + + + @@ -62,131 +74,27 @@ - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - VOLTAGE_MODE - - - - - - - - - - - - - - - - entry: - - - - - - - - - - - - - - - - z_ctrlMod = VLT_MODE; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -195,57 +103,57 @@ - + - + - + - + SPEED_MODE - + - + - + - + entry: - + - + - + - + z_ctrlMod = SPD_MODE; - + @@ -257,100 +165,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TORQUE_MODE - - - - - - - - - - - - - - - - entry: - - - - - - - - - - - - - - - - z_ctrlMod = TRQ_MODE; - - - - - - - - - - - - - - - - - + @@ -362,11 +178,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TORQUE_MODE + + + + + + + + + + + + + + + + entry: + + + + + + + + + + + + + + + + z_ctrlMod = TRQ_MODE; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VOLTAGE_MODE + + + + + + + + + + + + + + + + entry: + + + + + + + + + + + + + + + + z_ctrlMod = VLT_MODE; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod || + + + + + + + + + + + + + + + + ... + + + + + + + + + + + + + + + + b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + 1 + + + + + + + + + - + @@ -384,11 +514,11 @@ - + - + 2 @@ -401,39 +531,34 @@ - + - + - + - + - - + + + + + - - + + - - + + 2 - - - - - - - [~b_toTrqMod] - - + @@ -445,7 +570,7 @@ - + @@ -460,19 +585,19 @@ - + - + - + - + [~b_toSpdMod] @@ -483,11 +608,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [~b_toTrqMod] + + + + + + + + + - + @@ -506,67 +729,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - 1 - - - - - - - - - - + @@ -585,173 +752,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod || - - - - - - - - - - - - - - - - ... - - - - - - - - - - - - - - - - b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - @@ -775,7 +775,7 @@ - + @@ -861,13 +861,49 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + @@ -878,19 +914,19 @@ - + - + - + - + [b_toActive] @@ -918,43 +954,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json index 84c740a..200e7cf 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json @@ -97,6 +97,98 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11270", + "className":"Simulink.Saturate", + "icon":"WebViewIcon3", + "name":"Saturation", + "label":"Saturation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "UpperLimit", + "LowerLimit", + "LinearizeAsGain", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1000", + "-1000", + "on", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Floor", + "-1", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 8 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Saturate", + "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:11271", "className":"Simulink.Outport", @@ -177,156 +269,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11270", - "className":"Simulink.Saturate", - "icon":"WebViewIcon3", - "name":"Saturation", - "label":"Saturation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "UpperLimit", - "LowerLimit", - "LinearizeAsGain", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1000", - "-1000", - "on", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Floor", - "-1", - "on" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 8 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Saturate", - "masktype":"" - } - }, - { - "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:11250", "className":"Simulink.If", @@ -371,50 +313,11 @@ } }, { - "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", - "-Other" - ], - "tabs_idx":[ - 0, - 3 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11249", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11248", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -423,7 +326,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "r_inpTgtScaRaw", "local", "Tag" ], @@ -443,11 +346,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11247", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11245", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -456,7 +359,40 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "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:11249", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", "local", "Tag" ], @@ -509,24 +445,90 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11253", - "className":"Simulink.Merge", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11242", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Merge1", - "label":"Merge1", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" + "GotoTag", + "IconDisplay" ], "values":[ - "2", - "[]", - "off", - "[]" + "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:11241", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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:11251", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == OPEN_MODE", + "", + "on", + "-1", + "on" ], "tabs":[ "Parameter Attributes", @@ -534,7 +536,7 @@ ], "tabs_idx":[ 0, - 3 + 4 ] }, "viewer":{ @@ -543,73 +545,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "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:11243", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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", + "blocktype":"If", "masktype":"" } }, @@ -645,11 +581,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11239", + "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", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11238", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"From11", + "label":"From11", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -657,7 +632,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -676,11 +651,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11245", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11243", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -689,7 +664,7 @@ "IconDisplay" ], "values":[ - "VqFinPrev", + "r_inpTgtSca", "local", "Tag" ], @@ -740,33 +715,101 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11237", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Control_Type", + "label":"FOC_Control_Type", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" ], "values":[ - "r_inpTgt", - "Tag" + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "Code Generation", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 5, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, @@ -801,177 +844,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Control_Type", - "label":"FOC_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:11251", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1", - "u1 == OPEN_MODE", - "", - "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: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:11207", "className":"Simulink.SubSystem", @@ -983,21 +855,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1009,30 +882,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1044,18 +917,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1136,6 +1010,105 @@ "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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11205", "className":"Simulink.Inport", @@ -1204,11 +1177,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11241", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11237", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -1369,11 +1342,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11248", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11244", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -1382,7 +1355,71 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaRaw", + "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: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: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" ], @@ -1469,62 +1506,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11238", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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:11211", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Default_Mode", - "label":"Default_Mode", + "name":"Open_Mode", + "label":"Open_Mode", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1536,30 +1543,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1571,18 +1578,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1599,7 +1607,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11215#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1650,7 +1658,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11241#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1701,7 +1709,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11238#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1752,7 +1760,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11250#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1803,7 +1811,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11202#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1854,7 +1862,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11239#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1905,7 +1913,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11207#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -1956,7 +1964,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11237#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2007,7 +2015,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11205#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2058,7 +2066,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11252#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2109,7 +2117,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11250#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2160,7 +2168,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11242#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2211,7 +2219,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11203#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2262,7 +2270,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11204#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2313,7 +2321,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11235#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2364,7 +2372,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11251#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2415,7 +2423,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11236#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2466,7 +2474,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11254#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2517,7 +2525,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11211#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2568,7 +2576,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11253#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2619,7 +2627,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11240#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2670,7 +2678,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11251#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2721,7 +2729,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11206#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", @@ -2772,7 +2780,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11270#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png index 523a360..f3c0748 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg index d3daa08..4fc3b95 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg @@ -49,59 +49,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - + @@ -109,35 +61,35 @@ - + - + - + - + - + - + - + - + @@ -163,11 +115,11 @@ - + - + sfix16_En4 @@ -177,383 +129,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - r_inpTgtScaOpen - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Open_Mode - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - + @@ -561,19 +141,19 @@ - + - + - + - + @@ -599,11 +179,11 @@ - + - + sfix16_En4 @@ -615,29 +195,44 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + 1 - - + + + + + + + + + + + + + + + + + r_inpTgtSca @@ -648,29 +243,75 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + else - - + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action @@ -681,92 +322,29 @@ - - - + + + - - + + - - + + - + [r_inpTgtScaRaw] - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 + + @@ -787,11 +365,11 @@ - + - + [VqFinPrev] @@ -808,6 +386,440 @@ + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == OPEN_MODE) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + @@ -820,11 +832,11 @@ - + - + [VqFinPrev] @@ -842,11 +854,583 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + z_ctrlModReq + + + + + + + + r_inpTgtScaFOC + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC_Control_Type + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + r_inpTgtScaDft + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default_Control_Type + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaRaw + + + + + + + + r_inpTgtScaDft + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default_Mode + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + sfix16_En4 @@ -868,11 +1452,11 @@ - + - + [r_inpTgt] @@ -890,628 +1474,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgtScaFOC - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC_Control_Type - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == OPEN_MODE) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - r_inpTgtScaDft - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default_Control_Type - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1533,11 +1500,11 @@ - + - + 3 @@ -1555,11 +1522,11 @@ - + - + z_ctrlMod @@ -1570,11 +1537,11 @@ - + - + uint8 @@ -1596,11 +1563,11 @@ - + - + 2 @@ -1618,11 +1585,11 @@ - + - + z_ctrlModReq @@ -1633,11 +1600,11 @@ - + - + uint8 @@ -1649,28 +1616,109 @@ - - + + - + - + - - [r_inpTgtScaRaw] + + [z_ctrlModReq] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + @@ -1692,11 +1740,11 @@ - + - + 1 @@ -1714,11 +1762,11 @@ - + - + z_ctrlTypSel @@ -1729,11 +1777,11 @@ - + - + uint8 @@ -1745,57 +1793,9 @@ - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - + + + @@ -1803,34 +1803,34 @@ - - + + - + - - r_inpTgtScaRaw + + VqFinPrev - + - - r_inpTgtScaDft + + r_inpTgtScaOpen - + - - else { } + + if { } @@ -1842,8 +1842,8 @@ - - + + @@ -1855,16 +1855,16 @@ - - + + - + - - Default_Mode + + Open_Mode @@ -1876,15 +1876,15 @@ - + - + - + action @@ -1897,15 +1897,15 @@ - + - + - + sfix16_En4 @@ -2259,5 +2259,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json index 09b2ded..836757d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json @@ -92,7 +92,7 @@ "PropagateVarSize" ], "values":[ - "reset", + "held", "Only when execution is resumed" ], "tabs":[ @@ -180,7 +180,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11208#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11207", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg index df9d15b..ede785d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg @@ -186,5 +186,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json index 55cf7fd..eb82b53 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json @@ -1,35 +1,4 @@ [ - { - "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:11214", "className":"Simulink.Outport", @@ -110,6 +79,37 @@ "masktype":"" } }, + { + "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", @@ -180,7 +180,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11212#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg index 6b6de1e..75f6be9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - @@ -71,11 +23,11 @@ - + - + 1 @@ -93,11 +45,11 @@ - + - + r_inpTgtScaDft @@ -107,6 +59,54 @@ + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + @@ -186,5 +186,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json index 02dfbee..f1cc6b5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json @@ -1,84 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11234", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_inpTgtScaFOC", - "label":"r_inpTgtScaFOC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", - "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:11233", "className":"Simulink.Constant", @@ -129,11 +49,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11229", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11232", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", + "name":"i_max", + "label":"i_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ @@ -147,7 +67,7 @@ "FramePeriod" ], "values":[ - "Vd_max", + "i_max", "on", "inf", "[]", @@ -178,25 +98,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11227", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11231", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Mux", - "label":"Mux", + "name":"constant1", + "label":"constant1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "4", - "bar" + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -204,7 +142,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"Constant", "masktype":"" } }, @@ -258,42 +196,11 @@ } }, { - "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:11231", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11229", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant1", - "label":"constant1", + "name":"Vd_max", + "label":"Vd_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ @@ -307,12 +214,12 @@ "FramePeriod" ], "values":[ - "0", + "Vd_max", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "fixdt(1,16,4)", "off", "inf" ], @@ -391,11 +298,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11221", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11225", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "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:11223", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ @@ -403,7 +343,38 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaFOC", + "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: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":[ @@ -454,6 +425,37 @@ "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:11220", "className":"Simulink.Product", @@ -511,101 +513,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11225", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", - "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: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" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "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:11219", "className":"Simulink.Product", @@ -696,6 +603,148 @@ "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":[ + "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:11234", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaFOC", + "label":"r_inpTgtScaFOC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "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: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:11217", "className":"Simulink.Inport", @@ -763,55 +812,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11232", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", - "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":"BLDCmotor_FOC_R2017b_fixdt:11216", "className":"Simulink.Inport", @@ -882,7 +882,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11216#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -933,7 +933,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11221#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -984,7 +984,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11217#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1035,7 +1035,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11230#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1086,7 +1086,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11228#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1137,7 +1137,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11231#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1188,7 +1188,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11232#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1239,7 +1239,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11229#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1290,7 +1290,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11227#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1341,7 +1341,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11233#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1392,7 +1392,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11223#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1443,7 +1443,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11220#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1494,7 +1494,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11219#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", @@ -1545,7 +1545,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11222#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png index c474320..20e7b01 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg index c347109..5b906d4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaFOC - - - - - - - @@ -71,11 +23,11 @@ - + - + n_max @@ -93,11 +45,11 @@ - + - + n_max @@ -108,11 +60,11 @@ - + - + sfix16_En4 @@ -124,202 +76,58 @@ - - + + - + - + - - Vd_max + + i_max - + - - + + - - + + - - Vd_max + + i_max - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1000 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -341,11 +149,11 @@ - + - + 0 @@ -363,11 +171,122 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1000 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + sfix16_En4 @@ -381,7 +300,7 @@ - + @@ -389,35 +308,35 @@ - + - + U - + - + Idx1 - + - + 0 - + - + Y @@ -435,11 +354,11 @@ - + - + sfix16_En4 @@ -451,11 +370,92 @@ - - + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + @@ -465,29 +465,29 @@ - - [r_inpTgtScaFOC] + + [r_inpTgt] - + - + - + - + sfix16_En4 @@ -530,11 +530,59 @@ + + + + + + + + + + + + + + + + + + [r_inpTgtScaFOC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + - + @@ -542,35 +590,35 @@ - + - + - + - + - + - + - + - + @@ -589,11 +637,11 @@ - + - + ufix16_En12 @@ -603,140 +651,11 @@ - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - + @@ -744,19 +663,19 @@ - + - + - + - + @@ -774,11 +693,11 @@ - + - + sfix16_En4 @@ -800,11 +719,11 @@ - + - + [r_inpTgtScaFOC] @@ -821,6 +740,150 @@ + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaFOC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -833,11 +896,11 @@ - + - + 2 @@ -855,11 +918,11 @@ - + - + z_ctrlModReq @@ -870,11 +933,11 @@ - + - + uint8 @@ -884,69 +947,6 @@ - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -1208,5 +1208,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json index 307cd55..0fb9b81 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json @@ -128,156 +128,10 @@ "masktype":"" } }, - { - "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: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:11265", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Rate_Limiter", "label":"Rate_Limiter", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -367,6 +221,105 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", + "className":"Rising edge init", + "icon":"WebViewIcon5", + "name":"rising_edge_init", + "label":"rising_edge_init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "on", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Rising edge init" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11263", "className":"Simulink.Goto", @@ -460,21 +413,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11264", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11261", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "VqFinPrev", - "local", + "r_inpTgtScaOpen", "Tag" ], "tabs":[ @@ -488,7 +439,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "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":"" } }, @@ -524,19 +524,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11261", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11264", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtScaOpen", + "VqFinPrev", + "local", "Tag" ], "tabs":[ @@ -550,103 +552,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "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":[ - "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":"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", + "blocktype":"Goto", "masktype":"" } }, @@ -728,6 +634,102 @@ "masktype":"" } }, + { + "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:11258", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "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":"BLDCmotor_FOC_R2017b_fixdt:11255", "className":"Simulink.Inport", @@ -798,7 +800,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11255#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -849,7 +851,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11257#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -900,7 +902,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11267#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -951,7 +953,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11262#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -1002,7 +1004,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11266#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -1053,7 +1055,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11259#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -1104,7 +1106,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11261#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -1155,7 +1157,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -1206,7 +1208,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11260#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -1257,7 +1259,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11258#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg index ec93572..d17bcee 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg @@ -86,186 +86,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - + @@ -273,75 +98,75 @@ - + - + u - + - + initVal - + - + init - + - + inc - + - + dec - + - + y - + - + - + - + - + - + @@ -359,11 +184,11 @@ - + - + Rate_Limiter @@ -374,11 +199,11 @@ - + - + sfix28_En16 @@ -386,29 +211,141 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -432,11 +369,11 @@ - + - + [r_inpTgtScaOpen] @@ -465,11 +402,11 @@ - + - + -1 @@ -487,11 +424,11 @@ - + - + sfix28_En16 @@ -501,87 +438,6 @@ - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -594,11 +450,11 @@ - + - + [r_inpTgtScaOpen] @@ -616,11 +472,11 @@ - + - + sfix16_En4 @@ -632,59 +488,58 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + dV_openRate + - - + + + + + + + + + + + + + + + + + dV_openRate - + - - + + - + sfix28_En16 @@ -696,44 +551,77 @@ - - - + + + - - + + - - + + - - 0 + + [VqFinPrev] - - + + - - + + - - + + - - sfix28_En16 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + @@ -754,19 +642,19 @@ - + - + - + - + @@ -792,11 +680,11 @@ - + - + sfix16_En4 @@ -818,11 +706,11 @@ - + - + if { } @@ -840,11 +728,11 @@ - + - + Action Port @@ -854,6 +742,118 @@ + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + @@ -1079,5 +1079,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json index 220dd98..c14ece7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json @@ -447,7 +447,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2335#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", @@ -498,7 +498,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2334#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", @@ -549,7 +549,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2341#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", @@ -600,7 +600,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2340#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", @@ -651,7 +651,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2337#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", @@ -702,7 +702,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342:2512#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg index b9d7be7..aa8d25f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg @@ -15,7 +15,7 @@ - + @@ -444,7 +444,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 index 4ec5467..a036f84 100644 --- 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 @@ -579,7 +579,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:1#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", @@ -630,7 +630,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:2#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", @@ -681,7 +681,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:3#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", @@ -732,7 +732,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:7#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", @@ -783,7 +783,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:8#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", @@ -834,7 +834,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:6#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", @@ -885,7 +885,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395:9#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg index 6f34a7c..172fe62 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg @@ -1015,10 +1015,10 @@ - + - + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json index bdaf09a..caf3a05 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json @@ -48,65 +48,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2343", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", - "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", - "Zero", - "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:11265:2360", "className":"Simulink.Outport", @@ -187,6 +128,192 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2343", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "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", + "Zero", + "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:11265:2346", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "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", + "Zero", + "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:11265:2395", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "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:11265:2342", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "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:2358", "className":"Simulink.Inport", @@ -254,45 +381,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", - "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:11265:2357", "className":"Simulink.Inport", @@ -360,228 +448,6 @@ "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: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:2346", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", - "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", - "Zero", - "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:11265:2359", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "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":[ - "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:2356", "className":"Simulink.Inport", @@ -649,10 +515,144 @@ "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:2359", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "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":[ + "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:2356#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -703,7 +703,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -754,7 +754,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2359#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -805,7 +805,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2357#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -856,7 +856,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2343#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -907,7 +907,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2346#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -958,7 +958,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2358#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -1009,7 +1009,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2355#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -1060,7 +1060,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg index 1a40571..9038dab 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg @@ -46,78 +46,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - @@ -130,11 +58,11 @@ - + - + 1 @@ -152,11 +80,11 @@ - + - + y @@ -168,424 +96,67 @@ - - - + + + - - + + - - + + - - 5 + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - dec + + - + - - + + - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - initVal - - - - - - - - init - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - initVal - - - - - - - - - - - - - - + sfix28_En16 @@ -607,27 +178,27 @@ - + - + - + - + - + - + @@ -645,11 +216,11 @@ - + - + sfix28_En16 @@ -661,58 +232,361 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - 1 + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + initVal + + + + + + + + init + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + - - + + - - + + - - u + + dec - + - - + + - + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + + + + + + + sfix28_En16 @@ -734,11 +608,11 @@ - + - + 3 @@ -756,11 +630,11 @@ - + - + init @@ -771,11 +645,11 @@ - + - + boolean @@ -785,6 +659,132 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + initVal + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + @@ -953,5 +953,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json index 7b9f64e..64f3619 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json @@ -181,7 +181,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2363#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", @@ -232,7 +232,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11267:2362#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11267", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg index 71c3b39..a7d215f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg @@ -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 index 7c97210..e2e3d11 100644 --- 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 @@ -197,6 +197,145 @@ "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", + "[]", + "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: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:11410", "className":"Simulink.Constant", @@ -295,103 +434,6 @@ "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", @@ -426,53 +468,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11419", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11375", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"From5", + "label":"From5", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "rectangular", - "+-", - "off", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "a_elecAngle", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -480,7 +494,106 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11408", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", "masktype":"" } }, @@ -562,37 +675,6 @@ "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:11418", "className":"Simulink.Constant", @@ -643,74 +725,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11398", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11460", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"Action Port", + "label":"Action Port", "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" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "Only when execution is resumed" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -718,7 +751,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"ActionPort", "masktype":"" } }, @@ -779,41 +812,10 @@ "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:11375#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -864,7 +866,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11358#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -915,7 +917,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11410#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -966,7 +968,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11418#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -1017,7 +1019,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11411#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -1068,7 +1070,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11406#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -1119,7 +1121,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11419#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -1170,7 +1172,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11409#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -1221,7 +1223,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -1272,7 +1274,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11438#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", 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 index c0775d5..e98b01f 100644 --- 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 @@ -153,6 +153,118 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 + + + + + + + + @@ -165,11 +277,11 @@ - + - + n_polePairs @@ -187,11 +299,11 @@ - + - + n_polePairs @@ -202,11 +314,11 @@ - + - + uint8 @@ -228,11 +340,11 @@ - + - + a_elecPeriod @@ -250,11 +362,11 @@ - + - + a_elecPeriod @@ -265,11 +377,11 @@ - + - + sfix32_En4 @@ -279,133 +391,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - num - - - - - - - - div - - - - - - - - rem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -415,11 +403,11 @@ - + - + [a_elecAngle] @@ -438,59 +426,161 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + [a_elecAngle] - - + + - + - - + + - + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + div + + + + + + + + rem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En4 @@ -503,6 +593,12 @@ + + + + + + @@ -512,11 +608,11 @@ - + - + [a_mechAngle] @@ -534,11 +630,11 @@ - + - + sfix16_En4 @@ -560,19 +656,19 @@ - + - + - + - + @@ -598,11 +694,11 @@ - + - + sfix16_En6 @@ -612,54 +708,6 @@ - - - - - - - - - - - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -672,11 +720,11 @@ - + - + 30 @@ -694,11 +742,11 @@ - + - + sfix32_En4 @@ -710,44 +758,44 @@ - - - + + + - - + + - - + + - - 1 + + else { } - - + + - - + + - - + + - - a_elecAngle + + Action Port @@ -760,7 +808,7 @@ - + @@ -768,19 +816,19 @@ - + - + - + - + @@ -798,11 +846,11 @@ - + - + sfix32_En4 @@ -812,54 +860,6 @@ - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - @@ -1002,5 +1002,5 @@ - + 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 index d65f680..a01b7d4 100644 --- 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 @@ -438,7 +438,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:572#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", @@ -489,7 +489,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:571#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", @@ -540,7 +540,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:2906#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", @@ -591,7 +591,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:570#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", @@ -642,7 +642,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408:573#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:11408", 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 index f9fd33b..f8323fc 100644 --- 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 @@ -44,7 +44,7 @@ - + @@ -117,7 +117,7 @@ - + @@ -519,5 +519,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json new file mode 100644 index 0000000..067693b --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json @@ -0,0 +1,3243 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11761", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Field Weakening / Phase Advance

", + "label":"

Field Weakening / Phase Advance

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

Field Weakening / Phase Advance

", + "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:11762", + "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":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

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

", + "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:11763", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Calculate Blending Factor

", + "label":"

Calculate Blending Factor

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

Calculate Blending Factor

", + "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:11760", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_fieldWeak ", + "label":"r_fieldWeak ", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11757", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_fieldWeakAuthLo", + "label":"n_fieldWeakAuthLo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11756", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_fieldWeakAuthHi", + "label":"n_fieldWeakAuthHi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11752", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11758", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_fieldWeakHi", + "label":"r_fieldWeakHi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11750", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11749", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11746", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11751", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum4", + "label":"Sum4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11741", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11740", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11744", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11739", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11748", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11753", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_phaAdvMax", + "label":"a_phaAdvMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11738", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11736", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11734", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11731", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_blendFactor", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11729", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11733", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11727", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11732", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11724", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11723", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11759", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_fieldWeakLo", + "label":"r_fieldWeakLo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11722", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11726", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11721", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11728", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide14", + "label":"Divide14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11755", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"id_fieldWeakMax", + "label":"id_fieldWeakMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11747", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11737", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11730", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11720", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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:11753#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11736#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11752#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11757#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11726#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11744#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11733#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11722#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11728#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11746#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11756#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11727#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11751#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11731#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11750#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11755#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11734#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11747#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11729#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11749#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11724#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11720#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11721#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11758#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11759#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11730#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11748#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11732#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_11719_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png new file mode 100644 index 0000000..eb24182 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg new file mode 100644 index 0000000..bc4af75 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg @@ -0,0 +1,2800 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Field Weakening / Phase Advance + + + + + + + + + + + + + + + + + + + This blendig factor is a number between [0, 1]. + + + + + + + + It manages the Field weakening amount, + + + + + + + + ranging from 0 to a calibratable Max value. + + + + + + + + + + + + + + + + + + + Calculate Blending Factor + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthLo + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthLo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthHi + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthHi + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + r_fieldWeakHi + + + + + + + + + + + + + + + + + + + + + + r_fieldWeakHi + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_blendFactor] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + a_phaAdvMax + + + + + + + + + + + + + + + + + + + + + + a_phaAdvMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_blendFactor] + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + r_fieldWeakLo + + + + + + + + + + + + + + + + + + + + + + r_fieldWeakLo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_FOC + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + id_fieldWeakMax + + + + + + + + + + + + + + + + + + + + + + id_fieldWeakMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json index f7bb804..78e2254 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:1#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:2#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:3#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:7#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:8#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:6#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746:9#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11746", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10507_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_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_11746_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg index a18f025..3a25004 100644 --- 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_11746_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 @@ - + @@ -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_10508_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json index b08d448..a74772f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:1#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:2#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:3#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:7#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:8#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:6#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747:9#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10508", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11747", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10508_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg new file mode 100644 index 0000000..b970e7b --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_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/BLDCmotor_FOC_R2017b_fixdt_11769_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json new file mode 100644 index 0000000..2e61827 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json @@ -0,0 +1,4830 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11823", + "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":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

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.

", + "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:11824", + "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":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

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

", + "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:11825", + "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":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Error 004: Motor NOT able to spin.

\n


\n

Possible causes:

\n

- motor phase disconnected

\n

- MOSFET defective

\n

- Operational Amplifier defective

\n

- motor blocked

", + "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:11826", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Error Reporting

", + "label":"

Error Reporting

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

Error Reporting

", + "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:11827", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Error Detection

", + "label":"

Error Detection

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

Error Detection

", + "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:11828", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Error Qualification

", + "label":"

Error Qualification

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

Error Qualification

", + "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:11829", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Error 002: Hall sensor short circuit

", + "label":"

Error 002: Hall sensor short circuit

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

Error 002: Hall sensor short circuit

", + "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:11830", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Error 001: Hall sensor not connected

", + "label":"

Error 001: Hall sensor not connected

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

Error 001: Hall sensor not connected

", + "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:11771", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_posRaw", + "label":"z_posRaw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11821", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"z_errCode ", + "label":"z_errCode ", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11796", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11795", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11815", + "className":"Either edge detection", + "icon":"WebViewIcon5", + "name":"either_edge", + "label":"either_edge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "on", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "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":"BLDCmotor_FOC_R2017b_fixdt:11813", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11811", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11812", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11808", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator3", + "label":"Relational Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11807", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11806", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11801", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11799", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11798", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11797", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11817", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"g_Hb1", + "label":"g_Hb1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "4", + "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":"BLDCmotor_FOC_R2017b_fixdt:11818", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_errInpTgtThres", + "label":"r_errInpTgtThres", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11816", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"g_Hb", + "label":"g_Hb", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11791", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11789", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11794", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11784", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"Debounce_Filter", + "label":"Debounce_Filter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "on", + "off", + "-1", + "Reusable function", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Use subsystem name", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11783", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion3", + "label":"Data Type Conversion3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11779", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11785", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11777", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM", + "label":"CTRL_COMM", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11786", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11776", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Bitwise Operator1", + "label":"Bitwise Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "logicop", + "UseBitMask", + "NumInputPorts", + "BitMask", + "BitMaskRealWorld" + ], + "values":[ + "AND", + "on", + "1", + "bin2dec('100')", + "Stored Integer" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"S-Function", + "masktype":"Bitwise Operator" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11788", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11822", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_errFlag", + "label":"b_errFlag", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11809", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator7", + "label":"Relational Operator7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11778", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11781", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11780", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM4", + "label":"CTRL_COMM4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11820", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"t_errQual", + "label":"t_errQual", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "t_errQual", + "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:11792", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11772", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11775", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs4", + "label":"Abs4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11810", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum", + "label":"Sum", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11782", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11790", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11793", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11819", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"t_errDequal", + "label":"t_errDequal", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11803", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11774", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11770", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11800", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11802", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11787", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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:11805", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Operator", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "AND", + "rectangular", + "off", + "boolean", + "3", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11795#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11771#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11819#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11820#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11777#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11778#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11785#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11808#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11810#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11807#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11790#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11779#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11784#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11815#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11811#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11791#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11792#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11793#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11816#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11806#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11781#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11782#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11812#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11783#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11817#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11773#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11772#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11787#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11775#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11818#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11813#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11788#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11789#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11776#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11780#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11805#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11770#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11809#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11794#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11786#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_11769_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png new file mode 100644 index 0000000..88c837d Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg new file mode 100644 index 0000000..eaf5050 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg @@ -0,0 +1,4227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 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. + + + + + + + + + + + + + + + + + + + This switch makes sure that once this error is SET, + + + + + + + + it can only be erased by a board restart cycle. + + + + + + + + + + + + + + + + + + + Error 004: + Motor NOT able to spin. + + + + + + + + Possible causes: + + + + + + + + - motor phase disconnected + + + + + + + + - MOSFET defective + + + + + + + + - Operational Amplifier defective + + + + + + + + - motor blocked + + + + + + + + + + + + + + + + + + + Error Reporting + + + + + + + + + + + + + + + + + + + Error Detection + + + + + + + + + + + + + + + + + + + Error Qualification + + + + + + + + + + + + + + + + + + + Error 002: + Hall sensor short circuit + + + + + + + + + + + + + + + + + + + Error 001: + Hall sensor not connected + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_posRaw + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_errCode + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~= 0 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + r_errInpTgtThres + + + + + + + + + + + + + + + + + + + + + + r_errInpTgtThres + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodePrev] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + tAcv + + + + + + + + tDeacv + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Debounce_Filter + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + Bitwise + + + + + + + + AND + + + + + + + + 0x4 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodePrev] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + t_errQual + + + + + + + + + + + + + + + + + + + + + + t_errQual + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + t_errDequal + + + + + + + + + + + + + + + + + + + + + + t_errDequal + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodePrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json index 8b44934..e5e9940 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2427", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2427", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Hold the previous value

", "label":"

Hold the previous value

", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2426", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2426", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"yDefault", "label":"yDefault", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "inspector":{ "params":[ "Port", @@ -129,43 +129,12 @@ } }, { - "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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2424", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"yPrev", "label":"yPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "inspector":{ "params":[ "Port", @@ -227,12 +196,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2424#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2425", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2424#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg index 93d1003..d26bc8f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2423_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,7 +32,7 @@ - + @@ -80,55 +80,7 @@ - - - - - - - - - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -138,11 +90,11 @@ - + - + 1 @@ -160,11 +112,11 @@ - + - + yPrev @@ -175,11 +127,11 @@ - + - + boolean @@ -189,7 +141,55 @@ - + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + @@ -205,5 +205,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json index e4baa5c..64dc2ca 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json @@ -1,11 +1,710 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2447", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2445", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2444", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2443", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2441", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2436", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2434", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant6", + "label":"Constant6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "1", + "on", + "inf", + "[]", + "[]", + "uint16", + "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:11784:2446", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2442", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2435", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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:11784:2432", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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:11784:2438", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yDeacv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2440", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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:11784:2431", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"yPrev", + "label":"yPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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:11784:2437", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2430", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cntRst", + "label":"b_cntRst", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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:11784:2429", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"tDeacv", + "label":"tDeacv", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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:11784:2439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2447", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"yDeacv", "label":"yDeacv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "Port", @@ -80,415 +779,12 @@ } }, { - "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:2440", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "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: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: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:2437", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "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:2436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_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":"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:2435", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "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:2434", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant6", - "label":"Constant6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1", - "on", - "inf", - "[]", - "[]", - "uint16", - "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: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:2433", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2433", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant1", "label":"Constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "Value", @@ -532,308 +828,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2432", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "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: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:2438", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yDeacv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2431", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"yPrev", - "label":"yPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "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:8486:2430", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_cntRst", - "label":"b_cntRst", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "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:2429", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"tDeacv", - "label":"tDeacv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "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:2438#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2438#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -879,12 +879,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2429#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2429#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -930,12 +930,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2430#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2430#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -981,12 +981,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2431#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2431#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1032,12 +1032,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2434#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2434#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1083,12 +1083,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2439#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2439#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1134,12 +1134,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2440#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2440#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1185,12 +1185,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2437#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2437#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1236,12 +1236,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2445#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2445#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1287,12 +1287,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2433#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2433#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1338,12 +1338,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2436#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2436#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1389,12 +1389,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2446#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2446#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1440,12 +1440,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png new file mode 100644 index 0000000..6d715c5 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg index 89bccf9..2e23579 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg @@ -9,251 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - yDeacv - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -263,19 +23,19 @@ - + - + - + - + @@ -301,11 +61,11 @@ - + - + boolean @@ -317,232 +77,7 @@ - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [yDeacv] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -552,11 +87,11 @@ - + - + [b_cntRst] @@ -575,294 +110,7 @@ - - - - - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -872,11 +120,11 @@ - + - + [yPrev] @@ -895,103 +143,7 @@ - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - elseif { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -1001,11 +153,11 @@ - + - + [tDeacv] @@ -1024,7 +176,615 @@ - + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yDeacv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Counter + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + @@ -1034,11 +794,11 @@ - + - + [yDeacv] @@ -1056,11 +816,11 @@ - + - + boolean @@ -1072,7 +832,55 @@ - + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -1082,11 +890,11 @@ - + - + 3 @@ -1104,11 +912,11 @@ - + - + yPrev @@ -1119,11 +927,11 @@ - + - + boolean @@ -1135,7 +943,55 @@ - + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + @@ -1145,11 +1001,11 @@ - + - + 2 @@ -1167,11 +1023,11 @@ - + - + b_cntRst @@ -1182,11 +1038,11 @@ - + - + boolean @@ -1198,7 +1054,7 @@ - + @@ -1208,11 +1064,11 @@ - + - + 1 @@ -1230,11 +1086,11 @@ - + - + tDeacv @@ -1245,11 +1101,11 @@ - + - + uint16 @@ -1259,7 +1115,151 @@ - + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + yDeacv + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + 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/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json index 5b1a2ce..d1312e2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1577", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1576", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant23", "label":"Constant23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "Value", @@ -106,12 +106,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1575", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "Port", @@ -173,12 +173,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1579", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1579", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "Port", @@ -253,12 +253,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1574", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "Port", @@ -320,12 +320,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:2510", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:2510", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "InitialCondition", @@ -370,12 +370,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1576#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -421,12 +421,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1575#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1575#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -472,12 +472,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:2510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:2510#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -523,12 +523,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1574#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -574,12 +574,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515:1577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515:1577#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg index 3741b8e..54d717d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_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 @@ - + @@ -486,41 +486,41 @@ - - - - - - - - - - - Ini=initVal - - - - - + - + uint16 + + + + + + + + + + + Ini=initVal + + + + - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json index 7942af4..ecbf88c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2418", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2418", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"cnt", "label":"cnt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "Port", @@ -80,41 +80,124 @@ } }, { - "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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2416", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ - "initVal" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "z_cntInit" + "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/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2415", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2435:2414", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "Port", @@ -176,12 +259,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2413", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2413", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"max", "label":"max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "Port", @@ -243,12 +326,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2412", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2412", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"inc", "label":"inc", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "Port", @@ -310,124 +393,41 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2416", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "initVal" ], "values":[ - "round", - "|++", - "on", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "z_cntInit" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 2, - 10 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2415", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", - "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:2480:2515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -473,12 +473,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2415#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2415#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -524,12 +524,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2413#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2413#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -575,12 +575,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2416#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -626,12 +626,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2414#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "SignalNameFromLabel", @@ -677,12 +677,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2412#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2412#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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_11784_2435_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg index c35dd01..1f22517 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -133,9 +133,9 @@ - + - + @@ -197,142 +197,7 @@ - - - - - - - - - - - - - - - - u - - - - - - - - rst - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=z_cntInit - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -342,11 +207,11 @@ - + - + 3 @@ -364,11 +229,11 @@ - + - + rst @@ -379,11 +244,11 @@ - + - + boolean @@ -395,70 +260,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -468,11 +270,11 @@ - + - + 2 @@ -490,11 +292,11 @@ - + - + max @@ -505,11 +307,11 @@ - + - + uint16 @@ -519,7 +321,205 @@ - + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + rst + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=z_cntInit + + + + + + + + + + + + + + + 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/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json index 6af3d11..21a4e39 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2492", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2492", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"yAcv", "label":"yAcv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Port", @@ -80,140 +80,12 @@ } }, { - "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:2488", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", - "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: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: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:2490", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2490", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator2", "label":"Relational Operator2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Operator", @@ -253,19 +125,85 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2481", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2489", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2486", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2484", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "yPrev", + "tAcv", "Tag" ], "tabs":[ @@ -284,12 +222,76 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2491", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2483", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2487", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2491", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Criteria", @@ -341,125 +343,41 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2486", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "z_cntInit" ], "values":[ - "tAcv", - "local", - "Tag" + "0" ], "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2484", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "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:2479", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant6", - "label":"Constant6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1", - "on", - "inf", - "[]", - "[]", - "uint16", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 3, - 7 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2478", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2478", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant1", "label":"Constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Value", @@ -503,41 +421,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2477", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ - "z_cntInit" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "0" + "held", + "Only when execution is resumed" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2476", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2481", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2476", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_errPrev", "label":"b_errPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Port", @@ -599,12 +550,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2487", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2488", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "GotoTag", @@ -612,7 +563,7 @@ "IconDisplay" ], "values":[ - "yAcv", + "yPrev", "local", "Tag" ], @@ -632,25 +583,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2477", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2479", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "name":"Constant6", + "label":"Constant6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "held", - "Only when execution is resumed" + "1", + "on", + "inf", + "[]", + "[]", + "uint16", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -658,48 +627,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Constant", "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:2475", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2475", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_cntRst", "label":"b_cntRst", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Port", @@ -761,12 +699,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2474", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2485", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2482", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2474", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"tAcv", "label":"tAcv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "Port", @@ -828,12 +828,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -879,12 +879,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2491#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2491#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -930,12 +930,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2481#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2481#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -981,12 +981,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2478#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2478#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1032,12 +1032,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2490#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2490#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1083,12 +1083,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2482#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2482#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1134,12 +1134,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2485#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2485#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1185,12 +1185,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2484#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2484#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1236,12 +1236,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2479#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2479#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1287,12 +1287,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2476#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2476#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1338,12 +1338,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2475#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2475#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1389,12 +1389,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2474#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2474#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1440,12 +1440,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2483#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2483#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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_11784_2473_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg index f069417..13bd13b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2473_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,171 +61,9 @@ - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + - + @@ -233,19 +71,19 @@ - + - + - + - + @@ -271,11 +109,11 @@ - + - + boolean @@ -287,44 +125,29 @@ - - - + + + - - + + - - + + - - [yPrev] + + [b_cntRst] - - - - - - - - - - - - - - - - - boolean + + @@ -335,199 +158,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -537,11 +168,11 @@ - + - + [tAcv] @@ -560,7 +191,7 @@ - + @@ -570,11 +201,11 @@ - + - + [tAcv] @@ -592,11 +223,11 @@ - + - + uint16 @@ -608,91 +239,43 @@ - - - + + + - - + + - - + + - - 1 + + [yAcv] - - + + - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - + - - + + - + boolean @@ -704,309 +287,7 @@ - - - - - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_errPrev - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -1016,11 +297,11 @@ - + - + [yAcv] @@ -1039,9 +320,488 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Counter + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + - + @@ -1049,11 +809,11 @@ - + - + if { } @@ -1071,11 +831,11 @@ - + - + Action Port @@ -1087,43 +847,43 @@ - - + + - + - + - - [yAcv] + + [yPrev] - + - + - - + + - + boolean @@ -1135,7 +895,151 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_errPrev + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + @@ -1145,11 +1049,11 @@ - + - + 2 @@ -1167,11 +1071,11 @@ - + - + b_cntRst @@ -1182,11 +1086,11 @@ - + - + boolean @@ -1198,7 +1102,103 @@ - + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + @@ -1259,7 +1259,7 @@ - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json index 068433c..ba6d4fa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_2515_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1577", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1576", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant23", "label":"Constant23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "Value", @@ -106,12 +106,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1575", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"rst", "label":"rst", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "Port", @@ -173,12 +173,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1579", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1579", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "Port", @@ -253,12 +253,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1574", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "Port", @@ -320,12 +320,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:2510", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:2510", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "InitialCondition", @@ -370,12 +370,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1576#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -421,12 +421,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1575#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1575#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -472,12 +472,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:2510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:2510#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -523,12 +523,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1574#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", @@ -574,12 +574,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515:1577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515:1577#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg index 59ee66b..b9f7339 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_2515_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_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 @@ - + @@ -486,41 +486,41 @@ - - - - - - - - - - - Ini=initVal - - - - - + - + uint16 + + + + + + + + + + + Ini=initVal + + + + - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json index 19caf2f..151d8a9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2435_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json @@ -1,11 +1,286 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2418", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2416", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2480:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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:11784:2480:2415", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "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:11784:2480:2414", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"rst", + "label":"rst", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "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:11784:2480:2413", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"max", + "label":"max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "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:11784:2480:2418", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"cnt", "label":"cnt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "Port", @@ -80,220 +355,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2416", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", - "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: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:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", - "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:2435:2414", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"rst", - "label":"rst", - "parent":"BLDCmotor_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":[ - "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:8486:2435:2412", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2412", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"inc", "label":"inc", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "Port", @@ -355,79 +422,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2413", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"max", - "label":"max", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -473,12 +473,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2415#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2415#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -524,12 +524,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2413#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2413#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -575,12 +575,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2416#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2416#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -626,12 +626,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2414#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2414#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "SignalNameFromLabel", @@ -677,12 +677,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2412#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2412#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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_11784_2480_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg index 7d71521..4987ea0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2480_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg @@ -9,383 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - rst - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=z_cntInit - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - rst - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - max - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - + @@ -395,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -441,11 +69,11 @@ - + - + uint16 @@ -457,9 +85,144 @@ - + + + + + + + + + + + + + + + + u + + + + + + + + rst + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=z_cntInit + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -467,19 +230,19 @@ - + - + - + - + @@ -505,11 +268,11 @@ - + - + uint16 @@ -519,7 +282,244 @@ - + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + rst + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + max + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + 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/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json index 791abb0..0d96d8f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2506", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2506", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2505", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2505", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2504", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2504", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator", "label":"Relational Operator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "Operator", @@ -175,12 +175,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2503", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2503", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "Port", @@ -242,12 +242,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2503#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2503#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -293,12 +293,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2504#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2504#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "SignalNameFromLabel", @@ -344,12 +344,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507:2505#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507:2505#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg index 98bd29e..c01b34a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2507_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,45 +120,45 @@ - - - - - - - - - - - Ini=0 - - - - - + - + boolean + + + + + + + + + + + Ini=0 + + + + - + - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_8486_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json index 190c7e4..09332bb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2496", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2496", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "Port", @@ -80,12 +80,767 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2509", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2472", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2467", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2473", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Qualification", + "label":"Qualification", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2465", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2464", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2463", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2466", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2460", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2458", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2457", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2456", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2507", + "className":"Either edge detection", + "icon":"WebViewIcon5", + "name":"either_edge", + "label":"either_edge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "on", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2461", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2454", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2452", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2449", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2453", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2455", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2448", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2509", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "InitialCondition", @@ -130,416 +885,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotor_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":"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: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: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: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: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: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:2507", - "className":"Either edge detection", - "icon":"WebViewIcon4", - "name":"either_edge", - "label":"either_edge", - "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", - "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: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: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:2450", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2450", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From10", "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "GotoTag", @@ -565,475 +916,32 @@ } }, { - "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: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: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: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: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: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: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: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: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: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:2423", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Default", "label":"Default", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1045,30 +953,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1080,18 +988,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1106,12 +1015,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2422", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2422", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"tDeacv", "label":"tDeacv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "Port", @@ -1173,19 +1082,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2457", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2451", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "y", + "yPrev", "Tag" ], "tabs":[ @@ -1204,12 +1113,242 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2420", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2421", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"tAcv", + "label":"tAcv", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2459", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2428", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Dequalification", + "label":"Dequalification", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2462", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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:11784:2420", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "Port", @@ -1271,60 +1410,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2421", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2471", + "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"tAcv", - "label":"tAcv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "name":"Logical Operator4", + "label":"Logical Operator4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "Operator", + "IconShape", + "AllPortsSameDT", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "Inputs", + "SampleTime" ], "values":[ + "NOT", + "rectangular", + "off", + "boolean", "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "-1" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, 2, - 11 + 4 ] }, "viewer":{ @@ -1333,96 +1450,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Logic", "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: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:2470", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2470", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator3", "label":"Logical Operator3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -1432,8 +1485,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -1447,117 +1500,27 @@ } }, { - "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: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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2469", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator2", "label":"Logical Operator2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -1567,8 +1530,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -1582,12 +1545,57 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2468", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "Operator", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "NOT", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1633,12 +1641,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2422#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2422#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1684,12 +1692,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2421#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2421#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1735,12 +1743,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2467#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1786,12 +1794,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2473#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1837,12 +1845,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2453#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2453#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1888,12 +1896,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2468#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2468#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1939,12 +1947,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2448#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2448#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1990,12 +1998,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2454#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2454#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2041,12 +2049,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2460#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2460#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2092,12 +2100,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2467#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2143,12 +2151,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2420#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2420#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2194,12 +2202,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2457#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2457#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2245,12 +2253,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2456#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2456#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2296,12 +2304,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2458#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2458#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2347,12 +2355,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2467#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2467#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2398,12 +2406,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2451#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2451#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2449,12 +2457,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2423#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2500,12 +2508,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2428#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2551,12 +2559,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2449#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2449#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2602,12 +2610,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2459#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2459#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2653,12 +2661,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2509#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2509#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2704,12 +2712,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2472#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2472#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2755,12 +2763,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2452#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2452#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2806,12 +2814,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2471#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2471#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2857,12 +2865,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2455#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2455#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2908,12 +2916,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2450#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2450#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2959,12 +2967,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2470#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2470#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3010,12 +3018,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2469#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2469#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png new file mode 100644 index 0000000..ec94684 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg index c5fcab3..23cab7a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,212 +61,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - u2 - - - - - - - - if(u1 ~= 0) - - - - - - - - elseif(u2 ~=0) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - + @@ -276,19 +71,19 @@ - + - + - + - + @@ -314,11 +109,11 @@ - + - + boolean @@ -330,376 +125,106 @@ - - - + + + - - + + - - + + - - [tDeacv] + + u1 + + + + + + + + u2 + + + + + + + + if(u1 ~= 0) + + + + + + + + elseif(u2 ~=0) + + + + + + + + else - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [y] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - + + - - + + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + action - - + + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - + + action - - + + - - + + - - boolean + + action @@ -710,328 +235,7 @@ - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [u] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [u] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [u] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -1047,43 +251,43 @@ - + - + tAcv - + - + b_cntRst - + - + b_errPrev - + - + yAcv - + - + if { } @@ -1113,11 +317,11 @@ - + - + Qualification @@ -1134,11 +338,11 @@ - + - + boolean @@ -1155,11 +359,11 @@ - + - + action @@ -1171,718 +375,13 @@ - + - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tDeacv - - - - - - - - b_cntRst - - - - - - - - yPrev - - - - - - - - yDeacv - - - - - - - - elseif { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dequalification - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - yPrev - - - - - - - - yDefault - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - tDeacv - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [y] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - tAcv - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [u] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - @@ -1892,11 +391,11 @@ - + - + [tAcv] @@ -1915,135 +414,1508 @@ - - - + + + - - + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean + + [yPrev] - - + + - - - - - - - + + + - - + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean + + [u] - - + + - - - - - + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [y] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [u] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [u] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [u] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yPrev + + + + + + + + yDefault + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + tDeacv + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + tAcv + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tDeacv + + + + + + + + b_cntRst + + + + + + + + yPrev + + + + + + + + yDeacv + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dequalification + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [y] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -2053,19 +1925,19 @@ - + - + - + - + @@ -2080,11 +1952,11 @@ - + - + boolean @@ -2107,9 +1979,73 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + - + @@ -2117,19 +2053,19 @@ - + - + - + - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_8519_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json index b34a2af..f2561c5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2506", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2506", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2505", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2505", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2504", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2504", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Relational Operator", "label":"Relational Operator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "Operator", @@ -175,12 +175,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2503", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2503", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "Port", @@ -242,12 +242,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2503#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2503#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "SignalNameFromLabel", @@ -293,12 +293,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2504#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2504#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "SignalNameFromLabel", @@ -344,12 +344,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519:2505#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815:2505#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8519", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11815", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg index d7c86bb..6020a3e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8519_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,45 +120,45 @@ - - - - - - - - - - - Ini=0 - - - - - + - + boolean + + + + + + + + + + + Ini=0 + + + + - + - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_10164_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json index 61affec..bd2af44 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10169", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11894", "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":"BLDCmotor_FOC_R2017b_fixdt:10164", + "name":"

Call Squeduler: This creates a pulse train for task scheduling in series.

", + "label":"

Call Squeduler: This creates a pulse train for task scheduling in series.

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

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

", + "\n\n

Call Squeduler: This creates a pulse train for task scheduling in series.

", "off", "rich", "auto", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10168", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11891", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"task2", - "label":"task2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "name":"call1", + "label":"call1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "Port", @@ -82,7 +82,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -129,62 +129,12 @@ } }, { - "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:10186", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11893", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"task3", - "label":"task3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "name":"call3", + "label":"call3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "Port", @@ -259,209 +209,12 @@ } }, { - "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: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: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:10190", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "boolean", - "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:10167", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11892", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"task1", - "label":"task1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "name":"call2", + "label":"call2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "Port", @@ -489,7 +242,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -536,27 +289,274 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10163", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11888", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay4", + "label":"UnitDelay4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", + "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:11887", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay2", + "label":"UnitDelay2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", + "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:11889", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay5", + "label":"UnitDelay5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", + "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:11890", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay6", + "label":"UnitDelay6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", + "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:11885", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "boolean", + "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:11886", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator2", "label":"Logical Operator2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "NOT", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -566,8 +566,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -581,12 +581,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10162#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11886#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "SignalNameFromLabel", @@ -632,12 +632,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10163#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11888#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "SignalNameFromLabel", @@ -683,12 +683,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10183#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11887#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "SignalNameFromLabel", @@ -734,12 +734,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10184#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11890#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "SignalNameFromLabel", @@ -785,12 +785,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10185#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11889#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "SignalNameFromLabel", @@ -836,12 +836,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10190#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11885#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10164", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png new file mode 100644 index 0000000..207f080 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg similarity index 79% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg index 6e1463c..69e60fc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10164_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg @@ -9,30 +9,30 @@
- + - + - + - + - Task Squeduler - : This creates a pulse train for + Call Squeduler + : This creates a pulse train for - + - alternating task squeduling in series. + task scheduling in series. @@ -41,11 +41,11 @@ - - + + - + @@ -55,30 +55,30 @@ - - 2 + + 1 - + - - + + - + - - task2 + + call1 @@ -89,102 +89,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - + @@ -194,11 +99,11 @@ - + - + 3 @@ -213,15 +118,15 @@ - + - - + + - - task3 + + call3 @@ -232,91 +137,44 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + 2 + - - + + - - - + + + - - + + - - Ini=0 - - - - - - - - - - - - - - - boolean + + call2 @@ -327,102 +185,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=1 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -432,35 +195,35 @@ - + - + - + - + - + - + - + - + @@ -486,11 +249,11 @@ - + - + Ini=1 @@ -498,29 +261,29 @@ - + - + - + - + - + - + @@ -534,7 +297,292 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + Ini=1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -544,20 +592,20 @@ - + - + - + - - + + @@ -582,11 +630,11 @@ - + - + boolean @@ -598,55 +646,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - task1 - - - - - - - - - - - + @@ -669,7 +669,7 @@ - + @@ -725,21 +725,7 @@ - - - - - - - - - - - - - - - + @@ -753,21 +739,25 @@ - + - - + + + + + + + + + - - - - + @@ -781,47 +771,23 @@ + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -830,16 +796,6 @@ - - - - - - - - - - @@ -849,13 +805,57 @@ + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -871,5 +871,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json new file mode 100644 index 0000000..212d106 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json @@ -0,0 +1,200 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:20", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[call3]{task3;} ", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[call3]{task3;} ", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:16", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[call2]{task2a; task2b}", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[call2]{task2a; task2b}", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:12", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[call1]{task1a; task1b}", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[call1]{task1a; task1b}", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:14", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "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:11895:10", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "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:11895:18", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 2, + "", + "", + "" + ], + "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_11895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png new file mode 100644 index 0000000..bf6b421 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg new file mode 100644 index 0000000..802a428 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [call3]{ + + + + + + + + + + + + + + + + task3 + + + + + + + + + + + + + + + + ;} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [call2]{ + + + + + + + + + + + + + + + + task2a + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + task2b + + + + + + + + + + + + + + + + } + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [call1]{ + + + + + + + + + + + + + + + + task1a + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + task1b + + + + + + + + + + + + + + + + } + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json new file mode 100644 index 0000000..b6d72b1 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json @@ -0,0 +1,3102 @@ +[ + { + "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":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

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

", + "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:8769", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8778", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11919", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11926", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_sin", + "label":"r_sin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8743", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Sine_Cosine_Approximation", + "label":"Sine_Cosine_Approximation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Park_Transform", + "label":"Park_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11917", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11902", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto32", + "label":"Goto32", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8844", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11908", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:10686", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11927", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_cos", + "label":"r_cos", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11925", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8782", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11900", + "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:9713", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11924", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8775", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11914", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11915", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From71", + "label":"From71", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11906", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11918", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11916", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto24", + "label":"Goto24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8857", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto35", + "label":"Goto35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11907", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11904", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaAB", + "label":"i_phaAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8858", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto36", + "label":"Goto36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11910", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11903", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8781", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11023", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Transform", + "label":"Clarke_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Current_Filtering", + "label":"Current_Filtering", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11901", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:11905", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaBC", + "label":"i_phaBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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:8781#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8782#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:9045#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:9045#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8726#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8726#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8743#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8743#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8775#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:9713#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:9718#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8769#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8778#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11023#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11023#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:8726#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11901#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11904#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11905#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11903#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11915#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11914#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11918#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11924#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11925#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_11900_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png new file mode 100644 index 0000000..3e826a6 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg new file mode 100644 index 0000000..ff9e49e --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg @@ -0,0 +1,2425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Start filtering only when motor is enabled (circuit closed). + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_sin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sine_Cosine_Approximation + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + i_apha + + + + + + + + i_beta + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + iq_Raw + + + + + + + + id_Raw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Park_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_cos + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + i_phaBC + + + + + + + + i_alpha + + + + + + + + i_beta + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq_raw + + + + + + + + id_raw + + + + + + + + iq + + + + + + + + iqAbs + + + + + + + + id + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current_Filtering + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + i_phaBC + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json new file mode 100644 index 0000000..e290266 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json @@ -0,0 +1,1511 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12109", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Inv_Clarke_Transform", + "label":"Inv_Clarke_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12049", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12048", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12107", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From50", + "label":"From50", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12106", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12126", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Inv_Park_Transform", + "label":"Inv_Park_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12108", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "V_phaABC_FOC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12105", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12044", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12104", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:11934", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_cos", + "label":"r_cos", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12047", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:11933", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_sin", + "label":"r_sin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:11935", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12052", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto32", + "label":"Goto32", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:11932", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd", + "label":"Vd", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12098", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"V_phaABC_FOC", + "label":"V_phaABC_FOC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:11931", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq", + "label":"Vq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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:12044#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11932#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11934#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11933#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11931#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12109#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12105#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12107#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12126#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12126#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12104#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12106#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_11930_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png new file mode 100644 index 0000000..3bfd51b Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg new file mode 100644 index 0000000..7ca6995 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg @@ -0,0 +1,1201 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + V_alpha + + + + + + + + V_beta + + + + + + + + V_phaABC_FOC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inv_Clarke_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + Vd + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + V_alpha + + + + + + + + V_beta + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inv_Park_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_FOC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_FOC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_cos + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_sin + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vd + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + V_phaABC_FOC + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json index e107374..573d760 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8884", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12124", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Space Vector Modulation (SVM)

", "label":"

Space Vector Modulation (SVM)

", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8885", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12125", "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":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Text", @@ -98,12 +98,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8868", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12111", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"V_beta", "label":"V_beta", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Port", @@ -165,12 +165,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8867", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12110", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"V_alpha", "label":"V_alpha", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Port", @@ -232,12 +232,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8881", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12123", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_phaABC_FOC", "label":"V_phaABC_FOC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Port", @@ -312,130 +312,12 @@ } }, { - "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":"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:8877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12118", "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "name":"MinMax1", + "label":"MinMax1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "OutDataTypeStr", @@ -452,7 +334,7 @@ ], "values":[ "Inherit: Inherit via internal rule", - "max", + "min", "on", "1", "off", @@ -483,12 +365,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8875", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12117", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain4", "label":"Gain4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Gain", @@ -542,12 +424,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8874", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12120", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux4", + "label":"Mux4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "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:12116", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain3", "label":"Gain3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Gain", @@ -601,12 +514,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8873", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12115", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain2", "label":"Gain2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Gain", @@ -660,65 +573,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8876", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "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":"BLDCmotor_FOC_R2017b_fixdt:8872", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12114", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain1", "label":"Gain1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "Gain", @@ -772,83 +632,46 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8878", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12119", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Mux4", - "label":"Mux4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "name":"MinMax2", + "label":"MinMax2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "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: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", + "Function", + "InputSameDT", + "Inputs", "LockScale", + "OutMax", + "OutMin", "RndMeth", + "SampleTime", "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "ZeroCross" ], "values":[ - "rectangular", - "++", - "off", "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", + "max", "on", "1", - "All dimensions", - "-1" + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" ], "tabs":[ - "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 10 + 1 ] }, "viewer":{ @@ -857,17 +680,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"MinMax", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8870", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12113", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Add1", "label":"Add1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "IconShape", @@ -921,12 +744,189 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12112", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Add", + "label":"Add", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "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:12122", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum6", + "label":"Sum6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "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:12121", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "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:12122#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -972,12 +972,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12121#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1023,12 +1023,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8872#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12114#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1074,12 +1074,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8874#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12116#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1125,12 +1125,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8867#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12110#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"alpha", "label":"alpha", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1176,12 +1176,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8868#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12111#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"beta", "label":"beta", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1227,12 +1227,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12112#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1278,12 +1278,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8870#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12113#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1329,12 +1329,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8876#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12118#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1380,12 +1380,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8873#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12115#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1431,12 +1431,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12117#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1482,12 +1482,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12119#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1533,12 +1533,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8875#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12120#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8866", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg index c5518ca..f36447e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8866_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg @@ -9,11 +9,11 @@
- + - + @@ -32,7 +32,7 @@ - + @@ -91,7 +91,7 @@ - + @@ -154,7 +154,7 @@ - + @@ -217,7 +217,7 @@ - + @@ -265,337 +265,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1/2 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0.5 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -603,19 +275,19 @@ - + - + - + - + @@ -641,11 +313,11 @@ - + - + sfix16_En4 @@ -657,43 +329,43 @@ - - - + + + - - + + - - + + - - sqrt(3)/2 + + 2/sqrt(3) - - + + - + - - + + - + sfix16_En4 @@ -705,7 +377,7 @@ - + @@ -715,11 +387,11 @@ - + - + @@ -737,11 +409,11 @@ - + - + sfix16_En4 @@ -753,67 +425,43 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + 1/2 - - + + - + - - + + - + sfix16_En4 @@ -825,7 +473,167 @@ - + + + + + + + + + + + + + + + + 0.5 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + sqrt(3)/2 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -835,27 +643,27 @@ - + - + - + - + - + - + @@ -873,11 +681,11 @@ - + - + sfix16_En4 @@ -887,7 +695,199 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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,21 @@ - + + + + + + + + + + + + + + + @@ -1123,7 +1137,7 @@ - + @@ -1168,30 +1182,16 @@ - - - - - - - - - - - - - - - - + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json index dae2504..564c403 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8911", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12151", "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":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8888", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12128", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vd", "label":"Vd", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Port", @@ -116,12 +116,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8910", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12150", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_beta", "label":"V_beta", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Port", @@ -196,12 +196,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8887", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12127", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq", "label":"Vq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Port", @@ -263,12 +263,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8909", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12149", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"V_alpha", "label":"V_alpha", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Port", @@ -343,12 +343,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12129", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_sin", "label":"r_sin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Port", @@ -410,12 +410,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12130", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_cos", "label":"r_cos", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "Port", @@ -477,679 +477,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8907", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", - "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:8906", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_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":"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: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:8902", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "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:8901", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "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: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: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: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: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: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: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: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:8892", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "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: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: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: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:8908", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12148", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum6", "label":"Sum6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "IconShape", @@ -1203,12 +536,679 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8889#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12147", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12146", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12145", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12142", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12141", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12139", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12138", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12144", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12134", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12133", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12135", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12140", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12131", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12136", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12137", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12132", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12143", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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:12129#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1254,12 +1254,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8888#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12128#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1305,12 +1305,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8887#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12127#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1356,12 +1356,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12130#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1407,12 +1407,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12136#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1458,12 +1458,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12135#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1509,12 +1509,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8902#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12142#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1560,12 +1560,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8899#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12139#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1611,12 +1611,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12131#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1662,12 +1662,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8897#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12137#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1713,12 +1713,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8898#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12138#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1764,12 +1764,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12132#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1815,12 +1815,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12133#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1866,12 +1866,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8900#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12140#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1917,12 +1917,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12134#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1968,12 +1968,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8901#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12141#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2019,12 +2019,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8907#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12147#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2070,12 +2070,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8908#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12148#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8886", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg index fb7dba4..3623900 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8886_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_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,71 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -422,35 +486,35 @@ - + - + - + - + - + - + - + - + @@ -468,11 +532,11 @@ - + - + sfix16_En4 @@ -484,7 +548,7 @@ - + @@ -494,11 +558,11 @@ - + - + [r_cos] @@ -517,369 +581,7 @@ - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -889,11 +591,11 @@ - + - + [r_sin] @@ -912,7 +614,151 @@ - + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + @@ -922,11 +768,11 @@ - + - + [Vd] @@ -944,11 +790,11 @@ - + - + sfix16_En4 @@ -960,44 +806,29 @@ - - - + + + - - + + - - + + - - [r_cos] + + [Vd] - - - - - - - - - - - - - - - - - sfix16_En14 + + @@ -1008,51 +839,51 @@ - - - + + + - + - - + + - - + + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -1064,57 +895,9 @@ - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -1122,19 +905,19 @@ - + - + - + - + @@ -1152,11 +935,11 @@ - + - + sfix16_En4 @@ -1168,7 +951,103 @@ - + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1178,19 +1057,19 @@ - + - + - + - + @@ -1208,11 +1087,11 @@ - + - + sfix16_En4 @@ -1224,59 +1103,91 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + [r_cos] - - + + - + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -1286,7 +1197,96 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + @@ -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/BLDCmotor_FOC_R2017b_fixdt_12219_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json new file mode 100644 index 0000000..2a98e1e --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json @@ -0,0 +1,7327 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12362", + "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":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Speed protection

\n

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

\n


", + "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:12363", + "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":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Current protection

\n

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

\n


", + "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:12364", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Speed limitations


", + "label":"

Speed limitations


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

Speed limitations

\n


", + "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:12365", + "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":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

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

\n

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

\n

iq_max \t\t= iq_maxSca * i_max

\n


\n

where, idSca\t= id / i_max,

\n


\n

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

\n


", + "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:12366", + "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":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

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

\n

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

\n

Vq_min \t= -Vq_max

\n


", + "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:12361", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":[ + "12", + "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:12360", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_limProtErr", + "label":"iq_limProtErr", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":[ + "11", + "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:12358", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12356", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12351", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "-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:12350", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12346", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"i_max", + "label":"i_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12353", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "-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:12345", + "className":"Simulink.PreLookup", + "icon":"WebViewIcon3", + "name":"Vq_max_XA", + "label":"Vq_max_XA", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "None", + "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":"BLDCmotor_FOC_R2017b_fixdt:12344", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"Vq_max_M1", + "label":"Vq_max_M1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "Vq_max_M1", + "Flat", + "Error", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,4)", + "[]", + "[]", + "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:12312", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Voltage_Mode_Protection", + "label":"Voltage_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12359", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":[ + "10", + "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:12294", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Torque_Mode_Protection", + "label":"Torque_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12347", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"iq_maxSca_M1", + "label":"iq_maxSca_M1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "iq_maxSca_M1", + "Flat", + "Error", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(0,16,16)", + "[]", + "[]", + "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:12293", + "className":"Simulink.SwitchCase", + "icon":"WebViewIcon3", + "name":"Switch Case", + "label":"Switch Case", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12354", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id_max", + "label":"id_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "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:12282", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12281", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12280", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12278", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12277", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12266", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12276", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12268", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12265", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12272", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12263", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12262", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain5", + "label":"Gain5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12273", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12355", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12260", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain3", + "label":"Gain3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12275", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12259", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain1", + "label":"Gain1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12256", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12258", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12255", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12254", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12269", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12253", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12279", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12251", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12349", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_max1", + "label":"n_max1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12357", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "-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:12248", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12270", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12247", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12246", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12244", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12242", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12352", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12241", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12271", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12245", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12239", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12238", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12236", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12240", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12235", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12234", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12252", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12267", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12249", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12232", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12243", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12230", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12229", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12264", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12311", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Vd_max1", + "label":"Vd_max1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12274", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12233", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12237", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12226", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12261", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12224", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12231", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12223", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12250", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12283", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode_Protection", + "label":"Speed_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12228", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12225", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12222", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VdPrev", + "label":"VdPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12348", + "className":"Simulink.PreLookup", + "icon":"WebViewIcon3", + "name":"iq_maxSca_XA", + "label":"iq_maxSca_XA", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "iq_maxSca_XA", + "Index only", + "Evenly spaced points", + "Clip", + "None", + "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":"BLDCmotor_FOC_R2017b_fixdt:12220", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12257", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12386", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12221", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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:12345#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12250#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12234#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12262#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12311#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12233#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12222#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12223#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12239#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12253#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12260#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12261#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12346#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12232#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12231#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12259#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12348#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12256#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12254#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12257#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12258#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12224#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12237#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12349#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12238#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12220#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12229#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12344#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12230#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12228#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12255#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12347#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12243#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12293#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12293#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12293#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12240#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12244#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12242#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12241#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12245#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12246#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12226#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12225#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12247#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12248#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12221#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12249#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12252#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12251#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12283#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12294#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12312#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12312#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12235#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12236#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_12219_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png new file mode 100644 index 0000000..2730ce2 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg new file mode 100644 index 0000000..5657b34 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg @@ -0,0 +1,6363 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Speed protection + + + + + + + + for cases in which the speed is not directly controlled, i.e., + + + + + + + + VOLTAGE_MODE and TORQUE_MODE + + + + + + + + + + + + + + + + + + + Current protection + + + + + + + + for cases in which the current is not directly controlled, i.e., + + + + + + + + VOLTAGE_MODE and SPEED_MODE + + + + + + + + + + + + + + + + + + + Speed limitations + + + + + + + + + + + + + + + + + + + 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. + + + + + + + + + + + + + + + + + + + Voltage Circle limitations with priority on i_d (Flux current): + + + + + + + + Vq_max + + + + + + + + = sqrt(Vd_max^2 - Vd^2) + + + + + + + + Vq_min + + + + + + + + = -Vq_max + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + + + + + + + + + + + + i_max + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vq_max_XA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + Vq_max_M1 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + iqAbs + + + + + + + + iq_max + + + + + + + + n_motAbs + + + + + + + + n_max + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Voltage_Mode_Protection + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + n_max + + + + + + + + Vq_max + + + + + + + + Vq_nLimProtMax + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Torque_Mode_Protection + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + iq_maxSca_M1 + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + iq_limProtErr + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Speed_Mode_Protection + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + VdPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq_maxSca_XA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json index c90f9f7..39b6bac 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json @@ -1,11 +1,119 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10600", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12291", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKiLimProt", + "label":"cf_iqKiLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", + "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:12290", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", + "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:12292", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"iq_limProtErr", "label":"iq_limProtErr", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "Port", @@ -80,120 +188,12 @@ } }, { - "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:10597", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", - "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:10594", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "OutMin", @@ -227,12 +227,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10661", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12288", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide1", "label":"Divide1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "Inputs", @@ -284,43 +284,12 @@ } }, { - "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:10587", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12286", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_min", "label":"iq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "Port", @@ -382,12 +351,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10586", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12285", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_max", "label":"iq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "Port", @@ -449,12 +418,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10585", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12287", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", + "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:12284", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq", "label":"iq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "Port", @@ -516,12 +516,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10585#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12284#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", @@ -567,12 +567,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", @@ -618,12 +618,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10586#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12285#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", @@ -669,12 +669,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10587#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12286#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", @@ -720,12 +720,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10662#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12291#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", @@ -771,12 +771,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10661#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12288#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", @@ -822,12 +822,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10597#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12290#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg index dfb1ac0..314fc44 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10584_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg @@ -9,59 +9,11 @@
- + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_limProtErr - - - - - - - - - - - + @@ -71,11 +23,11 @@ - + - + cf_iqKiLimProt @@ -93,11 +45,11 @@ - + - + cf_iqKiLimProt @@ -108,11 +60,11 @@ - + - + ufix16_En16 @@ -124,7 +76,7 @@ - + @@ -134,27 +86,27 @@ - + - + - + - + - + - + @@ -172,11 +124,11 @@ - + - + sfix16_En4 @@ -188,9 +140,57 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + - + @@ -300,9 +300,9 @@ - + - + @@ -356,55 +356,7 @@ - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -414,11 +366,11 @@ - + - + 3 @@ -436,11 +388,11 @@ - + - + iq_min @@ -451,11 +403,11 @@ - + - + sfix16_En4 @@ -467,7 +419,7 @@ - + @@ -477,11 +429,11 @@ - + - + 2 @@ -499,11 +451,11 @@ - + - + iq_max @@ -514,11 +466,11 @@ - + - + sfix16_En4 @@ -530,7 +482,55 @@ - + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + @@ -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/BLDCmotor_FOC_R2017b_fixdt_10594_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json index ad64d65..65fe0bc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:1#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:2#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:3#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:7#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:8#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:6#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289:9#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10594", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12289", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg index ded0505..8bc3751 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10594_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_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 @@ - + @@ -1015,16 +1015,16 @@ - + - + - + @@ -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_10602_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json index 9621352..02a169c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json @@ -1,11 +1,218 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10619", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12305", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12304", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12307", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12303", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12308", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_KbLimProt", + "label":"cf_KbLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12310", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_nLimProtMax", "label":"Vq_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "Port", @@ -80,156 +287,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10810", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_KbLimProt", - "label":"cf_KbLimProt", - "parent":"BLDCmotor_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":"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: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:10804", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12300", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "n_max", + "Vq_max", "Tag" ], "tabs":[ @@ -248,74 +318,12 @@ } }, { - "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: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:10811", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12309", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"cf_nKiLimProt", "label":"cf_nKiLimProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "Value", @@ -359,12 +367,134 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10814", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12301", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12306", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "inspector":{ + "params":[ + "yInit" + ], + "values":[ + "900" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12302", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12298", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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:12297", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_max", "label":"Vq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "Port", @@ -426,94 +556,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10803", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", - "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: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:10607", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12296", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_max", "label":"n_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "Port", @@ -575,76 +623,12 @@ } }, { - "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:10812", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", - "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:10774", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12295", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_motAbs", "label":"n_motAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "Port", @@ -706,27 +690,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10776", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12299", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "n_max", - "local", - "Tag" + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -734,17 +734,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10774#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12295#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -790,12 +790,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10607#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12296#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -841,12 +841,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10809#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12307#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -892,12 +892,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10805#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12302#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -943,12 +943,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10803#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12299#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -994,12 +994,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10804#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12301#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1045,12 +1045,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10811#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12309#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1096,12 +1096,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10810#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12308#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1147,12 +1147,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10812#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12300#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1198,12 +1198,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1249,12 +1249,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12297#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "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_12294_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg index 68c5744..dfab66b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10602_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg @@ -9,662 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - cf_KbLimProt - - - - - - - - - - - - - - - - - - - - - - cf_KbLimProt - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - I - - - - - - - - Kb - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - out - - - - - - - - I(z) - - - - - - - - - - - - - - - - - - - - - - I_backCalc_fixdt - - - - - - - - - - - - - - - Ini=900 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_nKiLimProt - - - - - - - - - - - - - - - - - - - - - - cf_nKiLimProt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -674,11 +23,11 @@ - + - + [n_motAbs] @@ -697,58 +46,92 @@ - - - + + + - - + + - - + + - - 2 + + [n_max] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - n_max + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + sfix16_En4 @@ -760,7 +143,7 @@ - + @@ -770,11 +153,11 @@ - + - + [Vq_max] @@ -793,7 +176,118 @@ - + + + + + + + + + + + + + + + + cf_KbLimProt + + + + + + + + + + + + + + + + + + + + + + cf_KbLimProt + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + @@ -803,11 +297,11 @@ - + - + [Vq_max] @@ -825,11 +319,11 @@ - + - + sfix16_En4 @@ -841,7 +335,498 @@ - + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + I + + + + + + + + Kb + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + out + + + + + + + + I(z) + + + + + + + + + + + + + + + + + + + + + + I_backCalc_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + Ini=900 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -851,11 +836,11 @@ - + - + 1 @@ -873,11 +858,11 @@ - + - + n_motAbs @@ -888,11 +873,11 @@ - + - + sfix16_En4 @@ -904,29 +889,44 @@ - - - + + + - - + + - - + + - - [n_max] + + 0 - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -935,7 +935,7 @@ - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json index 23f467c..4f31002 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json @@ -1,11 +1,167 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2882", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2896", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306: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:12306:2880", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306: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:12306:2879", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", + "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:12306:2882", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", "inspector":{ "params":[ "Port", @@ -80,109 +236,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2896", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10746:2879", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", - "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:10746:2878", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2878", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", "inspector":{ "params":[ "Port", @@ -244,71 +303,12 @@ } }, { - "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:2878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2878#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -354,12 +354,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2880#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -405,12 +405,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2896#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -456,12 +456,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2879#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306: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_12306_2877_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg index 1aba94c..4ba302a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg @@ -9,59 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - + @@ -71,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -120,43 +72,43 @@ - - - - - - - - - - - sfix32_En16 - - - - - + - + Ini=yInit + + + + + + + + + + + sfix32_En16 + + + + - + @@ -165,36 +117,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -212,11 +164,11 @@ - + - + sfix32_En16 @@ -228,7 +180,7 @@ - + @@ -238,19 +190,19 @@ - + - + - + - + @@ -276,11 +228,11 @@ - + - + sfix16_En4 @@ -292,7 +244,55 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + @@ -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_10745_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json index 765b1f8..1bbba94 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:1#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:2#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:3#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:7#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:8#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:6#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895:9#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg index bf7f3f0..876766e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_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 @@ - + @@ -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_10746_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json index 2122b9a..f6c7b2b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2894", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2894", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "InitialCondition", @@ -50,12 +50,325 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2892", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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:12306:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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:12306:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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:12306:2893", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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:12306:2889", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "Port", @@ -130,168 +443,12 @@ } }, { - "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:2893", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", - "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:10746:2855", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2855", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMin", "label":"satMin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "Port", @@ -353,195 +510,12 @@ } }, { - "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: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: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:2890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2890", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Kb", "label":"Kb", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "Port", @@ -603,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2853", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2853", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"I", "label":"I", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "Port", @@ -670,51 +644,12 @@ } }, { - "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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2891", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "Inputs", @@ -766,12 +701,79 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2851", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2854", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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:12306:2851", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "Port", @@ -833,12 +835,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2892#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +886,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2869#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +937,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2890#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -986,12 +988,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2893#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1037,12 +1039,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2891#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1088,12 +1090,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2894#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1139,12 +1141,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2877#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1190,12 +1192,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1241,12 +1243,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2851#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2851#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1292,12 +1294,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2853#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2853#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1343,12 +1345,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2854#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2854#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1394,12 +1396,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2855#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2855#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg index 6f77651..68d0821 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg @@ -9,61 +9,13 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - - - - + - + @@ -71,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -125,11 +77,11 @@ - + - + sfix32_En16 @@ -140,11 +92,11 @@ - + - + Ini=0 @@ -156,60 +108,68 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + sfix32_En16 @@ -220,121 +180,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -348,19 +196,19 @@ - + - + u - + - + y @@ -390,11 +238,11 @@ - + - + Integrator @@ -411,11 +259,11 @@ - + - + sfix16_En4 @@ -427,7 +275,7 @@ - + @@ -435,7 +283,7 @@ - + @@ -443,19 +291,19 @@ - + - + - + - + @@ -473,11 +321,11 @@ - + - + sfix32_En20 @@ -489,52 +337,108 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + up - - + + - - + + u + + + + + + + + lo + + + + + + + + y - - + + - - + + - - + + - - sfix32_En16 + + sfix16_En4 @@ -545,7 +449,119 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + @@ -555,11 +571,11 @@ - + - + 5 @@ -577,11 +593,11 @@ - + - + satMin @@ -592,11 +608,11 @@ - + - + sfix16_En4 @@ -608,7 +624,7 @@ - + @@ -618,11 +634,11 @@ - + - + 3 @@ -640,11 +656,11 @@ - + - + Kb @@ -655,11 +671,11 @@ - + - + ufix16_En12 @@ -671,7 +687,7 @@ - + @@ -681,11 +697,11 @@ - + - + 2 @@ -703,11 +719,11 @@ - + - + I @@ -718,11 +734,11 @@ - + - + ufix16_En16 @@ -734,59 +750,52 @@ - - - + + + - - + + - - + + - - 1 + + + + + + + + + + - - - - - - - - - - - - - - - - - err + + - - + + - - + + - - sfix16_En4 + + sfix32_En16 @@ -797,7 +806,7 @@ - + @@ -807,11 +816,11 @@ - + - + 4 @@ -829,11 +838,11 @@ - + - + satMax @@ -844,11 +853,11 @@ - + - + sfix16_En4 @@ -860,68 +869,59 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - - - - - - - - - + + 1 - - + + + + + + + + + + + + + + + + + err - - + + - + - - sfix32_En16 + + sfix16_En4 @@ -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_10566_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json index eaa67f8..0166777 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json @@ -1,11 +1,91 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10575", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12343", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12342", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_iqLimProtMax", "label":"r_iqLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Port", @@ -80,12 +160,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10653", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12341", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"cf_nKiLimProt", "label":"cf_nKiLimProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Value", @@ -129,12 +209,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10574", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12340", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"cf_iqKiLimProt", "label":"cf_iqKiLimProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Value", @@ -178,12 +258,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10640", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12339", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"cf_KbLimProt", "label":"cf_KbLimProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Value", @@ -227,12 +307,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10634", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12338", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "IconShape", @@ -286,41 +366,12 @@ } }, { - "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":[ - "yInit" - ], - "values":[ - "1000" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10649", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12333", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto6", "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", @@ -348,12 +399,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10658", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12331", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", @@ -361,7 +412,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaAbs", + "n_max", "local", "Tag" ], @@ -381,12 +432,45 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10625", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12332", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12329", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto10", "label":"Goto10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", @@ -414,12 +498,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10627", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12328", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", @@ -427,7 +511,7 @@ "IconDisplay" ], "values":[ - "iqAbs", + "r_iqLimProtMax", "local", "Tag" ], @@ -447,12 +531,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10656", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12326", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From6", "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", @@ -478,103 +562,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"I_backCalc_fixdt1", - "label":"I_backCalc_fixdt1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", - "inspector":{ - "params":[ - "yInit" - ], - "values":[ - "1000" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "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:10643", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", - "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:10641", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12323", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From3", "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", @@ -600,12 +593,123 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10651", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12322", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12320", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12325", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12337", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "IconShape", @@ -659,123 +763,12 @@ } }, { - "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:10673", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "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:10672", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12319", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant", "label":"Constant", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Value", @@ -819,19 +812,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10570", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12318", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "InitializeStates", "PropagateVarSize" ], "values":[ - "held", + "reset", "Only when execution is resumed" ], "tabs":[ @@ -850,45 +843,41 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10642", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "yInit" ], "values":[ - "r_iqLimProtMax", - "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":"BLDCmotor_FOC_R2017b_fixdt:10577", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12317", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_max", "label":"n_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Port", @@ -950,12 +939,109 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10576", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12327", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12330", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12334", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12316", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_motAbs", "label":"n_motAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Port", @@ -1017,19 +1103,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10632", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12324", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "iq_max", + "r_nLimProtMax", "Tag" ], "tabs":[ @@ -1048,112 +1134,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10567", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", - "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":[ - "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:10630", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", - "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:10568", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12315", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_max", "label":"iq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Port", @@ -1215,12 +1201,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10583", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12314", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Port", @@ -1235,17 +1221,11 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ "2", @@ -1260,17 +1240,10 @@ "-1", "auto", "off", - "off", - "0", - "off", - "held", - "off", - "0", "", - [ - ], - "Dialog", - "Auto", + "on", + "off", + "off", "off" ], "tabs":[ @@ -1290,50 +1263,46 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10629", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"I_backCalc_fixdt1", + "label":"I_backCalc_fixdt1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "yInit" ], "values":[ - "n_max", - "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":"BLDCmotor_FOC_R2017b_fixdt:10657", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12313", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtScaAbs", "label":"r_inpTgtScaAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "Port", @@ -1395,12 +1364,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10568#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12321", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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:12315#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1446,12 +1446,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10567#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12314#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1497,12 +1497,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10577#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12317#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1548,12 +1548,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10576#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12316#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1599,12 +1599,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10632#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12338#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1650,12 +1650,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10640#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12321#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1701,12 +1701,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10641#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12322#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1752,12 +1752,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10643#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12319#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1803,12 +1803,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10655#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12327#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1854,12 +1854,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10656#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12340#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1905,12 +1905,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10657#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12339#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1956,12 +1956,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10659#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12323#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2007,12 +2007,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10633#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2058,12 +2058,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10634#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12324#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2109,12 +2109,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2160,12 +2160,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10574#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12341#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2211,12 +2211,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10672#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12320#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2262,12 +2262,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10653#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12326#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2313,12 +2313,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10651#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12325#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2364,12 +2364,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12337#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2415,12 +2415,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10673#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12313#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png new file mode 100644 index 0000000..9e0ed1e Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg index 3c91770..3aa26bd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10566_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg @@ -9,15 +9,15 @@ - + - - + + - + @@ -27,7 +27,55 @@ - + + 2 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + 1 @@ -45,11 +93,11 @@ - + - + r_iqLimProtMax @@ -61,7 +109,7 @@ - + @@ -71,11 +119,11 @@ - + - + cf_nKiLimProt @@ -93,11 +141,11 @@ - + - + cf_nKiLimProt @@ -108,11 +156,11 @@ - + - + ufix16_En16 @@ -124,7 +172,7 @@ - + @@ -134,11 +182,11 @@ - + - + cf_iqKiLimProt @@ -156,11 +204,11 @@ - + - + cf_iqKiLimProt @@ -171,11 +219,11 @@ - + - + ufix16_En16 @@ -187,7 +235,7 @@ - + @@ -197,11 +245,11 @@ - + - + cf_KbLimProt @@ -219,11 +267,11 @@ - + - + cf_KbLimProt @@ -234,11 +282,11 @@ - + - + ufix16_En12 @@ -250,7 +298,7 @@ - + @@ -260,27 +308,27 @@ - + - + - + - + - + - + @@ -298,11 +346,11 @@ - + - + sfix16_En4 @@ -314,165 +362,7 @@ - - - - - - - - - - - - - - - - err - - - - - - - - I - - - - - - - - Kb - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - out - - - - - - - - I(z) - - - - - - - - - - - - - - - - - - - - - - I_backCalc_fixdt - - - - - - - - - - - - - - - Ini=1000 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -482,11 +372,11 @@ - + - + [r_nLimProtMax] @@ -505,1174 +395,7 @@ - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - I - - - - - - - - Kb - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - out - - - - - - - - I(z) - - - - - - - - - - - - - - - - - - - - - - I_backCalc_fixdt1 - - - - - - - - - - - - - - - Ini=1000 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - n_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - iqAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - + @@ -1682,11 +405,11 @@ - + - + [n_max] @@ -1705,7 +428,1236 @@ - + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + I + + + + + + + + Kb + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + out + + + + + + + + I(z) + + + + + + + + + + + + + + + + + + + + + + I_backCalc_fixdt + + + + + + + + + + + + + + + Ini=1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + I + + + + + + + + Kb + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + out + + + + + + + + I(z) + + + + + + + + + + + + + + + + + + + + + + I_backCalc_fixdt1 + + + + + + + + + + + + + + + Ini=1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1715,11 +1667,11 @@ - + - + 1 @@ -1737,11 +1689,11 @@ - + - + r_inpTgtScaAbs @@ -1752,11 +1704,11 @@ - + - + sfix16_En4 @@ -1766,7 +1718,55 @@ - + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + @@ -1780,7 +1780,7 @@ - + @@ -1794,7 +1794,7 @@ - + @@ -1808,7 +1808,7 @@ - + @@ -1822,173 +1822,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2002,35 +1836,35 @@ - + - + - + - + - + - + - + @@ -2044,35 +1878,131 @@ - + - + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2086,7 +2016,21 @@ - + + + + + + + + + + + + + + + @@ -2100,7 +2044,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json index 4e3b23a..be95140 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2882", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2882", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "inspector":{ "params":[ "Port", @@ -80,12 +80,109 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2880", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2896", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2879", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", + "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:12335:2880", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "inspector":{ "params":[ "IconShape", @@ -139,109 +236,12 @@ } }, { - "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":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", - "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:10808:2878", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2878", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "inspector":{ "params":[ "Port", @@ -303,12 +303,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2878#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -354,12 +354,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2880#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -405,12 +405,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2896#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -456,12 +456,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2879#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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_12335_2877_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg index 5acad1b..e54a28b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2877_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,43 +120,43 @@ - - - - - - - - - - - Ini=yInit - - - - - + - + sfix32_En16 + + + + + + + + + + + Ini=yInit + + + + - + @@ -220,70 +220,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - + @@ -293,35 +230,35 @@ - + - + - + - + - + - + - + - + @@ -339,11 +276,11 @@ - + - + sfix32_En16 @@ -353,7 +290,70 @@ - + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + @@ -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_12335_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json new file mode 100644 index 0000000..5f9bcbd --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2895:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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:12335:2895:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335: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/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg index 9917d25..633b1f5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_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 @@ - + @@ -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_10745_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json index e6d8003..d5f9a0d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2889", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "Port", @@ -80,12 +80,110 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2894", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2892", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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:12335:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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:12335:2894", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "InitialCondition", @@ -130,264 +228,12 @@ } }, { - "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: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: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: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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2891", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide1", "label":"Divide1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "Inputs", @@ -439,12 +285,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2855", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2855", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMin", "label":"satMin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "Port", @@ -506,213 +352,12 @@ } }, { - "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: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: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:2854", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2854", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMax", "label":"satMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "Port", @@ -774,12 +419,302 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2892", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2890", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Kb", + "label":"Kb", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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:12335:2853", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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:12335:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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:12335:2893", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "IconShape", @@ -797,8 +732,8 @@ "SampleTime" ], "values":[ - "rectangular", - "++", + "round", + "-+|", "off", "Inherit: Inherit via internal rule", "[]", @@ -806,7 +741,7 @@ "Inherit: Inherit via internal rule", "off", "Simplest", - "on", + "off", "1", "All dimensions", "-1" @@ -833,12 +768,79 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2851", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"err", + "label":"err", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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:12335:2892#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +886,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2869#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +937,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2890#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -986,12 +988,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2893#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1037,12 +1039,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2891#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1088,12 +1090,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2894#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1139,12 +1141,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2877#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1190,12 +1192,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2895#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1241,12 +1243,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2851#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2851#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1292,12 +1294,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2853#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2853#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1343,12 +1345,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2854#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2854#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1394,12 +1396,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2855#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2855#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg index d2b0aa2..ae8edf2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -133,9 +133,121 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -143,35 +255,35 @@ - + - + - + - + - + - + - + - + @@ -192,45 +304,353 @@ - - - - - - - - - - - sfix32_En16 - - - - - + - + Ini=0 + + + + + + + + + + + sfix32_En16 + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Kb + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + - + @@ -244,19 +664,19 @@ - + - + u - + - + y @@ -286,11 +706,11 @@ - + - + Integrator @@ -307,11 +727,11 @@ - + - + sfix16_En4 @@ -323,7 +743,7 @@ - + @@ -331,7 +751,7 @@ - + @@ -339,19 +759,19 @@ - + - + - + - + @@ -369,11 +789,11 @@ - + - + sfix32_En20 @@ -385,7 +805,7 @@ - + @@ -395,27 +815,27 @@ - + - + - + - + - + - + @@ -433,11 +853,11 @@ - + - + sfix16_En4 @@ -449,427 +869,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Kb - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - + @@ -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_10745_2877_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json index 347fc98..1faaa3e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2877_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json @@ -1,11 +1,167 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2882", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2896", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2880", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2879", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", + "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:12336:2882", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "inspector":{ "params":[ "Port", @@ -80,168 +236,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2896", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745: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:10745:2880", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745: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:10745:2879", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", - "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:10745:2878", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2878", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "inspector":{ "params":[ "Port", @@ -303,12 +303,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2878#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2878#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -354,12 +354,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2880#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2880#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -405,12 +405,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2896#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2896#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "inspector":{ "params":[ "SignalNameFromLabel", @@ -456,12 +456,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2879#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2879#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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_12336_2877_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg index 86681c4..6e35a5b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2877_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg @@ -9,133 +9,13 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - + - + @@ -143,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -197,11 +77,11 @@ - + - + Ini=yInit @@ -212,11 +92,11 @@ - + - + sfix32_En16 @@ -228,7 +108,79 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + @@ -238,19 +190,19 @@ - + - + - + - + @@ -276,11 +228,11 @@ - + - + sfix16_En4 @@ -292,7 +244,55 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + @@ -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_12336_2895_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json new file mode 100644 index 0000000..82b58b8 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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:12336:2895:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336: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/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_2895_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg new file mode 100644 index 0000000..06c283e --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_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/BLDCmotor_FOC_R2017b_fixdt_10808_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json index dfdf6b6..1a54d25 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json @@ -1,11 +1,61 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2889", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2894", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", + "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:12336:2889", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "Port", @@ -80,12 +130,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2892", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2892", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "IconShape", @@ -139,81 +189,71 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2894", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "[]", + "[]", + "Inherit: Same as second input", "off", - [ - ], - "Auto" + "Floor", + "off" ], "tabs":[ - "Main", - "State Attributes", - "-Other" ], "tabs_idx":[ - 0, - 3, - 4 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", - "masktype":"" + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -225,30 +265,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -260,18 +300,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -286,12 +327,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2869", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2891", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "Inputs", @@ -343,12 +384,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2893", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2893", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "IconShape", @@ -402,108 +443,12 @@ } }, { - "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: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:2855", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2855", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMin", "label":"satMin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "Port", @@ -565,12 +510,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2854", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2854", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMax", "label":"satMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "Port", @@ -632,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2890", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Kb", "label":"Kb", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "Port", @@ -699,50 +644,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2853", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2869", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"I", - "label":"I", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "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":[ - "2", - "Port number", + "**", + "Element-wise(.*)", + "off", "[]", "[]", - "Inherit: auto", + "Inherit: Inherit via internal rule", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Simplest", "off", - "", - "on", - "off", - "off", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -752,7 +687,7 @@ "tabs_idx":[ 0, 2, - 11 + 9 ] }, "viewer":{ @@ -761,17 +696,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2851", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2851", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "Port", @@ -833,12 +768,79 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2892#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2853", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", + "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:12336:2892#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +886,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2869#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2869#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +937,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2890#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2890#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -986,12 +988,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2893#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2893#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1037,12 +1039,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2891#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2891#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1088,12 +1090,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2894#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2894#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1139,12 +1141,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2877#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1190,12 +1192,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1241,12 +1243,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2851#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2851#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1292,12 +1294,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2853#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2853#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1343,12 +1345,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2854#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2854#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1394,12 +1396,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2855#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2855#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10808_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg index 5fdc80f..c9ca45e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg @@ -9,11 +9,11 @@ - + - + @@ -108,7 +108,7 @@ - + @@ -156,9 +156,193 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -172,19 +356,19 @@ - + - + u - + - + y @@ -214,11 +398,11 @@ - + - + Integrator @@ -235,11 +419,11 @@ - + - + sfix16_En4 @@ -251,205 +435,15 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + @@ -457,19 +451,19 @@ - + - + - + - + @@ -487,11 +481,11 @@ - + - + sfix32_En16 @@ -503,68 +497,60 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - + + - - + + - - + + - - + + - - sfix32_En16 + + sfix16_En4 @@ -575,7 +561,133 @@ - + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -585,11 +697,11 @@ - + - + 3 @@ -607,11 +719,11 @@ - + - + Kb @@ -622,11 +734,11 @@ - + - + ufix16_En12 @@ -638,184 +750,9 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -823,19 +760,19 @@ - + - + - + - + @@ -853,11 +790,11 @@ - + - + sfix32_En20 @@ -869,7 +806,7 @@ - + @@ -879,11 +816,11 @@ - + - + 1 @@ -901,11 +838,11 @@ - + - + err @@ -916,11 +853,11 @@ - + - + sfix16_En4 @@ -930,7 +867,70 @@ - + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + @@ -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_12392_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json new file mode 100644 index 0000000..751e23f --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json @@ -0,0 +1,7842 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12616", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Voltage_Mode", + "label":"Voltage_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12546", + "className":"Simulink.SwitchCase", + "icon":"WebViewIcon3", + "name":"Switch Case", + "label":"Switch Case", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12481", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12479", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12477", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12474", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12473", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12482", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12471", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12470", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12469", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12587", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Vd_Calculation", + "label":"Vd_Calculation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12468", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12466", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12465", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12464", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12547", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Torque_Mode", + "label":"Torque_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12462", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12461", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12460", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12480", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12463", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12455", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12454", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12453", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12452", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12456", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12450", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12449", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12487", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode", + "label":"Speed_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12447", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From67", + "label":"From67", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12476", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12442", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From57", + "label":"From57", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12438", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From49", + "label":"From49", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12472", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto30", + "label":"Goto30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12446", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From60", + "label":"From60", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12459", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12431", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From38", + "label":"From38", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12458", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12430", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12428", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From34", + "label":"From34", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12427", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12448", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From68", + "label":"From68", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12443", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From58", + "label":"From58", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12467", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12425", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12424", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12444", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From59", + "label":"From59", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12422", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12419", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12417", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12418", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12416", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12666", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12414", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12433", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From44", + "label":"From44", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12413", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12435", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12410", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "18", + "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:12434", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12409", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12426", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12407", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12403", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "11", + "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:12445", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12420", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12478", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12402", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12406", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12400", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12411", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_limProtErr", + "label":"iq_limProtErr", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "19", + "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:12441", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From54", + "label":"From54", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12412", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "20", + "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:12408", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12398", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12432", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12405", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_max", + "label":"id_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12436", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From47", + "label":"From47", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12396", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12401", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12457", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12440", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From53", + "label":"From53", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12642", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq", + "label":"Vq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12395", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12397", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12394", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12643", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd", + "label":"Vd", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12404", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12437", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From48", + "label":"From48", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12451", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12421", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12393", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12429", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12399", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12475", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12423", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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:12419#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12425#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12480#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12417#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12420#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12547#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12431#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12430#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12434#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12546#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12428#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12435#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12429#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12426#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12546#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12438#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12416#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12422#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12433#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12421#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12424#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12546#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12546#out:4", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12436#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12437#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12487#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12482#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12616#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12440#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12444#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12451#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12443#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12442#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12446#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12447#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12441#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12448#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12445#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12423#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12395#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12394#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12393#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12400#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12406#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12405#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12401#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12398#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12399#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12402#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12404#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12403#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12412#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12411#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12408#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12407#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12397#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12409#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12410#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12427#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12432#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12396#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12439#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12413#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12449#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12450#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12418#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12414#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12587#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12481#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_12392_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png new file mode 100644 index 0000000..e98cec8 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg new file mode 100644 index 0000000..c5633a2 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg @@ -0,0 +1,6244 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + r_inpTgtScaAbs + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + Vq_Vlt + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Voltage_Mode + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + default: + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + Vq_Open + + + + + + + + default: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Open_Mode + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + id + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + Vd + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vd_Calculation + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + Vq_nLimProtMax + + + + + + + + VqFinPrev + + + + + + + + Vq_Trq + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Torque_Mode + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Trq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Open] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Spd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + n_mot + + + + + + + + iq_limProtErr + + + + + + + + VqFinPrev + + + + + + + + b_cruiseCtrlEna + + + + + + + + Vq_Spd + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Speed_Mode + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Open] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Vlt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 22 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 21 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Vlt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 18 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 17 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 15 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 14 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 19 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 13 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Spd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vd + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Trq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json index fe07140..fe09403 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9044", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12486", "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":"BLDCmotor_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12482", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9043", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12485", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_Open", "label":"Vq_Open", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12482", "inspector":{ "params":[ "Port", @@ -129,19 +129,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9031", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12484", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12482", "inspector":{ "params":[ "InitializeStates", "PropagateVarSize" ], "values":[ - "reset", + "held", "Only when execution is resumed" ], "tabs":[ @@ -160,12 +160,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9030", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12483", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12482", "inspector":{ "params":[ "Port", @@ -227,12 +227,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9030#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12483#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9029", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12482", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg index 79434c9..dd4e461 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9029_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg @@ -9,11 +9,11 @@
- + - + @@ -40,7 +40,7 @@ - + @@ -88,9 +88,9 @@ - + - + @@ -136,7 +136,7 @@ - + @@ -197,7 +197,7 @@ - + @@ -213,5 +213,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json index 12cfd19..f7f367a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json @@ -1,60 +1,11 @@ [ { - "sid":"BLDCmotor_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":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11681", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12544", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "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", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Text", @@ -98,42 +49,44 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11534", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_cruiseMotTgt", - "label":"n_cruiseMotTgt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12545", + "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":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" ], "values":[ - "n_cruiseMotTgt", - "on", - "inf", - "[]", - "[]", - "int16", + "\n\n

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

", "off", - "inf" + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 3, - 7 ] }, "viewer":{ @@ -141,67 +94,16 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9105", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKp", - "label":"cf_nKp", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9106", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12543", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_Spd", "label":"Vq_Spd", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -276,12 +178,159 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11676", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12542", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_cruiseMotTgt", + "label":"n_cruiseMotTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "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:12541", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant3", + "label":"constant3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12540", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_nKp", + "label":"cf_nKp", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12538", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch4", "label":"Switch4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Criteria", @@ -333,12 +382,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11675", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12536", "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Criteria", @@ -355,7 +404,7 @@ "ZeroCross" ], "values":[ - "u2 > Threshold", + "u2 ~= 0", "off", "[]", "[]", @@ -390,25 +439,39 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11671", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12534", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Mux", - "label":"Mux", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"Relational Operator3", + "label":"Relational Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "2", - "bar" + "~=", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -416,17 +479,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "ShowPortLabels", @@ -514,12 +577,570 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11670", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12531", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux1", + "label":"Mux1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12530", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux", + "label":"Mux", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12528", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax3", + "label":"MinMax3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12526", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_minSpd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12537", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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", + "-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:12525", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12524", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12522", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12521", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12518", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12516", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12515", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_minSpd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12514", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12513", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12532", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12523", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12529", "className":"Simulink.MinMax", "icon":"WebViewIcon3", "name":"MinMax4", "label":"MinMax4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "OutDataTypeStr", @@ -567,180 +1188,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11673", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12511", + "className":"Simulink.From", "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:11672", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux1", - "label":"Mux1", - "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:9095", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "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:9093", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9092", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "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: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":[ @@ -759,199 +1219,12 @@ } }, { - "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:11667", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12509", "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: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:11665", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "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: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:11659", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", @@ -977,19 +1250,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9088", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12510", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgtSca", + "n_mot", "Tag" ], "tabs":[ @@ -1008,12 +1281,138 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11679", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12506", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12505", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12504", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12520", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12517", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", @@ -1041,19 +1440,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11481", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12502", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "VqFinPrev", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1072,19 +1471,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11658", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12501", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "Vq_max", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1103,25 +1502,41 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11657", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12496", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"Data Type Conversion2", + "label":"Data Type Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "Vq_min", - "Tag" + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1129,30 +1544,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11664", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12539", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"cf_nKi", + "label":"cf_nKi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "b_cruiseCtrlEna", - "Tag" + "cf_nKi", + "off", + "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" @@ -1160,79 +1593,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "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:9090", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_minSpd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9082", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12495", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "InitializeStates", @@ -1258,19 +1629,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9089", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12499", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "Vq_maxSpd", + "VqFinPrev", "Tag" ], "tabs":[ @@ -1289,100 +1660,12 @@ } }, { - "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: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:11510", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12494", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"b_cruiseCtrlEna", "label":"b_cruiseCtrlEna", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -1444,117 +1727,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9104", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKi", - "label":"cf_nKi", - "parent":"BLDCmotor_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":"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", - "[]", - "[]", - "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:9087", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12500", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "n_mot", + "Vq_max", "Tag" ], "tabs":[ @@ -1573,12 +1758,76 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11479", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12498", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12519", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12493", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -1640,47 +1889,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11669", - "className":"Simulink.MinMax", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12507", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"MinMax3", - "label":"MinMax3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" + "GotoTag", + "IconDisplay" ], "values":[ - "Inherit: Inherit via internal rule", - "max", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" + "Vq_min", + "Tag" ], "tabs":[ - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1688,90 +1915,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"MinMax", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9091", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12503", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "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: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:11565", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_cruiseMotTgt", "Tag" ], "tabs":[ @@ -1790,88 +1951,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11674", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", - "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: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:9081", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12492", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq_limProtErr", "label":"iq_limProtErr", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -1933,12 +2018,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11678", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12497", "className":"Simulink.Demux", "icon":"WebViewIcon3", "name":"Demux", "label":"Demux", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Outputs", @@ -1966,43 +2051,12 @@ } }, { - "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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12491", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"n_mot", "label":"n_mot", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -2064,45 +2118,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11680", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_minSpd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9077", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12490", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_min", "label":"Vq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -2164,12 +2185,200 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9075", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12508", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12512", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From38", + "label":"From38", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12535", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12489", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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:12488", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtSca", "label":"r_inpTgtSca", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Port", @@ -2231,236 +2440,27 @@ } }, { - "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:10714", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9076", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "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: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: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:11668", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12527", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"Logical Operator1", "label":"Logical Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -2470,8 +2470,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -2485,12 +2485,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9087#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12539#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2536,12 +2536,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9075#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12540#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2587,12 +2587,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9076#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12510#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2638,12 +2638,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9077#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12535#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2689,12 +2689,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9078#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12488#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2740,12 +2740,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9081#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12489#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2791,12 +2791,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9101#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12490#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2842,12 +2842,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9105#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12491#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2893,12 +2893,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9104#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12492#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2944,12 +2944,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10714#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12498#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2995,12 +2995,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11479#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12515#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3046,12 +3046,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9090#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12512#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3097,12 +3097,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11481#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12493#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3148,12 +3148,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11500#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12514#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3199,12 +3199,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9088#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12511#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3250,12 +3250,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11501#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12536#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3301,12 +3301,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11510#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12494#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3352,12 +3352,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3403,12 +3403,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11534#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12542#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3454,12 +3454,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11535#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12513#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3505,12 +3505,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11565#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12496#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3556,12 +3556,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9089#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12527#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3607,12 +3607,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11668#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12529#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3658,12 +3658,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11670#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12500#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3709,12 +3709,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11659#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12530#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3760,12 +3760,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11671#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12528#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3811,12 +3811,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11669#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12505#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3862,12 +3862,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11663#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12506#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3913,12 +3913,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11664#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12534#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3964,12 +3964,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11674#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12541#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4015,12 +4015,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11677#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12503#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4066,12 +4066,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11661#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12537#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4117,12 +4117,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11675#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12504#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4168,12 +4168,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11662#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12507#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4219,12 +4219,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11667#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12531#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4270,12 +4270,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11672#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12532#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4321,12 +4321,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11673#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12502#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4372,12 +4372,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11666#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12509#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4423,12 +4423,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11658#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12501#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4474,12 +4474,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11660#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12516#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4525,12 +4525,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11665#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12508#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4576,12 +4576,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11657#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12538#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4627,12 +4627,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11676#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12497#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4678,12 +4678,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11678#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12497#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "SignalNameFromLabel", @@ -4729,12 +4729,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11678#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12499#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "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_12487_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.png 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_12487_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9074_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg index 3193f0d..7d8fc6a 100644 --- 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_12487_d.svg @@ -9,55 +9,28 @@
- + - - - - - - - - - - - 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. @@ -65,63 +38,27 @@ - + - - - + + + - - + + + + + + + The input is scaled, so already - - - - - - - - - n_cruiseMotTgt - - - - - - - - - - - - - - - - - - - - - - n_cruiseMotTgt - - - - - - - - - - - - - - - int16 - - + + + + + + + between [n_min, n_max] @@ -130,55 +67,7 @@ - - - - - - - - - - - - - - - - cf_nKp - - - - - - - - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - + @@ -188,11 +77,11 @@ - + - + 1 @@ -210,11 +99,11 @@ - + - + Vq_Spd @@ -226,1976 +115,59 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - P - - - - - - - - I - - - - - - - - init - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) - - - - - - - - - - - - - - - - - - - - - - PI_clamp_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_cruiseMotTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_maxSpd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_cruiseMotTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_minSpd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_maxSpd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + + - + - + - - cf_nKi + + n_cruiseMotTgt - + - - - + + + - - + + - - ufix16_En16 + + n_cruiseMotTgt + + + + + + + + + + + + + + + int16 @@ -2206,7 +178,7 @@ - + @@ -2216,11 +188,11 @@ - + - + 0 @@ -2238,11 +210,11 @@ - + - + sfix16_En4 @@ -2254,44 +226,44 @@ - - - + + + - - + + - - + + - - [n_mot] + + cf_nKp - - + + - - + + - - + + - - sfix16_En4 + + ufix16_En12 @@ -2302,58 +274,187 @@ - - - + + + - - + + - - + + - - 6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - - - - - - - - - - - - - - - - VqFinPrev + + - + - - + + - + sfix16_En4 @@ -2365,59 +466,187 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + - - + + - + - - + + - + sfix16_En4 @@ -2429,121 +658,7 @@ - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_cruiseMotTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -2553,19 +668,19 @@ - + - + - + - + @@ -2591,11 +706,11 @@ - + - + boolean @@ -2607,107 +722,155 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - + + - - + + - - + + - - iq_limProtErr + + PI_clamp_fixdt - - + + - - + + - - sfix32_En20 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2718,58 +881,43 @@ - - - + + + - - + + - - + + - - + + - - + + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - + sfix16_En4 @@ -2781,43 +929,43 @@ - - - + + + - - + + - - + + - - [Vq_max] + + - - + + - + - - + + - + sfix16_En4 @@ -2829,58 +977,59 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - 4 - - - - - - - - - - - - - - - - - - n_mot + + - + - - + + - + sfix16_En4 @@ -2892,7 +1041,7 @@ - + @@ -2902,11 +1051,11 @@ - + - + [Vq_minSpd] @@ -2925,58 +1074,179 @@ - - - + + + - - + + - - + + - - 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > 0 - - - - - - - - - - - - - - - - - Vq_min + + - + - - + + - + sfix16_En4 @@ -2988,70 +1258,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -3061,11 +1268,11 @@ - + - + [n_cruiseMotTgt] @@ -3084,44 +1291,29 @@ - - - + + + - - + + - - + + - - [iq_limProtErr] + + [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - sfix32_En20 + + @@ -3132,58 +1324,142 @@ - - - + + + - - + + - - + + - - 2 + + [n_mot] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - Vq_max + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + - + - - + + - + sfix16_En4 @@ -3195,7 +1471,650 @@ - + + + + + + + + + + + + + + + + [Vq_minSpd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxSpd] + + + + + + + + + + + + + + + + + + @@ -3205,11 +2124,11 @@ - + - + [r_inpTgtSca] @@ -3227,11 +2146,11 @@ - + - + sfix16_En4 @@ -3243,7 +2162,55 @@ - + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -3253,19 +2220,19 @@ - + - + - + - + @@ -3291,11 +2258,11 @@ - + - + sfix16_En4 @@ -3307,7 +2274,1040 @@ - + + + + + + + + + + + + + + + + cf_nKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxSpd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -3369,119 +3369,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3495,7 +3383,119 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3509,21 +3509,7 @@ - - - - - - - - - - - - - - - + @@ -3537,133 +3523,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3677,7 +3537,133 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3691,7 +3677,7 @@ - + @@ -3705,7 +3691,7 @@ - + @@ -3719,7 +3705,7 @@ - + @@ -3733,7 +3719,7 @@ - + @@ -3747,7 +3733,7 @@ - + @@ -3761,7 +3747,7 @@ - + @@ -3775,7 +3761,7 @@ - + @@ -3789,7 +3775,7 @@ - + @@ -3803,7 +3789,7 @@ - + @@ -3817,7 +3803,7 @@ - + @@ -3831,7 +3817,7 @@ - + @@ -3845,7 +3831,7 @@ - + @@ -3859,7 +3845,7 @@ - + @@ -3873,7 +3859,7 @@ - + @@ -3887,7 +3873,7 @@ - + @@ -3901,7 +3887,7 @@ - + @@ -3915,7 +3901,7 @@ - + @@ -3929,7 +3915,7 @@ - + @@ -3943,7 +3929,7 @@ - + @@ -3957,7 +3943,7 @@ - + @@ -3971,7 +3957,7 @@ - + @@ -3985,7 +3971,7 @@ - + @@ -3999,7 +3985,21 @@ + + + + + + + + + + + + + + - + 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_12533_2779_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json index 9d9ccbd..4c44c84 100644 --- 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_12533_2779_d.json @@ -1,117 +1,11 @@ [ { - "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: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:2790", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2790", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "Port", @@ -186,12 +80,71 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2908", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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:12533:2908", "className":"Simulink.Delay", "icon":"WebViewIcon3", "name":"Resettable Delay", "label":"Resettable Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "DelayLengthSource", @@ -254,12 +207,59 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2909", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2787", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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:12533:2909", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"init", "label":"init", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "Port", @@ -321,12 +321,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2786", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2786", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "Port", @@ -388,12 +388,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2909#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2909#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -439,12 +439,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2787#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2787#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -490,12 +490,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2908#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2908#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -541,12 +541,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2788#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2788#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -592,12 +592,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2786#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2786#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "inspector":{ "params":[ "SignalNameFromLabel", 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_12533_2779_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png 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_12533_2779_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg index 41e8028..361d0a9 100644 --- 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_12533_2779_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -122,7 +122,7 @@ - sfix16_En4 + sfix32_En20 @@ -133,7 +133,7 @@ - + @@ -186,15 +186,15 @@ - + - + - - sfix16_En4 + + sfix32_En20 @@ -205,7 +205,7 @@ - + @@ -269,7 +269,7 @@ - + @@ -332,7 +332,7 @@ - + @@ -376,7 +376,7 @@ - + @@ -384,7 +384,7 @@ - sfix16_En4 + sfix32_En20 @@ -393,7 +393,7 @@ - + @@ -407,7 +407,7 @@ - + @@ -421,7 +421,7 @@ - + @@ -435,7 +435,7 @@ - + @@ -469,7 +469,7 @@ - + @@ -485,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json index 7d25206..cf3cc54 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2710", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2710", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"hitMin", "label":"hitMin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2377", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2377", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Port", @@ -160,12 +160,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2709", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2709", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"hitMax", "label":"hitMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Port", @@ -240,69 +240,12 @@ } }, { - "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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Operator", @@ -342,50 +285,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2700", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2849", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Criteria", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "Threshold", + "ZeroCross" ], "values":[ - "2", - "Port number", + "u2 ~= 0", + "off", "[]", "[]", - "Inherit: auto", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", "off", - "inherit", "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "0", + "on" ], "tabs":[ "Main", @@ -394,8 +327,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 1, + 9 ] }, "viewer":{ @@ -404,17 +337,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2704", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2704", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Operator", @@ -454,12 +387,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2701", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Port", @@ -521,12 +454,79 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2848", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2700", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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:12533:2791:2848", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Criteria", @@ -578,12 +578,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2699", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2699", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "Port", @@ -645,12 +645,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2849#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2849#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -696,12 +696,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2701#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -747,12 +747,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2704#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -798,12 +798,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2707#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +849,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2699#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +900,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2700#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +951,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791:2848#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2848#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg index ae4d360..a50814e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -157,9 +157,9 @@ - + - + @@ -236,9 +236,9 @@ - + - + @@ -428,9 +428,9 @@ - + - + @@ -507,70 +507,7 @@ - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -580,11 +517,11 @@ - + - + 3 @@ -602,11 +539,11 @@ - + - + lo @@ -617,11 +554,11 @@ - + - + sfix16_En4 @@ -633,9 +570,72 @@ - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -825,7 +825,7 @@ - + @@ -886,7 +886,7 @@ - + @@ -900,7 +900,7 @@ - + @@ -934,7 +934,7 @@ - + @@ -968,7 +968,7 @@ - + @@ -1002,7 +1002,7 @@ - + @@ -1036,7 +1036,7 @@ - + @@ -1081,16 +1081,16 @@ - + - + - + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json index 9833e2a..d92fa69 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2819", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preSat", "label":"preSat", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2818", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preIntegrator", "label":"preIntegrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2831", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Clamp", "label":"Clamp", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "Port", @@ -214,12 +214,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2839", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2839", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU3", "label":"SignDeltaU3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "ZeroCross", @@ -245,12 +245,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2837", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2837", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU2", "label":"SignDeltaU2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "ZeroCross", @@ -276,12 +276,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2841", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2841", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Equal1", "label":"Equal1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "Operator", @@ -321,12 +321,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2836", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2836", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"DataTypeConv3", "label":"DataTypeConv3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "OutMin", @@ -368,12 +368,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"hitSat", "label":"hitSat", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "Port", @@ -435,12 +435,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2840", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2840", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"DataTypeConv4", "label":"DataTypeConv4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "OutMin", @@ -482,27 +482,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2838", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2838", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "on", "boolean", + "2", "-1" ], "tabs":[ @@ -512,8 +512,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -527,12 +527,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2843#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2838#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2841#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2840#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2836#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2839#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -833,12 +833,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2837#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2837#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +884,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2819#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +935,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2818#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg index 79bac05..1410a08 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_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,7 +419,7 @@ - + @@ -483,7 +483,7 @@ - + @@ -546,7 +546,7 @@ - + @@ -610,7 +610,7 @@ - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_10454_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json index 96fd332..7f9b6e2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2785", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2785", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "Port", @@ -80,43 +80,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2817", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2814", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "Threshold", + "ZeroCross" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "u2 ~= 0", "off", - [ - ], - "Auto" + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 4 + 1, + 9 ] }, "viewer":{ @@ -125,17 +132,76 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2783", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2781", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2783", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "IconShape", @@ -189,12 +255,254 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2846", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2817", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2791", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "ShowPortLabels", @@ -282,27 +590,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2794", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2815", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "b_hitMax", - "local", - "Tag" + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -310,195 +634,37 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "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:2795", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", - "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: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: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: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:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -510,30 +676,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -545,18 +711,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -571,12 +738,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2778", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2778", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide5", "label":"Divide5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "Inputs", @@ -628,290 +795,12 @@ } }, { - "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: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:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "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:2771", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"I", - "label":"I", - "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":[ - "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:10454:2733", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2733", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMin", "label":"satMin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "Port", @@ -973,388 +862,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2781", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "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", - "[]", - "[]", - "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:10454:2770", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"P", - "label":"P", - "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":[ - "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:2910", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"init", - "label":"init", - "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":[ - "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: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: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: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:2732", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2732", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMax", "label":"satMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "Port", @@ -1416,27 +929,518 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2795", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2910", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2771", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2770", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"P", + "label":"P", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"ext_limProt", + "label":"ext_limProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2769", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"err", + "label":"err", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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:12533:2844", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "OR", - "2", "rectangular", "on", "boolean", + "2", "-1" ], "tabs":[ @@ -1446,8 +1450,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -1461,12 +1465,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2910#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2910#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1512,12 +1516,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1563,12 +1567,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2846#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1614,12 +1618,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2844#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2844#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1665,12 +1669,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2833#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1716,12 +1720,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2832#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1767,12 +1771,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2817#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1818,12 +1822,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1869,12 +1873,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2814#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1920,12 +1924,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2781#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1971,12 +1975,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2783#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2022,12 +2026,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2815#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2073,12 +2077,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2124,12 +2128,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2175,12 +2179,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2733#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2226,12 +2230,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2732#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2277,12 +2281,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2770#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2328,12 +2332,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2779#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2379,12 +2383,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2771#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2430,12 +2434,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2778#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2481,12 +2485,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2776#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2532,12 +2536,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2773#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2583,12 +2587,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2769#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "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_12533_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg index 2295939..9a0d92b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg @@ -9,95 +9,48 @@ - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + 1 + - - + + - - - + + + - - + + - - boolean - - - - - - - - - - - - - - - Ini=0 + + out @@ -108,9 +61,9 @@ - + - + @@ -118,155 +71,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -284,11 +237,11 @@ - + - + sfix32_En20 @@ -300,7 +253,7 @@ - + @@ -310,35 +263,35 @@ - + - + - + - + - + - + - + - + @@ -356,11 +309,11 @@ - + - + sfix32_En20 @@ -372,7 +325,7 @@ - + @@ -382,35 +335,35 @@ - + - + - + - + - + - + - + - + @@ -428,11 +381,11 @@ - + - + sfix16_En4 @@ -444,245 +397,7 @@ - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -698,27 +413,27 @@ - + - + u - + - + init - + - + y @@ -748,11 +463,11 @@ - + - + Integrator @@ -769,11 +484,11 @@ - + - + sfix16_En4 @@ -785,82 +500,49 @@ - + - + - - + + - + - - [b_hitMax] + + [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - + + - - + + - - + + - + boolean @@ -872,111 +554,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En5 - - - - - - - - - - - + @@ -986,11 +564,11 @@ - + - + [b_hitMin] @@ -1008,11 +586,11 @@ - + - + boolean @@ -1024,52 +602,91 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + Ini=0 - - + + - - + + - - sfix32_En20 + + boolean @@ -1080,59 +697,44 @@ - - - + + + - - + + - - + + - - 7 + + [b_hitMax] - - - - - - - - - - - - - - - - - ext_limProt + + - - + + - - + + - - sfix32_En20 + + boolean @@ -1143,7 +745,197 @@ - + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1153,11 +945,11 @@ - + - + 0 @@ -1175,11 +967,11 @@ - + - + sfix32_En20 @@ -1191,70 +983,7 @@ - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1270,35 +999,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -1328,11 +1057,11 @@ - + - + Clamping_circuit @@ -1349,11 +1078,11 @@ - + - + boolean @@ -1365,13 +1094,317 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En5 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -1381,11 +1414,11 @@ - + - + 4 @@ -1403,11 +1436,11 @@ - + - + init @@ -1418,11 +1451,11 @@ - + - + sfix16_En4 @@ -1434,40 +1467,7 @@ - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - + @@ -1530,70 +1530,7 @@ - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1603,11 +1540,11 @@ - + - + 2 @@ -1625,11 +1562,11 @@ - + - + P @@ -1640,11 +1577,11 @@ - + - + ufix16_En12 @@ -1656,11 +1593,74 @@ - - + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + ext_limProt + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + - + @@ -1670,14 +1670,14 @@
- - [b_hitMin] + + [b_hitSat] - + @@ -1689,7 +1689,7 @@ - + @@ -1752,7 +1752,7 @@ - + @@ -1814,7 +1814,7 @@ - + @@ -1828,7 +1828,7 @@ - + @@ -1842,7 +1842,7 @@ - + @@ -1856,7 +1856,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 @@ - + @@ -2008,7 +2008,7 @@ - + @@ -2022,7 +2022,7 @@ - + @@ -2036,7 +2036,7 @@ - + @@ -2050,7 +2050,7 @@ - + @@ -2064,7 +2064,7 @@ - + @@ -2078,7 +2078,7 @@ - + @@ -2092,7 +2092,7 @@ - + @@ -2106,7 +2106,7 @@ - + @@ -2120,7 +2120,7 @@ - + @@ -2134,7 +2134,7 @@ - + @@ -2148,7 +2148,7 @@ - + @@ -2162,7 +2162,7 @@ - + @@ -2198,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json index 2984a83..cd5b09b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9141", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12586", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_Trq", "label":"Vq_Trq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "Port", @@ -80,12 +80,61 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12585", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant2", + "label":"constant2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12582", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "IconShape", @@ -139,124 +188,22 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9139", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12689", + "className":"Simulink.SignalConversion", "icon":"WebViewIcon3", - "name":"cf_iqKp", - "label":"cf_iqKp", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", + "ConversionOutput", "OutDataTypeStr", - "LockScale", - "FramePeriod" + "OverrideOpt" ], "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:10841", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "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", - "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: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" + "Signal copy", + "Inherit: auto", + "off" ], "tabs":[ "Parameter Attributes" @@ -269,83 +216,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"SignalConversion", "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: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:10828", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "ShowPortLabels", @@ -433,65 +314,249 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10842", - "className":"Simulink.MinMax", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" + "DoSatur" ], "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "2", - "off", "[]", "[]", + "Inherit: Same as second input", + "off", "Floor", - "-1", - "off", - "on" + "off" ], "tabs":[ - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 1 ] }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12577", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"MinMax", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9126", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12576", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12575", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12574", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12573", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12572", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12571", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto13", "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", @@ -519,27 +584,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10843", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12583", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"cf_iqKi", + "label":"cf_iqKi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "Vq_maxTrq", - "local", - "Tag" + "cf_iqKi", + "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" @@ -547,17 +628,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10840", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12567", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"Gain4", "label":"Gain4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "Gain", @@ -611,45 +692,12 @@ } }, { - "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:10821", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12566", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From9", "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", @@ -675,12 +723,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12565", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12564", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", @@ -706,202 +785,12 @@ } }, { - "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:10838", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", - "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:10822", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", - "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: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: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: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:9138", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12584", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"cf_iqKi", - "label":"cf_iqKi", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"cf_iqKp", + "label":"cf_iqKp", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "Value", @@ -914,12 +803,12 @@ "FramePeriod" ], "values":[ - "cf_iqKi", + "cf_iqKp", "on", "inf", "[]", "[]", - "fixdt(0,16,16)", + "fixdt(0,16,12)", "off", "inf" ], @@ -945,19 +834,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10836", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12561", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgtSca", + "Vq_nLimProtMax", "Tag" ], "tabs":[ @@ -976,43 +865,12 @@ } }, { - "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:10823", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12560", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From11", "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", @@ -1038,61 +896,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9116", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12559", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "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_max", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1100,17 +922,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9130", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12570", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", @@ -1118,7 +940,7 @@ "IconDisplay" ], "values":[ - "iq", + "VqFinPrev", "local", "Tag" ], @@ -1138,61 +960,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9114", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12558", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "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" + "VqFinPrev", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1200,105 +986,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829", - "className":"Saturation Dynamic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12556", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" + "reset", + "Only when execution is resumed" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9112", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_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":[ - "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 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1306,84 +1017,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"ActionPort", "masktype":"" } }, { - "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:11473", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12555", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"VqFinPrev", "label":"VqFinPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "Port", @@ -1445,86 +1089,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9110", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12569", + "className":"Simulink.Goto", "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:10846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq_minTrq", + "Vq_max", + "local", "Tag" ], "tabs":[ @@ -1538,17 +1117,123 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9113", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12579", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax2", + "label":"MinMax2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12578", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax1", + "label":"MinMax1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12551", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"iq", "label":"iq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "Port", @@ -1610,12 +1295,275 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9111", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12554", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12552", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12550", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12562", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12557", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12549", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_max", "label":"Vq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "Port", @@ -1677,19 +1625,86 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10820", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12553", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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:12563", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "iq_max", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1708,12 +1723,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9127", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12568", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "GotoTag", @@ -1721,7 +1736,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "Vq_maxTrq", "local", "Tag" ], @@ -1741,32 +1756,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10834", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12548", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"constant2", - "label":"constant2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "0", - "on", - "inf", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1775,8 +1808,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -1785,17 +1818,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9111#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12549#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1841,12 +1874,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9110#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12548#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1892,12 +1925,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9112#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12550#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1943,12 +1976,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9113#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12551#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1994,12 +2027,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9115#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12553#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2045,12 +2078,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9114#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12552#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2096,12 +2129,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9116#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12554#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2147,12 +2180,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12563#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2198,12 +2231,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10820#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12585#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2249,12 +2282,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10821#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2300,12 +2333,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10831#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2351,12 +2384,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12565#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2402,12 +2435,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12566#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2453,12 +2486,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12584#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2504,12 +2537,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12582#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2555,12 +2588,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12564#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2606,12 +2639,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10823#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12562#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2657,12 +2690,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10822#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12557#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2708,12 +2741,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10842#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12583#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2759,12 +2792,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12561#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2810,12 +2843,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9138#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12559#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2861,12 +2894,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9139#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12567#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2912,12 +2945,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11473#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12560#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2963,12 +2996,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10834#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12578#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3014,12 +3047,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12579#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3065,12 +3098,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10845#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12555#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", @@ -3116,12 +3149,63 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11475#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12558#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12689#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png new file mode 100644 index 0000000..4027f04 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg similarity index 85% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg index a036556..20c3b16 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg @@ -1,23 +1,23 @@ - + - + - + - - + + - + @@ -27,29 +27,29 @@
- + 1 - + - + - + - + Vq_Trq @@ -61,7 +61,55 @@ - + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -71,27 +119,27 @@ - + - + - + - + - + - + @@ -109,11 +157,11 @@ - - + + - + sfix16_En4 @@ -125,7 +173,925 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) + + + + + + + + + + + + + + + + + + + + + + PI_clamp_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minTrq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cf_iqKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -135,11 +1101,11 @@ - + - + cf_iqKp @@ -157,11 +1123,11 @@ - - + + - + ufix16_En12 @@ -173,9 +1139,378 @@ - + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + - + @@ -183,19 +1518,19 @@ - + - + - + - + @@ -221,11 +1556,11 @@ - - + + - + sfix16_En4 @@ -237,267 +1572,9 @@ - - - - - - - - - - - - - - - - [Vq_minTrq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - P - - - - - - - - I - - - - - - - - init - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) - - - - - - - - - - - - - - - - - - - - - - PI_clamp_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -505,19 +1582,19 @@ - + - + - + - + @@ -543,11 +1620,11 @@ - - + + - + sfix16_En4 @@ -559,29 +1636,59 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + 4 - - + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 @@ -592,7 +1699,466 @@ - + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minTrq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxTrq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -602,11 +2168,11 @@ - + - + [Vq_maxTrq] @@ -625,1094 +2191,7 @@ - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_maxTrq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_iqKi - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1722,11 +2201,11 @@ - + - + 1 @@ -1744,11 +2223,11 @@ - - + + - + r_inpTgtSca @@ -1759,11 +2238,11 @@ - - + + - + sfix16_En4 @@ -1773,310 +2252,7 @@ - - - - - - - - - - - - - - - - - - [Vq_minTrq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - + @@ -2090,7 +2266,7 @@ - + @@ -2104,7 +2280,7 @@ - + @@ -2118,7 +2294,7 @@ - + @@ -2132,7 +2308,7 @@ - + @@ -2146,7 +2322,7 @@ - + @@ -2160,7 +2336,7 @@ - + @@ -2174,91 +2350,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2272,153 +2364,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2432,7 +2378,105 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2446,7 +2490,7 @@ - + @@ -2460,7 +2504,139 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2474,7 +2650,21 @@ + + + + + + + + + + + + + + - + 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_12580_2779_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json index e6999f5..c091db0 100644 --- 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_12580_2779_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2790", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2790", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2788", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2788", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "IconShape", @@ -139,12 +139,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2908", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2908", "className":"Simulink.Delay", "icon":"WebViewIcon3", "name":"Resettable Delay", "label":"Resettable Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "DelayLengthSource", @@ -207,12 +207,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2787", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2787", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", "name":"Data Type Conversion1", "label":"Data Type Conversion1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "OutMin", @@ -254,12 +254,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2909", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2909", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"init", "label":"init", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "Port", @@ -321,12 +321,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2786", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2786", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "Port", @@ -388,12 +388,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2909#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2909#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -439,12 +439,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2787#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2787#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -490,12 +490,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2908#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2908#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -541,12 +541,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2788#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2788#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -592,12 +592,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2786#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2786#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "inspector":{ "params":[ "SignalNameFromLabel", 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_12580_2779_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2779_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg index dc090ae..4caaee1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2779_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg @@ -9,11 +9,59 @@ - + - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + @@ -22,36 +70,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -66,15 +114,15 @@ - + - + - - sfix32_En20 + + sfix16_En4 @@ -85,7 +133,79 @@ - + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -95,19 +215,19 @@ - + - + - + - + @@ -133,11 +253,11 @@ - + - + sfix16_En4 @@ -149,127 +269,7 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - x0 - - - - - - - - u - - - - - - - - Z - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -332,7 +332,7 @@ - + @@ -376,7 +376,7 @@ - + @@ -384,7 +384,7 @@ - sfix32_En20 + sfix16_En4 @@ -393,7 +393,7 @@ - + @@ -407,7 +407,7 @@ - + @@ -421,7 +421,7 @@ - + @@ -435,7 +435,7 @@ - + @@ -469,7 +469,7 @@ - + @@ -485,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json index efb1159..216c82d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2791_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json @@ -1,91 +1,11 @@ [ { - "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:2377", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2377", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "Port", @@ -160,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2709", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2709", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"hitMax", "label":"hitMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "Port", @@ -240,12 +160,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2707", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "Operator", @@ -285,12 +205,57 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2849", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2704", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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:12580:2791:2849", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch3", "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "Criteria", @@ -342,124 +307,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2704", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotor_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":"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:2701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2701", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "Port", @@ -521,40 +374,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2848", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2710", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "name":"hitMin", + "label":"hitMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "off", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", + "Inherit: auto", "off", + "inherit", "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -563,8 +439,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -573,17 +449,84 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2699", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2700", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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:12580:2791:2699", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "Port", @@ -645,12 +588,69 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2849#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2848", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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:12580:2791:2849#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -696,12 +696,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2701#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -747,12 +747,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2704#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -798,12 +798,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2707#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +849,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2699#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +900,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2700#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +951,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791:2848#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2848#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg index 62f9a09..0a48214 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg @@ -9,15 +9,15 @@ - + - - + + - + @@ -27,30 +27,30 @@ - - 3 + + 2 - + - - + + - + - - hitMin + + y @@ -61,7 +61,7 @@ - + @@ -109,9 +109,9 @@ - + - + @@ -188,630 +188,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -819,19 +198,19 @@ - + - + - + - + @@ -857,11 +236,11 @@ - + - + LowerRelop1 @@ -872,11 +251,11 @@ - + - + boolean @@ -886,7 +265,628 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json index 75b6c88..edc828d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2819", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preSat", "label":"preSat", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2818", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preIntegrator", "label":"preIntegrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2831", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Clamp", "label":"Clamp", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "Port", @@ -214,12 +214,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2839", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2839", "className":"Simulink.Signum", "icon":"WebViewIcon3", "name":"SignDeltaU3", "label":"SignDeltaU3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "ZeroCross", @@ -245,12 +245,88 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2840", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2837", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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:12580:2841", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Equal1", + "label":"Equal1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2836", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "name":"DataTypeConv3", + "label":"DataTypeConv3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "OutMin", @@ -292,38 +368,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2841", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2840", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Equal1", - "label":"Equal1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ - "Operator", - "InputSameDT", + "OutMin", + "OutMax", "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", "RndMeth", - "SampleTime", - "ZeroCross" + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "==", + "[]", + "[]", + "int8", "on", - "Inherit: Logical (see Configuration Parameters: Optimization)", + "Real World Value (RWV)", "Zero", - "-1", - "on" + "off", + "-1" ], "tabs":[ - "Main", - "Data Type", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 7 ] }, "viewer":{ @@ -332,17 +410,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"hitSat", "label":"hitSat", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "Port", @@ -404,105 +482,27 @@ } }, { - "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: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", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2838", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "on", "boolean", + "2", "-1" ], "tabs":[ @@ -512,8 +512,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -527,12 +527,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2843#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2838#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2841#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2840#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2836#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2839#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -833,12 +833,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2837#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2837#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +884,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2819#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +935,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2818#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2816_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg index fad5178..6935952 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -187,7 +187,7 @@ - + @@ -267,272 +267,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitSat - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - + - + @@ -540,35 +277,35 @@ - + - + - + - + - + - + - + - + @@ -594,11 +331,11 @@ - + - + int32 @@ -610,9 +347,272 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitSat + + + + + + + + + + + + + + + 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/BLDCmotor_FOC_R2017b_fixdt_10455_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json index ec97946..b9ef91b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json @@ -1,11 +1,91 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2817", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2785", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"out", + "label":"out", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2817", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay1", "label":"UnitDelay1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "InitialCondition", @@ -50,69 +130,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2814", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2781", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2781", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum2", "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "IconShape", @@ -166,12 +189,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2783", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2783", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum1", "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "IconShape", @@ -225,12 +248,609 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2846", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2815", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"ext_limProt", + "label":"ext_limProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2733", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "ShowPortLabels", @@ -318,429 +938,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", - "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: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:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_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":"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: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:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotor_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":"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:2776", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2773", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2770", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "name":"P", + "label":"P", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "Port", @@ -762,7 +965,7 @@ "OutputFunctionCall" ], "values":[ - "7", + "2", "Port number", "[]", "[]", @@ -802,225 +1005,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2815", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotor_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":"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:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "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:2910", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2910", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"init", "label":"init", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "Port", @@ -1082,246 +1072,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10455:2771", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"I", - "label":"I", - "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":[ - "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:2733", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "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":[ - "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:10455:2770", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"P", - "label":"P", - "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":[ - "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:2795", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2795", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "GotoTag", @@ -1349,12 +1105,79 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2769", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2732", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMax", + "label":"satMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2769", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "Port", @@ -1416,27 +1239,208 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2814", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2771", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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:12580:2844", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "OR", - "2", "rectangular", "on", "boolean", + "2", "-1" ], "tabs":[ @@ -1446,8 +1450,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -1461,12 +1465,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2910#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2910#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1512,12 +1516,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1563,12 +1567,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2846#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1614,12 +1618,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2844#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2844#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1665,12 +1669,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2833#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1716,12 +1720,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2832#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1767,12 +1771,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2817#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1818,12 +1822,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2816#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1869,12 +1873,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2814#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1920,12 +1924,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2781#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1971,12 +1975,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2783#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2022,12 +2026,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2815#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2073,12 +2077,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2124,12 +2128,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2175,12 +2179,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2733#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2226,12 +2230,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2732#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2277,12 +2281,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2770#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2328,12 +2332,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2779#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2379,12 +2383,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2771#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2430,12 +2434,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2778#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2481,12 +2485,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2776#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2532,12 +2536,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2773#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2583,12 +2587,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2769#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png new file mode 100644 index 0000000..dde7b4c Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg index 6bda4c9..8971522 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,43 +120,115 @@ - - - - - - - - - - - Ini=0 - - - - - + - + boolean + + + + + + + + + + + Ini=0 + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -166,35 +238,35 @@ - + - + - + - + - + - + - + - + @@ -212,11 +284,11 @@ - + - + sfix16_En4 @@ -228,440 +300,7 @@ - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - + @@ -677,27 +316,27 @@ - + - + u - + - + init - + - + y @@ -727,11 +366,11 @@ - + - + Integrator @@ -748,11 +387,11 @@ - + - + sfix16_En4 @@ -764,13 +403,271 @@ - + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -780,19 +677,19 @@ - + - + - + - + @@ -810,11 +707,11 @@ - + - + sfix16_En5 @@ -826,51 +723,58 @@ - - - + + + - - + + - - + + - - - - - - - - - - + + 7 - - + + + + + + + + + + + + + + + + + ext_limProt - + - - + + - + sfix32_En20 @@ -882,188 +786,59 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + 6 - - + + + + + + + + + + + + + + + + + satMin - - + + - - + + - - sfix32_En20 + + sfix16_En4 @@ -1074,7 +849,7 @@ - + @@ -1090,35 +865,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -1148,11 +923,11 @@ - + - + Clamping_circuit @@ -1169,11 +944,11 @@ - + - + boolean @@ -1185,200 +960,192 @@ - + - - + + - - + + - - + + - - 3 + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - I + + - - + + - - + + - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - satMin + + boolean - + - - + + - + sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - sfix32_En20 + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1389,7 +1156,7 @@ - + @@ -1399,11 +1166,11 @@ - + - + 2 @@ -1421,11 +1188,11 @@ - + - + P @@ -1436,11 +1203,11 @@ - + - + ufix16_En12 @@ -1452,7 +1219,7 @@ - + @@ -1462,11 +1229,11 @@ - + - + 4 @@ -1484,11 +1251,11 @@ - + - + init @@ -1496,188 +1263,14 @@ - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - ext_limProt - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - + + - + sfix16_En4 @@ -1689,7 +1282,40 @@ - + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + @@ -1699,11 +1325,11 @@ - + - + 5 @@ -1721,11 +1347,11 @@ - + - + satMax @@ -1736,11 +1362,11 @@ - + - + sfix16_En4 @@ -1752,9 +1378,383 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + - + @@ -1814,7 +1814,7 @@ - + @@ -1828,7 +1828,7 @@ - + @@ -1842,7 +1842,7 @@ - + @@ -1856,7 +1856,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 @@ - + @@ -2008,7 +2008,7 @@ - + @@ -2022,7 +2022,7 @@ - + @@ -2036,7 +2036,7 @@ - + @@ -2050,7 +2050,7 @@ - + @@ -2064,7 +2064,7 @@ - + @@ -2078,7 +2078,7 @@ - + @@ -2092,7 +2092,7 @@ - + @@ -2106,7 +2106,7 @@ - + @@ -2120,7 +2120,7 @@ - + @@ -2134,7 +2134,7 @@ - + @@ -2148,7 +2148,7 @@ - + @@ -2162,7 +2162,7 @@ - + @@ -2198,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_12581_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.json index ad86594..db6f684 100644 --- 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_12581_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:10", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:8", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:5", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:4", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:1#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:1#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:2#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:2#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:3#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:3#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:7#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:7#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:8#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:8#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:6#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:6#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829:9#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581:9#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10829", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12581", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10829_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_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_12581_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10746_2895_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg index 1d2065f..8a90364 100644 --- 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_12581_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/BLDCmotor_FOC_R2017b_fixdt_9143_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json similarity index 82% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json index cb498eb..ba6c2bc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9165", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12609", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "IconShape", @@ -59,72 +59,51 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9170", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12614", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Vd", - "label":"Vd", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"toNegative", + "label":"toNegative", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Gain", + "Multiplication", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", "-1", - "Inherit", - "-1", - "auto", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", "off", + "Zero", "off", "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "[]", + "Inherit: Same as input", + "-1" ], "tabs":[ "Main", "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, + 8, 11 ] }, @@ -134,17 +113,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9726", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12612", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"constant1", "label":"constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "Value", @@ -188,12 +167,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9724", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12611", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"cf_idKi1", - "label":"cf_idKi1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"cf_idKp1", + "label":"cf_idKp1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "Value", @@ -206,12 +185,12 @@ "FramePeriod" ], "values":[ - "cf_idKi", + "cf_idKp", "on", "inf", "[]", "[]", - "fixdt(0,16,16)", + "fixdt(0,16,12)", "off", "inf" ], @@ -237,61 +216,12 @@ } }, { - "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:10454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "ShowPortLabels", @@ -379,45 +309,12 @@ } }, { - "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:9160", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12604", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto19", "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "GotoTag", @@ -445,186 +342,70 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9162", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12613", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "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:9164", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"constant2", + "label":"constant2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "DoSatur" + "FramePeriod" ], "values":[ + "0", + "on", + "inf", "[]", "[]", - "Inherit: Same as second input", + "Inherit: Inherit via back propagation", "off", - "Floor", - "off" + "inf" ], "tabs":[ + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ + 0, + 3, + 7 ] }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "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", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9157", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12605", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "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: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: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":[ @@ -638,48 +419,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "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:9159", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12603", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto18", "label":"Goto18", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "GotoTag", @@ -707,12 +457,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9147", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12615", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"Vd", + "label":"Vd", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "Port", @@ -727,14 +477,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "4", + "1", "Port number", "[]", "[]", @@ -746,10 +502,17 @@ "-1", "auto", "off", + "off", + "[]", + "off", + "held", + "off", + "0", "", - "on", - "off", - "off", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -769,115 +532,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "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: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:9158", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12602", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto17", "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "GotoTag", @@ -905,61 +570,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9146", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12600", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "Vd_min", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -967,48 +596,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9725", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12599", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"cf_idKp1", - "label":"cf_idKp1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "cf_idKp", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" + "Vd_max", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1016,17 +627,207 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9148", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12598", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12601", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12594", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12597", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12595", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12606", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12592", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"id_max", "label":"id_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "Port", @@ -1088,12 +889,265 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9145", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12591", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12596", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12590", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12610", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_idKi1", + "label":"cf_idKi1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12608", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12589", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"id", "label":"id", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "Port", @@ -1155,74 +1209,12 @@ } }, { - "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: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:9144", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12588", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_Tgt", - "label":"id_Tgt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "Port", @@ -1284,12 +1276,79 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9152#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12593", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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:12596#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1335,12 +1394,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9151#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12595#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1386,12 +1445,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9144#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12588#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1437,12 +1496,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9145#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12589#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1488,12 +1547,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9147#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12591#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1539,12 +1598,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9146#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12590#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1590,12 +1649,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9148#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12592#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1641,12 +1700,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9149#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12593#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1692,12 +1751,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9164#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12608#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1743,12 +1802,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9155#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12597#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1794,12 +1853,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9156#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12598#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1845,12 +1904,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9165#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12609#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1896,12 +1955,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9724#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1947,12 +2006,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9725#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12611#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1998,12 +2057,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12610#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2049,12 +2108,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9726#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12612#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2100,12 +2159,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9723#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12600#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2151,12 +2210,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9722#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12599#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2202,12 +2261,63 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11483#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12613#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12614#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png new file mode 100644 index 0000000..345e198 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg similarity index 84% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg index 3cd89fa..d0956ad 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg @@ -1,71 +1,71 @@ - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + sfix16_En4 @@ -77,44 +77,44 @@ - - - + + + - - + + - + - - 1 + + -1 - - + + - - - + + + - + - - Vd + + sfix16_En4 @@ -125,11 +125,11 @@ - - + + - + @@ -139,29 +139,29 @@ - + 0 - + - + - + - + sfix32_En20 @@ -173,11 +173,11 @@ - - + + - + @@ -187,30 +187,30 @@ - - cf_idKi + + cf_idKp - + - + - + - - ufix16_En16 + + ufix16_En12 @@ -221,200 +221,137 @@ - - - + + + - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - + - + - + err - + - + P - + - + I - + - + init - + - + satMax - + - + satMin - + - + ext_limProt - + - + out - + - + PI(z) - + - + - - + + - + PI_clamp_fixdt - - - - - - - - - - - sfix16_En4 - - - - - + - + - + - + - + - + @@ -422,35 +359,17 @@ - - - - - - - - - - - - - - - + + + + - - + + - - [id] - - - - - - - + + sfix16_En4 @@ -461,7 +380,7 @@ - + @@ -471,11 +390,11 @@ - + - + [id_max] @@ -494,318 +413,77 @@ - - + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + - + - + - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [id] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -816,55 +494,7 @@ - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - + @@ -874,11 +504,11 @@ - + - + [Vd_min] @@ -897,59 +527,44 @@ - - + + - + - + - - 4 + + 1 - + - - + + - - + + - - Vd_min - - - - - - - - - - - - - - - sfix16_En4 + + Vd @@ -960,118 +575,7 @@ - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1081,11 +585,11 @@ - + - + [Vd_max] @@ -1104,58 +608,43 @@ - - - + + + - - + + - - + + - - 3 + + [Vd_min] - - - - - - - - - - - - - - - - - Vd_max + + - + - - + + - + sfix16_En4 @@ -1167,106 +656,43 @@ - - - + + + - - + + - - + + - - cf_idKp + + [Vd_max] - - + + - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - + - - + + - + sfix16_En4 @@ -1278,58 +704,43 @@ - - - + + + - - + + - - + + - - 2 + + [id_min] - - - - - - - - - - - - - - - - - id + + - + - - + + - + sfix16_En4 @@ -1341,7 +752,88 @@ - + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + @@ -1351,11 +843,11 @@ - + - + [id_max] @@ -1373,11 +865,11 @@ - - + + - + sfix16_En4 @@ -1389,43 +881,43 @@ - - + + - + - + - - [Vd_max] + + [id_TgtAbs] - + - + - - + + - + sfix16_En4 @@ -1437,7 +929,500 @@ - + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_idKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -1447,11 +1432,11 @@ - + - + 1 @@ -1466,15 +1451,15 @@ - + - - + + - - id_Tgt + + id_TgtAbs @@ -1484,11 +1469,11 @@ - - + + - + sfix16_En4 @@ -1498,35 +1483,98 @@ - + - - - + + + - - + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + - + - + - + - + + + + + + + + + + + + + + + @@ -1540,7 +1588,7 @@ - + @@ -1554,7 +1602,7 @@ - + @@ -1568,7 +1616,7 @@ - + @@ -1582,7 +1630,7 @@ - + @@ -1596,7 +1644,7 @@ - + @@ -1610,154 +1658,168 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + @@ -1766,5 +1828,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_12607_2779_d.json similarity index 88% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json index b6e3031..1368e47 100644 --- 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_12607_2779_d.json @@ -1,11 +1,319 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2790", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2908", + "className":"Simulink.Delay", + "icon":"WebViewIcon3", + "name":"Resettable Delay", + "label":"Resettable Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2787", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2909", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2786", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2790", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "inspector":{ "params":[ "Port", @@ -80,320 +388,12 @@ } }, { - "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: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: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", - "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: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:2909#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2909#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -439,12 +439,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2787#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2787#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -490,12 +490,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2908#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2908#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -541,12 +541,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2788#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2788#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "inspector":{ "params":[ "SignalNameFromLabel", @@ -592,12 +592,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2786#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2786#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "inspector":{ "params":[ "SignalNameFromLabel", 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_12607_2779_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg index 5f3dfe2..97c5a85 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2779_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg @@ -9,59 +9,11 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - + @@ -70,36 +22,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -117,11 +69,11 @@ - + - + sfix32_En20 @@ -133,7 +85,79 @@ - + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -143,19 +167,19 @@ - + - + - + - + @@ -181,11 +205,11 @@ - + - + sfix16_En4 @@ -197,79 +221,7 @@ - - - - - - - - - - - - - - - - x0 - - - - - - - - u - - - - - - - - Z - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - + @@ -279,11 +231,11 @@ - + - + 2 @@ -301,11 +253,11 @@ - + - + init @@ -316,11 +268,11 @@ - + - + sfix32_En20 @@ -332,7 +284,7 @@ - + @@ -342,11 +294,11 @@ - + - + 1 @@ -364,11 +316,11 @@ - + - + u @@ -379,11 +331,11 @@ - + - + sfix32_En20 @@ -393,7 +345,55 @@ - + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + @@ -407,7 +407,7 @@ - + @@ -421,7 +421,7 @@ - + @@ -435,7 +435,7 @@ - + @@ -469,7 +469,7 @@ - + @@ -485,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json index d85b20d..79c9a3d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10455_2791_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json @@ -1,11 +1,91 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2710", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2377", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2791:2710", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"hitMin", "label":"hitMin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "Port", @@ -80,92 +160,12 @@ } }, { - "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:2707", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "Operator", @@ -205,12 +205,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2849", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2849", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch3", "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "Criteria", @@ -262,40 +262,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2848", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2709", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "name":"hitMax", + "label":"hitMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "off", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", + "Inherit: auto", "off", + "inherit", "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -304,8 +327,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -314,17 +337,62 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2701", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2704", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2791:2701", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "Port", @@ -386,12 +454,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2700", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2700", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "Port", @@ -453,63 +521,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2377", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2848", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Criteria", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "Threshold", + "ZeroCross" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", "off", - "inherit", "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", @@ -518,8 +563,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 1, + 9 ] }, "viewer":{ @@ -528,17 +573,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2699", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2699", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "Port", @@ -600,57 +645,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2704", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455: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:10455:2791:2849#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2849#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -696,12 +696,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2701#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2701#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -747,12 +747,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2704#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2704#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -798,12 +798,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2707#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2707#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -849,12 +849,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2699#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2699#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -900,12 +900,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2700#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2700#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", @@ -951,12 +951,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791:2848#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2848#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg index 3a7998e..1fdca20 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2791_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg @@ -9,59 +9,11 @@ - + - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitMin - - - - - - - - - - - + @@ -71,11 +23,11 @@ - + - + 2 @@ -93,11 +45,11 @@ - + - + y @@ -109,44 +61,44 @@ - - + + - + - + - - 1 + + 3 - + - - + + - - + + - - hitMax + + hitMin @@ -157,201 +109,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + - + @@ -359,19 +119,19 @@ - + - + - + - + @@ -397,11 +157,11 @@ - + - + UpperRelop @@ -412,11 +172,11 @@ - + - + boolean @@ -428,58 +188,187 @@ - - - + + + - - + + - - + + - - 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - - - - - - - - - - - - - - - - u + + - + - - + + - + sfix16_En4 @@ -491,9 +380,57 @@ - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + hitMax + + + + + + + + + + + - + @@ -501,19 +438,19 @@ - + - + - + - + @@ -539,11 +476,11 @@ - + - + LowerRelop1 @@ -554,11 +491,11 @@ - + - + boolean @@ -570,7 +507,7 @@ - + @@ -580,11 +517,11 @@ - + - + 3 @@ -602,11 +539,11 @@ - + - + lo @@ -617,11 +554,11 @@ - + - + sfix16_En4 @@ -633,9 +570,72 @@ - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + - + @@ -825,7 +825,7 @@ - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json index a0285cf..e282f0d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2819", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2819", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preSat", "label":"preSat", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "Port", @@ -67,12 +67,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2818", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"preIntegrator", "label":"preIntegrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "Port", @@ -134,12 +134,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2831", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2831", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Clamp", "label":"Clamp", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "Port", @@ -214,12 +214,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2837", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2839", "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "name":"SignDeltaU3", + "label":"SignDeltaU3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "ZeroCross", @@ -245,12 +245,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2841", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2841", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"Equal1", "label":"Equal1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "Operator", @@ -290,59 +290,12 @@ } }, { - "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:2843", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2843", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"hitSat", "label":"hitSat", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "Port", @@ -404,12 +357,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2836", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2840", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"DataTypeConv3", - "label":"DataTypeConv3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "OutMin", @@ -451,12 +404,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2839", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2837", "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"SignDeltaU3", - "label":"SignDeltaU3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "name":"SignDeltaU2", + "label":"SignDeltaU2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "ZeroCross", @@ -482,27 +435,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2838", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2836", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv3", + "label":"DataTypeConv3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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:12607:2838", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "on", "boolean", + "2", "-1" ], "tabs":[ @@ -512,8 +512,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -527,12 +527,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2843#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2843#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -578,12 +578,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2838#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2838#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -629,12 +629,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2841#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2841#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -680,12 +680,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2840#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2840#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -731,12 +731,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2836#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2836#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -782,12 +782,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2839#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2839#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -833,12 +833,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2837#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2837#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -884,12 +884,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2819#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2819#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", @@ -935,12 +935,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2818#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2818#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_2816_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg index e60cb84..0d106b1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10454_2816_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg @@ -9,11 +9,11 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -187,11 +187,11 @@ - - + + - + @@ -201,7 +201,7 @@ - + @@ -209,7 +209,7 @@ - + @@ -217,7 +217,7 @@ - + @@ -225,7 +225,7 @@ - + @@ -240,23 +240,23 @@ - + - + - + - - int32 + + int16 @@ -267,9 +267,9 @@ - + - + @@ -339,7 +339,70 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitSat + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -349,19 +412,19 @@ - + - + - + - + @@ -387,11 +450,11 @@ - + - + int8 @@ -403,59 +466,76 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - 3 - - - - - - - - - - - - - - - - - - hitSat + + - - + + - - + + - - boolean + + int32 @@ -466,7 +546,7 @@ - + @@ -476,19 +556,19 @@ - + - + - + - + @@ -514,11 +594,11 @@ - + - + int8 @@ -530,89 +610,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - + - + @@ -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/BLDCmotor_FOC_R2017b_fixdt_10828_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json similarity index 87% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json index 02487b0..2af2577 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json @@ -1,11 +1,70 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2817", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2783", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2817", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay1", "label":"UnitDelay1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "InitialCondition", @@ -50,110 +109,157 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2814", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2845", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", + "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:12607:2779", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", "off", "off", "-1", - "0", - "on" + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", + "Code Generation", "-Other" ], "tabs_idx":[ 0, - 1, - 9 + 5, + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2781", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2846", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "b_hitSat", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -161,17 +267,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2785", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2785", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"out", "label":"out", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Port", @@ -246,12 +352,281 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2783", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2815", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2781", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "IconShape", @@ -275,7 +650,7 @@ "Inherit: Inherit via internal rule", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: Inherit via internal rule", "off", "Simplest", "on", @@ -305,12 +680,267 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2795", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2773", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"ext_limProt", + "label":"ext_limProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2814", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2733", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "ShowPortLabels", @@ -398,571 +1028,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", - "className":"Simulink.SubSystem", - "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: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: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: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: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: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: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: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:2733", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", - "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":[ - "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:10828:2732", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2732", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"satMax", "label":"satMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Port", @@ -1024,12 +1095,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2910", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2910", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"init", "label":"init", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Port", @@ -1091,136 +1162,12 @@ } }, { - "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:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10828:2771", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2771", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"I", "label":"I", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Port", @@ -1282,12 +1229,69 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2770", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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:12607:2770", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"P", "label":"P", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Port", @@ -1349,12 +1353,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2769", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2769", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"err", "label":"err", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Port", @@ -1416,27 +1420,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2844", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2844", "className":"Simulink.Logic", "icon":"WebViewIcon3", "name":"AND1", "label":"AND1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "OR", - "2", "rectangular", "on", "boolean", + "2", "-1" ], "tabs":[ @@ -1446,8 +1450,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -1461,12 +1465,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2910#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2910#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1512,12 +1516,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1563,12 +1567,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2846#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2846#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1614,12 +1618,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2844#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2844#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1665,12 +1669,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2833#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2833#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1716,12 +1720,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2832#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2832#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1767,12 +1771,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2817#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2817#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1818,12 +1822,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2816#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1869,12 +1873,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2814#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2814#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1920,12 +1924,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2781#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2781#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1971,12 +1975,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2783#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2783#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2022,12 +2026,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2815#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2815#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2073,12 +2077,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791#out:3", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2124,12 +2128,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2175,12 +2179,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2733#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2226,12 +2230,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2732#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2277,12 +2281,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2770#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2770#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2328,12 +2332,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2779#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2379,12 +2383,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2771#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2771#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2430,12 +2434,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2778#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2778#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2481,12 +2485,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2776#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2776#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2532,12 +2536,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2773#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2773#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", @@ -2583,12 +2587,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2769#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2769#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png new file mode 100644 index 0000000..b613026 Binary files /dev/null and b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg index 53fa97f..9bc57c4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10828_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg @@ -9,11 +9,83 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -23,35 +95,35 @@ - + - + - + - + - + - + - + - + @@ -77,11 +149,11 @@ - + - + Ini=0 @@ -92,11 +164,11 @@ - + - + boolean @@ -108,188 +180,29 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + [b_hitSat] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -300,389 +213,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -698,27 +229,27 @@ - + - + u - + - + init - + - + y @@ -748,11 +279,11 @@ - + - + Integrator @@ -769,11 +300,11 @@ - + - + sfix16_En4 @@ -785,13 +316,157 @@ - + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + @@ -801,11 +476,11 @@ - + - + [b_hitMax] @@ -824,262 +499,52 @@ - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + + - + - - + + - - + + - - + + - - + + - + - - + + - - + + - - sfix32_En20 + + sfix16_En5 @@ -1090,7 +555,7 @@ - + @@ -1100,11 +565,11 @@ - + - + 0 @@ -1119,15 +584,15 @@ - + - + - - sfix16_En4 + + sfix32_En20 @@ -1138,7 +603,7 @@ - + @@ -1154,35 +619,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -1212,11 +677,11 @@ - + - + Clamping_circuit @@ -1233,11 +698,11 @@ - + - + boolean @@ -1249,65 +714,74 @@ - + - - + + - - + + - - + + - - 6 + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - satMin + + - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -1318,59 +792,29 @@ - - - + + + - - + + - - + + - - 5 + + [b_hitMin] - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1381,70 +825,7 @@ - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - init - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -1454,11 +835,11 @@ - + - + 7 @@ -1476,11 +857,11 @@ - + - + ext_limProt @@ -1491,11 +872,11 @@ - + - + sfix32_En20 @@ -1507,52 +888,44 @@ - - - + + + - - + + - - + + - - - - - - - - - - + + [b_hitMin] - - + + - - + + - - + + - - sfix16_En5 + + boolean @@ -1563,7 +936,578 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -1573,11 +1517,11 @@ - + - + 3 @@ -1595,11 +1539,11 @@ - + - + I @@ -1610,11 +1554,11 @@ - + - + ufix16_En16 @@ -1626,7 +1570,63 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + @@ -1689,7 +1689,7 @@ - + @@ -1752,7 +1752,7 @@ - + @@ -1814,7 +1814,7 @@ - + @@ -1828,7 +1828,7 @@ - + @@ -1842,7 +1842,7 @@ - + @@ -1856,7 +1856,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 @@ - + @@ -2008,7 +2008,7 @@ - + @@ -2022,7 +2022,7 @@ - + @@ -2036,7 +2036,7 @@ - + @@ -2050,7 +2050,7 @@ - + @@ -2064,7 +2064,7 @@ - + @@ -2078,7 +2078,7 @@ - + @@ -2092,7 +2092,7 @@ - + @@ -2106,7 +2106,7 @@ - + @@ -2120,7 +2120,7 @@ - + @@ -2134,7 +2134,7 @@ - + @@ -2148,7 +2148,7 @@ - + @@ -2162,7 +2162,7 @@ - + @@ -2198,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json new file mode 100644 index 0000000..e2c5d37 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12608:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "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:12608:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12608:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12608:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12608:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12608:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12608:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12608:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12608", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_9164_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg new file mode 100644 index 0000000..3ce2262 --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_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/BLDCmotor_FOC_R2017b_fixdt_9171_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json similarity index 86% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.json rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json index 7384e0c..2cec932 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json @@ -1,11 +1,233 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9191", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12639", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12638", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12634", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12637", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12633", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12632", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12641", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"Vq_Vlt", "label":"Vq_Vlt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "Port", @@ -80,74 +302,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10732", - "className":"Simulink.MinMax", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12630", + "className":"Simulink.From", "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:10737", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "r_inpTgtScaAbs", - "local", "Tag" ], "tabs":[ @@ -161,147 +328,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "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":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9185", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", - "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: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:10740", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", - "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:10733", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12629", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From5", "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", @@ -327,12 +364,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9181", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12627", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From20", "label":"From20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", @@ -358,12 +395,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9184", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12635", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", @@ -371,7 +408,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "r_iqLimProtMax", "local", "Tag" ], @@ -391,12 +428,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10725", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12625", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From1", "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", @@ -422,19 +459,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10738", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12636", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "r_inpTgtScaAbs", + "local", "Tag" ], "tabs":[ @@ -448,24 +487,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9179", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12628", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "Vq_max", + "r_nLimProtMax", "Tag" ], "tabs":[ @@ -484,12 +523,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10741", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12624", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide1", "label":"Divide1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "Inputs", @@ -541,210 +580,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9176", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", - "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:9175", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", - "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: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:9189", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9174", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12620", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_min", "label":"Vq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "Port", @@ -806,60 +647,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9188", - "className":"Saturation Dynamic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12623", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" + "reset", + "Only when execution is resumed" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" + "blocktype":"ActionPort", + "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9187", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12626", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_iqLimProtMax", - "local", + "Vq_max", "Tag" ], "tabs":[ @@ -873,17 +704,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9173", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12619", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"Vq_max", "label":"Vq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "Port", @@ -945,110 +776,12 @@ } }, { - "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", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", - "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:10736", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12618", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgtScaAbs", "label":"r_inpTgtScaAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "Port", @@ -1110,12 +843,279 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9172#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12622", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12617", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12621", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12640", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12631", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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:12617#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1161,12 +1161,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9181#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12627#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1212,12 +1212,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9179#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12626#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1263,12 +1263,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9173#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12619#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1314,12 +1314,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9174#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12620#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1365,12 +1365,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9175#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12621#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1416,12 +1416,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9176#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12622#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1467,12 +1467,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9189#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12640#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1518,12 +1518,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9188#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12638#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1569,12 +1569,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10731#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12628#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1620,12 +1620,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10725#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12618#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1671,12 +1671,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10736#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12630#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1722,12 +1722,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10738#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12629#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1773,12 +1773,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10733#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12637#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1824,12 +1824,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10732#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12639#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1875,12 +1875,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10741#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12624#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1926,12 +1926,12 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10740#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12625#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg index 9712c9b..3ecf133 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9171_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg @@ -9,257 +9,13 @@ - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_Vlt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - + - + @@ -267,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -321,11 +77,11 @@ - + - + int16 @@ -337,43 +93,107 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - [r_inpTgtSca] + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - - + + - + - - + + - + sfix16_En4 @@ -385,44 +205,126 @@ - - - + + + - - + + - - + + - + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -433,7 +335,7 @@ - + @@ -443,11 +345,11 @@ - + - + [r_inpTgtSca] @@ -466,44 +368,44 @@ - - - + + + - - + + - - + + - - [r_iqLimProtMax] + + 1 - - + + - - - + + + - - + + - - sfix16_En4 + + Vq_Vlt @@ -514,7 +416,7 @@ - + @@ -524,11 +426,11 @@ - + - + [r_inpTgtScaAbs] @@ -546,11 +448,11 @@ - + - + sfix16_En4 @@ -562,225 +464,43 @@ - - + + - + - + - - [Vq_max] + + [r_inpTgtSca] - + - + - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - + - - r_iqLimProtMax - - - - - - - - - - - - - - + sfix16_En4 @@ -792,7 +512,169 @@ - + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + @@ -802,11 +684,11 @@ - + - + [r_nLimProtMax] @@ -824,11 +706,11 @@ - + - + sfix16_En4 @@ -840,7 +722,537 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -850,131 +1262,131 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1000,11 +1412,11 @@ - + - + sfix16_En4 @@ -1016,203 +1428,28 @@ - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [r_iqLimProtMax] + + [Vq_max] - + @@ -1222,244 +1459,7 @@ - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -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,21 +1599,7 @@ - - - - - - - - - - - - - - - + @@ -1627,7 +1613,7 @@ - + @@ -1641,7 +1627,7 @@ - + @@ -1655,7 +1641,7 @@ - + @@ -1669,21 +1655,7 @@ - - - - - - - - - - - - - - - + @@ -1697,7 +1669,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json new file mode 100644 index 0000000..02f9a4e --- /dev/null +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json @@ -0,0 +1,936 @@ +[ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12638:10", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:9", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:8", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:7", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch", + "label":"Switch", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:6", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:5", + "className":"Simulink.SFunction", + "icon":"WebViewIcon3", + "name":"Data Type Propagation", + "label":"Data Type Propagation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:4", + "className":"Simulink.DataTypeDuplicate", + "icon":"WebViewIcon3", + "name":"Data Type Duplicate", + "label":"Data Type Duplicate", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:3", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:2", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:1", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"up", + "label":"up", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "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:12638:1#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12638:2#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12638:3#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12638:7#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12638:8#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12638:6#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12638:9#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12638", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "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_9188_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.png rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg rename to BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg index 6a7f989..e71a0d8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10745_2895_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_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 @@ - + @@ -1015,16 +1015,16 @@ - + - + - + @@ -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_29_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json index c9f5aa2..dd63a8b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json @@ -101,8 +101,8 @@ "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

", + "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":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -120,7 +120,7 @@ "ClickFcn" ], "values":[ - "\n\n

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

", + "\n\n

Task1: Diagnostics + Control_Manager

\n


\n

Task2: Field Weakening + Limitations

\n


\n

Task3: PI Controllers in FOC

", "off", "rich", "auto", @@ -196,11 +196,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9304", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9305", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"iq", + "label":"iq", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -229,7 +229,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "7", "Port number", "[]", "[]", @@ -242,9 +242,9 @@ "auto", "off", "off", - "[]", + "0", "off", - "held", + "reset", "off", "0", "", @@ -435,6 +435,86 @@ "masktype":"" } }, + { + "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:9299", "className":"Simulink.Outport", @@ -516,11 +596,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10064", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9298", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"b_fieldWeakEna", - "label":"b_fieldWeakEna", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -534,12 +614,12 @@ "FramePeriod" ], "values":[ - "b_fieldWeakEna", + "z_ctrlTypSel", "on", "inf", "[]", "[]", - "boolean", + "uint8", "off", "inf" ], @@ -641,2001 +721,32 @@ } }, { - "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:9293", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", - "name":"Model_Info", - "label":"Model_Info", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - ], - "values":[ - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "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: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: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:9284", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hallC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "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:9934", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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:9281", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11349", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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:10189", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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":"BLDCmotor_FOC_R2017b_fixdt:9272", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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:9278", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_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":"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: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:9456", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_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":"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: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: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:9241", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "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:9263", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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:9286", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "DC_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: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: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: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: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:11488", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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: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: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: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:9267", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "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:9287", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "DC_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: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:9260", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9277", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotor_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":"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: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: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: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: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: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:9264", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "DC_phaA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "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:10749", - "className":"Simulink.Saturate", - "icon":"WebViewIcon3", - "name":"Saturation", - "label":"Saturation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "UpperLimit", - "LowerLimit", - "LinearizeAsGain", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1700", - "-1700", - "on", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Floor", - "-1", - "on" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 8 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Saturate", - "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:9305", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "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", - "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: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: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: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:9279", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_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":"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: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: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:9198", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F06_Control_Type_Management", - "label":"F06_Control_Type_Management", + "name":"Task_Scheduler", + "label":"Task_Scheduler", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2647,53 +758,54 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", - "off", "on", + "off", + "-1", + "Auto", "", "", "off", "", + "Stateflow.Translate.translate", "void_void", "off", "off", + "off", + "", + "", + "ExplicitOnly", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", "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", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2707,101 +819,6 @@ "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: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: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:10751", "className":"Simulink.Saturate", @@ -2856,571 +873,36 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9266", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10749", + "className":"Simulink.Saturate", "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", + "name":"Saturation", + "label":"Saturation", "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: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:9270", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hallA", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "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: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:9262", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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: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:9283", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_pos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "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: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: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: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: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: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:9306", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"id", - "label":"id", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", + "UpperLimit", + "LowerLimit", + "LinearizeAsGain", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "8", - "Port number", + "1700", + "-1700", + "on", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,4)", "off", - "inherit", + "Floor", "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", @@ -3429,8 +911,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 8 ] }, "viewer":{ @@ -3439,67 +921,37 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Saturate", "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:10066", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F04_Field_Weakening", - "label":"F04_Field_Weakening", + "icon":"WebViewIcon5", + "name":"Model_Info", + "label":"Model_Info", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3511,30 +963,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", - "off", + "on", "", - "off", "", + "All", "off", "off", "", @@ -3546,18 +998,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3571,80 +1024,6 @@ "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: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:9292", "className":"Simulink.SubSystem", @@ -3739,108 +1118,539 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_Estimations", - "label":"F01_Estimations", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9284", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", "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" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "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", - "" + "b_hallC", + "local", + "Tag" ], "tabs":[ - "Main", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9249", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10158", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11883", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto37", + "label":"Goto37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":"BLDCmotor_FOC_R2017b_fixdt:9279", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_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":"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:9288", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9286", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto25", + "label":"Goto25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "DC_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:11880", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto34", + "label":"Goto34", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task1b", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11349", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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:9272", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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:11879", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto33", + "label":"Goto33", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task1a", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9277", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_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":"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: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:9285", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto24", + "label":"Goto24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "DC_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: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":"From17", - "label":"From17", + "name":"From5", + "label":"From5", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3848,7 +1658,7 @@ "IconDisplay" ], "values":[ - "r_fieldWeak", + "n_mot", "Tag" ], "tabs":[ @@ -3866,6 +1676,577 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9456", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_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":"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: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: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: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":[ + "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":"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:9278", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:12677", + "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: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:9934", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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: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: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:10259", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task2a", + "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:11882", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto36", + "label":"Goto36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task2b", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9265", "className":"Simulink.From", @@ -3898,31 +2279,676 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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:10257", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task1b", + "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: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: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: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: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:9283", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_pos", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12674", + "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: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: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:9287", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "DC_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: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: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: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: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":[ + "6", + "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: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: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:10191", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task1a", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F03_Control_Mode_Manager", - "label":"F03_Control_Mode_Manager", + "name":"F06_Control_Type_Management", + "label":"F06_Control_Type_Management", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3934,30 +2960,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", - "off", + "on", "", - "off", "", + "All", "off", "off", "", @@ -3969,18 +2995,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3994,6 +3021,704 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9264", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "DC_phaA", + "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:11881", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto35", + "label":"Goto35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task2a", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "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: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: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: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:9262", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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:10355", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task2b", + "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: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: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: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:8469", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F02_Diagnostics", + "label":"F02_Diagnostics", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 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:11488", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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: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: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: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:9263", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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:10065", "className":"Simulink.DataTypeConversion", @@ -4042,11 +3767,172 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10158", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9267", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From34", + "label":"From34", + "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:9260", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_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":"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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9270", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4055,7 +3941,7 @@ "IconDisplay" ], "values":[ - "r_fieldWeak", + "b_hallA", "local", "Tag" ], @@ -4075,87 +3961,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10156", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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: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:9288", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9281", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4164,7 +3974,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "b_hallB", "local", "Tag" ], @@ -4251,11 +4061,110 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9448", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11884", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Call_Scheduler", + "label":"Call_Scheduler", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9935", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"From19", + "label":"From19", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4263,7 +4172,7 @@ "IconDisplay" ], "values":[ - "VqFinPrev", + "z_dir", "Tag" ], "tabs":[ @@ -4282,31 +4191,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", + "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:8658", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F02_Diagnostics", - "label":"F02_Diagnostics", + "name":"F05_Field_Oriented_Control", + "label":"F05_Field_Oriented_Control", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4318,30 +4259,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", - "off", + "on", "", - "off", "", + "All", "off", "off", "", @@ -4353,18 +4294,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4445,37 +4387,6 @@ "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:8210", "className":"Simulink.DataTypeConversion", @@ -4523,170 +4434,6 @@ "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", - "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: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/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8205", "className":"Simulink.Inport", @@ -4755,102 +4502,101 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11348", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"a_mechAngle", - "label":"a_mechAngle", + "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":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" ], "values":[ - "10", - "Port number", - "[]", - "[]", - "Inherit: auto", + "FromPortIcon", + "ReadWrite", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", "", "on", "off", - "off", - "off" + "" ], "tabs":[ "Main", - "Signal Attributes", + "Code Generation", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 5, + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10188", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "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", + "blocktype":"SubSystem", "masktype":"" } }, @@ -4902,19 +4648,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10161", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9437", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", + "name":"Goto11", + "label":"Goto11", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbs", + "b_motStdStill", + "local", "Tag" ], "tabs":[ @@ -4928,74 +4676,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8204", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "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", + "blocktype":"Goto", "masktype":"" } }, @@ -5067,70 +4748,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10154", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9261", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "CTRL_COM", - "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:9285", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto24", - "label":"Goto24", + "name":"From29", + "label":"From29", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "DC_phaB", - "local", + "b_hallC", "Tag" ], "tabs":[ @@ -5144,41 +4774,65 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10139", - "className":"Simulink.If", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11348", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"If3", - "label":"If3", + "name":"a_mechAngle", + "label":"a_mechAngle", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "1", - "u1 ~= 0", - "", + "10", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 4 + 2, + 11 ] }, "viewer":{ @@ -5187,7 +4841,240 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Inport", + "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", + "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: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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8204", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "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":"" } }, @@ -5258,6 +5145,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8201", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "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":[ + "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:8208", "className":"Simulink.Inport", @@ -5325,300 +5279,10 @@ "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:8201", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "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":[ - "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:10157", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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":"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", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -5669,7 +5333,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9260#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -5720,7 +5384,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:5", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -5771,58 +5435,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9258#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:9291#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -5873,7 +5486,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9249#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -5924,7 +5537,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9265#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -5975,7 +5588,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9250#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6026,7 +5639,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9240#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6077,7 +5690,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8210#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6128,7 +5741,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9244#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6179,7 +5792,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9245#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6230,7 +5843,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9241#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6281,7 +5894,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9266#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6332,7 +5945,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6383,7 +5996,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8202#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6434,7 +6047,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6485,7 +6098,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:4", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6536,7 +6149,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:4", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6587,7 +6200,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:6", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6638,7 +6251,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9259#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6689,7 +6302,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6740,7 +6353,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6791,7 +6404,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8205#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6842,7 +6455,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:8", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6893,7 +6506,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8469#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6944,7 +6557,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8201#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -6995,7 +6608,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8206#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7046,7 +6659,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9253#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7097,7 +6710,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9264#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7148,7 +6761,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7199,7 +6812,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9252#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7250,7 +6863,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8204#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7301,7 +6914,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7352,7 +6965,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9298#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7403,7 +7016,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9261#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7454,7 +7067,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9418#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7505,7 +7118,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:7", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7556,7 +7169,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8209#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7607,7 +7220,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9198#out:4", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7658,7 +7271,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9448#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7709,7 +7322,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9720#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7760,7 +7373,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7811,7 +7424,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8658#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7862,7 +7475,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9930#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7913,7 +7526,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9931#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7964,7 +7577,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8220#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8015,58 +7628,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9935#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:11151#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8117,7 +7679,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8203#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8168,568 +7730,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10065#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:10155#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:10154#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:10064#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:10157#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:10164#out:3", - "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:10164#out:2", - "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:10164#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:9297#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:10191#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:10255#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:10257#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8780,7 +7781,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10356#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8831,7 +7832,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10355#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8882,58 +7883,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10066#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:10159#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8984,7 +7934,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10160#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9035,160 +7985,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10161#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:10139#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:10156#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:10259#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9239,7 +8036,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10692#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9290,7 +8087,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8207#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9341,7 +8138,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10749#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9392,7 +8189,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10751#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9443,7 +8240,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8208#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9494,7 +8291,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11019#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9545,7 +8342,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11302#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9596,7 +8393,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11304#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9647,7 +8444,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11303#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9698,7 +8495,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11306#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9749,7 +8546,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11305#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9800,7 +8597,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8469#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9851,7 +8648,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11151#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9900,9 +8697,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10258#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -9953,7 +8750,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11348#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10004,7 +8801,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11351#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10055,7 +8852,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9267#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10106,7 +8903,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9263#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10157,7 +8954,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9262#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10208,7 +9005,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11485#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10259,7 +9056,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11489#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10310,7 +9107,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11518#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10361,7 +9158,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11487#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -10412,7 +9209,721 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11700#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "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:10257#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:10259#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:10191#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11151#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11884#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11884#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11884#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11895#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11895#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11895#out:4", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11895#out:5", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11895#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12674#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12677#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", 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 index dc54aef..80a2051 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png 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/BLDCmotor_FOC_R2017b_fixdt_29_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg index 2ebbbf4..e3809ee 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg @@ -1,10 +1,10 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -70,7 +70,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -110,7 +110,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -126,7 +126,7 @@ - + @@ -134,7 +134,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -166,7 +166,7 @@ - + @@ -174,7 +174,7 @@ - + @@ -182,7 +182,7 @@ - + @@ -190,7 +190,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -206,7 +206,7 @@ - + @@ -214,7 +214,7 @@ - + @@ -222,7 +222,7 @@ - + @@ -230,7 +230,7 @@ - + @@ -238,7 +238,7 @@ - + @@ -246,7 +246,7 @@ - + @@ -254,7 +254,7 @@ - + @@ -262,7 +262,7 @@ - + @@ -270,7 +270,7 @@ - + @@ -278,7 +278,7 @@ - + @@ -293,7 +293,7 @@ - + @@ -301,7 +301,7 @@ - + @@ -309,7 +309,7 @@ - + @@ -317,7 +317,7 @@ - + @@ -325,7 +325,7 @@ - + @@ -340,7 +340,7 @@ - + @@ -348,7 +348,7 @@ - + @@ -356,7 +356,7 @@ - + @@ -364,7 +364,7 @@ - + @@ -372,7 +372,7 @@ - + @@ -387,7 +387,7 @@ - + @@ -395,7 +395,7 @@ - + @@ -403,7 +403,7 @@ - + @@ -411,7 +411,7 @@ - + @@ -419,7 +419,7 @@ - + @@ -440,35 +440,35 @@ - - + + - + - + Task1 : Diagnostics + Control_Manager - + - - Task2 - : Field Weakening + Limitations + + Task2 + : Field Weakening + Limitations - + - - Task3 - : PI Controllers in FOC + + Task3 + : PI Controllers in FOC @@ -483,7 +483,7 @@ - + @@ -496,11 +496,11 @@ - - + + - + @@ -510,30 +510,30 @@ - - 6 + + 7 - + - - + + - + - - a_elecAngle + + iq @@ -577,7 +577,7 @@ - + @@ -625,7 +625,7 @@ - + @@ -638,6 +638,54 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + DC_phaB + + + + + + + + @@ -650,11 +698,11 @@ - + - + 1 @@ -672,11 +720,11 @@ - - + + - + DC_phaA @@ -688,59 +736,59 @@ - - - + + + - - + + - - + + - - b_fieldWeakEna + + z_ctrlTypSel - - + + - - + + - - + + - - b_fieldWeakEna + + z_ctrlTypSel - - + + - - + + - - boolean + + uint8 @@ -761,11 +809,11 @@ - + - + b_cruiseCtrlEna @@ -783,11 +831,11 @@ - - + + - + b_cruiseCtrlEna @@ -798,11 +846,11 @@ - - + + - + boolean @@ -821,19 +869,19 @@ - + - + - + - + @@ -863,2849 +911,131 @@ - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - DC_phaC - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_mechAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallA] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - b_diagEna - - - - - - - - - - - - - - - - - - - - - - b_diagEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - DC_phaB - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaA] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallC] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallB] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [task1] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaA] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [task1] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - + + + - - + + - - + + - - + + - - b_enaAdvCtrl + + call1 - - + + - - z_ctrlTypSel + + call2 - - + + - - z_pos + + call3 - - + + - - V_phaABC_FOC + + task1a() - - + + - - Vq + + task1b() - - + + - - r_inpTgtSca + + task2a() - - + + - - a_elecAngle + + task2b() - - + + - - z_dir - - - - - - - - r_fieldWeak - - - - - - - - DC_phaA - - - - - - - - DC_phaB - - - - - - - - DC_phaC - - - - - - - - VqFinPrev - - - - - - - - - - - - - + + task3() - - - + + + - - + + - - + + - - F06_Control_Type_Management + + Task_Scheduler - + - - + + - - - - - - - - - - sfix16_En4 + + - + - - + + - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3717,8 +1047,14 @@ + + + + + + - + @@ -3726,35 +1062,35 @@ - + - + - + - + - + - + - + - + @@ -3780,11 +1116,11 @@ - - + + - + sfix16_En4 @@ -3796,91 +1132,75 @@ - - - + + + - - + + - + - - + + - - [DC_phaC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - + - - + + - + sfix16_En4 @@ -3892,1131 +1212,98 @@ - - - - - - + + + - - + + - - [b_hallA] + + MODEL INFO + + + + + + + + Version: 1.1296 + + + + + + + + Author: Emanuel Feru + + + + + + + + Last modified by: eferu + + + + + + + + Last update: 20-okt-2020 17:29:21 + + + + + + + + Copyright © 2019-2021 Emanuel FERU - - + + - - - - - - - - - - - - - - - + - - + + - - [b_motEna] + + - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - id - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - r_inpTgt - - - - - - - - n_motAbs - - - - - - - - r_fieldWeak - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F04_Field_Weakening - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - - - - - - - - - - - - - - - action + + + + + + + + + + + + + + + + + + @@ -5044,11 +1331,11 @@ - - + + - + Implemented_control_methods @@ -5074,317 +1361,571 @@ - - - + + + - - - - - - - - + + - - + + - - b_hallA - - - - - - - - b_hallB - - - - - - - - b_hallC - - - - - - - - a_mechAngle - - - - - - - - z_posRaw - - - - - - - - z_pos - - - - - - - - z_dir - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - a_elecAngle - - - - - - - - b_motStdStill - - - - - - - - b_enaAdvCtrl + + [b_hallC] - - - - - - - - + + - + + + + + + + + + + + + + + + - - - - - - - - - - - + + - - F01_Estimations + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task3] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task1b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task1a] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + - - + + - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -5396,49 +1937,478 @@ - - - - - - - - - + + + - - + + - - + + - - [r_fieldWeak] + + [VqFinPrev] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + - + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + DC_phaC + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -5448,6 +2418,153 @@ + + + + + + + + + + + + + + + + + + [task3] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task2a] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + @@ -5460,11 +2577,11 @@ - + - + [DC_phaB] @@ -5482,11 +2599,11 @@ - - + + - + int16 @@ -5498,175 +2615,1798 @@ - - - + + + - - - - - - - - + + - - + + - - b_errFlag + + [z_errCode] + + + + + + + + + + + + + + - - + + - - b_motEna + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [task1b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + - - + + - - b_cruiseCtrlEna + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaA] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallB] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [task1a] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + z_ctrlTypSel - - + + - - z_ctrlModReq + + z_pos - - + + - - r_inpTgt + + V_phaABC_FOC - - + + - - VqFinPrev + + Vq - - + + - - z_ctrlMod + + r_inpTgtSca - - + + - - r_inpTgtSca + + a_elecAngle - - + + - - if { } + + z_dir + + + + + + + + r_fieldWeak + + + + + + + + DC_phaA + + + + + + + + DC_phaB + + + + + + + + DC_phaC + + + + + + + + VqFinPrev - + - - + + - + - - + + - - + + - - F03_Control_Mode_Manager + + F06_Control_Type_Management - + - + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + - - + + - + sfix16_En4 - + + + + + + + + + + + + + + + + + + + + + - + + + + + + [DC_phaA] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2a] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallA] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaC] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + z_posRaw + + + + + + + + b_motStdStill + + + + + + + + VqFinPrev + + + + + + + + z_errCode + + + + + + + + b_errFlag + + + + + + + + function() + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + F02_Diagnostics + + + + + + + + + + + + - - + + - + uint8 @@ -5674,21 +4414,270 @@ - + - - + + - - + + - - action + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -5700,12 +4689,6 @@ - - - - - - @@ -5715,19 +4698,19 @@ - + - + - + - + @@ -5753,11 +4736,11 @@ - - + + - + sfix16_En4 @@ -5769,28 +4752,249 @@ - - - + + + - - + + - - + + - - [r_fieldWeak] + + [a_elecAngle] - + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + r_inpTgt + + + + + + + + n_motAbs + + + + + + + + r_fieldWeak + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F04_Field_Weakening + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallA] + + + + + + @@ -5802,140 +5006,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [a_mechAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [n_mot] + + [b_hallB] - + @@ -5957,11 +5049,11 @@ - + - + 9 @@ -5979,11 +5071,11 @@ - - + + - + i_DCLink @@ -5994,11 +5086,11 @@ - - + + - + int16 @@ -6010,44 +5102,141 @@ - - - + + + - - + + + + + + + + - - + + - - [VqFinPrev] + + call1 + + + + + + + + call2 + + + + + + + + call3 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Call_Scheduler - - + + + + + + + + - - + + - - sfix16_En4 + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean @@ -6058,173 +5247,400 @@ - - - - + - - - + + + - - + + + + + - - + + - + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtScaAbs + + + + + + + + r_inpTgtSca + + + + + + + + task2b + + + + + + + + task3 + + + + + + + + z_ctrlTypSel + + + + + + + b_motEna - - + + - - z_posRaw + + n_mot - - + + - - b_motStdStill + + n_motAbs - - + + - + + r_fieldWeak + + + + + + + + a_elecAngle + + + + + + + + i_phaAB + + + + + + + + i_phaBC + + + + + + + VqFinPrev - - + + - - z_errCode + + b_cruiseCtrlEna - - + + - - b_errFlag + + V_phaABC_FOC - - + + - - if { } + + Vq + + + + + + + + iq + + + + + + + + id - + - - + + - + - - + + - - + + - - F02_Diagnostics + + F05_Field_Oriented_Control - + - - + + - - + + - - action + + sfix16_En4 - + - - + + - - + + - - uint8 + + sfix16_En4 - + - - + + - - + + - - boolean + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6237,7 +5653,7 @@ - + @@ -6251,11 +5667,11 @@ - + - + 7 @@ -6273,11 +5689,11 @@ - - + + - + i_phaAB @@ -6288,11 +5704,11 @@ - - + + - + int16 @@ -6302,54 +5718,6 @@ - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -6362,19 +5730,19 @@ - + - + - + - + @@ -6400,11 +5768,11 @@ - - + + - + int16 @@ -6414,223 +5782,9 @@ - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - b_hallC - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - task1 - - - - - - - - task2 - - - - - - - - task3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Task_Scheduler - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - @@ -6640,11 +5794,11 @@ - + - + 5 @@ -6662,11 +5816,11 @@ - - + + - + b_hallB @@ -6677,11 +5831,11 @@ - - + + - + uint8 @@ -6693,92 +5847,318 @@ - - - + + + - - + + + + + + + + - - + + - - 10 + + b_hallA + + + + + + + + b_hallB + + + + + + + + b_hallC + + + + + + + + a_mechAngle + + + + + + + + z_posRaw + + + + + + + + z_pos + + + + + + + + z_dir + + + + + + + + n_mot + + + + + + + + n_motAbs + + + + + + + + a_elecAngle + + + + + + + + b_motStdStill + + + + + + + + b_enaAdvCtrl - - + + + + + + + + - - + + + + + + + + - - + + - - a_mechAngle + + F01_Estimations - + + + + + + + - - + + - + sfix16_En4 - - - - - - - - - - - - - - - + - - + + + + + + + + + + + - - [task1] + + int8 - - - + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean @@ -6790,6 +6170,12 @@ + + + + + + @@ -6799,19 +6185,19 @@ - + - + - + - + @@ -6837,11 +6223,11 @@ - - + + - + int16 @@ -6853,107 +6239,29 @@ - - - + + + - - + + - - + + - - [n_motAbs] + + [b_motStdStill] - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - b_hallA - - - - - - - - - - - - - - - uint8 + + @@ -6974,11 +6282,11 @@ - + - + 3 @@ -6996,11 +6304,11 @@ - - + + - + r_inpTgt @@ -7011,11 +6319,11 @@ - - + + - + int16 @@ -7027,43 +6335,43 @@ - - - + + + - - + + - - + + - - CTRL_COM + + [b_hallC] - - + + - + - - + + - + uint8 @@ -7075,29 +6383,59 @@ - - - + + + - - + + - - + + - - [DC_phaB] + + 10 - - + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + + + + + + + + sfix16_En4 @@ -7108,52 +6446,337 @@ - - - + + + - - + + - - + + - - u1 - - - - - - - - if(u1 ~= 0) + + 6 - - + + + + + + + + + + + + + + + + + b_hallC - - + + - - + + - - action + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + b_motEna + + + + + + + + b_cruiseCtrlEna + + + + + + + + z_ctrlTypSel + + + + + + + + z_ctrlModReq + + + + + + + + r_inpTgt + + + + + + + + VqFinPrev + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtScaAbs + + + + + + + + r_inpTgtSca + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F03_Control_Mode_Manager + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + b_hallA + + + + + + + + + + + + + + + uint8 @@ -7174,11 +6797,11 @@ - + - + 2 @@ -7196,11 +6819,11 @@ - - + + - + z_ctrlModReq @@ -7211,11 +6834,11 @@ - - + + - + uint8 @@ -7225,117 +6848,6 @@ - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - i_phaBC - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -7348,11 +6860,11 @@ - + - + 1 @@ -7370,11 +6882,11 @@ - - + + - + b_motEna @@ -7385,11 +6897,11 @@ - - + + - + boolean @@ -7401,124 +6913,59 @@ - - - + + + - - + + - + - - + + - - + + 8 - - - - - - - - - - - - - - + + - + + + + + + + + + + + i_phaBC + - - + + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean + + int16 @@ -7530,39 +6977,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -7572,11 +6991,11 @@ - + - + @@ -7611,28 +7030,14 @@ - - - - - - - - - - - - - - - + - + @@ -7656,11 +7061,11 @@ - + - + @@ -7698,11 +7103,11 @@ - + - + @@ -7712,11 +7117,11 @@ - + - + @@ -7754,11 +7159,11 @@ - + - + @@ -7782,11 +7187,11 @@ - + - + @@ -7810,11 +7215,11 @@ - + - + @@ -7852,11 +7257,11 @@ - + - + @@ -7866,11 +7271,11 @@ - + - + @@ -7892,34 +7297,34 @@ + + + + + + + - + - - - - - - - - + - + - + @@ -7970,11 +7375,11 @@ - + - + @@ -8124,11 +7529,11 @@ - + - + @@ -8152,11 +7557,11 @@ - + - + @@ -8166,11 +7571,11 @@ - + - + @@ -8180,11 +7585,11 @@ - + - + @@ -8194,11 +7599,11 @@ - + - + @@ -8208,11 +7613,11 @@ - + - + @@ -8236,51 +7641,17 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -8309,168 +7680,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + @@ -8480,11 +7697,11 @@ - + - - + + @@ -8494,25 +7711,11 @@ - + - - - - - - - - - - - - - - - + @@ -8522,11 +7725,11 @@ - + - + @@ -8536,53 +7739,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -8592,11 +7753,11 @@ - + - + @@ -8676,11 +7837,11 @@ - + - + @@ -8690,11 +7851,11 @@ - + - + @@ -8704,11 +7865,11 @@ - + - + @@ -8718,11 +7879,11 @@ - + - + @@ -8732,11 +7893,11 @@ - + - + @@ -8746,11 +7907,11 @@ - + - + @@ -8760,29 +7921,49 @@ - + - + - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8858,11 +8039,11 @@ - + - + @@ -8872,11 +8053,11 @@ - + - + @@ -8886,11 +8067,11 @@ - + - + @@ -8925,7 +8106,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 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 index ec317b5..bd65093 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png 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/BLDCmotor_FOC_R2017b_fixdt_8220_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json index 2b57d88..b111eba 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json @@ -291,21 +291,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -317,30 +318,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -352,18 +353,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -671,21 +673,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -697,30 +700,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -732,18 +735,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -931,21 +935,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -957,30 +962,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -992,18 +997,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1028,21 +1034,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1054,30 +1061,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -1089,18 +1096,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1351,86 +1359,6 @@ "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:8467", "className":"Simulink.Outport", @@ -1958,39 +1886,6 @@ "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:11353", "className":"Simulink.Goto", @@ -2024,6 +1919,759 @@ "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: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: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: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: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: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: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: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: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: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: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: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: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: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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "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: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: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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8468", "className":"Simulink.Outport", @@ -2104,163 +2752,6 @@ "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: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: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: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: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:8436", "className":"Simulink.From", @@ -2292,582 +2783,6 @@ "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: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: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: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: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: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: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: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: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: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: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: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:8431", "className":"Simulink.From", @@ -2966,10 +2881,107 @@ "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: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: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:8462#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3020,7 +3032,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8440#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3071,7 +3083,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8439#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3122,7 +3134,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8442#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3173,7 +3185,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8225#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3224,7 +3236,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8247#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3275,7 +3287,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8443#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3326,7 +3338,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8444#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3377,7 +3389,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8221#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3428,7 +3440,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8222#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3479,7 +3491,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8223#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3530,7 +3542,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8441#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3581,7 +3593,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8438#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3632,7 +3644,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8433#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3683,7 +3695,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8235#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3734,7 +3746,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8425#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3785,7 +3797,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3836,7 +3848,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8445#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3887,7 +3899,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8426#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3938,7 +3950,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8428#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -3989,7 +4001,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4040,7 +4052,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:4", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4091,7 +4103,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8247#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4142,7 +4154,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8430#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4193,7 +4205,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8431#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4244,7 +4256,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8434#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4295,7 +4307,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8435#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4346,7 +4358,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8436#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4397,7 +4409,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8437#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4448,7 +4460,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:6", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4499,7 +4511,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8432#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4550,7 +4562,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8427#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4601,7 +4613,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4652,7 +4664,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8429#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4703,7 +4715,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8235#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4754,7 +4766,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8446#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4805,7 +4817,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9431#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4856,7 +4868,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8263#out:5", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4907,7 +4919,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9932#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -4958,7 +4970,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11352#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5009,7 +5021,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11413#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5060,7 +5072,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11414#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5111,7 +5123,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11355#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5162,7 +5174,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11355#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5213,7 +5225,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8384#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5264,7 +5276,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11402#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", @@ -5315,7 +5327,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11357#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", 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 index 93b9a19..b332c34 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg index 980c8e7..ffcdf41 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg @@ -252,7 +252,7 @@ - + @@ -771,7 +771,7 @@ - + @@ -860,16 +860,16 @@ - - + + - + - - action + + int8 @@ -881,16 +881,16 @@ - - + + - + - - int8 + + action @@ -902,15 +902,15 @@ - + - + - + int8 @@ -1110,7 +1110,7 @@ - + @@ -1239,16 +1239,16 @@ - - + + - + - - sfix16_En4 + + int16 @@ -1260,16 +1260,16 @@ - - + + - + - - sfix16_En4 + + boolean @@ -1281,16 +1281,16 @@ - - + + - + - - int16 + + boolean @@ -1302,15 +1302,15 @@ - + - + - + int16 @@ -1323,16 +1323,16 @@ - - + + - + - - boolean + + sfix16_En4 @@ -1344,16 +1344,16 @@ - - + + - + - - boolean + + sfix16_En4 @@ -1372,7 +1372,7 @@ - + @@ -1787,54 +1787,6 @@ - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - @@ -1847,11 +1799,11 @@ - + - + 6 @@ -1869,11 +1821,11 @@ - + - + a_elecAngle @@ -1895,11 +1847,11 @@ - + - + 5 @@ -1917,11 +1869,11 @@ - + - + n_motAbs @@ -1943,11 +1895,11 @@ - + - + 3 @@ -1965,11 +1917,11 @@ - + - + z_dir @@ -1991,11 +1943,11 @@ - + - + 1 @@ -2013,11 +1965,11 @@ - + - + z_posRaw @@ -2039,11 +1991,11 @@ - + - + b_angleMeasEna @@ -2061,11 +2013,11 @@ - + - + b_angleMeasEna @@ -2076,11 +2028,11 @@ - + - + boolean @@ -2094,7 +2046,7 @@ - + @@ -2102,19 +2054,19 @@ - + - + - + - + @@ -2140,11 +2092,11 @@ - + - + sfix16_En6 @@ -2166,19 +2118,19 @@ - + - + u1 - + - + if(u1 ~= 0) @@ -2196,11 +2148,11 @@ - + - + action @@ -2222,27 +2174,27 @@ - + - + u1 - + - + if(u1 == 0) - + - + else @@ -2260,11 +2212,11 @@ - + - + action @@ -2275,11 +2227,11 @@ - + - + action @@ -2301,11 +2253,11 @@ - + - + [z_posRaw] @@ -2322,39 +2274,6 @@ - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - @@ -2367,11 +2286,11 @@ - + - + [a_mechAngle] @@ -2388,54 +2307,6 @@ - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - @@ -2448,11 +2319,11 @@ - + - + [b_motStdStill] @@ -2469,973 +2340,6 @@ - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a_mechAngle - - - - - - - - a_elecAngle - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_06_Electrical_Angle_Measurement - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_pos - - - - - - - - z_dir - - - - - - - - z_counter - - - - - - - - z_counterRaw - - - - - - - - b_enaAdvCtrl - - - - - - - - a_elecAngle - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_05_Electrical_Angle_Estimation - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_mechAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - @@ -3448,11 +2352,11 @@ - + - + [b_enaAdvCtrl] @@ -3469,6 +2373,408 @@ + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -3481,11 +2787,11 @@ - + - + [z_dirPrev] @@ -3502,6 +2808,586 @@ + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_pos + + + + + + + + z_dir + + + + + + + + z_counter + + + + + + + + z_counterRaw + + + + + + + + b_enaAdvCtrl + + + + + + + + a_elecAngle + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_05_Electrical_Angle_Estimation + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + a_elecAngle + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_06_Electrical_Angle_Measurement + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + @@ -3514,11 +3400,11 @@ - + - + [z_pos] @@ -3536,11 +3422,11 @@ - + - + int8 @@ -3562,11 +3448,11 @@ - + - + 4 @@ -3584,11 +3470,11 @@ - + - + a_mechAngle @@ -3599,11 +3485,11 @@ - + - + sfix16_En4 @@ -3613,6 +3499,120 @@ + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + @@ -4273,5 +4273,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json index 5e45f4e..2dc4a48 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json @@ -331,11 +331,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8231", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8233", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", + "name":"UnitDelay3", + "label":"UnitDelay3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ @@ -381,11 +381,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8233", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8231", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", + "name":"UnitDelay1", + "label":"UnitDelay1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ @@ -440,18 +440,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "XOR", - "6", "rectangular", "off", "boolean", + "6", "-1" ], "tabs":[ @@ -461,8 +461,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -478,7 +478,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8226#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", @@ -529,7 +529,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8228#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", @@ -580,7 +580,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8227#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", @@ -631,7 +631,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8232#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", @@ -682,7 +682,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8233#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", @@ -733,7 +733,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8231#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", @@ -784,7 +784,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9634#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg index 6af3781..198cd4e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg @@ -309,126 +309,31 @@
- - - - - - - - - - - Ini=0 - - - - - + - - uint8 - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + uint8 - + - - + + - + Ini=0 @@ -450,35 +355,35 @@ - + - + - + - + - + - + - + - + @@ -499,31 +404,126 @@ + + + + + + + + + + + uint8 + + + + - + - + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 - + - + - + uint8 @@ -537,7 +537,7 @@ - + @@ -567,21 +567,6 @@ - - - - - - - - - - - boolean - - - - @@ -593,6 +578,21 @@ + + + + + + + + + + + boolean + + + + @@ -757,5 +757,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json index 15f5a91..b74cb2b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json @@ -691,7 +691,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8238#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -742,7 +742,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8241#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -793,7 +793,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8242#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -844,7 +844,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8240#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -895,7 +895,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8236#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -946,7 +946,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8237#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -997,7 +997,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8243#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", @@ -1048,7 +1048,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8239#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8235", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg index 1746b20..784802f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg @@ -768,5 +768,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json index 29605f2..0304eb7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json @@ -215,18 +215,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "OR", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -236,8 +236,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -723,37 +723,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8249", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", - "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:8259", "className":"Simulink.UnitDelay", @@ -804,10 +773,41 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8249", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", + "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:8259#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -858,7 +858,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8255#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -909,7 +909,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8253#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -960,7 +960,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8257#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1011,7 +1011,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8256#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1062,7 +1062,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8250#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1113,7 +1113,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8252#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1164,7 +1164,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8251#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1215,7 +1215,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8254#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1266,7 +1266,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8248#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1317,7 +1317,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8258#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", @@ -1368,7 +1368,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8260#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8247", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg index e5b468f..be635db 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg @@ -220,21 +220,6 @@ - - - - - - - - - - - boolean - - - - @@ -246,6 +231,21 @@ + + + + + + + + + + + boolean + + + + @@ -887,80 +887,32 @@ - - - - - - - - - - - int8 - - - - - + - + Ini=0 - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - + + + - - + + - - Action Port + + int8 @@ -981,35 +933,35 @@ - + - + - + - + - + - + - + - + @@ -1035,11 +987,11 @@ - + - + int8 @@ -1049,6 +1001,54 @@ + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + @@ -1279,5 +1279,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json index 54c69d7..80adb61 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json @@ -734,11 +734,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8379", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8378", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_enaAdvCtrl", - "label":"b_enaAdvCtrl", + "name":"z_counterRaw", + "label":"z_counterRaw", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -767,7 +767,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "4", "Port number", "[]", "[]", @@ -780,9 +780,9 @@ "auto", "off", "off", - "[]", + "0", "off", - "held", + "reset", "off", "0", "", @@ -814,11 +814,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9430", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8377", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", + "name":"z_counter", + "label":"z_counter", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -847,7 +847,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "3", "Port number", "[]", "[]", @@ -942,6 +942,159 @@ "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:8371", "className":"Simulink.UnitDelay", @@ -992,56 +1145,6 @@ "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:9428", "className":"Simulink.RelationalOperator", @@ -1087,537 +1190,6 @@ "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:8312", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "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: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: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: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: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: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: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: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: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: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: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: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:8376", "className":"Simulink.Outport", @@ -1699,42 +1271,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8373", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8366", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"z_maxCntRst", - "label":"z_maxCntRst", + "name":"Relational Operator2", + "label":"Relational Operator2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "FramePeriod" + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "z_maxCntRst", - "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":{ @@ -1743,7 +1311,71 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"RelationalOperator", + "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: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":"" } }, @@ -1781,11 +1413,203 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8289", + "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: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: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: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: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:9425", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1793,7 +1617,7 @@ "IconDisplay" ], "values":[ - "b_edge", + "n_motAbs", "Tag" ], "tabs":[ @@ -1812,43 +1636,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9429", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8292", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"n_stdStillDet", - "label":"n_stdStillDet", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "n_stdStillDet", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "n_motAbs", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1856,7 +1662,106 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", + "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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", "masktype":"" } }, @@ -1892,11 +1797,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8284", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8289", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", + "name":"From31", + "label":"From31", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1904,7 +1809,7 @@ "IconDisplay" ], "values":[ - "b_enaAdvCtrl", + "b_edge", "Tag" ], "tabs":[ @@ -1985,11 +1890,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8282", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8281", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"From18", + "label":"From18", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1997,309 +1902,7 @@ "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: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:8378", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_counterRaw", - "label":"z_counterRaw", - "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":[ - "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: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: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:8377", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_counter", - "label":"z_counter", - "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":[ - "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:8285", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dirPrev", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -2349,11 +1952,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8281", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8282", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", + "name":"From19", + "label":"From19", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2361,7 +1964,7 @@ "IconDisplay" ], "values":[ - "b_enaAdvCtrl", + "z_dir", "Tag" ], "tabs":[ @@ -2379,6 +1982,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9430", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "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":[ + "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:8280", "className":"Simulink.From", @@ -2410,6 +2093,158 @@ "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: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: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: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", @@ -2442,11 +2277,77 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9426", + "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: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:8276", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"From12", + "label":"From12", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2454,7 +2355,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "z_counter", "Tag" ], "tabs":[ @@ -2473,21 +2374,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8299", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8294", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"From8", + "label":"From8", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbs", - "local", + "dz_trnsDet", "Tag" ], "tabs":[ @@ -2501,7 +2400,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "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":"" } }, @@ -2537,22 +2467,20 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9427", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8312", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Mux2", + "label":"Mux2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "b_motStdStill", - "local", - "Tag" + "2", + "bar" ], "tabs":[ "Parameter Attributes" @@ -2565,37 +2493,68 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8270", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8379", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Constant4", - "label":"Constant4", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "0", - "on", - "inf", + "6", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -2604,8 +2563,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -2614,118 +2573,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "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: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: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", + "blocktype":"Outport", "masktype":"" } }, @@ -2799,7 +2647,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Counter", "label":"Counter", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -2825,92 +2673,6 @@ "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: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:8291", "className":"Simulink.From", @@ -2942,6 +2704,246 @@ "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: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: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: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: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: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:8309", "className":"Simulink.Logic", @@ -2952,18 +2954,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "NOT", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -2973,8 +2975,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -2997,18 +2999,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "OR", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -3018,8 +3020,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -3042,18 +3044,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -3063,8 +3065,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -3080,7 +3082,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8293#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3131,7 +3133,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8312#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3182,7 +3184,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8290#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3233,7 +3235,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8311#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3284,7 +3286,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8273#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3335,7 +3337,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8275#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3386,7 +3388,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8265#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3437,7 +3439,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8274#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3488,7 +3490,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8266#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3539,7 +3541,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8276#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3590,7 +3592,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8291#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3641,7 +3643,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8370#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3692,7 +3694,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8267#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3743,7 +3745,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8282#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3794,7 +3796,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8268#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3845,7 +3847,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8314#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3896,7 +3898,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8285#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3947,7 +3949,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8308#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -3998,7 +4000,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8280#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4049,7 +4051,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8281#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4100,7 +4102,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8277#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4151,7 +4153,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8373#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4202,7 +4204,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8270#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4253,7 +4255,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8314#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4304,7 +4306,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8369#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4355,7 +4357,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8313#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4406,7 +4408,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8284#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4457,7 +4459,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8279#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4508,7 +4510,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8289#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4559,7 +4561,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8366#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4610,7 +4612,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8371#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4661,7 +4663,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8283#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4712,7 +4714,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8292#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4763,7 +4765,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8286#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4814,7 +4816,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8314#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4865,7 +4867,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8294#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4916,7 +4918,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8374#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -4967,7 +4969,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8278#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5018,7 +5020,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8271#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5069,7 +5071,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5120,7 +5122,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9426#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5171,7 +5173,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9425#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5222,7 +5224,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9429#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5273,7 +5275,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9428#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5324,7 +5326,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9477#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5375,7 +5377,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8372#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5426,7 +5428,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8309#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5477,7 +5479,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11462#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5528,7 +5530,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8310#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -5579,7 +5581,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11461#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", 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 index f800492..94135cb 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg index 50b1f41..e2795b2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg @@ -115,7 +115,7 @@ - + @@ -708,11 +708,11 @@ - - + + - + @@ -722,30 +722,30 @@ - - 6 + + 4 - + - - + + - + - - b_enaAdvCtrl + + z_counterRaw @@ -756,11 +756,11 @@ - - + + - + @@ -770,30 +770,30 @@ - - 5 + + 3 - + - - + + - + - - b_motStdStill + + z_counter @@ -850,6 +850,243 @@ + + + + + + + + + + + + + + + + + + n_stdStillDet + + + + + + + + + + + + + + + + + + + + + + n_stdStillDet + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n_commDeacv + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + b_angleMeasEna + + + + + + + + + + + + + + + + + + + + + + b_angleMeasEna + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -862,35 +1099,35 @@ - + - + - + - + - + - + - + - + @@ -916,11 +1153,11 @@ - + - + Ini=0 @@ -931,11 +1168,11 @@ - + - + sfix16_En4 @@ -945,106 +1182,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - Ini=z_maxCntRst - - - - - - - - - + @@ -1052,19 +1194,19 @@ - + - + - + - + @@ -1090,11 +1232,11 @@ - + - + boolean @@ -1104,11 +1246,583 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + Ini=z_maxCntRst + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + - + @@ -1122,67 +1836,67 @@ - + - + z_dir - + - + z_dirPrev - + - + z_counterRawPrev - + - + n_motAbsPrev - + - + z_counter - + - + dz_trnsDet - + - + n_motRaw - + - + if { } @@ -1212,11 +1926,11 @@ - + - + Raw_Motor_Speed_Estimation @@ -1229,16 +1943,16 @@ - - + + - - + + - - boolean + + sfix16_En4 @@ -1254,11 +1968,11 @@ - + - + action @@ -1271,16 +1985,16 @@ - - + + - - + + - - sfix16_En4 + + boolean @@ -1296,11 +2010,11 @@ - + - + int16 @@ -1312,49 +2026,49 @@ - + - - + + - - + + - - + + - - + + [n_motAbs] - - + + - + - - + + - + sfix16_En4 @@ -1366,43 +2080,43 @@ - - - + + + - - + + - - + + - - + + [b_edge] - - + + - + - - + + - + boolean @@ -1414,52 +2128,332 @@ - - - + + + - - + + - - + + - - u1 - - - - - - - - if(u1 ~= 0) + + [n_motRaw] - - + + - - + + - - + + - - action + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbsPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRawPrev] + + + + + + + + + + + + + + + + + + + + + + int16 @@ -1472,7 +2466,7 @@ - + @@ -1480,155 +2474,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -1646,11 +2640,11 @@ - + - + sfix16_En4 @@ -1660,6 +2654,183 @@ + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_edge] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + @@ -1672,11 +2843,11 @@ - + - + [n_motAbsPrev] @@ -1705,11 +2876,11 @@ - + - + [b_enaAdvCtrl] @@ -1728,29 +2899,649 @@ - - - + + + - - + + - - + + - - [n_motRaw] + + [z_counter] - - + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dirPrev + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Counter + + + + + + + + + + + + + + + Ini=z_maxCntRst + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 @@ -1771,11 +3562,11 @@ - + - + [z_counter] @@ -1792,39 +3583,6 @@ - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - @@ -1837,11 +3595,11 @@ - + - + [n_motRaw] @@ -1859,11 +3617,11 @@ - + - + sfix16_En4 @@ -1873,1255 +3631,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - - - - - - - - - - - - z_maxCntRst - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_edge] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - n_stdStillDet - - - - - - - - - - - - - - - - - - - - - - n_stdStillDet - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbsPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - z_counterRaw - - - - - - - - - - - - - - - - - - - - - - - - - - b_angleMeasEna - - - - - - - - - - - - - - - - - - - - - - b_angleMeasEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_counter - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - @@ -3134,11 +3643,11 @@ - + - + 0 @@ -3156,11 +3665,11 @@ - + - + sfix16_En4 @@ -3170,59 +3679,11 @@ - - - - - - - - - - - - - - - - - - [b_edge] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -3230,35 +3691,35 @@ - + - + - + - + - + - + - + - + @@ -3284,11 +3745,11 @@ - + - + sfix16_En4 @@ -3300,91 +3761,43 @@ - - - + + + - - + + - - + + - - [n_mot] + + [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_dirPrev + + - + - - + + - + int8 @@ -3396,456 +3809,43 @@ - - - + + + - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - Ini=z_maxCntRst - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - n_commDeacv - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - + + - + - - [z_counterRaw] + + z_maxCntRst - - + + - + - + - + int16 @@ -3889,21 +3889,6 @@ - - - - - - - - - - - boolean - - - - @@ -3915,6 +3900,21 @@ + + + + + + + + + + + boolean + + + + @@ -3923,7 +3923,7 @@ - + @@ -3987,7 +3987,7 @@ - + @@ -4809,5 +4809,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_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 index 03c31f7..690c503 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_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 @@ -372,7 +372,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1576#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", @@ -423,7 +423,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1575#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", @@ -474,7 +474,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:2510#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", @@ -525,7 +525,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1574#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", @@ -576,7 +576,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515:1577#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_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 index 174d938..ba13ae8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_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 @@ -15,7 +15,7 @@ - + @@ -486,36 +486,36 @@ - - - - - - - - - - - int16 - - - - - + - + Ini=initVal + + + + + + + + + + + int16 + + + + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json index 58b4686..7c5ddff 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json @@ -191,6 +191,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"max", + "label":"max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", + "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:8272:2414", "className":"Simulink.Inport", @@ -261,7 +328,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"rst_Delay", "label":"rst_Delay", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -287,73 +354,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"max", - "label":"max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", - "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:8272:2412", "className":"Simulink.Inport", @@ -424,7 +424,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -475,7 +475,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2415#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -526,7 +526,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -577,7 +577,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2416#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -628,7 +628,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2414#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -679,7 +679,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2412#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg index bb3f0d9..1496572 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg @@ -195,6 +195,69 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + max + + + + + + + + + + + + + + + int16 + + + + + + + + @@ -207,11 +270,11 @@ - + - + 3 @@ -229,11 +292,11 @@ - + - + rst @@ -244,11 +307,11 @@ - + - + boolean @@ -270,51 +333,51 @@ - + - + u - + - + rst - + - + y - + - + 1 - + - + z - + - + @@ -332,11 +395,11 @@ - + - + Ini=z_cntInit @@ -347,11 +410,11 @@ - + - + int16 @@ -359,29 +422,29 @@ - + - + - + - + - + - + @@ -393,69 +456,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - max - - - - - - - - - - - - - - - int16 - - - - - - - - @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json index 654fb4f..4952f8f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json @@ -405,107 +405,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8357", - "className":"Simulink.Gain", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8354", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"g_Ha", - "label":"g_Ha", + "name":"UnitDelay5", + "label":"UnitDelay5", "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:8356", - "className":"Simulink.Relay", - "icon":"WebViewIcon3", - "name":"dz_cntTrnsDet", - "label":"dz_cntTrnsDet", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", + "InitialCondition", "InputProcessing", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", "SampleTime", - "ZeroCross" + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "dz_cntTrnsDetHi", - "dz_cntTrnsDetLo", - "1", "0", - "Elements as channels (sample based)", - "[]", - "[]", - "boolean", - "off", + "Inherited", "-1", - "on" + "", + "", + "off", + [ + ], + "Auto" ], "tabs":[ "Main", - "Signal Attributes", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 5, - 9 + 3, + 4 ] }, "viewer":{ @@ -514,7 +450,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Relay", + "blocktype":"UnitDelay", "masktype":"" } }, @@ -568,11 +504,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8354", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8353", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay5", - "label":"UnitDelay5", + "name":"UnitDelay4", + "label":"UnitDelay4", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -668,40 +604,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8349", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8359", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", + "name":"dz_trnsDet", + "label":"dz_trnsDet", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "on", + "2", + "Port number", "[]", "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", - "off", + "Inherit: auto", "off", + "inherit", "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -710,8 +669,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -720,66 +679,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "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:8348", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8349", "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"Switch3", + "label":"Switch3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -949,84 +858,6 @@ "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: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:8341", "className":"Simulink.Goto", @@ -1060,6 +891,39 @@ "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:8339", "className":"Simulink.Goto", @@ -1093,6 +957,39 @@ "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:8347", "className":"Simulink.Switch", @@ -1150,39 +1047,6 @@ "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:8336", "className":"Simulink.Goto", @@ -1217,11 +1081,239 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8335", + "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:8334", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "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: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: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: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: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:8328", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1248,43 +1340,83 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8352", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8338", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "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:8324", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide14", + "label":"Divide14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", "off", - [ - ], - "Auto" + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 4 + 2, + 9 ] }, "viewer":{ @@ -1293,16 +1425,208 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8331", + "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: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: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: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:8326", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1310,7 +1634,7 @@ "IconDisplay" ], "values":[ - "cf_speedCoef", + "z_counterRawPrev", "Tag" ], "tabs":[ @@ -1390,378 +1714,6 @@ "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: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: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: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: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: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:8324", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide14", - "label":"Divide14", - "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: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: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:8318", "className":"Simulink.Inport", @@ -1830,11 +1782,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8333", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8325", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1842,7 +1794,7 @@ "IconDisplay" ], "values":[ - "n_motAbsPrev", + "cf_speedCoef", "Tag" ], "tabs":[ @@ -1860,86 +1812,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8359", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"dz_trnsDet", - "label":"dz_trnsDet", - "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":[ - "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:8317", "className":"Simulink.Inport", @@ -2008,20 +1880,22 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8319", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8342", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "cf_speedCoef", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -2034,7 +1908,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, @@ -2106,25 +1980,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8334", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8352", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"UnitDelay3", + "label":"UnitDelay3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "dz_trnsDet", - "Tag" + "0", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" ], "tabs":[ - "Parameter Attributes" + "Main", + "State Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2132,16 +2025,73 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8328", + "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:8335", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -2214,63 +2164,6 @@ "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:8315", "className":"Simulink.Inport", @@ -2338,6 +2231,113 @@ "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: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:8329", "className":"Simulink.From", @@ -2379,18 +2379,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -2400,8 +2400,8 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 ] }, "viewer":{ @@ -2417,7 +2417,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8315#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2468,7 +2468,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8316#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2519,7 +2519,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8317#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2570,7 +2570,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8330#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2621,7 +2621,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8352#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2672,7 +2672,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8354#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2723,7 +2723,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8327#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2774,7 +2774,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8325#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2825,7 +2825,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8345#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2876,7 +2876,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8357#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2927,7 +2927,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8328#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -2978,7 +2978,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8331#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3029,7 +3029,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8353#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3080,7 +3080,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8335#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3131,7 +3131,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8320#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3182,7 +3182,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8355#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3233,7 +3233,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8351#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3284,7 +3284,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8332#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3335,7 +3335,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8329#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3386,7 +3386,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8350#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3437,7 +3437,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8344#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3488,7 +3488,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8343#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3539,7 +3539,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8348#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3590,7 +3590,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8321#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3641,7 +3641,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8349#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3692,7 +3692,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8318#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3743,7 +3743,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8333#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3794,7 +3794,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8326#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3845,7 +3845,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8356#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3896,7 +3896,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8323#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3947,7 +3947,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8322#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -3998,7 +3998,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8324#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -4049,7 +4049,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8334#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -4100,7 +4100,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8347#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", @@ -4151,7 +4151,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8346#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg index df18a25..14ffec6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg @@ -314,233 +314,11 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dz_cntTrnsDet - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - cf_speedCoef - - - - - - - - - - - - - - - - - - - - - - cf_speedCoef - - - - - - - - - - - - - - - uint16 - - - - - - - - - + @@ -548,35 +326,35 @@ - + - + - + - + - + - + - + - + @@ -602,11 +380,11 @@ - + - + int16 @@ -617,11 +395,169 @@ - + - + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_speedCoef + + + + + + + + + + + + + + + + + + + + + + cf_speedCoef + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + Ini=0 @@ -643,20 +579,28 @@ - + - + + + + + + + + + - + @@ -664,14 +608,6 @@ - - - - - - - - @@ -692,6 +628,21 @@ + + + + + + + + + + + Ini=0 + + + + @@ -707,17 +658,50 @@ + + + + + + + + + + + + + + - - - - - + + - - Ini=0 + + 2 + + + + + + + + + + + + + + + + + + + + + + dz_trnsDet @@ -730,36 +714,20 @@ - + - - - - - - - - - - - - - - - - - + @@ -767,7 +735,7 @@ - + @@ -775,7 +743,7 @@ - + @@ -783,7 +751,7 @@ - + @@ -791,7 +759,7 @@ - + @@ -799,7 +767,7 @@ - + @@ -807,7 +775,7 @@ - + @@ -815,7 +783,7 @@ - + @@ -823,7 +791,7 @@ - + @@ -831,7 +799,7 @@ - + @@ -839,7 +807,7 @@ - + @@ -847,7 +815,7 @@ - + @@ -855,7 +823,7 @@ - + @@ -863,7 +831,7 @@ - + @@ -871,22 +839,38 @@ - + - + - - T + + + + + + + + + + + + + + + T + + + - + F @@ -899,340 +883,37 @@ - - - - - - - - - - - threshold=0 - Criteria : u2 ~= 0 - - - - - + - + sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - + - - + + - + threshold=0 Criteria : u2 ~= 0 - - - - - - - - - - - sfix16_En4 - - - - @@ -1249,27 +930,27 @@ - + - + - + - + - + - + @@ -1287,11 +968,11 @@ - + - + int16 @@ -1313,67 +994,67 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1391,11 +1072,11 @@ - + - + int16 @@ -1405,11 +1086,384 @@ + + + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRawPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbsPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + - + @@ -1417,19 +1471,19 @@ - + - + - + - + @@ -1455,11 +1509,11 @@ - + - + boolean @@ -1471,62 +1525,44 @@ - - - + + + - - + + - - + + - - [cf_speedCoef] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + [dz_trnsDet] - - + + + + + + + + + + + + + + + + + boolean @@ -1537,990 +1573,43 @@ - - - + + + - - + + - - + + - + [n_motAbsPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - threshold=0 - Criteria : u2 ~= 0 + + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - - - - - - - - - - - - [cf_speedCoef] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [cf_speedCoef] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -2542,11 +1631,11 @@ - + - + [z_dir] @@ -2564,11 +1653,11 @@ - + - + int8 @@ -2580,92 +1669,44 @@ - - - + + + - - + + - - + + - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + 4 - - - - - - - - - - - - - - - - - n_motAbsPrev + + - - + + - - + + - - sfix16_En4 + + uint16 @@ -2676,314 +1717,44 @@ - - + + - + - + - - [n_motAbsPrev] + + [cf_speedCoef] - + - - + + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - dz_trnsDet - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_counterRawPrev - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_dirPrev - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - - - - - - - - - - - - - - - - - boolean + + uint16 @@ -3004,11 +1775,11 @@ - + - + [z_counter] @@ -3026,11 +1797,1010 @@ - + - + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dz_cntTrnsDet + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRawPrev] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbsPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [cf_speedCoef] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_counterRawPrev + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [cf_speedCoef] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_dirPrev + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + int16 @@ -3052,35 +2822,35 @@ - + - + - + - + - + - + - + - + @@ -3106,11 +2876,11 @@ - + - + int16 @@ -3120,79 +2890,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -3205,11 +2902,11 @@ - + - + 1 @@ -3227,11 +2924,11 @@ - + - + z_dir @@ -3242,11 +2939,11 @@ - + - + int8 @@ -3256,6 +2953,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -3308,7 +3308,7 @@ - + @@ -4020,5 +4020,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json index 4f56885..aa3b806 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json @@ -1079,63 +1079,6 @@ "masktype":"" } }, - { - "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", @@ -1281,6 +1224,134 @@ "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: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: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: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:9660", "className":"Simulink.MinMax", @@ -1334,165 +1405,6 @@ "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: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: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: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:8398", "className":"Simulink.From", @@ -1524,213 +1436,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8396", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "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: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:8392", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,14)", - "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: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: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:8397", "className":"Simulink.From", @@ -1762,186 +1467,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8389", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_enaAdvCtrl", - "label":"b_enaAdvCtrl", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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: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: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: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:8394", "className":"Simulink.Product", @@ -1999,10 +1524,485 @@ "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: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: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: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:8392", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,14)", + "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: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":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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: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: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:8396", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "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: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:8385#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2053,7 +2053,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8386#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2104,7 +2104,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8399#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2155,7 +2155,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8396#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2206,7 +2206,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8388#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2257,7 +2257,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8387#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2308,7 +2308,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8401#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2359,7 +2359,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8391#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2410,7 +2410,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8414#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2461,7 +2461,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8390#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2512,7 +2512,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8402#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2563,7 +2563,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8416#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2614,7 +2614,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8389#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2665,7 +2665,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8400#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2716,7 +2716,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8420#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2767,7 +2767,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8397#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2818,7 +2818,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8417#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2869,7 +2869,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8394#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2920,7 +2920,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8393#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -2971,7 +2971,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8398#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3022,7 +3022,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8419#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3073,7 +3073,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8395#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3124,7 +3124,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8392#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3175,7 +3175,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8405#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3226,7 +3226,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9660#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3277,7 +3277,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8404#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3328,7 +3328,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8403#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3379,7 +3379,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8418#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3430,7 +3430,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9665#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3481,7 +3481,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9664#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", @@ -3532,7 +3532,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11415#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", 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 index 20d5330..0e2c51f 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg index ef597e3..7fbb589 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg @@ -296,7 +296,7 @@ - + @@ -585,7 +585,7 @@ - + @@ -705,7 +705,7 @@ - + @@ -1238,198 +1238,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En12 - - - - - - - - @@ -1442,35 +1250,35 @@ - + - + - + - + - + - + - + - + @@ -1488,11 +1296,11 @@ - + - + sfix16_En12 @@ -1514,131 +1322,131 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1664,11 +1472,11 @@ - + - + sfix16_En6 @@ -1690,19 +1498,19 @@ - + - + - + - + @@ -1728,11 +1536,11 @@ - + - + sfix16_En12 @@ -1742,11 +1550,173 @@ + + + + + + + + + + + + + + + + + + [z_posHighRes] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + - + @@ -1754,19 +1724,19 @@ - + - + - + - + @@ -1792,11 +1762,11 @@ - + - + int16 @@ -1806,216 +1776,6 @@ - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posHighRes] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - @@ -2028,11 +1788,11 @@ - + - + [z_posLowRes] @@ -2050,11 +1810,11 @@ - + - + int8 @@ -2064,279 +1824,6 @@ - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posHighRes] - - - - - - - - - - - - - - - - - - - - - - sfix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -2349,11 +1836,11 @@ - + - + [b_enaAdvCtrl] @@ -2371,11 +1858,11 @@ - + - + boolean @@ -2387,139 +1874,347 @@ - - - + + + - - + + - - + + - - 5 + + + + + + + + + + - - - - - - - - - - - - - - - - - b_enaAdvCtrl + + - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posLowRes] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - + - - + + - + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + sfix16_En12 @@ -2541,11 +2236,11 @@ - + - + [z_counter] @@ -2563,11 +2258,11 @@ - + - + int16 @@ -2579,52 +2274,357 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + - - + + - + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posLowRes] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posHighRes] + + + + + + + + + + + + + - + - - sfix16_En14 + + sfix16_En12 @@ -3149,5 +3149,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json index ffedcfc..5ddb7b1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json @@ -1,396 +1,4 @@ [ - { - "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":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

Error 004: Motor NOT able to spin.

\n


\n

Possible causes:

\n

- motor phase disconnected

\n

- MOSFET defective

\n

- Operational Amplifier defective

\n

- motor blocked

", - "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:8530", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Error Reporting

", - "label":"

Error Reporting

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

Error Reporting

", - "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:8531", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Error Detection

", - "label":"

Error Detection

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

Error Detection

", - "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:8532", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Error Qualification

", - "label":"

Error Qualification

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

Error Qualification

", - "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:8533", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Error 002: Hall sensor short circuit

", - "label":"

Error 002: Hall sensor short circuit

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

Error 002: Hall sensor short circuit

", - "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:8534", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Error 001: Hall sensor not connected

", - "label":"

Error 001: Hall sensor not connected

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

Error 001: Hall sensor not connected

", - "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: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":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

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

", - "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: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":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

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.

", - "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:8470", "className":"Simulink.Inport", @@ -505,7 +113,7 @@ "auto", "off", "off", - "[]", + "0", "off", "held", "off", @@ -649,7 +257,7 @@ "auto", "off", "off", - "[]", + "0", "off", "held", "off", @@ -683,11 +291,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8525", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9297", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"t_errQual", - "label":"t_errQual", + "name":"b_diagEna", + "label":"b_diagEna", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -701,12 +309,12 @@ "FramePeriod" ], "values":[ - "t_errQual", + "b_diagEna", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "boolean", "off", "inf" ], @@ -732,259 +340,35 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9398", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9291", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", + "name":"If2", + "label":"If2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "Threshold", "ZeroCross" ], "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", + "1", + "u1 ~= 0", + "", "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:8524", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"t_errDequal", - "label":"t_errDequal", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8521", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"g_Hb1", - "label":"g_Hb1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "4", - "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":"BLDCmotor_FOC_R2017b_fixdt:8515", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "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:9404", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator7", - "label":"Relational Operator7", - "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 ] }, @@ -994,211 +378,10 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"If", "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8520", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"g_Hb", - "label":"g_Hb", - "parent":"BLDCmotor_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":"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: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:11021", "className":"Simulink.Goto", @@ -1266,21 +449,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9395", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11832", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "VqFinPrev", - "local", "Tag" ], "tabs":[ @@ -1294,58 +475,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8514", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11831", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Sum", - "label":"Sum", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "rectangular", - "+++", - "off", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "z_posRaw", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1353,7 +506,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"From", "masktype":"" } }, @@ -1391,77 +544,11 @@ } }, { - "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: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:11022", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11834", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From40", + "label":"From40", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1487,206 +574,6 @@ "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: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: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: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:9408", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "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:8510", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", - "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:8492", "className":"Simulink.From", @@ -1719,252 +606,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8482", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "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: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: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: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: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:8494", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11833", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1972,7 +618,7 @@ "IconDisplay" ], "values":[ - "z_errCodeRaw", + "b_motStdStill", "Tag" ], "tabs":[ @@ -1991,44 +637,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8517", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9395", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" + "VqFinPrev", + "local", + "Tag" ], "tabs":[ - "Main", - "State Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2036,168 +665,106 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8508", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11769", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Diagnostics_Enabled", + "label":"Diagnostics_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" ], "values":[ - "==", + "FromPortIcon", + "ReadWrite", "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:9394", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", - "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":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", "off", - "inherit", "-1", - "Inherit", - "-1", - "auto", + "Auto", + "", + "", "off", "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", "on", "off", - "off", - "off" + "" ], "tabs":[ "Main", - "Signal Attributes", + "Code Generation", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 5, + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "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", + "blocktype":"SubSystem", "masktype":"" } }, @@ -2269,223 +836,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9410", - "className":"Simulink.SFunction", - "icon":"WebViewIcon3", - "name":"Bitwise Operator1", - "label":"Bitwise Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "logicop", - "UseBitMask", - "NumInputPorts", - "BitMask", - "BitMaskRealWorld" - ], - "values":[ - "AND", - "on", - "1", - "bin2dec('100')", - "Stored Integer" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"S-Function", - "masktype":"Bitwise Operator" - } - }, - { - "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: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: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:9406", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11835", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -2494,7 +849,7 @@ "IconDisplay" ], "values":[ - "z_errCodePrev", + "z_errCode", "local", "Tag" ], @@ -2514,32 +869,60 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9405", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11836", + "className":"Simulink.TriggerPort", "icon":"WebViewIcon3", - "name":"r_errInpTgtThres", - "label":"r_errInpTgtThres", + "name":"function", + "label":"function", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", + "TriggerType", + "IsSimulinkFunction", + "StatesWhenEnabling", + "PropagateVarSize", + "ShowOutputPort", + "SampleTimeType", "OutDataTypeStr", - "LockScale", - "FramePeriod" + "FunctionName", + "FunctionPrototype", + "FunctionVisibility", + "GeneratePreprocessorConditionals", + "InitialTriggerSignalState", + "Interpolate", + "OutMax", + "OutMin", + "OutputDataType", + "PortDimensions", + "SampleTime", + "TriggerSignalSampleTime", + "Variant", + "VariantControl", + "ZeroCross" ], "values":[ - "r_errInpTgtThres", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", + "function-call", "off", - "inf" + "held", + "During execution", + "off", + "triggered", + "Inherit: auto", + "", + "f()", + "global", + "off", + "compatibility (no trigger on first evaluation)", + "on", + "[]", + "[]", + "auto", + "-1", + "1", + "-1", + "off", + "Variant", + "on" ], "tabs":[ "Main", @@ -2548,7 +931,7 @@ ], "tabs_idx":[ 0, - 3, + 6, 7 ] }, @@ -2558,7 +941,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"TriggerPort", "masktype":"" } }, @@ -2630,102 +1013,60 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9407", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9394", + "className":"Simulink.Inport", "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: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:9403", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs4", - "label":"Abs4", + "name":"VqFinPrev", + "label":"VqFinPrev", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "4", + "Port number", "[]", "[]", - "Inherit: Same as input", - "off", - "Floor", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ @@ -2734,59 +1075,14 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9401", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "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", + "blocktype":"Inport", "masktype":"" } }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8497#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -2837,670 +1133,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8470#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8524#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8525#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8478#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8479#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8487#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8510#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8514#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8509#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8491#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8480#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8486#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8519#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8515#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -3551,415 +1184,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8492#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8493#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8494#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8520#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8508#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8482#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8483#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8484#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8521#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -4010,7 +1235,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9394#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -4061,517 +1286,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9396#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9402#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9403#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9405#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8517#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9407#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9408#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9410#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9412#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9401#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9398#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -4622,7 +1337,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11020#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -4671,9 +1386,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9404#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11832#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -4722,9 +1437,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11022#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11769#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", @@ -4773,9 +1488,264 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9400#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11833#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11834#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11831#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:9297#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:9291#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:11769#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", 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 index 9582b68..ffe286d 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg index d0deb54..841807c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg @@ -1,250 +1,15 @@ - + - + - - - - - - - - - - - - - - Error 004: - Motor NOT able to spin. - - - - - - - - Possible causes: - - - - - - - - - motor phase disconnected - - - - - - - - - MOSFET defective - - - - - - - - - Operational Amplifier defective - - - - - - - - - motor blocked - - - - - - - - - - - - - - - - - - - Error Reporting - - - - - - - - - - - - - - - - - - - Error Detection - - - - - - - - - - - - - - - - - - - Error Qualification - - - - - - - - - - - - - - - - - - - Error 002: - Hall sensor short circuit - - - - - - - - - - - - - - - - - - - Error 001: - Hall sensor not connected - - - - - - - - - - - - - - - - - - - This switch makes sure that once this error is SET, - - - - - - - - it can only be erased by a board restart cycle. - - - - - - - - - - - - - - - - - - - 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. - - - - - @@ -258,11 +23,11 @@ - + - + 2 @@ -280,11 +45,11 @@ - - + + - + z_posRaw @@ -295,11 +60,11 @@ - - + + - + uint8 @@ -312,42 +77,42 @@ - + - + - + - + 1 - + - + - - + + - + z_errCode @@ -369,11 +134,11 @@ - + - + [z_posRaw] @@ -393,42 +158,42 @@ - + - + - + - + [z_errCode] - + - + - - + + - + uint8 @@ -441,42 +206,42 @@ - + - + - + - + 2 - + - + - - + + - + b_errFlag @@ -488,242 +253,58 @@ - - + + - + - + - - t_errQual + + b_diagEna - + - - + + - - + + - - t_errQual + + b_diagEna - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ~= 0 - - - - - - - - - - - - - + - - + + - + boolean @@ -735,627 +316,52 @@ - - - + + + - - + + - - + + - - t_errDequal + + u1 + + + + + + + + if(u1 ~= 0) - - - - - - - - - - - - - - - - - t_errDequal + + - - + + - - + + - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean + + action @@ -1376,11 +382,11 @@ - + - + [b_motEna] @@ -1400,27 +406,27 @@ - + - + - + - + [b_errFlag] - + @@ -1432,29 +438,44 @@ - - - + + + - - + + - - + + - + [VqFinPrev] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1465,83 +486,43 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + [z_posRaw] - - + + - + - - + + - + uint8 @@ -1563,11 +544,11 @@ - + - + [b_motStdStill] @@ -1586,421 +567,43 @@ - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - + + - + - + - + [b_motEna] - + - + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + boolean @@ -2013,42 +616,42 @@ - + - + - + - + [b_errFlag] - + - + - - + + - + boolean @@ -2060,482 +663,466 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - + + - + - + - - [z_errCodeRaw] + + [b_motStdStill] - + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + z_posRaw + + + + + + + + b_motStdStill + + + + + + + + VqFinPrev + + + + + + + + z_errCode + + + + + + + + b_errFlag + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Diagnostics_Enabled + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + f() + + + + + + + + + + + + + + + + + + + + + + function + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + boolean @@ -2557,11 +1144,11 @@ - + - + 4 @@ -2579,11 +1166,11 @@ - - + + - + VqFinPrev @@ -2594,11 +1181,11 @@ - - + + - + sfix16_En4 @@ -2608,1027 +1195,14 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - Bitwise - - - - - - - - AND - - - - - - - - 0x4 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - tAcv - - - - - - - - tDeacv - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Debounce_Filter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_errInpTgtThres - - - - - - - - - - - - - - - - - - - - - - r_errInpTgtThres - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - + - + @@ -3649,348 +1223,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -4025,146 +1265,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4179,42 +1279,112 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4223,5 +1393,5 @@ - + 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 deleted file mode 100644 index b716563..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_2428_d.png and /dev/null differ 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 deleted file mode 100644 index 2422a64..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8486_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json index 1bd4b5e..929dad5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json @@ -1,53 +1,4 @@ [ - { - "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":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

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

", - "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:9192", "className":"Simulink.Outport", @@ -128,39 +79,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8859", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "V_phaABC_FOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8827", "className":"Simulink.From", @@ -192,262 +110,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8769", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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:8778", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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:8886", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Inv_Park_Transform", - "label":"Inv_Park_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:8866", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Inv_Clarke_Transform", - "label":"Inv_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:8665", "className":"Simulink.Inport", @@ -476,7 +138,7 @@ "OutputFunctionCall" ], "values":[ - "11", + "13", "Port number", "[]", "[]", @@ -576,7 +238,7 @@ "OutputFunctionCall" ], "values":[ - "12", + "14", "Port number", "[]", "[]", @@ -810,11 +472,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9195", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9196", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vq", - "label":"Vq", + "name":"iq", + "label":"iq", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -843,7 +505,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -858,7 +520,7 @@ "off", "0", "off", - "held", + "reset", "off", "0", "", @@ -890,7 +552,7 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10173", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11896", "className":"Simulink.Gain", "icon":"WebViewIcon3", "name":"toNegative", @@ -948,134 +610,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Park_Transform", - "label":"Park_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:9027", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux7", - "label":"Mux7", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10447", "className":"Simulink.UnitDelay", @@ -1127,99 +661,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Motor_Limitations", - "label":"Motor_Limitations", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9072", + "className":"Simulink.Scope", + "icon":"WebViewIcon3", + "name":"Scope8", + "label":"Scope8", "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 - ] - }, + "inspector":[ + ], "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Scope", "masktype":"" } }, @@ -1255,11 +711,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10363", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12158", "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"If3", - "label":"If3", + "name":"If2", + "label":"If2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1272,7 +728,7 @@ ], "values":[ "1", - "u1 ~= 0", + "u1 == CTRL_FOC", "", "off", "-1", @@ -1298,54 +754,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10365", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "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, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"If", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8863", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8864", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1354,7 +767,7 @@ "IconDisplay" ], "values":[ - "b_enaAdvCtrl", + "n_mot", "local", "Tag" ], @@ -1406,6 +819,49 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11898", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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:8861", "className":"Simulink.Goto", @@ -1440,30 +896,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9072", - "className":"Simulink.Scope", - "icon":"WebViewIcon3", - "name":"Scope8", - "label":"Scope8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":[ - ], - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Scope", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10359", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12217", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1472,7 +909,7 @@ "IconDisplay" ], "values":[ - "task3", + "z_ctrlTypSel", "local", "Tag" ], @@ -1525,7 +962,7 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8858", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12156", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto36", @@ -1538,7 +975,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "V_phaABC_FOC", "local", "Tag" ], @@ -1558,11 +995,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8857", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8856", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto35", - "label":"Goto35", + "name":"Goto34", + "label":"Goto34", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1571,40 +1008,7 @@ "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:11472", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto33", - "label":"Goto33", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", + "Vq_nLimProtMax", "local", "Tag" ], @@ -1690,11 +1094,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8849", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8848", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1703,7 +1107,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "r_inpTgtSca", "local", "Tag" ], @@ -1723,11 +1127,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10719", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11928", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", + "name":"Goto24", + "label":"Goto24", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1736,139 +1140,7 @@ "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: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:8851", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", + "r_sin", "local", "Tag" ], @@ -1921,106 +1193,7 @@ } }, { - "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: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: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:10686", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11921", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto12", @@ -2033,40 +1206,7 @@ "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:10395", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq", + "id", "local", "Tag" ], @@ -2149,37 +1289,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8826", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "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:10428", "className":"Simulink.From", @@ -2243,11 +1352,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8817", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10440", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From61", - "label":"From61", + "name":"From59", + "label":"From59", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2255,7 +1364,7 @@ "IconDisplay" ], "values":[ - "iq", + "iq_max", "Tag" ], "tabs":[ @@ -2274,11 +1383,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10441", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8825", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", + "name":"From69", + "label":"From69", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2286,38 +1395,7 @@ "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:8815", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", + "z_ctrlMod", "Tag" ], "tabs":[ @@ -2366,70 +1444,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8810", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From55", - "label":"From55", - "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:8845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto24", - "label":"Goto24", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10432", "className":"Simulink.From", @@ -2462,11 +1476,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8856", + "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:10394", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto34", - "label":"Goto34", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2475,7 +1520,7 @@ "IconDisplay" ], "values":[ - "Vq_nLimProtMax", + "Vd", "local", "Tag" ], @@ -2525,6 +1570,39 @@ "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:10362", "className":"Simulink.From", @@ -2538,7 +1616,7 @@ "IconDisplay" ], "values":[ - "task2", + "task2b", "Tag" ], "tabs":[ @@ -2557,166 +1635,11 @@ } }, { - "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: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: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: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:8839", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8846", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", + "name":"Goto25", + "label":"Goto25", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2724,385 +1647,9 @@ "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: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: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: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: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: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: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: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: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: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: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:10440", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From59", - "label":"From59", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], "values":[ "iq_max", + "local", "Tag" ], "tabs":[ @@ -3116,24 +1663,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8783", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11929", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"Goto35", + "label":"Goto35", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_sin", + "r_cos", + "local", "Tag" ], "tabs":[ @@ -3147,233 +1696,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10436", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8817", "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: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: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: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: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: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: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:10688", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", + "name":"From61", + "label":"From61", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3431,44 +1763,11 @@ } }, { - "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:8795", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8797", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", + "name":"From42", + "label":"From42", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3476,7 +1775,7 @@ "IconDisplay" ], "values":[ - "Vq", + "Vq_min", "Tag" ], "tabs":[ @@ -3495,54 +1794,11 @@ } }, { - "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", - "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:10394", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8850", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto29", + "label":"Goto29", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3551,7 +1807,7 @@ "IconDisplay" ], "values":[ - "Vd", + "id_min", "local", "Tag" ], @@ -3602,11 +1858,246 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8846", + "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:9027", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux7", + "label":"Mux7", + "parent":"BLDCmotor_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":"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: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:9195", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq", + "label":"Vq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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: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:10719", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", + "name":"Goto26", + "label":"Goto26", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3615,7 +2106,71 @@ "IconDisplay" ], "values":[ - "iq_max", + "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:12155", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "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:10359", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task3", "local", "Tag" ], @@ -3666,11 +2221,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10431", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10446", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From53", - "label":"From53", + "name":"From23", + "label":"From23", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3678,7 +2233,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "z_ctrlMod", "Tag" ], "tabs":[ @@ -3697,11 +2252,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10698", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12152", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", + "name":"From22", + "label":"From22", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3709,7 +2264,7 @@ "IconDisplay" ], "values":[ - "iqAbs", + "r_sin", "Tag" ], "tabs":[ @@ -3728,108 +2283,11 @@ } }, { - "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:8806", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12154", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From50", - "label":"From50", + "name":"From25", + "label":"From25", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3837,7 +2295,7 @@ "IconDisplay" ], "values":[ - "Vq", + "Vd", "Tag" ], "tabs":[ @@ -3856,11 +2314,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8811", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10437", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From56", - "label":"From56", + "name":"From20", + "label":"From20", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3868,7 +2326,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "Vq_min", "Tag" ], "tabs":[ @@ -3887,11 +2345,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9718", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12153", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", + "name":"From24", + "label":"From24", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3899,7 +2357,7 @@ "IconDisplay" ], "values":[ - "b_motEna", + "r_cos", "Tag" ], "tabs":[ @@ -3918,74 +2376,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9196", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10729", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", + "name":"From46", + "label":"From46", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "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" + "GotoTag", + "IconDisplay" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "r_nLimProtMax", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3993,113 +2402,140 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Sine_Cosine_Approximation", - "label":"Sine_Cosine_Approximation", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11911", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", "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" + "GotoTag", + "IconDisplay" ], "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", - "" + "a_elecAngle", + "Tag" ], "tabs":[ - "Main", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10448", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11897", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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: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: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:11922", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"Goto23", + "label":"Goto23", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4108,7 +2544,321 @@ "IconDisplay" ], "values":[ - "VdPrev", + "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: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: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:10429", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "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: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: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:12218", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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: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: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: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" ], @@ -4159,58 +2909,11 @@ } }, { - "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:10429", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8815", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4218,7 +2921,7 @@ "IconDisplay" ], "values":[ - "id_Tgt", + "Vq", "Tag" ], "tabs":[ @@ -4237,42 +2940,11 @@ } }, { - "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:8784", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10707", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", + "name":"From39", + "label":"From39", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4280,7 +2952,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -4299,31 +2971,94 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11909", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "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: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:10364", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Clarke_Transform", - "label":"Clarke_Transform", + "name":"FOC", + "label":"FOC", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4335,53 +3070,54 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", "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", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4396,192 +3132,11 @@ } }, { - "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: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:10703", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10448", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", + "name":"Goto11", + "label":"Goto11", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4590,7 +3145,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaAbs", + "VdPrev", "local", "Tag" ], @@ -4609,6 +3164,37 @@ "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:10434", "className":"Simulink.From", @@ -4640,6 +3226,400 @@ "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: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: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":[ + "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:11930", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Park_Transform_Inverse", + "label":"Clarke_Park_Transform_Inverse", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "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: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: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":[ + "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":"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:8663", "className":"Simulink.Inport", @@ -4668,7 +3648,7 @@ "OutputFunctionCall" ], "values":[ - "9", + "11", "Port number", "[]", "[]", @@ -4708,11 +3688,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8825", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12673", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From69", - "label":"From69", + "name":"From28", + "label":"From28", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4720,203 +3700,7 @@ "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: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: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:9716", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "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":[ - "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:10446", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -4941,266 +3725,6 @@ "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: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: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: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":[ - "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: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:8664", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "Port", @@ -5262,11 +3786,659 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8661", + "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_TgtAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8662", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "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":[ + "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:12391", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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: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:8826", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "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:9716", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "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: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:8810", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From55", + "label":"From55", + "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: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":[ + "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: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:10357", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"task2b", + "label":"task2b", + "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: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: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: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: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:11912", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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:11853", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5328,6 +4500,171 @@ "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":[ + "task2b", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Motor_Limitations", + "label":"Motor_Limitations", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11920", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "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:8660", "className":"Simulink.Inport", @@ -5396,99 +4733,236 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Current_Filtering", - "label":"Current_Filtering", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11471", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", "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" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", + "15", + "Port number", + "[]", + "[]", + "Inherit: auto", "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", + "inherit", "-1", - "", + "Inherit", + "-1", + "auto", "off", - "" + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "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":[ + "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: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:12216", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "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":"" } }, @@ -5560,61 +5034,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10358", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11913", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"task3", - "label":"task3", + "name":"From21", + "label":"From21", "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", + "IconDisplay" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "i_phaBC", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -5622,7 +5060,106 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11900", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Park_Transform_Forward", + "label":"Clarke_Park_Transform_Forward", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", "masktype":"" } }, @@ -5660,11 +5197,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8781", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10174", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5672,7 +5209,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "r_fieldWeak", "Tag" ], "tabs":[ @@ -5693,109 +5230,7 @@ { "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", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -5846,7 +5281,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8665#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -5897,58 +5332,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8666#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:8866#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -5999,7 +5383,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9024#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6050,211 +5434,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9025#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:8781#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:8782#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:8783#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:8784#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6305,7 +5485,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8772#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6356,7 +5536,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8786#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6407,7 +5587,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8787#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6458,7 +5638,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8788#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6509,7 +5689,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8661#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6560,7 +5740,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8810#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6611,7 +5791,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8798#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6662,7 +5842,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9028#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6713,7 +5893,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8811#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6764,7 +5944,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8795#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6815,7 +5995,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9027#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6866,7 +6046,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8796#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -6917,211 +6097,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8797#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:9045#out:2", - "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:9045#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:8726#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:8726#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7172,7 +6148,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8815#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7223,58 +6199,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8659#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:8794#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7325,7 +6250,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8660#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7376,7 +6301,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8662#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7427,58 +6352,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8790#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:8806#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7529,7 +6403,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7580,7 +6454,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:4", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7631,7 +6505,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8776#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7682,7 +6556,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8807#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7733,7 +6607,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7784,7 +6658,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7835,7 +6709,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:5", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7886,7 +6760,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:6", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7937,7 +6811,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:7", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -7988,7 +6862,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:8", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8039,7 +6913,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8817#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8090,7 +6964,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:11", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8141,7 +7015,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:12", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8192,7 +7066,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8825#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8243,160 +7117,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8663#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:8743#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:8743#out:2", - "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:8775#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8447,7 +7168,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8664#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8498,7 +7219,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8826#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8549,58 +7270,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8768#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:9713#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8651,160 +7321,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9716#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:9718#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:10173#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:10174#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8855,7 +7372,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10357#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -8906,262 +7423,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10358#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:10363#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:10362#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:10365#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:10393#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:10364#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9212,7 +7474,58 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10364#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "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:10364#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9263,7 +7576,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10430#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9314,7 +7627,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10429#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9365,7 +7678,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10428#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9416,7 +7729,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10431#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9467,7 +7780,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10432#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9518,7 +7831,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10433#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9569,7 +7882,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10434#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9620,7 +7933,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10435#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9671,7 +7984,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10436#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9722,7 +8035,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10437#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9773,7 +8086,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10438#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9824,7 +8137,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10439#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9875,7 +8188,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10440#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9926,7 +8239,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10441#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -9977,7 +8290,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10444#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10028,7 +8341,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10445#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10079,7 +8392,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10446#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10130,109 +8443,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10447#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:10689#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:10688#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10283,7 +8494,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10691#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10334,7 +8545,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10697#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10385,109 +8596,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10698#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:10701#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:10702#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10538,7 +8647,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10707#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10589,7 +8698,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:9", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10640,7 +8749,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10726#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10691,7 +8800,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913#out:10", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10742,7 +8851,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10729#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -10793,211 +8902,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10743#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:8769#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:8778#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:11023#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:11023#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -11048,7 +8953,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11471#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -11099,7 +9004,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11484#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -11150,7 +9055,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11515#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", @@ -11201,7 +9106,1333 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11516#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "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:10362#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:10393#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11853#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11896#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:10174#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11909#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11898#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11911#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11912#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11913#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11900#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11900#out:4", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11900#out:5", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11900#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11900#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12155#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12154#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12152#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12153#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11930#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12158#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12216#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:11897#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12218#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12391#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "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:12673#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", 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 index f197ccb..fbe1b1a 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg index 8d49ef4..fea0073 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg @@ -1,74 +1,55 @@ - + - + - - - - - - - - - - - - - - Start filtering only when motor is enabled (circuit closed). - - - - - - + - + - + - + 1 - + - + - - + + - + V_phaABC_FOC @@ -78,431 +59,45 @@ - - - - - - - - - - - - - - - - - - [V_phaABC_FOC] - - - - - - - - - - - - - - - - + - + - + - + [V_phaABC_FOC] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - Vd - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - V_alpha - - - - - - - - V_beta - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Inv_Park_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - V_alpha - - - - - - - - V_beta - - - - - - - - V_phaABC_FOC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Inv_Clarke_Transform - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -515,63 +110,57 @@ - - - - - - - + - + - + - - 11 + + 13 - + - + - - + + - + i_phaAB - + - - + + - + sfix16_En4 @@ -584,27 +173,27 @@ - + - + - + - + [i_phaAB] - + @@ -617,57 +206,57 @@ - + - + - + - - 12 + + 14 - + - + - - + + - + i_phaBC - + - - + + - + sfix16_En4 @@ -680,27 +269,27 @@ - + - + - + - + [i_phaBC] - + @@ -713,42 +302,42 @@ - + - + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -761,28 +350,28 @@ - - + + - + - + - + - + - + @@ -797,7 +386,7 @@ - + @@ -810,42 +399,42 @@ - + - + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -858,42 +447,42 @@ - + - + - + - + 4 - + - + - - + + - + id @@ -905,44 +494,44 @@ - - + + - + - + - - 2 + + 3 - + - - + + - - + + - - Vq + + iq @@ -953,245 +542,43 @@ - - + + - + - + - + -1 - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - i_apha - - - - - - - - i_beta - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - iq_Raw - - - - - - - - id_Raw - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Park_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1204,44 +591,44 @@ - - + + - + - + - + - + - + - + - + - + - + @@ -1256,798 +643,42 @@ - + + + + + + + + + + + + sfix16_En4 + + + + - + - - + + - + Ini=0 - - - - - - - - - - - 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 { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Motor_Limitations - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - @@ -2055,28 +686,28 @@ - - + + - + - + - + - + - + @@ -2091,7 +722,7 @@ - + @@ -2103,28 +734,287 @@ - - - + + + - - + + - - + + - - [task3] + + - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + @@ -2137,27 +1027,27 @@ - + - + - + - + [b_cruiseCtrlEna] - + @@ -2169,61 +1059,28 @@ - - + + - + - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [r_sin] + + [V_phaABC_FOC] - + @@ -2235,28 +1092,28 @@ - - + + - + - + - - [VqFinPrev] + + [Vq_nLimProtMax] - + @@ -2269,27 +1126,27 @@ - + - + - + - + [b_motEna] - + @@ -2302,27 +1159,27 @@ - + - + - + - + [r_nLimProtMax] - + @@ -2334,94 +1191,28 @@ - - + + - + - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [iq] + + [r_inpTgtSca] - + @@ -2433,94 +1224,28 @@ - - + + - + - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [z_ctrlMod] + + [r_sin] - + @@ -2533,27 +1258,27 @@ - + - + - + - + [Vd_min] - + @@ -2565,160 +1290,28 @@ - - + + - + - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [task2] + + [id] - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - + @@ -2731,27 +1324,27 @@ - + - + - - + + - + [id_TgtAbs] - + @@ -2764,90 +1357,42 @@ - + - + - + - + [VqFinPrev] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -2860,42 +1405,42 @@ - + - + - + - + [id] - + - + - - + + - + sfix16_En4 @@ -2908,42 +1453,42 @@ - + - + - + - + [Vq_nLimProtMax] - + - + - - + + - + sfix16_En4 @@ -2953,3583 +1498,45 @@ - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task2] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - + - + - + - + [iq_max] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - 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] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sine_Cosine_Approximation - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_Tgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - i_phaAB - - - - - - - - i_phaBC - - - - - - - - i_alpha - - - - - - - - i_beta - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clarke_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 14 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 13 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - + sfix16_En4 @@ -6542,42 +1549,42 @@ - + - + - + - + [z_ctrlMod] - + - + - - + + - + uint8 @@ -6589,43 +1596,43 @@ - - + + - + - + - - [r_nLimProtMax] + + [id_max] - + - + - - + + - + sfix16_En4 @@ -6637,58 +1644,43 @@ - - - + + + - - + + - - + + - - 7 + + [Vd_min] - - - - - - - - - - - - - - - - - n_mot + + - + - - + + - + sfix16_En4 @@ -6700,58 +1692,673 @@ - - - + + + - - + + - - + + - - 6 + + [Vd_max] - - - - - - - - - - - - - - - - - b_motEna + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + - - + + - + boolean @@ -6763,43 +2370,301 @@ - - - + + + - - + + - - + + - - [z_ctrlMod] + + 2 - + + + + + + + + + + + + + + + + + Vq + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task3] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + - - + + - + uint8 @@ -6811,58 +2676,508 @@ - - - + + + - - + + - - + + - - 8 + + [r_sin] - - - - - - - - - - - - - - - - - n_motAbs + + - + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6875,42 +3190,42 @@ - + - + - + - + [b_enaAdvCtrl] - + - + - - + + - + boolean @@ -6920,45 +3235,93 @@ + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + - + - + - + - + [iq] - + - + - - + + - + sfix16_En4 @@ -6970,139 +3333,43 @@ - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - + + - + - + - - [Vq_min] + + [b_cruiseCtrlEna] - + - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - task2 - - - - - - + - - + + - + boolean @@ -7114,184 +3381,43 @@ - - - + + + - - + + - - + + - - 10 + + [z_ctrlTypSel] - - - - - - - - - - - - - - - - - a_elecAngle + + - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - + - - + + - + uint8 @@ -7303,321 +3429,28 @@ - - - - - - - - - - - - - - - - - - - - - - iq_raw - - - - - - - - id_raw - - - - - - - - iq - - - - - - - - id - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Current_Filtering - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - task3 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + + - + - + - - [iq_limProtErr] + + [n_motAbs] - + @@ -7629,48 +3462,3544 @@ - - + + - + - - + + - - [r_sin] + + [task3] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca + + + + + + + + r_inpTgtScaAbs + + + + + + + + n_mot + + + + + + + + id_TgtAbs + + + + + + + + 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 + + + + + + + + Vq + + + + + + + + Vd + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + Vd + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + V_phaABC_FOC + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_Park_Transform_Inverse + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + - - + + - + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + task3 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + task2b + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + 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 + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Motor_Limitations + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 15 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + a_elecAngle + + + + + + + + i_phaAB + + + + + + + + i_phaBC + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + iq + + + + + + + + id + + + + + + + + iqAbs + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_Park_Transform_Forward + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + @@ -7678,39 +7007,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -7720,11 +7021,11 @@ - + - + @@ -7734,25 +7035,11 @@ - + - - - - - - - - - - - - - - - + @@ -7762,11 +7049,11 @@ - + - + @@ -7776,67 +7063,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -7846,11 +7077,11 @@ - + - + @@ -7860,11 +7091,11 @@ - + - + @@ -7874,11 +7105,11 @@ - + - + @@ -7888,11 +7119,11 @@ - + - + @@ -7902,11 +7133,11 @@ - + - + @@ -7916,11 +7147,11 @@ - + - + @@ -7930,11 +7161,11 @@ - + - + @@ -7944,11 +7175,11 @@ - + - + @@ -7958,11 +7189,11 @@ - + - + @@ -7972,11 +7203,11 @@ - + - + @@ -7986,11 +7217,11 @@ - + - + @@ -8000,11 +7231,11 @@ - + - + @@ -8014,67 +7245,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -8084,11 +7259,11 @@ - + - + @@ -8098,25 +7273,11 @@ - + - - - - - - - - - - - - - - - + @@ -8126,11 +7287,11 @@ - + - + @@ -8140,11 +7301,11 @@ - + - + @@ -8154,25 +7315,11 @@ - + - - - - - - - - - - - - - - - + @@ -8182,11 +7329,11 @@ - + - + @@ -8196,11 +7343,11 @@ - + - + @@ -8210,11 +7357,11 @@ - + - + @@ -8224,11 +7371,11 @@ - + - + @@ -8238,11 +7385,11 @@ - + - + @@ -8252,11 +7399,11 @@ - + - + @@ -8266,11 +7413,11 @@ - + - + @@ -8280,11 +7427,11 @@ - + - + @@ -8294,11 +7441,11 @@ - + - + @@ -8308,11 +7455,11 @@ - + - + @@ -8322,11 +7469,11 @@ - + - + @@ -8336,11 +7483,11 @@ - + - + @@ -8350,11 +7497,11 @@ - + - + @@ -8364,11 +7511,11 @@ - + - + @@ -8378,53 +7525,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -8434,11 +7539,11 @@ - + - + @@ -8448,11 +7553,11 @@ - + - + @@ -8462,25 +7567,11 @@ - + - - - - - - - - - - - - - - - + @@ -8490,87 +7581,25 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + @@ -8580,115 +7609,59 @@ - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8698,11 +7671,11 @@ - + - + @@ -8712,11 +7685,11 @@ - + - + @@ -8726,11 +7699,11 @@ - + - + @@ -8740,11 +7713,11 @@ - + - + @@ -8754,11 +7727,11 @@ - + - + @@ -8768,11 +7741,11 @@ - + - + @@ -8782,11 +7755,11 @@ - + - + @@ -8796,11 +7769,11 @@ - + - + @@ -8810,11 +7783,11 @@ - + - + @@ -8824,11 +7797,11 @@ - + - + @@ -8838,11 +7811,11 @@ - + - + @@ -8852,11 +7825,11 @@ - + - + @@ -8866,11 +7839,11 @@ - + - + @@ -8880,11 +7853,11 @@ - + - + @@ -8894,11 +7867,11 @@ - + - + @@ -8908,11 +7881,11 @@ - + - + @@ -8922,11 +7895,11 @@ - + - + @@ -8936,39 +7909,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -8978,11 +7923,11 @@ - + - + @@ -8992,11 +7937,11 @@ - + - + @@ -9006,39 +7951,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -9048,11 +7965,11 @@ - + - + @@ -9062,11 +7979,11 @@ - + - + @@ -9076,11 +7993,11 @@ - + - + @@ -9090,11 +8007,11 @@ - + - + @@ -9104,11 +8021,11 @@ - + - + @@ -9118,67 +8035,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -9188,11 +8049,11 @@ - + - + @@ -9202,11 +8063,11 @@ - + - + @@ -9216,11 +8077,11 @@ - + - + @@ -9230,11 +8091,375 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9243,5 +8468,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json index d3a323e..3d13fdf 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json @@ -1,4 +1,84 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8742", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_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":[ + "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:8740", "className":"Simulink.Constant", @@ -48,86 +128,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8741", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8739", "className":"Simulink.Mux", @@ -159,513 +159,10 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8737", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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:8734", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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:8742", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"id", - "label":"id", - "parent":"BLDCmotor_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":[ - "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: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:8730", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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: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:8729", - "className":"Simulink.Demux", - "icon":"WebViewIcon3", - "name":"Demux1", - "label":"Demux1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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: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:8728", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_raw", - "label":"id_raw", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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:8727", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_raw", - "label":"iq_raw", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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: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:8738", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Low_Pass_Filter", "label":"Low_Pass_Filter", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -755,6 +252,119 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8734", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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:11849", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_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":[ + "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:8732", "className":"Simulink.From", @@ -786,10 +396,527 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8737", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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: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:8729", + "className":"Simulink.Demux", + "icon":"WebViewIcon3", + "name":"Demux1", + "label":"Demux1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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:10689", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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: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: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: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:8727", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_raw", + "label":"iq_raw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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: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:8741", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8730", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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:8728", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_raw", + "label":"id_raw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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:8739#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -840,7 +967,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8729#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -891,7 +1018,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8740#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -942,7 +1069,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8728#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -993,7 +1120,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8730#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -1044,7 +1171,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8731#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -1095,7 +1222,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8727#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -1146,7 +1273,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8729#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -1197,7 +1324,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -1248,7 +1375,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8732#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -1299,7 +1426,58 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8733#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:10689#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", 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 index b7c48a3..7d81a8b 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg index 0f5c40c..ad958e9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg @@ -1,10 +1,10 @@ - + - + @@ -13,58 +13,106 @@ - - - + + + - - + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + + + + + + + - + cf_currFilt - + - + - - + + - + cf_currFilt - + - - + + - + ufix16_En16 @@ -76,44 +124,44 @@ - - - + + + - - + + - - + + - - 1 + + - - + + - - - + + + - - + + - - iq + + sfix16_En4 @@ -124,43 +172,403 @@ - - - + + + - - + + - - + + - - + + u + + + + + + + + coef + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + coef - - + + + + + + + + + + + + + + + + + Low_Pass_Filter - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_raw] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -173,27 +581,27 @@ - + - + - + - + [id] - + @@ -205,29 +613,44 @@ - - - + + + - - + + - - + + - - [iq] + + [id] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -238,44 +661,139 @@ - - - + + + - - + + - - + + - - 2 + + - - + + - - - + + + - - + + - - id + + sfix16_En4 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -296,11 +814,11 @@ - + - + [iq_raw] @@ -317,59 +835,11 @@ - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -377,11 +847,11 @@ - + - + if { } @@ -399,11 +869,11 @@ - - + + - + Action Port @@ -415,58 +885,91 @@ - - - + + + - - + + - - + + - - + + [id_raw] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + iq_raw - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - + sfix16_En4 @@ -479,42 +982,42 @@ - + - + - + - + [id_raw] - + - + - - + + - + sfix16_En4 @@ -526,43 +1029,91 @@ - - - + + + - - + + - - + + - - [id] + + 1 - + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + - + - - + + - + sfix16_En4 @@ -584,11 +1135,11 @@ - + - + 2 @@ -606,11 +1157,11 @@ - - + + - + id_raw @@ -621,434 +1172,11 @@ - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_raw - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_raw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - coef - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - coef - - - - - - - - - - - - - - - - - - - - - - Low_Pass_Filter - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_raw] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1061,11 +1189,11 @@ - + - + @@ -1075,11 +1203,11 @@ - + - + @@ -1089,11 +1217,11 @@ - + - + @@ -1117,25 +1245,45 @@ - + + + + + + + + - + + + + + + + + + + + + + + - + - + @@ -1159,11 +1307,11 @@ - + - + @@ -1173,11 +1321,11 @@ - + - + @@ -1187,11 +1335,11 @@ - + - + @@ -1201,11 +1349,25 @@ - + - + + + + + + + + + + + + + + + @@ -1214,5 +1376,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json index 81162b0..7c3fdac 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json @@ -197,103 +197,6 @@ "masktype":"" } }, - { - "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: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:2900", "className":"Simulink.Product", @@ -352,60 +255,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2897", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2899", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"u", - "label":"u", + "name":"Data Type Conversion", + "label":"Data Type Conversion", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ - "Port", - "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "1", - "Port number", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,4)", "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":{ @@ -414,7 +297,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"DataTypeConversion", "masktype":"" } }, @@ -485,10 +368,127 @@ "masktype":"" } }, + { + "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:2897", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "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:8738:2898#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", @@ -539,7 +539,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2900#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", @@ -590,7 +590,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2897#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", @@ -641,7 +641,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2899#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", @@ -692,7 +692,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2903#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", @@ -743,7 +743,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2901#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", @@ -794,7 +794,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2902#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg index 60221be..d846fb5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg @@ -197,75 +197,51 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - + sfix32_En20 @@ -287,19 +263,19 @@ - + - + - + - + @@ -325,130 +301,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - + sfix16_En4 @@ -470,11 +327,11 @@ - + - + 2 @@ -492,11 +349,11 @@ - + - + coef @@ -507,11 +364,11 @@ - + - + ufix16_En16 @@ -521,6 +378,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -661,5 +661,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json index a4a2d41..4699e2c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json @@ -97,6 +97,86 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8757", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_sin", + "label":"r_sin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "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:8754", "className":"Simulink.Interpolation_nD", @@ -178,6 +258,85 @@ "masktype":"" } }, + { + "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:9646", "className":"Simulink.Goto", @@ -325,85 +484,6 @@ "masktype":"" } }, - { - "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:9645", "className":"Simulink.From", @@ -436,11 +516,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9643", + "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:9640", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -448,7 +561,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "a_elecAngle", "Tag" ], "tabs":[ @@ -515,39 +628,6 @@ "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:8758", "className":"Simulink.Outport", @@ -628,117 +708,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8757", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_sin", - "label":"r_sin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", - "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: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:8744", "className":"Simulink.Inport", @@ -806,10 +775,41 @@ "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:8748#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -860,7 +860,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10676#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -911,7 +911,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8744#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -962,7 +962,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9640#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -1013,7 +1013,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9643#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -1064,7 +1064,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8755#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -1115,7 +1115,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9645#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", @@ -1166,7 +1166,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8754#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", 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 index 43e60f0..d49957a 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg index 56577f6..06185ea 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg @@ -57,56 +57,80 @@
+ + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_sin + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + @@ -114,7 +138,7 @@ - + @@ -130,7 +154,7 @@ - + @@ -138,7 +162,7 @@ - + @@ -146,7 +170,7 @@ - + @@ -154,7 +178,7 @@ - + @@ -162,7 +186,7 @@ - + @@ -170,7 +194,7 @@ - + @@ -178,7 +202,7 @@ - + @@ -186,7 +210,7 @@ - + @@ -194,7 +218,7 @@ - + @@ -202,7 +226,7 @@ - + @@ -210,7 +234,7 @@ - + @@ -218,7 +242,7 @@ - + @@ -226,7 +250,7 @@ - + @@ -234,7 +258,7 @@ - + @@ -242,7 +266,7 @@ - + @@ -250,7 +274,7 @@ - + @@ -258,7 +282,7 @@ - + @@ -266,7 +290,7 @@ - + @@ -274,7 +298,7 @@ - + @@ -282,7 +306,7 @@ - + @@ -290,7 +314,7 @@ - + @@ -298,7 +322,7 @@ - + @@ -306,7 +330,7 @@ - + @@ -314,7 +338,7 @@ - + @@ -322,7 +346,7 @@ - + @@ -330,7 +354,7 @@ - + @@ -338,7 +362,7 @@ - + @@ -346,7 +370,7 @@ - + @@ -354,30 +378,54 @@ - + - + - - 1-D T(k,f) + + - + - - k1 + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + - + f1 @@ -395,11 +443,11 @@ - + - + r_cos_M1 @@ -410,11 +458,11 @@ - + - + sfix16_En14 @@ -424,444 +472,11 @@ - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - r_sin_M1 - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - + @@ -869,83 +484,83 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -971,11 +586,11 @@ - + - + a_elecAngle_XA @@ -986,11 +601,11 @@ - + - + uint8 @@ -1000,6 +615,439 @@ + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + r_sin_M1 + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + @@ -1012,11 +1060,11 @@ - + - + [r_cos] @@ -1034,11 +1082,11 @@ - + - + sfix16_En14 @@ -1048,102 +1096,6 @@ - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -1156,11 +1108,11 @@ - + - + [a_elecAngle] @@ -1177,102 +1129,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_cos - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_sin - - - - - - - - @@ -1285,11 +1141,11 @@ - + - + [a_elecAngle] @@ -1307,11 +1163,11 @@ - + - + sfix16_En6 @@ -1321,6 +1177,102 @@ + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_cos + + + + + + + + @@ -1333,11 +1285,11 @@ - + - + 1 @@ -1355,11 +1307,11 @@ - + - + a_elecAngle @@ -1370,11 +1322,11 @@ - + - + sfix16_En6 @@ -1384,6 +1336,54 @@ + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + @@ -1538,5 +1538,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json index b353faa..35fd9cb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json @@ -1,255 +1,10 @@ [ { - "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":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

Speed protection

\n

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

\n


", - "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: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":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

Current protection

\n

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

\n


", - "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:9020", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Speed limitations


", - "label":"

Speed limitations


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

Speed limitations

\n


", - "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: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":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

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

\n

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

\n

iq_max \t\t= iq_maxSca * i_max

\n


\n

where, idSca\t= id / i_max,

\n


\n

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

\n


", - "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: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":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

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

\n

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

\n

Vq_min \t= -Vq_max

\n


", - "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:9013", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9017", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -278,7 +33,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "8", + "12", "Port number", "[]", "[]", @@ -291,7 +46,7 @@ "auto", "off", "off", - "-750", + "[]", "off", "held", "off", @@ -325,11 +80,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9012", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9014", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", + "name":"iq_limProtErr", + "label":"iq_limProtErr", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -358,7 +113,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "7", + "11", "Port number", "[]", "[]", @@ -371,87 +126,7 @@ "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":"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":[ - "5", - "Port number", "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "750", "off", "held", "off", @@ -611,7 +286,7 @@ "auto", "off", "off", - "-750", + "[]", "off", "held", "off", @@ -645,11 +320,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9007", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9010", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", + "name":"id_max", + "label":"id_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -678,7 +353,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "5", "Port number", "[]", "[]", @@ -691,7 +366,7 @@ "auto", "off", "off", - "-900", + "[]", "off", "held", "off", @@ -725,814 +400,32 @@ } }, { - "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:9002", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:8999", - "className":"Simulink.PreLookup", - "icon":"WebViewIcon3", - "name":"Vq_max_XA", - "label":"Vq_max_XA", - "parent":"BLDCmotor_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", - "None", - "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":"BLDCmotor_FOC_R2017b_fixdt:8998", - "className":"Simulink.Interpolation_nD", - "icon":"WebViewIcon3", - "name":"Vq_max_M1", - "label":"Vq_max_M1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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", - "Vq_max_M1", - "Flat", - "Error", - "on", - "0", - "on", - "Inherit: Same as output", - "[]", - "[]", - "fixdt(1,16,4)", - "[]", - "[]", - "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: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:9009", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_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":[ - "4", - "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: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:8973", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_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":"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:10727", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotor_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":"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: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: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:10694", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_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":"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:8963", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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:10705", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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:8961", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "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":"BLDCmotor_FOC_R2017b_fixdt:10566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12219", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Voltage_Mode_Protection", - "label":"Voltage_Mode_Protection", + "name":"Motor_Limitations_Enabled", + "label":"Motor_Limitations_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1544,30 +437,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1579,18 +472,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1605,226 +499,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8969", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12388", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"If1", + "label":"If1", "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: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:9004", - "className":"Simulink.PreLookup", - "icon":"WebViewIcon3", - "name":"iq_maxSca_XA", - "label":"iq_maxSca_XA", - "parent":"BLDCmotor_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", - "iq_maxSca_XA", - "Index only", - "Evenly spaced points", - "Clip", - "None", - "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":"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: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:10565", - "className":"Simulink.SwitchCase", - "icon":"WebViewIcon3", - "name":"Switch Case", - "label":"Switch Case", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "CaseConditions", - "ShowDefaultCase", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", "ZeroCross" ], "values":[ - "{VLT_MODE, SPD_MODE, TRQ_MODE}", + "1", + "u1 == CTRL_FOC", + "", "off", "-1", "on" @@ -1835,7 +528,7 @@ ], "tabs_idx":[ 0, - 2 + 4 ] }, "viewer":{ @@ -1844,882 +537,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"SwitchCase", - "masktype":"" - } - }, - { - "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: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: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: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:10710", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8947", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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:10684", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_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":"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: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: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: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: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:10680", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9014", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq_limProtErr", - "label":"iq_limProtErr", - "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":[ - "11", - "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:8946", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_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":"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:10699", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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:10816", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "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: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:10682", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "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", + "blocktype":"If", "masktype":"" } }, @@ -2804,101 +622,11 @@ } }, { - "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: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:8972", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12390", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2907,7 +635,7 @@ "IconDisplay" ], "values":[ - "id_max", + "z_ctrlTypSel", "local", "Tag" ], @@ -2927,181 +655,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8934", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_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":"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: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: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:9017", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9013", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", + "name":"iq_min", + "label":"iq_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3130,7 +688,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "12", + "8", "Port number", "[]", "[]", @@ -3177,166 +735,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9732", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "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:10693", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "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":[ - "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: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:8962", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12384", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3345,7 +748,7 @@ "IconDisplay" ], "values":[ - "VdPrev", + "Vq_max", "local", "Tag" ], @@ -3365,11 +768,1001 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8917", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12376", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "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:12382", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "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:12379", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto28", + "label":"Goto28", + "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:12377", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto25", + "label":"Goto25", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10705", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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: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", + "[]", + "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: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: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:12373", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From69", + "label":"From69", + "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:12383", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto34", + "label":"Goto34", + "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:12372", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From61", + "label":"From61", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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:12385", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "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: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:12380", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "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:12367", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_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":"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:12371", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From52", + "label":"From52", + "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: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:12370", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From39", + "label":"From39", + "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:10694", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:12368", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From34", + "label":"From34", + "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:9009", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_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":[ + "4", + "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:8946", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_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":"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:12369", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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:12387", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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:8947", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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:8916", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", + "name":"id_TgtAbs", + "label":"id_TgtAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3432,41 +1825,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8919", - "className":"Simulink.Abs", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12378", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", + "name":"Goto26", + "label":"Goto26", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "-1", - "on" + "r_iqLimProtMax", + "local", + "Tag" ], "tabs":[ - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3474,16 +1853,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8916", + "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:8915", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", + "name":"VdPrev", + "label":"VdPrev", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3546,123 +1956,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10683", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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:9003", - "className":"Simulink.Interpolation_nD", - "icon":"WebViewIcon3", - "name":"iq_maxSca_M1", - "label":"iq_maxSca_M1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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", - "iq_maxSca_M1", - "Flat", - "Error", - "on", - "0", - "on", - "Inherit: Same as output", - "[]", - "[]", - "fixdt(0,16,16)", - "[]", - "[]", - "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:10696", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8976", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3671,7 +1969,7 @@ "IconDisplay" ], "values":[ - "iqAbs", + "iq", "local", "Tag" ], @@ -3691,255 +1989,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8915", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8917", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"VdPrev", - "label":"VdPrev", - "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":[ - "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: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: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: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:10695", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", + "name":"iq", + "label":"iq", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -4001,6 +2055,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10710", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:12374", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "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":"BLDCmotor_FOC_R2017b_fixdt:10704", "className":"Simulink.Inport", @@ -4008,6 +2126,441 @@ "name":"r_inpTgtScaAbs", "label":"r_inpTgtScaAbs", "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":[ + "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:10693", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "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":[ + "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: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", + "[]", + "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: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:12375", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "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:11717", + "className":"Simulink.TriggerPort", + "icon":"WebViewIcon3", + "name":"function", + "label":"function", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "TriggerType", + "IsSimulinkFunction", + "StatesWhenEnabling", + "PropagateVarSize", + "ShowOutputPort", + "SampleTimeType", + "OutDataTypeStr", + "FunctionName", + "FunctionPrototype", + "FunctionVisibility", + "GeneratePreprocessorConditionals", + "InitialTriggerSignalState", + "Interpolate", + "OutMax", + "OutMin", + "OutputDataType", + "PortDimensions", + "SampleTime", + "TriggerSignalSampleTime", + "Variant", + "VariantControl", + "ZeroCross" + ], + "values":[ + "function-call", + "off", + "held", + "During execution", + "off", + "triggered", + "Inherit: auto", + "", + "f()", + "global", + "off", + "compatibility (no trigger on first evaluation)", + "on", + "[]", + "[]", + "auto", + "-1", + "1", + "-1", + "off", + "Variant", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"TriggerPort", + "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", + "[]", + "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:8914", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "Port", @@ -4069,163 +2622,11 @@ } }, { - "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: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:8939", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9008", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9007", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", + "name":"Vd_min", + "label":"Vd_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -4254,7 +2655,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -4267,7 +2668,7 @@ "auto", "off", "off", - "900", + "[]", "off", "held", "off", @@ -4301,19 +2702,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10685", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8962", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "iq_max", + "VdPrev", + "local", "Tag" ], "tabs":[ @@ -4327,16 +2730,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8914", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12389", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -4399,11 +2802,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8967", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12381", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", + "name":"Goto30", + "label":"Goto30", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -4412,7 +2815,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "r_nLimProtMax", "local", "Tag" ], @@ -4432,11 +2835,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10709", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8935", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -4444,7 +2847,7 @@ "IconDisplay" ], "values":[ - "r_iqLimProtMax", + "Vq_max", "Tag" ], "tabs":[ @@ -4463,46 +2866,122 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8999#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8939", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "iq_limProtErr", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "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: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":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4510,13 +2989,15 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8947#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -4567,160 +3048,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8935#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8959#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8997#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8934#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -4771,7 +3099,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8915#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -4822,7 +3150,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8916#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -4873,7 +3201,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8946#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -4924,313 +3252,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8950#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8957#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8958#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9002#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9733#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8956#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9004#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5281,7 +3303,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8953#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5332,7 +3354,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8951#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5383,7 +3405,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8954#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5434,7 +3456,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8955#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5485,7 +3507,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8917#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5536,58 +3558,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8939#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9005#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5638,7 +3609,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8944#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -5689,874 +3660,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8914#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8998#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8919#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:8952#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9732#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:9003#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10564#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10565#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10565#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10565#out:3", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10674#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10675#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10680#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10683#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10682#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10681#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10684#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10685#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -6607,7 +3711,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10693#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -6658,109 +3762,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10695#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10699#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10700#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -6811,58 +3813,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10704#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" - ], - "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" - ], - "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:10708#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -6913,7 +3864,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10710#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -6964,7 +3915,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10709#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -7013,9 +3964,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10584#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12373#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -7064,9 +4015,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10602#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12370#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -7115,9 +4066,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10566#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12367#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -7166,9 +4117,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10566#out:2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12371#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -7217,9 +4168,9 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10780#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12372#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", @@ -7268,9 +4219,825 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10816#out:1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12369#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12368#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:4", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:5", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:6", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:7", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:8", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:9", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:10", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:11", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12219#out:12", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12387#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12388#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" + ], + "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:12389#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", 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 index 1aaf116..ca93ab7 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png 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/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg index db5ca64..cf6ac48 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg @@ -1,279 +1,56 @@ - + - + - - - - - - - - - - - - - - Speed protection - - - - - - - - for cases in which the speed is not directly controlled, i.e., - - - - - - - - VOLTAGE_MODE and TORQUE_MODE - - - - - - - - - - - - - - - - - - - Current protection - - - - - - - - for cases in which the current is not directly controlled, i.e., - - - - - - - - VOLTAGE_MODE and SPEED_MODE - - - - - - - - - - - - - - - - - - - Speed limitations - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - Voltage Circle limitations with priority on i_d (Flux current): - - - - - - - - Vq_max - - - - - - - - = sqrt(Vd_max^2 - Vd^2) - - - - - - - - Vq_min - - - - - - - - = -Vq_max - - - - - - - + + - + - + - - 8 + + 12 - + - - + + - - + + - - iq_min + + Vq_nLimProtMax @@ -284,92 +61,44 @@ - - + + - + - + - - 7 + + 11 - + - - + + - - + + - - iq_max - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - id_max + + iq_limProtErr @@ -381,42 +110,42 @@ - + - + - + - + 9 - + - + - - + + - + r_iqLimProtMax @@ -429,42 +158,42 @@ - + - + - + - + 6 - + - + - - + + - + id_min @@ -476,44 +205,44 @@ - - + + - + - + - - 2 + + 5 - + - - + + - - + + - - Vd_min + + id_max @@ -524,1107 +253,9 @@ - - - - - - - - - - - - - - - - n_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vq_max_XA - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - Vq_max_M1 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - + + + @@ -1632,74 +263,170 @@ - - + + - - + + - + + z_ctrlMod + + + + + + + r_inpTgtScaAbs - - + + - + + VdPrev + + + + + + + + id_TgtAbs + + + + + + + + iq + + + + + + + iqAbs - - + + - - iq_max - - - - - - - + n_motAbs - - + + - - n_max + + Vd_max - - + + - + + Vd_min + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + r_iqLimProtMax - - + + - + r_nLimProtMax - - + + - - case: { } + + iq_limProtErr + + + + + + + + Vq_nLimProtMax + + + + + + + + if { } @@ -1711,8 +438,8 @@ - - + + @@ -1724,16 +451,16 @@ - - + + - - + + - - Voltage_Mode_Protection + + Motor_Limitations_Enabled @@ -1745,16 +472,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1766,15 +493,15 @@ - + - - + + - + sfix16_En4 @@ -1787,15 +514,225 @@ - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1807,13 +744,117 @@ - + - + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + @@ -1823,12 +864,12 @@ - + - - [z_ctrlMod] + + [z_ctrlTypSel] @@ -1846,625 +887,44 @@ - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iq_maxSca_XA - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - case [ 1 ]: - - - - - - - - case [ 2 ]: - - - - - - - - case [ 3 ]: - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - 1 + + 8 - + - - + + - - + + - - Vd_max + + iq_min @@ -2475,736 +935,29 @@ - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - n_max - - - - - - - - Vq_max - - - - - - - - Vq_nLimProtMax - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Torque_Mode_Protection - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 11 - - - - - - - - - - - - - - - - - - - - - - iq_limProtErr - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [Vq_max] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3215,268 +968,28 @@ - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - + [id_max] - + @@ -3488,44 +1001,29 @@ - - - + + + - - + + - - + + - - [VdPrev] + + [iq_limProtErr] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3536,28 +1034,28 @@ - - + + - + - + - + [iq_min] - + @@ -3569,52 +1067,29 @@ - - - + + + - - + + - - + + - - - - - - - - - - + + [iq_max] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3625,287 +1100,7 @@ - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -3915,12 +1110,12 @@ - + - - [VdPrev] + + [r_inpTgtScaAbs] @@ -3938,7 +1133,1006 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -3948,11 +2142,11 @@ - + - + 5 @@ -3967,15 +2161,15 @@ - + - - + + - - iq + + id_TgtAbs @@ -3985,11 +2179,11 @@ - - + + - + sfix16_En4 @@ -4001,75 +2195,76 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + [r_iqLimProtMax] + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + - + - - + + - + sfix16_En4 @@ -4081,7 +2276,7 @@ - + @@ -4091,11 +2286,11 @@ - + - + 4 @@ -4110,15 +2305,15 @@ - + - - + + - - id_TgtAbs + + VdPrev @@ -4128,11 +2323,11 @@ - - + + - + sfix16_En4 @@ -4144,422 +2339,7 @@ - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - iq_maxSca_M1 - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - + @@ -4569,12 +2349,12 @@ - + - - [iqAbs] + + [iq] @@ -4592,312 +2372,7 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - VdPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - iq_limProtErr - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Speed_Mode_Protection - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - + @@ -4907,11 +2382,11 @@ - + - + 6 @@ -4926,15 +2401,15 @@ - + - - + + - - iqAbs + + iq @@ -4944,11 +2419,11 @@ - - + + - + sfix16_En4 @@ -4958,9 +2433,441 @@ + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + f() + + + + + + + + + + + + + + + + + + + + + + function + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + @@ -4970,11 +2877,11 @@ - + - + 2 @@ -4989,125 +2896,29 @@ - + - - + + - - r_inpTgtScaAbs + + z_ctrlMod - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - + + - + uint8 @@ -5119,140 +2930,44 @@ - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - + + - + - + - - 3 + + 2 - + - - + + - - + + - - Vq_max + + Vd_min @@ -5263,44 +2978,29 @@ - - - + + + - - + + - - + + - - [iq_max] + + [VdPrev] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -5311,7 +3011,7 @@ - + @@ -5321,11 +3021,11 @@ - + - + 1 @@ -5340,15 +3040,15 @@ - + - - + + - - z_ctrlMod + + z_ctrlTypSel @@ -5358,11 +3058,11 @@ - - + + - + uint8 @@ -5374,28 +3074,28 @@ - - + + - + - + - - [Vq_max] + + [r_nLimProtMax] - + @@ -5407,43 +3107,43 @@ - - + + - + - + - - [r_iqLimProtMax] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -5453,14 +3153,159 @@ - + - - - + + + - - + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + sfix16_En4 + + @@ -5470,11 +3315,11 @@ - + - + @@ -5484,73 +3329,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -5558,20 +3341,6 @@ - - - - - - - - - - - - - - @@ -5585,255 +3354,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -5847,335 +3368,91 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - + - + + + + + - + - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -6189,35 +3466,35 @@ - + - + - + - + - + - + - + @@ -6231,14 +3508,42 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6248,11 +3553,11 @@ - + - + @@ -6262,95 +3567,319 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6359,5 +3888,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json index 999b070..3b82cd6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json @@ -476,6 +476,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9067", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum6", + "label":"Sum6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "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:9066", "className":"Simulink.Sum", @@ -601,98 +660,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9067", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", - "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: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:9061", "className":"Simulink.From", @@ -724,37 +691,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9059", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "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:9060", "className":"Simulink.From", @@ -786,6 +722,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9059", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "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:9057", "className":"Simulink.From", @@ -818,11 +785,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9058", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9056", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -849,11 +816,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9053", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9052", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", + "name":"Divide3", + "label":"Divide3", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -906,11 +873,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9062", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9064", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto26", + "label":"Goto26", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -919,7 +886,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "r_sin", "local", "Tag" ], @@ -939,11 +906,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9056", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9054", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "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:9058", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -970,11 +968,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9052", + "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:9051", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -1084,19 +1113,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9055", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9062", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "r_cos", + "local", "Tag" ], "tabs":[ @@ -1110,47 +1141,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "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:9051", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9053", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide4", + "label":"Divide4", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -1205,7 +1205,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9048#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1256,7 +1256,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9047#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1307,7 +1307,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9046#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1358,7 +1358,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9049#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1409,7 +1409,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9054#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1460,7 +1460,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9056#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1511,7 +1511,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9053#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1562,7 +1562,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9050#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1613,7 +1613,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9057#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1664,7 +1664,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9055#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1715,7 +1715,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9067#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1766,7 +1766,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9051#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1817,7 +1817,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9058#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1868,7 +1868,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9059#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1919,7 +1919,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9052#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -1970,7 +1970,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9060#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -2021,7 +2021,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9061#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", @@ -2072,7 +2072,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9066#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg index 42b5079..a72f676 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg @@ -410,6 +410,70 @@
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -422,35 +486,35 @@ - + - + - + - + - + - + - + - + @@ -468,11 +532,11 @@ - + - + sfix16_En4 @@ -494,11 +558,11 @@ - + - + [i_beta] @@ -527,11 +591,11 @@ - + - + [i_apha] @@ -548,103 +612,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - @@ -657,11 +624,11 @@ - + - + [r_sin] @@ -679,59 +646,11 @@ - + - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - + sfix16_En14 @@ -753,11 +672,11 @@ - + - + [i_beta] @@ -775,11 +694,11 @@ - + - + sfix16_En4 @@ -789,6 +708,54 @@ + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + @@ -801,11 +768,11 @@ - + - + [i_beta] @@ -823,11 +790,11 @@ - + - + sfix16_En4 @@ -837,143 +804,6 @@ - - - - - - - - - - - - - - - - - - [i_apha] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - @@ -986,11 +816,11 @@ - + - + [i_apha] @@ -1008,11 +838,11 @@ - + - + sfix16_En4 @@ -1034,19 +864,19 @@ - + - + - + - + @@ -1064,11 +894,11 @@ - + - + sfix16_En4 @@ -1080,51 +910,124 @@ - - - + + + - - + + - - + + - - - - - - - - - - + + [r_sin] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + - + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_apha] + + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -1146,11 +1049,11 @@ - + - + [r_cos] @@ -1168,59 +1071,11 @@ - + - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - + sfix16_En14 @@ -1242,19 +1097,19 @@ - + - + - + - + @@ -1272,11 +1127,156 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1540,5 +1540,5 @@ - + 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 deleted file mode 100644 index 8533c14..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9109_d.png and /dev/null differ 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 deleted file mode 100644 index 1b4eee3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9143_d.png and /dev/null differ 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 deleted file mode 100644 index 1d5efd5..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9164_d.json +++ /dev/null @@ -1,936 +0,0 @@ -[ - { - "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/BLDCmotor_FOC_R2017b_fixdt_9188_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.json deleted file mode 100644 index 3a4e984..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.json +++ /dev/null @@ -1,936 +0,0 @@ -[ - { - "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/BLDCmotor_FOC_R2017b_fixdt_9188_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9188_d.svg deleted file mode 100644 index 54128cd..0000000 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_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/BLDCmotor_FOC_R2017b_fixdt_9198_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json index 762c3c5..c4296d8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json @@ -895,86 +895,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9455", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "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:9449", "className":"Simulink.UnitDelay", @@ -1082,6 +1002,105 @@ "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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9233", "className":"Simulink.RelationalOperator", @@ -1128,11 +1147,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9452", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9924", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1141,7 +1160,7 @@ "IconDisplay" ], "values":[ - "VqFinPrev", + "z_dir", "local", "Tag" ], @@ -1161,25 +1180,39 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9920", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9835", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"Relational Operator1", + "label":"Relational Operator1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "b_enaAdvCtrl", - "Tag" + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1187,24 +1220,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9927", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9225", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "a_elecAngle", + "r_inpTgtSca", + "local", "Tag" ], "tabs":[ @@ -1218,7 +1253,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -1256,11 +1291,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9214", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9927", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1268,7 +1303,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "a_elecAngle", "Tag" ], "tabs":[ @@ -1287,11 +1322,56 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9908", + "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:9454", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"From5", + "label":"From5", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1299,7 +1379,102 @@ "IconDisplay" ], "values":[ - "V_phaABC_FOC", + "VqFinPrev", + "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: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: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":[ @@ -1410,6 +1585,37 @@ "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", @@ -1441,181 +1647,6 @@ "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:9842", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Method", - "label":"FOC_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: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:9227", "className":"Simulink.Goto", @@ -1650,44 +1681,11 @@ } }, { - "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:9916", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9929", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From16", + "label":"From16", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1695,7 +1693,7 @@ "IconDisplay" ], "values":[ - "VqFin", + "r_fieldWeak", "Tag" ], "tabs":[ @@ -1714,21 +1712,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9926", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9908", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"From15", + "label":"From15", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "a_elecAngle", - "local", + "V_phaABC_FOC", "Tag" ], "tabs":[ @@ -1742,37 +1738,78 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9914", - "className":"Simulink.Merge", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9455", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", + "name":"VqFinPrev", + "label":"VqFinPrev", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Inputs", + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "4", + "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, - 3 + 2, + 11 ] }, "viewer":{ @@ -1781,104 +1818,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Merge", - "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", + "blocktype":"Outport", "masktype":"" } }, @@ -1914,36 +1854,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9833", - "className":"Simulink.If", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9838", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"If", - "label":"If", + "name":"CTRL_COMM3", + "label":"CTRL_COMM3", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", + "Value", + "VectorParams1D", "SampleTime", - "ZeroCross" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "2", - "u1 ~= 0", - "u2 ~= 0", + "CTRL_SIN", "on", - "-1", - "on" + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 4 + 3, + 7 ] }, "viewer":{ @@ -1952,7 +1898,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Constant", "masktype":"" } }, @@ -2006,11 +1952,525 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9215", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9207", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", + "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:9925", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_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":"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", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9923", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_fieldWeak", + "label":"r_fieldWeak", + "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":[ + "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: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: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:9842", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Method", + "label":"FOC_Method", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "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", + "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:9920", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -2018,7 +2478,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -2037,25 +2497,61 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9928", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9201", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "z_dir", - "Tag" + "2", + "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" @@ -2063,7 +2559,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, @@ -2182,37 +2678,105 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9840", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9214", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", + "name":"From25", + "label":"From25", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" + "GotoTag", + "IconDisplay" ], "values":[ - "==", - "off", - "boolean", - "Simplest", - "-1", - "on" + "z_ctrlTypSel", + "Tag" ], "tabs":[ - "Main", - "Data Type", + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "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, - 1, 4 ] }, @@ -2222,610 +2786,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9923", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_fieldWeak", - "label":"r_fieldWeak", - "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":[ - "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: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:9207", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM1", - "label":"CTRL_COMM1", - "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: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:9925", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_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":"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: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:9201", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "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":[ - "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: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", - "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: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:9836", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "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", + "blocktype":"If", "masktype":"" } }, @@ -2839,18 +2800,18 @@ "inspector":{ "params":[ "Operator", - "Inputs", "IconShape", "AllPortsSameDT", "OutDataTypeStr", + "Inputs", "SampleTime" ], "values":[ "AND", - "2", "rectangular", "off", "boolean", + "2", "-1" ], "tabs":[ @@ -2860,8 +2821,53 @@ ], "tabs_idx":[ 0, - 3, - 5 + 2, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9836", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "AND", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 ] }, "viewer":{ @@ -2877,7 +2883,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9208#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -2928,7 +2934,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9208#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -2979,7 +2985,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9208#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3030,7 +3036,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9200#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3081,7 +3087,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9212#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3132,7 +3138,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9220#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3183,7 +3189,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9219#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3234,7 +3240,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9202#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3285,7 +3291,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9205#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3336,7 +3342,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9199#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3387,7 +3393,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9214#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3438,7 +3444,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9207#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3489,7 +3495,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9233#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3540,7 +3546,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9206#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3591,7 +3597,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9201#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3642,7 +3648,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9235#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3693,7 +3699,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9449#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3744,7 +3750,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9454#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3795,7 +3801,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9213#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3846,7 +3852,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9215#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3897,7 +3903,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8216#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3948,7 +3954,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9834#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -3999,7 +4005,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9832#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4050,7 +4056,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9835#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4101,7 +4107,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9831#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4152,7 +4158,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9839#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4203,7 +4209,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9838#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4254,7 +4260,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9908#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4305,7 +4311,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9833#out:3", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4356,7 +4362,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9904#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4407,7 +4413,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9914#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4458,7 +4464,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9915#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4509,7 +4515,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9916#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4560,7 +4566,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9836#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4611,7 +4617,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9833#out:2", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4662,7 +4668,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9741#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4713,7 +4719,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9842#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4764,7 +4770,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9833#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4815,7 +4821,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9840#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4866,7 +4872,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9919#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4917,7 +4923,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9920#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -4968,7 +4974,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9921#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -5019,7 +5025,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9922#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -5070,7 +5076,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9923#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -5121,7 +5127,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9927#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -5172,7 +5178,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9928#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -5223,7 +5229,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9929#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", @@ -5274,7 +5280,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11470#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", 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 index 0dc7e70..cf28ff3 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png 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/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg index 1fd7caa..5c6fbae 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg @@ -908,59 +908,11 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - + @@ -968,35 +920,35 @@ - + - + - + - + - + - + - + - + @@ -1022,11 +974,11 @@ - + - + sfix16_En4 @@ -1037,11 +989,11 @@ - + - + Ini=0 @@ -1062,13 +1014,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1076,7 +1052,7 @@ - + @@ -1084,7 +1060,7 @@ - + @@ -1092,7 +1068,7 @@ - + @@ -1100,7 +1076,7 @@ - + @@ -1108,7 +1084,7 @@ - + @@ -1116,7 +1092,7 @@ - + @@ -1124,7 +1100,7 @@ - + @@ -1132,7 +1108,7 @@ - + @@ -1140,7 +1116,7 @@ - + @@ -1148,7 +1124,7 @@ - + @@ -1156,7 +1132,7 @@ - + @@ -1164,7 +1140,7 @@ - + @@ -1172,46 +1148,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + - + T - + - + F @@ -1229,11 +1181,159 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VqFin + + + + + + + + a_elecAngle + + + + + + + + z_dir + + + + + + + + r_fieldWeak + + + + + + + + V_phaABC_SIN + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SIN_Method + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1246,6 +1346,12 @@ + + + + + + @@ -1255,27 +1361,27 @@ - + - + - + - + - + - + @@ -1301,11 +1407,11 @@ - + - + boolean @@ -1317,28 +1423,28 @@ - - + + - + - + - - [VqFinPrev] + + [z_dir] - + @@ -1348,428 +1454,11 @@ - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_FOC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - + @@ -1777,27 +1466,27 @@ - + - + - + - + - + - + @@ -1823,11 +1512,11 @@ - + - + boolean @@ -1837,139 +1526,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - V_phaABC_FOC_in - - - - - - - - V_phaABC_FOC - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC_Method - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - @@ -1979,11 +1538,11 @@ - + - + [r_inpTgtSca] @@ -2002,28 +1561,28 @@ - - + + - + - + - - [z_ctrlTypSel] + + [VqFin] - + @@ -2035,29 +1594,437 @@ - - - + + + - - + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + - + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] - - + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean @@ -2078,11 +2045,11 @@ - + - + [VqFin] @@ -2100,11 +2067,11 @@ - + - + sfix16_En4 @@ -2116,28 +2083,76 @@ - - - + + + - - + + - - + + - - [a_elecAngle] + + [z_pos] - + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + @@ -2149,59 +2164,43 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + [r_fieldWeak] + - - + + - + - - + + - + sfix16_En4 @@ -2213,128 +2212,92 @@ - - - + + + - - - - - - - - + + - - - - - - - VqFin - - - - - - - - z_pos - - + - - V_phaABC_COM - - - - - - - - else { } + + [V_phaABC_FOC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - COM_Method + + - - - - - - - + - - + + - + sfix16_En4 - + + + + + + + + + + + + + + + - - - - + + + - - + + 4 + + + + + + + + + + + + + + - + - - action + + VqFinPrev @@ -2346,12 +2309,6 @@ - - - - - - @@ -2399,106 +2356,44 @@ - - - + + + - - + + - + - - u1 - - - - - - - - u2 - - - - - - - - if(u1 ~= 0) - - - - - - - - elseif(u2 ~= 0) - - - - - - - - else + + CTRL_SIN - - + + - - + + - - + + - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action + + uint8 @@ -2519,11 +2414,11 @@ - + - + CTRL_FOC @@ -2541,11 +2436,11 @@ - + - + uint8 @@ -2557,43 +2452,208 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + CTRL_FOC - - + + - - + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VqFin + + + + + + + + z_pos - + - + + V_phaABC_COM + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + COM_Method + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2605,44 +2665,465 @@ - - - + + + + + + + + + - - + + - - + + - - [z_dir] + + 9 - + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + V_phaABC_FOC_in + + + + + + + + V_phaABC_FOC + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC_Method + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + - - + + - - + + - - int8 + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 @@ -2663,11 +3144,11 @@ - + - + 7 @@ -2685,11 +3166,11 @@ - + - + a_elecAngle @@ -2700,11 +3181,11 @@ - + - + sfix16_En6 @@ -2726,19 +3207,19 @@ - + - + - + - + @@ -2764,11 +3245,11 @@ - + - + int16 @@ -2780,194 +3261,44 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - + - - int8 + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 @@ -2978,91 +3309,59 @@ - - - + + + - - + + - - - - - - - - CTRL_FOC - - - - - - - - - - - - - - - + - + - - uint8 + + + + + + + + + + - - - - - - - - - - - - + + - - - - - - - [VqFinPrev] - - - + + - + - - + + - + sfix16_En4 @@ -3074,469 +3373,106 @@ - - - + + + - - + + - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - CTRL_SIN - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VqFin - - + - - a_elecAngle + + u1 - + - - z_dir + + u2 - + - - r_fieldWeak + + if(u1 ~= 0) - + - - V_phaABC_SIN + + elseif(u2 ~= 0) - + - - elseif { } + + else - - - - - - - - + + - - - - - - - - - + + + - + - - SIN_Method - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + action - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - + + action - - - - - - - - - - - - - - - - - + + - - + + - - boolean + + action @@ -3557,19 +3493,19 @@ - + - + - + - + @@ -3579,6 +3515,21 @@ + + + + + + + + + + + boolean + + + + @@ -3590,21 +3541,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + boolean + + + + + + + + + + + @@ -4303,5 +4303,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg index 788dc68..f0bc049 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg @@ -10,5 +10,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg index e1aad8c..d810a7b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg @@ -10,5 +10,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json index 83156c6..102cc74 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json @@ -492,21 +492,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -518,30 +519,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -553,18 +554,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -578,6 +580,37 @@ "masktype":"" } }, + { + "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", @@ -678,112 +711,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9818", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9799", + "className":"Simulink.Goto", "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":"BLDCmotor_FOC_R2017b_fixdt:9741", - "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: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:9805", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "z_dir", + "local", "Tag" ], "tabs":[ @@ -797,7 +739,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -835,11 +777,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9810", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9818", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ @@ -847,7 +789,69 @@ "IconDisplay" ], "values":[ - "V_phaABC_SIN", + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9805", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "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:9803", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", "Tag" ], "tabs":[ @@ -922,6 +926,117 @@ "masktype":"" } }, + { + "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:10677", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "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:9806", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "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:9798", "className":"Simulink.Inport", @@ -989,6 +1104,140 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9795", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "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:9796", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFin", + "label":"VqFin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "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:9797", "className":"Simulink.Inport", @@ -1056,257 +1305,10 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9799", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "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:9795", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "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:9806", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "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:9796", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VqFin", - "label":"VqFin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "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:10677", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "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:9779#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1357,7 +1359,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10677#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1408,7 +1410,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9743#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1459,7 +1461,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9795#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1510,7 +1512,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9798#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1561,7 +1563,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9797#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1612,7 +1614,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9796#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1663,7 +1665,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9803#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1714,7 +1716,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9805#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1765,7 +1767,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9806#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1816,7 +1818,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9810#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1867,7 +1869,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9818#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1918,7 +1920,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9780#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -1969,7 +1971,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9781#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -2020,7 +2022,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9782#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -2071,7 +2073,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9819#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", @@ -2122,7 +2124,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9816#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg index 4718c4c..b6a17d7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg @@ -82,7 +82,7 @@ - + @@ -553,7 +553,7 @@ - + @@ -1024,7 +1024,7 @@ - + @@ -1495,7 +1495,7 @@ - + @@ -1638,7 +1638,7 @@ - + @@ -1780,13 +1780,61 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + @@ -1796,11 +1844,11 @@ - + - + [VqFin] @@ -1829,11 +1877,11 @@ - + - + [a_elecAngle] @@ -1862,11 +1910,11 @@ - + - + [r_fieldWeak] @@ -1883,6 +1931,72 @@ + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_SIN] + + + + + + + + + + + + + + + @@ -1895,11 +2009,11 @@ - + - + [VqFin] @@ -1917,11 +2031,11 @@ - + - + sfix16_En4 @@ -1931,102 +2045,6 @@ - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - @@ -2039,11 +2057,11 @@ - + - + [z_dir] @@ -2061,11 +2079,11 @@ - + - + int8 @@ -2077,77 +2095,44 @@ - - - - - - - - - - - - - - - - [V_phaABC_SIN] - - - - - - - - - - - - - - - - - - - + + - + - + - - [V_phaABC_SIN] + + [a_elecAngle] - + - + - - + + - - sfix16_En4 + + sfix16_En6 @@ -2167,20 +2152,20 @@ + + + + + + + + - - - - - - - - @@ -2198,11 +2183,11 @@ - + - + sfix16_En4 @@ -2214,328 +2199,43 @@ - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - + + - + - + - - [r_fieldWeak] + + [V_phaABC_SIN] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - VqFin - - - - - - - - - - - - - - + sfix16_En4 @@ -2557,11 +2257,11 @@ - + - + 0 @@ -2579,11 +2279,11 @@ - + - + uint8 @@ -2593,6 +2293,306 @@ + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + VqFin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + @@ -2638,10 +2638,10 @@ - + - + @@ -2913,5 +2913,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json index 51ef8c9..c48c0fb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json @@ -752,55 +752,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9791", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"b_fieldWeakEna", - "label":"b_fieldWeakEna", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "b_fieldWeakEna", - "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:9758", "className":"Simulink.Goto", @@ -868,7 +819,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Modulo_fixdt", "label":"Modulo_fixdt", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -876,21 +827,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -902,30 +854,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -937,18 +889,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1060,6 +1013,55 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9791", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_fieldWeakEna", + "label":"b_fieldWeakEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "b_fieldWeakEna", + "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:9747", "className":"Simulink.Inport", @@ -1130,7 +1132,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9756#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1181,7 +1183,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9745#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1232,7 +1234,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9765#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1283,7 +1285,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9749#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1334,7 +1336,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9746#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1385,7 +1387,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9747#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1436,7 +1438,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9769#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1487,7 +1489,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9772#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1538,7 +1540,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1589,7 +1591,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9766#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1640,7 +1642,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9755#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1691,7 +1693,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9752#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1742,7 +1744,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9751#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1793,7 +1795,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9770#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1844,7 +1846,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9753#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1895,7 +1897,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9791#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1946,7 +1948,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9794#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -1997,7 +1999,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10175#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg index 043fdcb..f1ae64d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg @@ -226,7 +226,7 @@ - + @@ -993,69 +993,6 @@ - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -1068,11 +1005,11 @@ - + - + [r_fieldWeak] @@ -1101,11 +1038,11 @@ - + - + [r_fieldWeak] @@ -1123,11 +1060,11 @@ - + - + sfix16_En4 @@ -1155,27 +1092,27 @@ - + - + num - + - + div - + - + rem @@ -1194,9 +1131,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1205,52 +1178,16 @@ - + - + sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1273,11 +1210,11 @@ - + - + [r_fieldWeak] @@ -1295,11 +1232,11 @@ - + - + sfix16_En4 @@ -1321,11 +1258,11 @@ - + - + 3 @@ -1343,11 +1280,11 @@ - + - + r_fieldWeak @@ -1358,11 +1295,11 @@ - + - + sfix16_En4 @@ -1372,6 +1309,69 @@ + + + + + + + + + + + + + + + + + + b_fieldWeakEna + + + + + + + + + + + + + + + + + + + + + + b_fieldWeakEna + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -1689,5 +1689,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json index 017bf61..59f8a0c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json @@ -180,7 +180,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9843#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9842", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg index 02c17b7..c6ad46c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg @@ -63,7 +63,7 @@ - + @@ -171,5 +171,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json index 9f4adbf..a1ccb67 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json @@ -111,11 +111,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9823", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9912", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ @@ -124,7 +124,7 @@ "IconDisplay" ], "values":[ - "V_phaABC_COM", + "VqFin", "local", "Tag" ], @@ -144,11 +144,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9912", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9823", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ @@ -157,7 +157,7 @@ "IconDisplay" ], "values":[ - "VqFin", + "V_phaABC_COM", "local", "Tag" ], @@ -209,6 +209,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9453", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", + "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:9211", "className":"Simulink.From", @@ -240,126 +271,6 @@ "masktype":"" } }, - { - "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:9913", "className":"Simulink.From", @@ -391,104 +302,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9909", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VqFin", - "label":"VqFin", - "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":[ - "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:9453", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", - "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:9209", "className":"Simulink.Product", @@ -546,10 +359,197 @@ "masktype":"" } }, + { + "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:9909", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFin", + "label":"VqFin", + "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":[ + "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: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:9209#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", @@ -600,7 +600,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9211#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", @@ -651,7 +651,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9236#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", @@ -702,7 +702,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9453#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", @@ -753,7 +753,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9909#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", @@ -804,7 +804,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9910#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", @@ -855,7 +855,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9913#out:1", "className":"Simulink.Line", - "icon":"WebViewIcon5", + "icon":"WebViewIcon6", "name":"", "label":"", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg index 43a2b77..91a389a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg @@ -94,11 +94,11 @@ - - + + - + @@ -108,14 +108,14 @@ - - [V_phaABC_COM] + + [VqFin] - + @@ -127,11 +127,11 @@ - - + + - + @@ -141,14 +141,14 @@ - - [VqFin] + + [V_phaABC_COM] - + @@ -191,6 +191,54 @@ + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -203,11 +251,11 @@ - + - + [z_pos] @@ -225,281 +273,11 @@ - + - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-D T[k] - - - - - - - - - - - - - - - - - - - - - - z_commutMap_M1 - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_pos - - - - - - - - - - - - - - + int8 @@ -521,11 +299,11 @@ - + - + [V_phaABC_COM] @@ -543,11 +321,11 @@ - + - + sfix16_En4 @@ -557,6 +335,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2-D T[k] + + + + + + + + + + + + + + + + + + + + + + z_commutMap_M1 + + + + + + + + + + + + + + + int8 + + + + + + + + @@ -569,11 +610,11 @@ - + - + 1 @@ -591,11 +632,11 @@ - + - + VqFin @@ -606,11 +647,11 @@ - + - + sfix16_En4 @@ -622,100 +663,59 @@ - - - + + + - - - - - - - - - - - - [VqFin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - + + - + - - - - - - - - - - + + 2 - - + + + + + + + + + + + + + + + + + z_pos - - + + - + - - sfix16_En4 + + int8 @@ -824,5 +824,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json index 46d8644..9f5041b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json @@ -20,14 +20,15 @@ "parent":1, "children":[ 3, - 14, - 25, - 37, - 40, - 86, - 92, + 4, + 15, + 27, + 39, + 43, 93, - 94 + 99, + 100, + 101 ], "name":"BLDC_controller", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller", @@ -41,133 +42,122 @@ ":9308", ":10192", ":9307", - ":9304", + ":9305", ":9303", ":9302", + ":9300", ":9299", - ":10064", + ":9298", ":11487", ":9441", - ":9298", - ":9293", - ":10258", - ":9291", - ":9301", - ":9284", - ":9282", - ":9934", - ":9281", - ":11349", - ":10189", - ":9272", - ":9278", - ":9276", - ":9275", - ":9456", - ":9252", - ":9280", - ":9251", - ":9241", - ":9263", - ":9286", - ":11518", - ":11019", - ":10355", - ":9297", - ":11488", - ":9300", - ":9268", - ":9289", - ":9267", - ":9287", - ":10259", - ":9260", - ":9277", - ":9930", - ":9261", - ":9258", - ":9259", - ":10257", - ":10187", - ":11306", - ":9253", - ":9264", - ":11489", - ":10749", - ":11304", - ":9305", - ":9935", - ":9245", - ":9274", - ":9279", - ":9720", - ":10191", - ":10159", - ":9198", - ":11305", - ":9437", - ":11485", + ":11895", ":10751", - ":9266", - ":9931", - ":9270", - ":11302", - ":8658", - ":9262", - ":11303", - ":9283", - ":9269", - ":10155", - ":9244", - ":9240", - ":9271", - ":9250", - ":9306", - ":10356", - ":10066", - ":9418", - ":9290", + ":10749", + ":9293", ":9292", - ":8220", - ":9249", - ":9265", - ":11151", - ":10065", + ":9284", ":10158", - ":10156", - ":11351", + ":11883", + ":9279", + ":9289", ":9288", - ":8209", - ":9448", - ":8469", - ":8207", - ":10160", - ":8210", - ":8206", - ":10164", - ":8205", - ":11348", - ":10188", - ":11700", - ":10161", - ":8204", - ":8203", - ":10154", + ":9286", + ":11880", + ":11349", + ":9272", + ":11879", + ":9277", + ":9276", + ":9274", ":9285", - ":10139", - ":8202", - ":8208", + ":9271", + ":9241", + ":9456", + ":9250", + ":11518", + ":9301", + ":9306", + ":11019", + ":9278", + ":12677", + ":9418", + ":9934", ":10692", + ":10356", + ":10259", + ":9268", + ":11882", + ":9265", + ":9258", + ":10257", + ":10160", + ":11306", + ":9269", + ":9253", + ":11304", + ":9283", + ":12674", + ":11351", + ":9249", + ":9287", + ":9931", + ":9245", + ":9244", + ":9304", + ":9259", + ":9240", + ":10191", + ":9198", + ":9264", + ":11303", + ":11881", + ":11302", + ":9275", + ":11305", + ":9930", + ":9262", + ":10355", + ":11485", + ":9252", + ":9448", + ":9266", + ":8469", + ":10161", + ":11488", + ":9280", + ":9282", + ":11489", + ":9263", + ":10065", + ":9267", + ":9260", + ":10066", + ":9270", + ":9281", + ":8209", + ":11884", + ":9935", + ":9720", + ":8658", + ":8207", + ":8210", + ":8205", + ":8220", + ":11700", + ":9437", + ":8203", + ":9261", + ":11348", + ":8206", + ":11151", + ":8204", + ":8202", ":8201", - ":10157", - ":10255", + ":8208", ":9268#out:1", - ":9290#out:1", - ":9251#out:1", ":9260#out:1", ":8220#out:5", ":9258#out:1", - ":9291#out:1", ":9249#out:1", ":9265#out:1", ":9250#out:1", @@ -211,29 +201,13 @@ ":9931#out:1", ":8220#out:3", ":9935#out:1", - ":11151#out:2", ":8203#out:1", ":10065#out:1", - ":10155#out:1", - ":10154#out:1", - ":10064#out:1", - ":10157#out:1", - ":10164#out:3", - ":10164#out:2", - ":10164#out:1", - ":9297#out:1", - ":10191#out:1", - ":10255#out:1", - ":10257#out:1", ":10356#out:1", ":10355#out:1", ":10066#out:1", - ":10159#out:1", ":10160#out:1", ":10161#out:1", - ":10139#out:1", - ":10156#out:1", - ":10259#out:1", ":10692#out:1", ":8207#out:1", ":10749#out:1", @@ -247,7 +221,7 @@ ":11305#out:1", ":8469#out:2", ":11151#out:1", - ":10258#out:1", + ":11151#out:3", ":11348#out:1", ":11351#out:1", ":9267#out:1", @@ -257,22 +231,70 @@ ":11489#out:1", ":11518#out:1", ":11487#out:1", - ":11700#out:1" + ":11700#out:1", + ":10257#out:1", + ":10259#out:1", + ":10191#out:1", + ":11151#out:2", + ":11884#out:2", + ":11884#out:1", + ":11884#out:3", + ":11895#out:2", + ":11895#out:3", + ":11895#out:4", + ":11895#out:5", + ":11895#out:1", + ":12674#out:1", + ":12677#out:1" ], "sameAsElement":true }, { "hid":3, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11884", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11884", + "parent":2, + "children":[ + ], + "name":"Call_Scheduler", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Call_Scheduler", + "label":"Call_Scheduler", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json", + "elements":[ + ":11894", + ":11891", + ":11893", + ":11892", + ":11888", + ":11887", + ":11889", + ":11890", + ":11885", + ":11886", + ":11886#out:1", + ":11888#out:1", + ":11887#out:1", + ":11890#out:1", + ":11889#out:1", + ":11885#out:1" + ], + "sameAsElement":true + }, + { + "hid":4, "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", "esid":"BLDCmotor_FOC_R2017b_fixdt:8220", "parent":2, "children":[ - 4, 5, 6, 7, - 11, - 12 + 8, + 12, + 13 ], "name":"F01_Estimations", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations", @@ -310,7 +332,6 @@ ":8464", ":8426", ":8428", - ":9433", ":8467", ":8466", ":9933", @@ -320,31 +341,32 @@ ":8462", ":11355", ":8460", - ":8458", ":11353", - ":8468", ":9432", + ":8450", ":8446", + ":8449", ":9932", - ":9431", - ":8437", - ":8436", - ":8435", ":8434", ":8429", - ":8432", - ":11357", - ":8457", - ":8384", - ":11414", - ":8427", - ":8449", - ":8430", ":8451", - ":8450", + ":8427", + ":8432", + ":11414", ":8461", + ":8430", + ":8437", + ":8384", + ":8435", + ":9433", + ":11357", + ":8468", + ":8436", ":8431", ":11352", + ":8458", + ":9431", + ":8457", ":8462#out:1", ":8440#out:1", ":8439#out:1", @@ -396,10 +418,10 @@ "sameAsElement":true }, { - "hid":4, + "hid":5, "sid":"BLDCmotor_FOC_R2017b_fixdt:8225", "esid":"BLDCmotor_FOC_R2017b_fixdt:8225", - "parent":3, + "parent":4, "children":[ ], "name":"F01_01_Edge_Detector", @@ -415,8 +437,8 @@ ":8228", ":8234", ":8232", - ":8231", ":8233", + ":8231", ":9634", ":8226#out:1", ":8228#out:1", @@ -429,10 +451,10 @@ "sameAsElement":true }, { - "hid":5, + "hid":6, "sid":"BLDCmotor_FOC_R2017b_fixdt:8235", "esid":"BLDCmotor_FOC_R2017b_fixdt:8235", - "parent":3, + "parent":4, "children":[ ], "name":"F01_02_Position_Calculation", @@ -466,10 +488,10 @@ "sameAsElement":true }, { - "hid":6, + "hid":7, "sid":"BLDCmotor_FOC_R2017b_fixdt:8247", "esid":"BLDCmotor_FOC_R2017b_fixdt:8247", - "parent":3, + "parent":4, "children":[ ], "name":"F01_03_Direction_Detection", @@ -493,8 +515,8 @@ ":8252", ":8262", ":8260", - ":8249", ":8259", + ":8249", ":8259#out:1", ":8255#out:1", ":8253#out:1", @@ -511,13 +533,13 @@ "sameAsElement":true }, { - "hid":7, + "hid":8, "sid":"BLDCmotor_FOC_R2017b_fixdt:8263", "esid":"BLDCmotor_FOC_R2017b_fixdt:8263", - "parent":3, + "parent":4, "children":[ - 8, - 10 + 9, + 11 ], "name":"F01_04_Speed_Estimation", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation", @@ -544,58 +566,58 @@ ":8290", ":8266", ":8296", - ":8379", - ":9430", + ":8378", + ":8377", ":8374", - ":8371", - ":8370", - ":9428", - ":8314", - ":8312", - ":8313", - ":8308", - ":8369", - ":8303", - ":8300", - ":8298", - ":8297", - ":8301", - ":8293", - ":8366", - ":8292", - ":8376", - ":8373", - ":8305", - ":8289", ":9429", + ":8372", + ":11461", + ":8371", + ":9428", + ":8376", + ":8366", + ":9427", + ":8313", + ":8305", + ":8308", + ":8301", + ":8370", + ":8299", + ":8306", + ":9425", + ":8292", + ":8314", ":8286", - ":8284", + ":8289", ":9477", ":8283", - ":8282", - ":8294", - ":8378", - ":11461", - ":9425", - ":8377", - ":8285", - ":8311", ":8281", + ":8311", + ":8282", + ":9430", ":8280", - ":8277", + ":8369", ":9426", - ":8299", - ":8275", - ":9427", - ":8270", + ":8298", ":8278", - ":8268", - ":8306", + ":8277", + ":8303", + ":8300", + ":8276", + ":8294", + ":8284", + ":8275", + ":8312", + ":8379", ":8267", ":8272", - ":8276", - ":8372", ":8291", + ":8297", + ":8293", + ":8270", + ":8268", + ":8285", + ":8373", ":8309", ":11462", ":8310", @@ -653,17 +675,17 @@ "sameAsElement":true }, { - "hid":8, + "hid":9, "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", "esid":"BLDCmotor_FOC_R2017b_fixdt:8272", - "parent":7, + "parent":8, "children":[ - 9 + 10 ], "name":"Counter", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter", "label":"Counter", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "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", @@ -671,9 +693,9 @@ ":8272:2418", ":8272:2416", ":8272:2415", + ":8272:2413", ":8272:2414", ":8272:2515", - ":8272:2413", ":8272:2412", ":8272:2515#out:1", ":8272:2415#out:1", @@ -685,16 +707,16 @@ "sameAsElement":true }, { - "hid":9, + "hid":10, "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "esid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", - "parent":8, + "parent":9, "children":[ ], "name":"rst_Delay", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay", "label":"rst_Delay", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "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", @@ -714,10 +736,10 @@ "sameAsElement":true }, { - "hid":10, + "hid":11, "sid":"BLDCmotor_FOC_R2017b_fixdt:8314", "esid":"BLDCmotor_FOC_R2017b_fixdt:8314", - "parent":7, + "parent":8, "children":[ ], "name":"Raw_Motor_Speed_Estimation", @@ -735,48 +757,48 @@ ":8365", ":8360", ":8358", - ":8357", - ":8356", - ":8355", ":8354", + ":8355", + ":8353", ":8351", + ":8359", ":8349", - ":8350", - ":8348", ":8346", ":8345", - ":8344", - ":8342", ":8341", - ":8339", - ":8347", ":8340", + ":8339", + ":8337", + ":8347", ":8336", - ":8335", - ":8352", + ":8344", + ":8334", + ":8333", + ":8332", + ":8357", ":8331", + ":8328", + ":8338", + ":8324", + ":8356", + ":8323", + ":8321", + ":8319", + ":8326", ":8330", ":8327", - ":8326", - ":8353", - ":8337", - ":8321", - ":8322", - ":8325", - ":8324", - ":8332", - ":8338", ":8318", - ":8333", - ":8359", + ":8325", ":8317", - ":8319", + ":8342", ":8316", - ":8334", - ":8328", + ":8352", + ":8322", + ":8335", ":8320", - ":8323", ":8315", + ":8350", + ":8348", ":8329", ":8343", ":8315#out:1", @@ -818,10 +840,10 @@ "sameAsElement":true }, { - "hid":11, + "hid":12, "sid":"BLDCmotor_FOC_R2017b_fixdt:8384", "esid":"BLDCmotor_FOC_R2017b_fixdt:8384", - "parent":3, + "parent":4, "children":[ ], "name":"F01_05_Electrical_Angle_Estimation", @@ -855,28 +877,28 @@ ":8391", ":8421", ":8420", - ":8418", ":8417", ":11415", ":9664", - ":9660", - ":8412", - ":8405", ":8411", - ":8404", + ":8412", ":8400", + ":8404", + ":9660", ":8398", - ":8396", - ":8393", - ":8392", - ":8395", - ":11459", ":8397", - ":8389", - ":8410", - ":9665", - ":8403", ":8394", + ":8405", + ":8393", + ":8418", + ":8403", + ":8392", + ":9665", + ":8389", + ":11459", + ":8410", + ":8396", + ":8395", ":8385#out:1", ":8386#out:1", ":8399#out:1", @@ -912,12 +934,12 @@ "sameAsElement":true }, { - "hid":12, + "hid":13, "sid":"BLDCmotor_FOC_R2017b_fixdt:11357", "esid":"BLDCmotor_FOC_R2017b_fixdt:11357", - "parent":3, + "parent":4, "children":[ - 13 + 14 ], "name":"F01_06_Electrical_Angle_Measurement", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement", @@ -931,18 +953,18 @@ ":11437", ":11358", ":11381", + ":11398", + ":11419", ":11410", ":11409", - ":11408", ":11412", - ":11419", + ":11375", + ":11408", ":11411", ":11438", - ":11460", ":11418", - ":11398", + ":11460", ":11406", - ":11375", ":11375#out:1", ":11358#out:1", ":11410#out:1", @@ -957,16 +979,16 @@ "sameAsElement":true }, { - "hid":13, + "hid":14, "sid":"BLDCmotor_FOC_R2017b_fixdt:11408", "esid":"BLDCmotor_FOC_R2017b_fixdt:11408", - "parent":12, + "parent":13, "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", + "icon":"WebViewIcon7", "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", @@ -987,13 +1009,12 @@ "sameAsElement":true }, { - "hid":14, + "hid":15, "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", "esid":"BLDCmotor_FOC_R2017b_fixdt:8469", "parent":2, "children":[ - 15, - 24 + 16 ], "name":"F02_Diagnostics", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics", @@ -1003,499 +1024,555 @@ "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", - ":8531", - ":8532", - ":8533", - ":8534", - ":9415", - ":9416", ":8470", ":8526", ":8499", ":8497", ":8527", - ":8525", - ":9398", - ":8524", - ":8521", - ":8515", - ":9404", - ":8520", - ":8509", - ":8519", + ":9297", + ":9291", ":11021", ":8504", - ":9395", - ":8514", + ":11832", + ":11831", ":9397", - ":8503", - ":8500", - ":11022", - ":8491", - ":9402", - ":8493", - ":9400", - ":9408", - ":8510", + ":11834", ":8492", - ":8482", - ":8480", - ":8479", - ":8478", - ":8484", - ":8494", - ":8517", - ":8508", - ":9394", - ":9412", + ":11833", + ":9395", + ":11769", ":9396", - ":9410", - ":8483", - ":8486", - ":8474", - ":9406", - ":9405", + ":11835", + ":11836", ":11020", - ":9407", - ":8487", - ":9403", - ":9401", + ":9394", ":8497#out:1", ":8470#out:1", - ":8524#out:1", - ":8525#out:1", - ":8478#out:1", - ":8479#out:1", - ":8487#out:1", - ":8510#out:1", - ":8514#out:1", - ":8509#out:1", - ":8491#out:1", - ":8480#out:1", - ":8486#out:1", - ":8519#out:1", - ":8515#out:1", ":8492#out:1", - ":8493#out:1", - ":8494#out:1", - ":8520#out:1", - ":8508#out:1", - ":8482#out:1", - ":8483#out:1", - ":8484#out:1", - ":8521#out:1", ":9394#out:1", ":9396#out:1", - ":9402#out:1", - ":9403#out:1", - ":9405#out:1", - ":8517#out:1", - ":9407#out:1", - ":9408#out:1", - ":9410#out:1", - ":9412#out:1", - ":9401#out:1", - ":9398#out:1", ":11020#out:1", - ":9404#out:1", - ":11022#out:1", - ":9400#out:1" - ], - "sameAsElement":true - }, - { - "hid":15, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486", - "parent":14, - "children":[ - 16, - 17, - 20, - 23 - ], - "name":"Debounce_Filter", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter", - "label":"Debounce_Filter", - "icon":"WebViewIcon4", - "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:2509", - ":8486:2467", - ":8486:2472", - ":8486:2466", - ":8486:2464", - ":8486:2461", - ":8486:2462", - ":8486:2459", - ":8486:2507", - ":8486:2460", - ":8486:2449", - ":8486:2450", - ":8486:2454", - ":8486:2448", - ":8486:2456", - ":8486:2463", - ":8486:2451", - ":8486:2473", - ":8486:2452", - ":8486:2455", - ":8486:2428", - ":8486:2458", - ":8486:2423", - ":8486:2422", - ":8486:2457", - ":8486:2420", - ":8486:2421", - ":8486:2453", - ":8486:2465", - ":8486:2470", - ":8486:2468", - ":8486:2471", - ":8486:2469", - ":8486:2507#out:1", - ":8486:2422#out:1", - ":8486:2421#out:1", - ":8486:2467#out:1", - ":8486:2473#out:1", - ":8486:2453#out:1", - ":8486:2468#out:1", - ":8486:2448#out:1", - ":8486:2454#out:1", - ":8486:2460#out:1", - ":8486:2467#out:3", - ":8486:2420#out:1", - ":8486:2457#out:1", - ":8486:2456#out:1", - ":8486:2458#out:1", - ":8486:2467#out:2", - ":8486:2451#out:1", - ":8486:2423#out:1", - ":8486:2428#out:1", - ":8486:2449#out:1", - ":8486:2459#out:1", - ":8486:2509#out:1", - ":8486:2472#out:1", - ":8486:2452#out:1", - ":8486:2471#out:1", - ":8486:2455#out:1", - ":8486:2450#out:1", - ":8486:2470#out:1", - ":8486:2469#out:1" + ":11832#out:1", + ":11769#out:1", + ":11833#out:1", + ":11834#out:1", + ":11831#out:1", + ":9297#out:1", + ":9291#out:1", + ":11769#out:2" ], "sameAsElement":true }, { "hid":16, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11769", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11769", "parent":15, "children":[ + 17, + 26 ], - "name":"Default", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Default", - "label":"Default", + "name":"Diagnostics_Enabled", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled", + "label":"Diagnostics_Enabled", "icon":"WebViewIcon1", - "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", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json", "elements":[ - ":8486:2427", - ":8486:2426", - ":8486:2425", - ":8486:2424", - ":8486:2424#out:1" + ":11823", + ":11824", + ":11825", + ":11826", + ":11827", + ":11828", + ":11829", + ":11830", + ":11771", + ":11821", + ":11796", + ":11795", + ":11815", + ":11813", + ":11811", + ":11812", + ":11808", + ":11807", + ":11806", + ":11801", + ":11799", + ":11798", + ":11797", + ":11817", + ":11818", + ":11816", + ":11791", + ":11789", + ":11794", + ":11784", + ":11783", + ":11779", + ":11785", + ":11777", + ":11786", + ":11776", + ":11788", + ":11822", + ":11773", + ":11809", + ":11778", + ":11781", + ":11780", + ":11820", + ":11792", + ":11772", + ":11775", + ":11810", + ":11782", + ":11790", + ":11793", + ":11819", + ":11803", + ":11774", + ":11770", + ":11800", + ":11802", + ":11787", + ":11805", + ":11795#out:1", + ":11771#out:1", + ":11819#out:1", + ":11820#out:1", + ":11777#out:1", + ":11778#out:1", + ":11785#out:1", + ":11808#out:1", + ":11810#out:1", + ":11807#out:1", + ":11790#out:1", + ":11779#out:1", + ":11784#out:1", + ":11815#out:1", + ":11811#out:1", + ":11791#out:1", + ":11792#out:1", + ":11793#out:1", + ":11816#out:1", + ":11806#out:1", + ":11781#out:1", + ":11782#out:1", + ":11812#out:1", + ":11783#out:1", + ":11817#out:1", + ":11773#out:1", + ":11772#out:1", + ":11787#out:1", + ":11775#out:1", + ":11818#out:1", + ":11813#out:1", + ":11788#out:1", + ":11789#out:1", + ":11776#out:1", + ":11780#out:1", + ":11805#out:1", + ":11770#out:1", + ":11809#out:1", + ":11794#out:1", + ":11786#out:1" ], "sameAsElement":true }, { "hid":17, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", - "parent":15, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784", + "parent":16, "children":[ - 18 + 18, + 19, + 22, + 25 ], - "name":"Dequalification", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification", - "label":"Dequalification", - "icon":"WebViewIcon1", - "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", + "name":"Debounce_Filter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter", + "label":"Debounce_Filter", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json", "elements":[ - ":8486:2447", - ":8486:2446", - ":8486:2445", - ":8486:2440", - ":8486:2442", - ":8486:2439", - ":8486:2437", - ":8486:2436", - ":8486:2444", - ":8486:2435", - ":8486:2434", - ":8486:2443", - ":8486:2433", - ":8486:2432", - ":8486:2441", - ":8486:2438", - ":8486:2431", - ":8486:2430", - ":8486:2429", - ":8486:2438#out:1", - ":8486:2429#out:1", - ":8486:2430#out:1", - ":8486:2431#out:1", - ":8486:2434#out:1", - ":8486:2439#out:1", - ":8486:2440#out:1", - ":8486:2437#out:1", - ":8486:2445#out:1", - ":8486:2433#out:1", - ":8486:2436#out:1", - ":8486:2446#out:1", - ":8486:2435#out:1" + ":11784:2496", + ":11784:2472", + ":11784:2467", + ":11784:2473", + ":11784:2465", + ":11784:2464", + ":11784:2463", + ":11784:2466", + ":11784:2460", + ":11784:2458", + ":11784:2457", + ":11784:2456", + ":11784:2507", + ":11784:2461", + ":11784:2454", + ":11784:2452", + ":11784:2449", + ":11784:2453", + ":11784:2455", + ":11784:2448", + ":11784:2509", + ":11784:2450", + ":11784:2423", + ":11784:2422", + ":11784:2451", + ":11784:2421", + ":11784:2459", + ":11784:2428", + ":11784:2462", + ":11784:2420", + ":11784:2471", + ":11784:2470", + ":11784:2469", + ":11784:2468", + ":11784:2507#out:1", + ":11784:2422#out:1", + ":11784:2421#out:1", + ":11784:2467#out:1", + ":11784:2473#out:1", + ":11784:2453#out:1", + ":11784:2468#out:1", + ":11784:2448#out:1", + ":11784:2454#out:1", + ":11784:2460#out:1", + ":11784:2467#out:3", + ":11784:2420#out:1", + ":11784:2457#out:1", + ":11784:2456#out:1", + ":11784:2458#out:1", + ":11784:2467#out:2", + ":11784:2451#out:1", + ":11784:2423#out:1", + ":11784:2428#out:1", + ":11784:2449#out:1", + ":11784:2459#out:1", + ":11784:2509#out:1", + ":11784:2472#out:1", + ":11784:2452#out:1", + ":11784:2471#out:1", + ":11784:2455#out:1", + ":11784:2450#out:1", + ":11784:2470#out:1", + ":11784:2469#out:1" ], "sameAsElement":true }, { "hid":18, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "parent":17, "children":[ - 19 ], - "name":"Counter", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter", - "label":"Counter", - "icon":"WebViewIcon4", - "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", + "name":"Default", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Default", + "label":"Default", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json", "elements":[ - ":8486:2435:2418", - ":8486:2435:2416", - ":8486:2435:2415", - ":8486:2435:2515", - ":8486:2435:2414", - ":8486:2435:2412", - ":8486:2435:2413", - ":8486:2435:2515#out:1", - ":8486:2435:2415#out:1", - ":8486:2435:2413#out:1", - ":8486:2435:2416#out:1", - ":8486:2435:2414#out:1", - ":8486:2435:2412#out:1" + ":11784:2427", + ":11784:2426", + ":11784:2424", + ":11784:2425", + ":11784:2424#out:1" ], "sameAsElement":true }, { "hid":19, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", - "parent":18, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "parent":17, "children":[ + 20 ], - "name":"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/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", + "name":"Dequalification", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification", + "label":"Dequalification", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json", "elements":[ - ":8486:2435:2515:1577", - ":8486:2435:2515:1576", - ":8486:2435:2515:1575", - ":8486:2435:2515:1579", - ":8486:2435:2515:1574", - ":8486:2435:2515:2510", - ":8486:2435:2515:1576#out:1", - ":8486:2435:2515:1575#out:1", - ":8486:2435:2515:2510#out:1", - ":8486:2435:2515:1574#out:1", - ":8486:2435:2515:1577#out:1" + ":11784:2445", + ":11784:2444", + ":11784:2443", + ":11784:2441", + ":11784:2436", + ":11784:2434", + ":11784:2446", + ":11784:2442", + ":11784:2435", + ":11784:2432", + ":11784:2438", + ":11784:2440", + ":11784:2431", + ":11784:2437", + ":11784:2430", + ":11784:2429", + ":11784:2439", + ":11784:2447", + ":11784:2433", + ":11784:2438#out:1", + ":11784:2429#out:1", + ":11784:2430#out:1", + ":11784:2431#out:1", + ":11784:2434#out:1", + ":11784:2439#out:1", + ":11784:2440#out:1", + ":11784:2437#out:1", + ":11784:2445#out:1", + ":11784:2433#out:1", + ":11784:2436#out:1", + ":11784:2446#out:1", + ":11784:2435#out:1" ], "sameAsElement":true }, { "hid":20, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", - "parent":15, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", + "parent":19, "children":[ 21 ], - "name":"Qualification", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification", - "label":"Qualification", - "icon":"WebViewIcon1", - "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", + "name":"Counter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter", + "label":"Counter", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json", "elements":[ - ":8486:2492", - ":8486:2489", - ":8486:2488", - ":8486:2485", - ":8486:2482", - ":8486:2490", - ":8486:2481", - ":8486:2491", - ":8486:2486", - ":8486:2484", - ":8486:2479", - ":8486:2478", - ":8486:2480", - ":8486:2476", - ":8486:2487", - ":8486:2477", - ":8486:2483", - ":8486:2475", - ":8486:2474", - ":8486:2480#out:1", - ":8486:2491#out:1", - ":8486:2481#out:1", - ":8486:2478#out:1", - ":8486:2490#out:1", - ":8486:2482#out:1", - ":8486:2485#out:1", - ":8486:2484#out:1", - ":8486:2479#out:1", - ":8486:2476#out:1", - ":8486:2475#out:1", - ":8486:2474#out:1", - ":8486:2483#out:1" + ":11784:2435:2418", + ":11784:2435:2416", + ":11784:2435:2415", + ":11784:2435:2414", + ":11784:2435:2413", + ":11784:2435:2412", + ":11784:2435:2515", + ":11784:2435:2515#out:1", + ":11784:2435:2415#out:1", + ":11784:2435:2413#out:1", + ":11784:2435:2416#out:1", + ":11784:2435:2414#out:1", + ":11784:2435:2412#out:1" ], "sameAsElement":true }, { "hid":21, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "parent":20, "children":[ - 22 ], - "name":"Counter", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter", - "label":"Counter", - "icon":"WebViewIcon4", - "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", + "name":"rst_Delay", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter/rst_Delay", + "label":"rst_Delay", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json", "elements":[ - ":8486:2480:2418", - ":8486:2480:2515", - ":8486:2480:2414", - ":8486:2480:2413", - ":8486:2480:2412", - ":8486:2480:2416", - ":8486:2480:2415", - ":8486:2480:2515#out:1", - ":8486:2480:2415#out:1", - ":8486:2480:2413#out:1", - ":8486:2480:2416#out:1", - ":8486:2480:2414#out:1", - ":8486:2480:2412#out:1" + ":11784:2435:2515:1577", + ":11784:2435:2515:1576", + ":11784:2435:2515:1575", + ":11784:2435:2515:1579", + ":11784:2435:2515:1574", + ":11784:2435:2515:2510", + ":11784:2435:2515:1576#out:1", + ":11784:2435:2515:1575#out:1", + ":11784:2435:2515:2510#out:1", + ":11784:2435:2515:1574#out:1", + ":11784:2435:2515:1577#out:1" ], "sameAsElement":true }, { "hid":22, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", - "parent":21, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "parent":17, "children":[ + 23 ], - "name":"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/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", + "name":"Qualification", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification", + "label":"Qualification", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json", "elements":[ - ":8486:2480:2515:1577", - ":8486:2480:2515:1576", - ":8486:2480:2515:1575", - ":8486:2480:2515:1579", - ":8486:2480:2515:1574", - ":8486:2480:2515:2510", - ":8486:2480:2515:1576#out:1", - ":8486:2480:2515:1575#out:1", - ":8486:2480:2515:2510#out:1", - ":8486:2480:2515:1574#out:1", - ":8486:2480:2515:1577#out:1" + ":11784:2492", + ":11784:2490", + ":11784:2489", + ":11784:2486", + ":11784:2484", + ":11784:2483", + ":11784:2487", + ":11784:2491", + ":11784:2480", + ":11784:2478", + ":11784:2477", + ":11784:2481", + ":11784:2476", + ":11784:2488", + ":11784:2479", + ":11784:2475", + ":11784:2485", + ":11784:2482", + ":11784:2474", + ":11784:2480#out:1", + ":11784:2491#out:1", + ":11784:2481#out:1", + ":11784:2478#out:1", + ":11784:2490#out:1", + ":11784:2482#out:1", + ":11784:2485#out:1", + ":11784:2484#out:1", + ":11784:2479#out:1", + ":11784:2476#out:1", + ":11784:2475#out:1", + ":11784:2474#out:1", + ":11784:2483#out:1" ], "sameAsElement":true }, { "hid":23, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", - "parent":15, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "parent":22, "children":[ + 24 ], - "name":"either_edge", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/either_edge", - "label":"either_edge", - "icon":"WebViewIcon4", - "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", + "name":"Counter", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter", + "label":"Counter", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json", "elements":[ - ":8486:2507:2506", - ":8486:2507:2505", - ":8486:2507:2504", - ":8486:2507:2503", - ":8486:2507:2503#out:1", - ":8486:2507:2504#out:1", - ":8486:2507:2505#out:1" + ":11784:2480:2416", + ":11784:2480:2515", + ":11784:2480:2415", + ":11784:2480:2414", + ":11784:2480:2413", + ":11784:2480:2418", + ":11784:2480:2412", + ":11784:2480:2515#out:1", + ":11784:2480:2415#out:1", + ":11784:2480:2413#out:1", + ":11784:2480:2416#out:1", + ":11784:2480:2414#out:1", + ":11784:2480:2412#out:1" ], "sameAsElement":true }, { "hid":24, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8519", - "parent":14, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", + "parent":23, "children":[ ], - "name":"either_edge", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/either_edge", - "label":"either_edge", - "icon":"WebViewIcon4", - "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", + "name":"rst_Delay", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter/rst_Delay", + "label":"rst_Delay", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json", "elements":[ - ":8519:2506", - ":8519:2505", - ":8519:2504", - ":8519:2503", - ":8519:2503#out:1", - ":8519:2504#out:1", - ":8519:2505#out:1" + ":11784:2480:2515:1577", + ":11784:2480:2515:1576", + ":11784:2480:2515:1575", + ":11784:2480:2515:1579", + ":11784:2480:2515:1574", + ":11784:2480:2515:2510", + ":11784:2480:2515:1576#out:1", + ":11784:2480:2515:1575#out:1", + ":11784:2480:2515:2510#out:1", + ":11784:2480:2515:1574#out:1", + ":11784:2480:2515:1577#out:1" ], "sameAsElement":true }, { "hid":25, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", + "parent":17, + "children":[ + ], + "name":"either_edge", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/either_edge", + "label":"either_edge", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json", + "elements":[ + ":11784:2507:2506", + ":11784:2507:2505", + ":11784:2507:2504", + ":11784:2507:2503", + ":11784:2507:2503#out:1", + ":11784:2507:2504#out:1", + ":11784:2507:2505#out:1" + ], + "sameAsElement":true + }, + { + "hid":26, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11815", + "parent":16, + "children":[ + ], + "name":"either_edge", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/either_edge", + "label":"either_edge", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json", + "elements":[ + ":11815:2506", + ":11815:2505", + ":11815:2504", + ":11815:2503", + ":11815:2503#out:1", + ":11815:2504#out:1", + ":11815:2505#out:1" + ], + "sameAsElement":true + }, + { + "hid":27, "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", "esid":"BLDCmotor_FOC_R2017b_fixdt:11151", "parent":2, "children":[ - 26, - 27, - 28 + 28, + 29, + 30 ], "name":"F03_Control_Mode_Manager", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager", @@ -1508,44 +1585,48 @@ ":11300", ":11283", ":11301", - ":11299", ":11499", ":11297", - ":11296", ":11295", - ":11293", + ":11294", ":11292", + ":11291", ":11290", + ":11299", + ":11850", ":11289", - ":11287", - ":11286", - ":11285", - ":11284", - ":11298", ":11288", + ":11287", + ":11285", ":11498", ":11282", - ":11280", + ":11851", ":11279", + ":11280", ":11278", ":11277", - ":11294", - ":11275", - ":11281", - ":11291", - ":11159", - ":11156", - ":11201", ":11276", - ":11158", - ":11155", - ":11200", ":11274", + ":11201", + ":11200", + ":11159", + ":11296", + ":11852", + ":11298", + ":11156", + ":11284", + ":11293", + ":11157", + ":10702", + ":11155", ":11154", + ":11281", ":11497", ":11153", ":11152", - ":11157", + ":11286", + ":11275", + ":11716", ":11283#out:1", ":11153#out:1", ":11275#out:1", @@ -1573,15 +1654,17 @@ ":11154#out:1", ":11281#out:1", ":11497#out:1", - ":11498#out:1" + ":11498#out:1", + ":10702#out:1", + ":11851#out:1" ], "sameAsElement":true }, { - "hid":26, + "hid":28, "sid":"BLDCmotor_FOC_R2017b_fixdt:11159", "esid":"BLDCmotor_FOC_R2017b_fixdt:11159", - "parent":25, + "parent":27, "children":[ ], "name":"F03_01_Mode_Transition_Calculation", @@ -1592,53 +1675,53 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json", "elements":[ - ":11196", - ":11195", + ":11193", ":11190", + ":11191", ":11189", ":11188", - ":11180", - ":11179", - ":11177", - ":11181", - ":11496", - ":11176", - ":11493", - ":11491", - ":11175", - ":11169", - ":11182", - ":11173", - ":11168", - ":11166", - ":11191", - ":11178", - ":11194", - ":11172", - ":11167", - ":11164", - ":11174", - ":11163", - ":11198", ":11192", - ":11162", - ":11171", - ":11193", - ":11495", - ":11160", - ":11199", - ":11170", - ":11161", - ":11165", ":11197", + ":11198", + ":11182", + ":11181", + ":11195", + ":11175", + ":11194", + ":11493", + ":11173", + ":11170", + ":11171", + ":11169", + ":11177", + ":11196", + ":11491", + ":11164", + ":11180", + ":11163", + ":11162", + ":11165", + ":11160", + ":11178", + ":11174", + ":11495", + ":11172", + ":11496", + ":11161", + ":11179", + ":11167", + ":11176", + ":11166", + ":11168", + ":11199", ":11187", - ":11486", ":11184", - ":11185", + ":11492", + ":11486", ":11183", ":11494", + ":11185", ":11186", - ":11492", ":11183#out:1", ":11168#out:1", ":11194#out:1", @@ -1678,50 +1761,50 @@ "sameAsElement":true }, { - "hid":27, + "hid":29, "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", "esid":"BLDCmotor_FOC_R2017b_fixdt:11200", - "parent":25, + "parent":27, "children":[ ], "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", + "icon":"WebViewIcon4", "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":[ ":11200:3", - ":11200:28", ":11200:6", ":11200:4", - ":11200:12", - ":11200:71", - ":11200:72", - ":11200:9", - ":11200:31", - ":11200:33", - ":11200:32", + ":11200:28", ":11200:73", + ":11200:32", + ":11200:12", ":11200:30", + ":11200:72", + ":11200:31", + ":11200:71", + ":11200:9", + ":11200:33", ":11200:1", + ":11200:14", ":11200:13", - ":11200:2", - ":11200:14" + ":11200:2" ], "sameAsElement":false }, { - "hid":28, + "hid":30, "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", "esid":"BLDCmotor_FOC_R2017b_fixdt:11201", - "parent":25, + "parent":27, "children":[ - 29, - 30, 31, - 32 + 32, + 33, + 34 ], "name":"F03_03_Input_Target_Synthesis", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis", @@ -1733,36 +1816,36 @@ "elements":[ ":11272", ":11273", - ":11271", ":11270", - ":11254", - ":11250", - ":11252", - ":11249", - ":11247", - ":11246", ":11253", - ":11244", - ":11243", - ":11240", - ":11239", + ":11271", + ":11250", + ":11248", ":11245", - ":11236", - ":11237", - ":11235", - ":11215", - ":11251", + ":11249", + ":11246", ":11242", + ":11241", + ":11251", + ":11240", + ":11252", + ":11238", + ":11243", + ":11236", + ":11215", + ":11235", ":11207", ":11206", + ":11211", ":11205", - ":11241", + ":11237", ":11204", ":11203", - ":11248", + ":11244", + ":11239", + ":11247", ":11202", - ":11238", - ":11211", + ":11254", ":11215#out:1", ":11241#out:1", ":11238#out:1", @@ -1791,10 +1874,10 @@ "sameAsElement":true }, { - "hid":29, + "hid":31, "sid":"BLDCmotor_FOC_R2017b_fixdt:11207", "esid":"BLDCmotor_FOC_R2017b_fixdt:11207", - "parent":28, + "parent":30, "children":[ ], "name":"Default_Control_Type", @@ -1813,10 +1896,10 @@ "sameAsElement":true }, { - "hid":30, + "hid":32, "sid":"BLDCmotor_FOC_R2017b_fixdt:11211", "esid":"BLDCmotor_FOC_R2017b_fixdt:11211", - "parent":28, + "parent":30, "children":[ ], "name":"Default_Mode", @@ -1827,18 +1910,18 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json", "elements":[ - ":11213", ":11214", + ":11213", ":11212", ":11212#out:1" ], "sameAsElement":true }, { - "hid":31, + "hid":33, "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", "esid":"BLDCmotor_FOC_R2017b_fixdt:11215", - "parent":28, + "parent":30, "children":[ ], "name":"FOC_Control_Type", @@ -1849,24 +1932,24 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json", "elements":[ - ":11234", ":11233", - ":11229", - ":11227", - ":11230", - ":11222", + ":11232", ":11231", + ":11230", + ":11229", ":11228", - ":11221", - ":11226", - ":11220", ":11225", - ":11218", ":11223", + ":11222", + ":11226", + ":11221", + ":11220", ":11219", ":11224", + ":11218", + ":11234", + ":11227", ":11217", - ":11232", ":11216", ":11216#out:1", ":11221#out:1", @@ -1886,13 +1969,13 @@ "sameAsElement":true }, { - "hid":32, + "hid":34, "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", "esid":"BLDCmotor_FOC_R2017b_fixdt:11254", - "parent":28, + "parent":30, "children":[ - 33, - 36 + 35, + 38 ], "name":"Open_Mode", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode", @@ -1904,18 +1987,18 @@ "elements":[ ":11269", ":11268", - ":11267", - ":11266", ":11265", + ":11267", ":11263", ":11262", - ":11264", - ":11260", ":11261", - ":11258", - ":11257", + ":11266", + ":11260", + ":11264", ":11259", ":11256", + ":11257", + ":11258", ":11255", ":11255#out:1", ":11257#out:1", @@ -1931,33 +2014,33 @@ "sameAsElement":true }, { - "hid":33, + "hid":35, "sid":"BLDCmotor_FOC_R2017b_fixdt:11265", "esid":"BLDCmotor_FOC_R2017b_fixdt:11265", - "parent":32, + "parent":34, "children":[ - 34, - 35 + 36, + 37 ], "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", + "icon":"WebViewIcon7", "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":[ ":11265:2353", - ":11265:2343", ":11265:2360", - ":11265:2358", - ":11265:2395", - ":11265:2357", - ":11265:2342", - ":11265:2355", + ":11265:2343", ":11265:2346", - ":11265:2359", + ":11265:2395", + ":11265:2342", + ":11265:2358", + ":11265:2357", ":11265:2356", + ":11265:2355", + ":11265:2359", ":11265:2356#out:1", ":11265:2342#out:1", ":11265:2359#out:1", @@ -1971,16 +2054,16 @@ "sameAsElement":true }, { - "hid":34, + "hid":36, "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "esid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", - "parent":33, + "parent":35, "children":[ ], "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", + "icon":"WebViewIcon5", "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", @@ -2002,10 +2085,10 @@ "sameAsElement":true }, { - "hid":35, + "hid":37, "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", "esid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", - "parent":33, + "parent":35, "children":[ ], "name":"Saturation Dynamic", @@ -2037,16 +2120,16 @@ "sameAsElement":true }, { - "hid":36, + "hid":38, "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", "esid":"BLDCmotor_FOC_R2017b_fixdt:11267", - "parent":32, + "parent":34, "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", + "icon":"WebViewIcon5", "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", @@ -2060,13 +2143,12 @@ "sameAsElement":true }, { - "hid":37, + "hid":39, "sid":"BLDCmotor_FOC_R2017b_fixdt:10066", "esid":"BLDCmotor_FOC_R2017b_fixdt:10066", "parent":2, "children":[ - 38, - 39 + 40 ], "name":"F04_Field_Weakening", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening", @@ -2076,159 +2158,201 @@ "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", - ":10519", - ":10518", - ":10514", - ":10513", - ":10516", - ":10510", - ":10506", + ":10064", + ":10139", + ":10500", + ":11766", + ":11765", + ":11767", + ":11768", + ":11719", ":10504", ":10520", - ":10503", - ":10501", - ":10502", - ":10512", - ":10499", - ":10498", - ":10515", - ":10505", - ":10517", - ":10497", - ":10495", - ":10508", - ":10493", - ":10492", - ":10507", - ":10491", - ":10490", - ":10496", - ":10488", - ":10511", - ":10509", - ":10494", ":10487", - ":10486", - ":10500", - ":10489", - ":10514#out:1", + ":10488", + ":10503", + ":11764", + ":12675", + ":12676", ":10500#out:1", - ":10513#out:1", - ":10517#out:1", - ":10491#out:1", - ":10506#out:1", - ":10498#out:1", ":10488#out:1", - ":10493#out:1", - ":10507#out:1", - ":10516#out:1", - ":10492#out:1", - ":10512#out:1", - ":10496#out:1", - ":10511#out:1", - ":10515#out:1", - ":10499#out:1", - ":10508#out:1", - ":10494#out:1", - ":10510#out:1", - ":10490#out:1", - ":10486#out:1", ":10487#out:1", - ":10518#out:1", - ":10519#out:1", - ":10495#out:1", - ":10509#out:1", - ":10497#out:1" - ], - "sameAsElement":true - }, - { - "hid":38, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10507", - "parent":37, - "children":[ - ], - "name":"Saturation Dynamic", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic", - "label":"Saturation Dynamic", - "icon":"WebViewIcon3", - "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", - ":10507:8", - ":10507:7", - ":10507:6", - ":10507:5", - ":10507:4", - ":10507:3", - ":10507:2", - ":10507:1", - ":10507:1#out:1", - ":10507:2#out:1", - ":10507:3#out:1", - ":10507:7#out:1", - ":10507:8#out:1", - ":10507:6#out:1", - ":10507:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":39, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10508", - "parent":37, - "children":[ - ], - "name":"Saturation Dynamic1", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Saturation Dynamic1", - "label":"Saturation Dynamic1", - "icon":"WebViewIcon3", - "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", - ":10508:8", - ":10508:7", - ":10508:6", - ":10508:5", - ":10508:4", - ":10508:3", - ":10508:2", - ":10508:1", - ":10508:1#out:1", - ":10508:2#out:1", - ":10508:3#out:1", - ":10508:7#out:1", - ":10508:8#out:1", - ":10508:6#out:1", - ":10508:9#out:1" + ":10139#out:1", + ":11766#out:1", + ":11765#out:1", + ":11767#out:1", + ":11719#out:1", + ":10064#out:1", + ":12675#out:1" ], "sameAsElement":true }, { "hid":40, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11719", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11719", + "parent":39, + "children":[ + 41, + 42 + ], + "name":"Field_Weakening_Enabled", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled", + "label":"Field_Weakening_Enabled", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json", + "elements":[ + ":11761", + ":11762", + ":11763", + ":11760", + ":11757", + ":11756", + ":11752", + ":11758", + ":11750", + ":11749", + ":11746", + ":11751", + ":11741", + ":11740", + ":11744", + ":11739", + ":11748", + ":11753", + ":11738", + ":11736", + ":11734", + ":11731", + ":11729", + ":11733", + ":11727", + ":11732", + ":11724", + ":11723", + ":11759", + ":11722", + ":11726", + ":11721", + ":11728", + ":11755", + ":11747", + ":11737", + ":11730", + ":11720", + ":11753#out:1", + ":11736#out:1", + ":11752#out:1", + ":11757#out:1", + ":11726#out:1", + ":11744#out:1", + ":11733#out:1", + ":11722#out:1", + ":11728#out:1", + ":11746#out:1", + ":11756#out:1", + ":11727#out:1", + ":11751#out:1", + ":11731#out:1", + ":11750#out:1", + ":11755#out:1", + ":11734#out:1", + ":11747#out:1", + ":11729#out:1", + ":11749#out:1", + ":11724#out:1", + ":11720#out:1", + ":11721#out:1", + ":11758#out:1", + ":11759#out:1", + ":11730#out:1", + ":11748#out:1", + ":11732#out:1" + ], + "sameAsElement":true + }, + { + "hid":41, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11746", + "parent":40, + "children":[ + ], + "name":"Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic", + "label":"Saturation Dynamic", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json", + "elements":[ + ":11746:10", + ":11746:9", + ":11746:8", + ":11746:7", + ":11746:6", + ":11746:5", + ":11746:4", + ":11746:3", + ":11746:2", + ":11746:1", + ":11746:1#out:1", + ":11746:2#out:1", + ":11746:3#out:1", + ":11746:7#out:1", + ":11746:8#out:1", + ":11746:6#out:1", + ":11746:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":42, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11747", + "parent":40, + "children":[ + ], + "name":"Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic1", + "label":"Saturation Dynamic1", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json", + "elements":[ + ":11747:10", + ":11747:9", + ":11747:8", + ":11747:7", + ":11747:6", + ":11747:5", + ":11747:4", + ":11747:3", + ":11747:2", + ":11747:1", + ":11747:1#out:1", + ":11747:2#out:1", + ":11747:3#out:1", + ":11747:7#out:1", + ":11747:8#out:1", + ":11747:6#out:1", + ":11747:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":43, "sid":"BLDCmotor_FOC_R2017b_fixdt:8658", "esid":"BLDCmotor_FOC_R2017b_fixdt:8658", "parent":2, "children":[ - 41, - 45, - 47, - 68, - 69, - 70, - 84, - 85 + 44, + 53, + 56, + 78 ], "name":"F05_Field_Oriented_Control", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control", @@ -2238,14 +2362,8 @@ "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", - ":8859", ":8827", - ":8769", - ":8778", - ":8886", - ":8866", ":8665", ":8833", ":8666", @@ -2254,140 +2372,132 @@ ":9071", ":9025", ":9197", - ":9195", - ":10173", - ":9045", - ":9027", + ":9196", + ":11896", ":10447", - ":8913", - ":9028", - ":10363", - ":10365", - ":8863", - ":8862", - ":8861", ":9072", - ":10359", + ":9028", + ":12158", + ":8864", + ":8862", + ":11898", + ":8861", + ":12217", ":11517", - ":8858", - ":8857", - ":11472", + ":12156", + ":8856", ":9717", ":10728", - ":8849", - ":10719", - ":8844", - ":8843", - ":8842", - ":8851", + ":8848", + ":11928", ":8838", - ":8837", - ":10360", - ":10687", - ":10686", - ":10395", + ":11921", ":10172", ":11484", - ":8826", ":10428", ":10439", - ":8817", - ":10441", - ":8815", - ":10433", - ":8810", - ":8845", - ":10432", - ":8856", - ":8807", - ":10362", - ":10743", - ":10444", - ":10726", - ":8797", - ":8794", - ":8839", - ":10701", - ":8864", - ":8790", - ":10697", - ":10438", - ":10171", - ":8787", - ":10174", - ":8782", - ":8776", - ":8775", ":10440", - ":8783", - ":10436", - ":8772", - ":11515", - ":8788", - ":10707", - ":10435", - ":10393", - ":10688", - ":8798", - ":8850", - ":8795", - ":9713", - ":10394", - ":8796", - ":8846", - ":8786", - ":10431", - ":10698", - ":10364", - ":8806", - ":8811", - ":9718", - ":9196", - ":8743", - ":10448", - ":10445", - ":10702", - ":10429", - ":8667", - ":8784", - ":11023", - ":11516", - ":11471", - ":10689", - ":10703", - ":10434", - ":8663", ":8825", - ":10729", - ":8662", - ":9716", + ":10433", + ":10432", + ":10431", + ":10394", + ":8807", + ":8851", + ":10362", + ":8846", + ":11929", + ":8817", + ":8798", + ":8797", + ":8850", + ":8796", + ":8795", + ":9027", + ":10698", + ":8790", + ":9195", + ":10697", + ":10719", + ":12155", + ":10359", + ":8786", ":10446", - ":10691", - ":10430", - ":8768", - ":8848", + ":12152", + ":12154", ":10437", - ":10357", + ":12153", + ":10729", + ":11911", + ":11897", + ":8776", + ":8772", + ":11922", + ":10436", + ":10430", + ":10429", + ":8768", + ":11515", + ":12218", + ":10687", + ":10393", + ":10435", + ":8849", + ":10445", + ":8815", + ":10707", + ":11909", + ":8787", + ":10364", + ":10448", + ":8811", + ":10434", + ":8863", + ":10743", + ":11516", + ":11930", + ":10438", + ":8842", ":8664", - ":8661", - ":8660", - ":8726", - ":8659", + ":11472", + ":8663", + ":12673", + ":10691", + ":8788", + ":8662", + ":12391", + ":10441", + ":8826", + ":9716", + ":10444", + ":8810", ":10358", + ":8837", + ":10357", + ":10726", + ":8839", + ":8843", + ":10703", + ":11912", + ":11853", + ":10360", + ":8913", + ":11920", + ":8660", + ":11471", + ":8661", + ":10395", + ":12216", + ":8659", + ":11913", + ":11900", ":8853", - ":8781", + ":10174", ":8827#out:1", - ":8886#out:1", - ":8886#out:2", ":8665#out:1", ":8666#out:1", - ":8866#out:1", ":9024#out:1", ":9025#out:1", - ":8781#out:1", - ":8782#out:1", - ":8783#out:1", - ":8784#out:1", ":8772#out:1", ":8786#out:1", ":8787#out:1", @@ -2401,17 +2511,11 @@ ":9027#out:1", ":8796#out:1", ":8797#out:1", - ":9045#out:2", - ":9045#out:1", - ":8726#out:1", - ":8726#out:2", ":8815#out:1", ":8659#out:1", - ":8794#out:1", ":8660#out:1", ":8662#out:1", ":8790#out:1", - ":8806#out:1", ":8913#out:3", ":8913#out:4", ":8776#out:1", @@ -2427,25 +2531,14 @@ ":8913#out:12", ":8825#out:1", ":8663#out:1", - ":8743#out:1", - ":8743#out:2", - ":8775#out:1", ":8664#out:1", ":8826#out:1", ":8768#out:1", - ":9713#out:1", ":9716#out:1", - ":9718#out:1", - ":10173#out:1", - ":10174#out:1", ":10357#out:1", ":10358#out:1", - ":10363#out:1", - ":10362#out:1", - ":10365#out:1", - ":10393#out:1", - ":10364#out:1", ":10364#out:2", + ":10364#out:1", ":10430#out:1", ":10429#out:1", ":10428#out:1", @@ -2464,83 +2557,184 @@ ":10445#out:1", ":10446#out:1", ":10447#out:1", - ":10689#out:1", - ":10688#out:1", ":10691#out:1", ":10697#out:1", ":10698#out:1", - ":10701#out:1", - ":10702#out:1", ":10707#out:1", ":8913#out:9", ":10726#out:1", ":8913#out:10", ":10729#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" + ":11516#out:1", + ":10362#out:1", + ":10393#out:1", + ":11853#out:1", + ":11896#out:1", + ":10174#out:1", + ":11909#out:1", + ":11898#out:1", + ":11911#out:1", + ":11912#out:1", + ":11913#out:1", + ":11900#out:3", + ":11900#out:4", + ":11900#out:5", + ":11900#out:1", + ":11900#out:2", + ":12155#out:1", + ":12154#out:1", + ":12152#out:1", + ":12153#out:1", + ":11930#out:1", + ":12158#out:1", + ":12216#out:1", + ":11897#out:1", + ":12218#out:1", + ":12391#out:1", + ":12673#out:1" ], "sameAsElement":true }, { - "hid":41, + "hid":44, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11900", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11900", + "parent":43, + "children":[ + 45, + 49, + 51, + 52 + ], + "name":"Clarke_Park_Transform_Forward", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward", + "label":"Clarke_Park_Transform_Forward", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json", + "elements":[ + ":9719", + ":8769", + ":8778", + ":11919", + ":11926", + ":8743", + ":9045", + ":11917", + ":11902", + ":8844", + ":11908", + ":10686", + ":11927", + ":11925", + ":8782", + ":9718", + ":9713", + ":11924", + ":8775", + ":11914", + ":11915", + ":11906", + ":11918", + ":11916", + ":8845", + ":8857", + ":11907", + ":11904", + ":8858", + ":11910", + ":11903", + ":8781", + ":11023", + ":8726", + ":11901", + ":11905", + ":8781#out:1", + ":8782#out:1", + ":9045#out:2", + ":9045#out:1", + ":8726#out:1", + ":8726#out:3", + ":8743#out:1", + ":8743#out:2", + ":8775#out:1", + ":9713#out:1", + ":9718#out:1", + ":8769#out:1", + ":8778#out:1", + ":11023#out:1", + ":11023#out:2", + ":8726#out:2", + ":11901#out:1", + ":11904#out:1", + ":11905#out:1", + ":11903#out:1", + ":11915#out:1", + ":11914#out:1", + ":11918#out:1", + ":11924#out:1", + ":11925#out:1" + ], + "sameAsElement":true + }, + { + "hid":45, "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", "esid":"BLDCmotor_FOC_R2017b_fixdt:11023", - "parent":40, + "parent":44, "children":[ - 42, - 43, - 44 + 46, + 47, + 48 ], "name":"Clarke_Transform", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform", "label":"Clarke_Transform", "icon":"WebViewIcon1", "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":[ - ":11100", - ":11098", ":11097", ":11096", - ":11093", - ":11090", + ":11100", ":11095", - ":11088", - ":11091", - ":11087", - ":11086", - ":11085", ":11094", - ":11083", - ":11080", + ":11093", + ":11091", + ":11090", + ":11099", + ":11088", + ":11084", + ":11089", ":11079", - ":11077", + ":11078", + ":11081", + ":11098", + ":11082", ":11076", + ":11087", ":11074", ":11072", - ":11089", - ":11101", ":11056", - ":11082", - ":11092", - ":11073", - ":11099", - ":11026", + ":11077", ":11075", - ":11081", + ":11085", + ":11101", + ":11080", + ":11026", ":11025", - ":11084", - ":11078", + ":11083", ":11041", + ":11073", + ":11092", ":11024", + ":11086", ":11056#out:1", ":11079#out:1", ":11078#out:1", @@ -2573,14 +2767,14 @@ "sameAsElement":true }, { - "hid":42, + "hid":46, "sid":"BLDCmotor_FOC_R2017b_fixdt:11026", "esid":"BLDCmotor_FOC_R2017b_fixdt:11026", - "parent":41, + "parent":45, "children":[ ], "name":"Clarke_PhasesAB", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAB", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAB", "label":"Clarke_PhasesAB", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg", @@ -2589,18 +2783,18 @@ "elements":[ ":11040", ":11039", - ":11038", - ":11036", ":11037", - ":11034", - ":11032", - ":11033", - ":11031", - ":11030", - ":11029", + ":11038", ":11035", - ":11028", + ":11036", + ":11034", + ":11031", + ":11032", + ":11030", + ":11033", ":11027", + ":11028", + ":11029", ":11028#out:1", ":11027#out:1", ":11030#out:1", @@ -2613,14 +2807,14 @@ "sameAsElement":true }, { - "hid":43, + "hid":47, "sid":"BLDCmotor_FOC_R2017b_fixdt:11041", "esid":"BLDCmotor_FOC_R2017b_fixdt:11041", - "parent":41, + "parent":45, "children":[ ], "name":"Clarke_PhasesAC", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesAC", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAC", "label":"Clarke_PhasesAC", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg", @@ -2628,19 +2822,19 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json", "elements":[ ":11055", - ":11051", - ":11050", - ":11049", - ":11047", - ":11046", - ":11045", ":11054", ":11053", - ":11044", - ":11043", - ":11048", ":11052", + ":11051", + ":11049", + ":11048", + ":11050", + ":11046", + ":11044", + ":11045", + ":11043", ":11042", + ":11047", ":11051#out:1", ":11052#out:1", ":11048#out:1", @@ -2653,14 +2847,14 @@ "sameAsElement":true }, { - "hid":44, + "hid":48, "sid":"BLDCmotor_FOC_R2017b_fixdt:11056", "esid":"BLDCmotor_FOC_R2017b_fixdt:11056", - "parent":41, + "parent":45, "children":[ ], "name":"Clarke_PhasesBC", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Transform/Clarke_PhasesBC", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesBC", "label":"Clarke_PhasesBC", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg", @@ -2668,19 +2862,19 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json", "elements":[ ":11071", - ":11070", ":11069", ":11068", + ":11067", ":11066", ":11064", - ":11062", - ":11060", - ":11059", - ":11058", ":11063", - ":11067", ":11065", ":11061", + ":11060", + ":11070", + ":11059", + ":11058", + ":11062", ":11057", ":11061#out:1", ":11060#out:1", @@ -2695,38 +2889,40 @@ "sameAsElement":true }, { - "hid":45, + "hid":49, "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", "esid":"BLDCmotor_FOC_R2017b_fixdt:8726", - "parent":40, + "parent":44, "children":[ - 46 + 50 ], "name":"Current_Filtering", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Current_Filtering", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering", "label":"Current_Filtering", "icon":"WebViewIcon1", "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", - ":8737", - ":8734", ":8742", - ":8735", - ":8730", - ":9714", - ":8729", - ":8733", - ":8731", - ":8728", - ":8727", - ":8736", + ":8740", + ":8739", ":8738", + ":8734", + ":11849", ":8732", + ":8737", + ":8731", + ":8729", + ":10689", + ":8735", + ":9714", + ":8736", + ":8727", + ":8733", + ":8741", + ":8730", + ":8728", ":8739#out:1", ":8729#out:2", ":8740#out:1", @@ -2737,21 +2933,22 @@ ":8729#out:1", ":8738#out:1", ":8732#out:1", - ":8733#out:1" + ":8733#out:1", + ":10689#out:1" ], "sameAsElement":true }, { - "hid":46, + "hid":50, "sid":"BLDCmotor_FOC_R2017b_fixdt:8738", "esid":"BLDCmotor_FOC_R2017b_fixdt:8738", - "parent":45, + "parent":49, "children":[ ], "name":"Low_Pass_Filter", - "fullname":"BLDCmotor_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/Clarke_Park_Transform_Forward/Current_Filtering/Low_Pass_Filter", "label":"Low_Pass_Filter", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "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", @@ -2759,11 +2956,11 @@ ":8738:2904", ":8738:2902", ":8738:2901", - ":8738:2903", - ":8738:2899", ":8738:2900", - ":8738:2897", + ":8738:2899", ":8738:2898", + ":8738:2903", + ":8738:2897", ":8738:2898#out:1", ":8738:2900#out:1", ":8738:2897#out:1", @@ -2774,1962 +2971,15 @@ ], "sameAsElement":true }, - { - "hid":47, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10364", - "parent":40, - "children":[ - 48, - 49, - 54, - 60, - 66 - ], - "name":"FOC", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC", - "label":"FOC", - "icon":"WebViewIcon1", - "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", - ":9108", - ":8912", - ":10425", - ":10420", - ":10419", - ":10370", - ":8852", - ":10388", - ":11514", - ":10368", - ":11477", - ":10735", - ":8841", - ":10412", - ":9074", - ":10409", - ":10723", - ":10722", - ":8831", - ":10398", - ":11482", - ":10424", - ":11478", - ":8823", - ":10367", - ":8814", - ":8813", - ":10030", - ":9109", - ":8812", - ":8816", - ":8809", - ":8808", - ":10742", - ":8803", - ":10391", - ":8802", - ":8801", - ":8799", - ":10730", - ":10408", - ":8793", - ":9029", - ":8789", - ":10724", - ":10413", - ":8780", - ":10369", - ":8774", - ":8773", - ":8792", - ":8832", - ":10421", - ":11512", - ":8791", - ":8766", - ":8771", - ":8765", - ":10366", - ":8830", - ":10411", - ":11513", - ":10418", - ":10427", - ":10720", - ":10406", - ":10415", - ":9171", - ":10721", - ":11476", - ":10414", - ":10422", - ":10405", - ":9715", - ":10417", - ":10410", - ":8800", - ":8770", - ":10403", - ":10397", - ":10423", - ":8777", - ":10402", - ":10387", - ":8779", - ":10734", - ":10373", - ":10426", - ":10416", - ":10372", - ":8804", - ":8824", - ":10371", - ":8834", - ":10404", - ":10407", - ":8766#out:1", - ":8770#out:1", - ":8779#out:1", - ":9029#out:1", - ":9109#out:1", - ":9074#out:1", - ":9171#out:1", - ":8765#out:1", - ":8773#out:1", - ":8777#out:1", - ":8774#out:1", - ":8780#out:1", - ":8789#out:1", - ":8791#out:1", - ":8799#out:1", - ":8793#out:1", - ":8792#out:1", - ":8800#out:1", - ":9108#out:1", - ":9108#out:2", - ":9108#out:3", - ":9108#out:4", - ":8801#out:1", - ":8802#out:1", - ":8803#out:1", - ":8804#out:1", - ":8808#out:1", - ":8809#out:1", - ":8812#out:1", - ":8813#out:1", - ":8814#out:1", - ":8816#out:1", - ":8823#out:1", - ":8824#out:1", - ":8771#out:1", - ":9715#out:1", - ":10030#out:1", - ":10367#out:1", - ":10369#out:1", - ":10373#out:1", - ":10372#out:1", - ":10371#out:1", - ":10397#out:1", - ":10407#out:1", - ":10406#out:1", - ":10404#out:1", - ":10402#out:1", - ":10403#out:1", - ":10405#out:1", - ":10415#out:1", - ":10414#out:1", - ":10417#out:1", - ":10416#out:1", - ":10423#out:1", - ":10422#out:1", - ":10426#out:1", - ":10720#out:1", - ":10721#out:1", - ":10724#out:1", - ":10730#out:1", - ":10734#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":48, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9029", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9029", - "parent":47, - "children":[ - ], - "name":"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/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", - ":9030#out:1" - ], - "sameAsElement":true - }, - { - "hid":49, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9074", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9074", - "parent":47, - "children":[ - 50 - ], - "name":"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/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", - ":11534", - ":9105", - ":9106", - ":11676", - ":11675", - ":11671", - ":10455", - ":11670", - ":11673", - ":11672", - ":9095", - ":9093", - ":9092", - ":11500", - ":9101", - ":11667", - ":11511", - ":11665", - ":11480", - ":11659", - ":9088", - ":11679", - ":11481", - ":11658", - ":11657", - ":11664", - ":11663", - ":9090", - ":9082", - ":9089", - ":11501", - ":11662", - ":11510", - ":9104", - ":11677", - ":9087", - ":11479", - ":11669", - ":9091", - ":9094", - ":11565", - ":11674", - ":11660", - ":9081", - ":11678", - ":11661", - ":9078", - ":11680", - ":9077", - ":9075", - ":11564", - ":10714", - ":9076", - ":11666", - ":11535", - ":11668", - ":9087#out:1", - ":9075#out:1", - ":9076#out:1", - ":9077#out:1", - ":9078#out:1", - ":9081#out:1", - ":9101#out:1", - ":9105#out:1", - ":9104#out:1", - ":10714#out:1", - ":11479#out:1", - ":9090#out:1", - ":11481#out:1", - ":11500#out:1", - ":9088#out:1", - ":11501#out:1", - ":11510#out:1", - ":10455#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":50, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10455", - "parent":49, - "children":[ - 51, - 52, - 53 - ], - "name":"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":"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:2817", - ":10455:2814", - ":10455:2781", - ":10455:2783", - ":10455:2791", - ":10455:2846", - ":10455:2779", - ":10455:2794", - ":10455:2832", - ":10455:2785", - ":10455:2778", - ":10455:2833", - ":10455:2776", - ":10455:2773", - ":10455:2815", - ":10455:2732", - ":10455:2816", - ":10455:2910", - ":10455:2845", - ":10455:2771", - ":10455:2733", - ":10455:2770", - ":10455:2795", - ":10455:2769", - ":10455:2844", - ":10455:2910#out:1", - ":10455:2791#out:2", - ":10455:2846#out:1", - ":10455:2844#out:1", - ":10455:2833#out:1", - ":10455:2832#out:1", - ":10455:2817#out:1", - ":10455:2816#out:1", - ":10455:2814#out:1", - ":10455:2781#out:1", - ":10455:2783#out:1", - ":10455:2815#out:1", - ":10455:2791#out:3", - ":10455:2791#out:1", - ":10455:2733#out:1", - ":10455:2732#out:1", - ":10455:2770#out:1", - ":10455:2779#out:1", - ":10455:2771#out:1", - ":10455:2778#out:1", - ":10455:2776#out:1", - ":10455:2773#out:1", - ":10455:2769#out:1" - ], - "sameAsElement":true - }, { "hid":51, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", - "parent":50, - "children":[ - ], - "name":"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/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:2841", - ":10455:2836", - ":10455:2843", - ":10455:2840", - ":10455:2838", - ":10455:2843#out:1", - ":10455:2838#out:1", - ":10455:2841#out:1", - ":10455:2840#out:1", - ":10455:2836#out:1", - ":10455:2839#out:1", - ":10455:2837#out:1", - ":10455:2819#out:1", - ":10455:2818#out:1" - ], - "sameAsElement":true - }, - { - "hid":52, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", - "parent":50, - "children":[ - ], - "name":"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/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:2788", - ":10455:2787", - ":10455:2790", - ":10455:2908", - ":10455:2909", - ":10455:2786", - ":10455:2909#out:1", - ":10455:2787#out:1", - ":10455:2908#out:1", - ":10455:2788#out:1", - ":10455:2786#out:1" - ], - "sameAsElement":true - }, - { - "hid":53, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", - "parent":50, - "children":[ - ], - "name":"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":"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:2710", - ":10455:2791:2709", - ":10455:2791:2707", - ":10455:2791:2849", - ":10455:2791:2848", - ":10455:2791:2701", - ":10455:2791:2700", - ":10455:2791:2377", - ":10455:2791:2699", - ":10455:2791:2704", - ":10455:2791:2849#out:1", - ":10455:2791:2701#out:1", - ":10455:2791:2704#out:1", - ":10455:2791:2707#out:1", - ":10455:2791:2699#out:1", - ":10455:2791:2700#out:1", - ":10455:2791:2848#out:1" - ], - "sameAsElement":true - }, - { - "hid":54, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9109", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9109", - "parent":47, - "children":[ - 55, - 59 - ], - "name":"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/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", - ":10831", - ":9139", - ":10841", - ":10844", - ":9129", - ":9128", - ":10828", - ":10842", - ":9126", - ":10843", - ":10840", - ":11474", - ":10821", - ":10819", - ":9131", - ":10838", - ":10822", - ":11475", - ":9125", - ":10845", - ":9138", - ":10836", - ":9117", - ":10823", - ":9116", - ":9130", - ":9114", - ":10829", - ":9112", - ":9115", - ":11473", - ":9110", - ":10846", - ":9113", - ":9111", - ":10820", - ":9127", - ":10834", - ":9111#out:1", - ":9110#out:1", - ":9112#out:1", - ":9113#out:1", - ":9115#out:1", - ":9114#out:1", - ":9116#out:1", - ":10829#out:1", - ":10820#out:1", - ":10821#out:1", - ":10831#out:1", - ":10819#out:1", - ":10828#out:1", - ":10836#out:1", - ":10838#out:1", - ":10840#out:1", - ":10823#out:1", - ":10822#out:1", - ":10842#out:1", - ":10841#out:1", - ":9138#out:1", - ":9139#out:1", - ":11473#out:1", - ":10834#out:1", - ":10846#out:1", - ":10845#out:1", - ":11475#out:1" - ], - "sameAsElement":true - }, - { - "hid":55, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10828", - "parent":54, - "children":[ - 56, - 57, - 58 - ], - "name":"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":"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:2817", - ":10828:2814", - ":10828:2781", - ":10828:2785", - ":10828:2783", - ":10828:2791", - ":10828:2779", - ":10828:2794", - ":10828:2845", - ":10828:2795", - ":10828:2846", - ":10828:2833", - ":10828:2832", - ":10828:2776", - ":10828:2815", - ":10828:2816", - ":10828:2733", - ":10828:2732", - ":10828:2910", - ":10828:2773", - ":10828:2778", - ":10828:2771", - ":10828:2770", - ":10828:2769", - ":10828:2844", - ":10828:2910#out:1", - ":10828:2791#out:2", - ":10828:2846#out:1", - ":10828:2844#out:1", - ":10828:2833#out:1", - ":10828:2832#out:1", - ":10828:2817#out:1", - ":10828:2816#out:1", - ":10828:2814#out:1", - ":10828:2781#out:1", - ":10828:2783#out:1", - ":10828:2815#out:1", - ":10828:2791#out:3", - ":10828:2791#out:1", - ":10828:2733#out:1", - ":10828:2732#out:1", - ":10828:2770#out:1", - ":10828:2779#out:1", - ":10828:2771#out:1", - ":10828:2778#out:1", - ":10828:2776#out:1", - ":10828:2773#out:1", - ":10828:2769#out:1" - ], - "sameAsElement":true - }, - { - "hid":56, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", - "parent":55, - "children":[ - ], - "name":"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/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:2840", - ":10828:2841", - ":10828:2843", - ":10828:2836", - ":10828:2837", - ":10828:2838", - ":10828:2843#out:1", - ":10828:2838#out:1", - ":10828:2841#out:1", - ":10828:2840#out:1", - ":10828:2836#out:1", - ":10828:2839#out:1", - ":10828:2837#out:1", - ":10828:2819#out:1", - ":10828:2818#out:1" - ], - "sameAsElement":true - }, - { - "hid":57, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", - "parent":55, - "children":[ - ], - "name":"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/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:2790", - ":10828:2788", - ":10828:2908", - ":10828:2787", - ":10828:2909", - ":10828:2786", - ":10828:2909#out:1", - ":10828:2787#out:1", - ":10828:2908#out:1", - ":10828:2788#out:1", - ":10828:2786#out:1" - ], - "sameAsElement":true - }, - { - "hid":58, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", - "parent":55, - "children":[ - ], - "name":"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":"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:2710", - ":10828:2791:2377", - ":10828:2791:2709", - ":10828:2791:2849", - ":10828:2791:2707", - ":10828:2791:2700", - ":10828:2791:2704", - ":10828:2791:2701", - ":10828:2791:2848", - ":10828:2791:2699", - ":10828:2791:2849#out:1", - ":10828:2791:2701#out:1", - ":10828:2791:2704#out:1", - ":10828:2791:2707#out:1", - ":10828:2791:2699#out:1", - ":10828:2791:2700#out:1", - ":10828:2791:2848#out:1" - ], - "sameAsElement":true - }, - { - "hid":59, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10829", - "parent":54, - "children":[ - ], - "name":"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/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", - ":10829:8", - ":10829:7", - ":10829:6", - ":10829:5", - ":10829:4", - ":10829:3", - ":10829:2", - ":10829:1", - ":10829:1#out:1", - ":10829:2#out:1", - ":10829:3#out:1", - ":10829:7#out:1", - ":10829:8#out:1", - ":10829:6#out:1", - ":10829:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":60, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9143", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9143", - "parent":47, - "children":[ - 61, - 65 - ], - "name":"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/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", - ":9170", - ":9726", - ":9724", - ":11483", - ":10454", - ":9161", - ":9160", - ":9162", - ":9164", - ":9723", - ":9157", - ":9156", - ":9152", - ":9150", - ":9159", - ":9147", - ":9151", - ":9149", - ":9158", - ":9146", - ":9725", - ":9148", - ":9145", - ":9155", - ":9722", - ":9144", - ":9152#out:1", - ":9151#out:1", - ":9144#out:1", - ":9145#out:1", - ":9147#out:1", - ":9146#out:1", - ":9148#out:1", - ":9149#out:1", - ":9164#out:1", - ":9155#out:1", - ":9156#out:1", - ":9165#out:1", - ":9724#out:1", - ":9725#out:1", - ":10454#out:1", - ":9726#out:1", - ":9723#out:1", - ":9722#out:1", - ":11483#out:1" - ], - "sameAsElement":true - }, - { - "hid":61, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10454", - "parent":60, - "children":[ - 62, - 63, - 64 - ], - "name":"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":"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:2785", - ":10454:2817", - ":10454:2783", - ":10454:2791", - ":10454:2794", - ":10454:2845", - ":10454:2795", - ":10454:2846", - ":10454:2833", - ":10454:2832", - ":10454:2779", - ":10454:2778", - ":10454:2776", - ":10454:2814", - ":10454:2816", - ":10454:2771", - ":10454:2733", - ":10454:2781", - ":10454:2770", - ":10454:2910", - ":10454:2773", - ":10454:2815", - ":10454:2769", - ":10454:2732", - ":10454:2844", - ":10454:2910#out:1", - ":10454:2791#out:2", - ":10454:2846#out:1", - ":10454:2844#out:1", - ":10454:2833#out:1", - ":10454:2832#out:1", - ":10454:2817#out:1", - ":10454:2816#out:1", - ":10454:2814#out:1", - ":10454:2781#out:1", - ":10454:2783#out:1", - ":10454:2815#out:1", - ":10454:2791#out:3", - ":10454:2791#out:1", - ":10454:2733#out:1", - ":10454:2732#out:1", - ":10454:2770#out:1", - ":10454:2779#out:1", - ":10454:2771#out:1", - ":10454:2778#out:1", - ":10454:2776#out:1", - ":10454:2773#out:1", - ":10454:2769#out:1" - ], - "sameAsElement":true - }, - { - "hid":62, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", - "parent":61, - "children":[ - ], - "name":"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/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:2837", - ":10454:2841", - ":10454:2840", - ":10454:2843", - ":10454:2836", - ":10454:2839", - ":10454:2838", - ":10454:2843#out:1", - ":10454:2838#out:1", - ":10454:2841#out:1", - ":10454:2840#out:1", - ":10454:2836#out:1", - ":10454:2839#out:1", - ":10454:2837#out:1", - ":10454:2819#out:1", - ":10454:2818#out:1" - ], - "sameAsElement":true - }, - { - "hid":63, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", - "parent":61, - "children":[ - ], - "name":"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/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:2790", - ":10454:2788", - ":10454:2787", - ":10454:2908", - ":10454:2909", - ":10454:2786", - ":10454:2909#out:1", - ":10454:2787#out:1", - ":10454:2908#out:1", - ":10454:2788#out:1", - ":10454:2786#out:1" - ], - "sameAsElement":true - }, - { - "hid":64, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", - "parent":61, - "children":[ - ], - "name":"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":"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:2849", - ":10454:2791:2704", - ":10454:2791:2700", - ":10454:2791:2701", - ":10454:2791:2848", - ":10454:2791:2699", - ":10454:2791:2849#out:1", - ":10454:2791:2701#out:1", - ":10454:2791:2704#out:1", - ":10454:2791:2707#out:1", - ":10454:2791:2699#out:1", - ":10454:2791:2700#out:1", - ":10454:2791:2848#out:1" - ], - "sameAsElement":true - }, - { - "hid":65, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9164", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9164", - "parent":60, - "children":[ - ], - "name":"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/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", - ":9164:8", - ":9164:7", - ":9164:6", - ":9164:5", - ":9164:4", - ":9164:3", - ":9164:2", - ":9164:1", - ":9164:1#out:1", - ":9164:2#out:1", - ":9164:3#out:1", - ":9164:7#out:1", - ":9164:8#out:1", - ":9164:6#out:1", - ":9164:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":66, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9171", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9171", - "parent":47, - "children":[ - 67 - ], - "name":"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/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":[ - ":9191", - ":10732", - ":10737", - ":9186", - ":9185", - ":9183", - ":10740", - ":10733", - ":9181", - ":9184", - ":10725", - ":10738", - ":9179", - ":10741", - ":9176", - ":9175", - ":10731", - ":9189", - ":9174", - ":9188", - ":9187", - ":9173", - ":9177", - ":9172", - ":10736", - ":9172#out:1", - ":9181#out:1", - ":9179#out:1", - ":9173#out:1", - ":9174#out:1", - ":9175#out:1", - ":9176#out:1", - ":9189#out:1", - ":9188#out:1", - ":10731#out:1", - ":10725#out:1", - ":10736#out:1", - ":10738#out:1", - ":10733#out:1", - ":10732#out:1", - ":10741#out:1", - ":10740#out:1" - ], - "sameAsElement":true - }, - { - "hid":67, - "sid":"BLDCmotor_FOC_R2017b_fixdt:9188", - "esid":"BLDCmotor_FOC_R2017b_fixdt:9188", - "parent":66, - "children":[ - ], - "name":"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/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", - ":9188:8", - ":9188:7", - ":9188:6", - ":9188:5", - ":9188:4", - ":9188:3", - ":9188:2", - ":9188:1", - ":9188:1#out:1", - ":9188:2#out:1", - ":9188:3#out:1", - ":9188:7#out:1", - ":9188:8#out:1", - ":9188:6#out:1", - ":9188:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":68, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8866", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8866", - "parent":40, - "children":[ - ], - "name":"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/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", - ":8875", - ":8874", - ":8873", - ":8876", - ":8872", - ":8878", - ":8869", - ":8870", - ":8880#out:1", - ":8879#out:1", - ":8872#out:1", - ":8874#out:1", - ":8867#out:1", - ":8868#out:1", - ":8869#out:1", - ":8870#out:1", - ":8876#out:1", - ":8873#out:1", - ":8877#out:1", - ":8878#out:1", - ":8875#out:1" - ], - "sameAsElement":true - }, - { - "hid":69, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8886", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8886", - "parent":40, - "children":[ - ], - "name":"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/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", - ":8910", - ":8887", - ":8909", - ":8889", - ":8890", - ":8907", - ":8906", - ":8904", - ":8903", - ":8902", - ":8901", - ":8900", - ":8895", - ":8899", - ":8894", - ":8905", - ":8898", - ":8896", - ":8892", - ":8897", - ":8893", - ":8891", - ":8908", - ":8889#out:1", - ":8888#out:1", - ":8887#out:1", - ":8890#out:1", - ":8896#out:1", - ":8895#out:1", - ":8902#out:1", - ":8899#out:1", - ":8891#out:1", - ":8897#out:1", - ":8898#out:1", - ":8892#out:1", - ":8893#out:1", - ":8900#out:1", - ":8894#out:1", - ":8901#out:1", - ":8907#out:1", - ":8908#out:1" - ], - "sameAsElement":true - }, - { - "hid":70, - "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", - "esid":"BLDCmotor_FOC_R2017b_fixdt:8913", - "parent":40, - "children":[ - 71, - 73, - 77 - ], - "name":"Motor_Limitations", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations", - "label":"Motor_Limitations", - "icon":"WebViewIcon1", - "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", - ":9020", - ":9021", - ":9022", - ":9013", - ":9012", - ":9010", - ":10711", - ":9011", - ":9007", - ":9005", - ":9002", - ":8999", - ":8998", - ":8997", - ":9009", - ":8976", - ":8973", - ":8971", - ":10727", - ":10715", - ":10713", - ":8970", - ":10694", - ":8968", - ":8963", - ":10705", - ":8961", - ":10566", - ":8969", - ":8954", - ":9004", - ":8953", - ":8955", - ":10565", - ":8952", - ":8958", - ":8951", - ":8950", - ":9006", - ":10710", - ":8947", - ":10684", - ":10700", - ":8957", - ":8975", - ":10602", - ":10681", - ":10680", - ":9014", - ":8946", - ":10718", - ":10699", - ":10816", - ":10780", - ":10682", - ":10712", - ":8944", - ":8956", - ":8972", - ":8934", - ":8974", - ":9733", - ":10675", - ":9017", - ":9732", - ":10693", - ":8935", - ":8962", - ":8917", - ":8919", - ":8916", - ":10683", - ":9003", - ":10696", - ":8915", - ":10674", - ":10584", - ":10708", - ":10695", - ":10704", - ":10361", - ":10564", - ":8959", - ":8939", - ":9008", - ":10685", - ":8914", - ":8967", - ":10709", - ":8999#out:1", - ":8947#out:1", - ":8935#out:1", - ":8959#out:1", - ":8997#out:1", - ":8934#out:1", - ":8915#out:1", - ":8916#out:1", - ":8946#out:1", - ":8950#out:1", - ":8957#out:1", - ":8958#out:1", - ":9002#out:1", - ":9733#out:1", - ":8956#out:1", - ":9004#out:1", - ":8953#out:1", - ":8951#out:1", - ":8954#out:1", - ":8955#out:1", - ":8917#out:1", - ":8939#out:1", - ":9005#out:1", - ":8944#out:1", - ":8914#out:1", - ":8998#out:1", - ":8919#out:1", - ":8952#out:1", - ":9732#out:1", - ":9003#out:1", - ":10564#out:1", - ":10565#out:1", - ":10565#out:2", - ":10565#out:3", - ":10674#out:1", - ":10675#out:1", - ":10680#out:1", - ":10683#out:1", - ":10682#out:1", - ":10681#out:1", - ":10684#out:1", - ":10685#out:1", - ":10693#out:1", - ":10695#out:1", - ":10699#out:1", - ":10700#out:1", - ":10704#out:1", - ":10708#out:1", - ":10710#out:1", - ":10709#out:1", - ":10584#out:1", - ":10602#out:1", - ":10566#out:1", - ":10566#out:2", - ":10780#out:1", - ":10816#out:1" - ], - "sameAsElement":true - }, - { - "hid":71, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10584", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10584", - "parent":70, - "children":[ - 72 - ], - "name":"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/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":[ - ":10600", - ":10662", - ":10597", - ":10594", - ":10661", - ":10591", - ":10587", - ":10586", - ":10585", - ":10585#out:1", - ":10594#out:1", - ":10586#out:1", - ":10587#out:1", - ":10662#out:1", - ":10661#out:1", - ":10597#out:1" - ], - "sameAsElement":true - }, - { - "hid":72, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10594", - "parent":71, - "children":[ - ], - "name":"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/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", - ":10594:8", - ":10594:7", - ":10594:6", - ":10594:5", - ":10594:4", - ":10594:3", - ":10594:2", - ":10594:1", - ":10594:1#out:1", - ":10594:2#out:1", - ":10594:3#out:1", - ":10594:7#out:1", - ":10594:8#out:1", - ":10594:6#out:1", - ":10594:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":73, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10602", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10602", - "parent":70, - "children":[ - 74 - ], - "name":"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/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":[ - ":10619", - ":10810", - ":10809", - ":10808", - ":10804", - ":10609", - ":10805", - ":10811", - ":10814", - ":10803", - ":10777", - ":10607", - ":10815", - ":10812", - ":10774", - ":10776", - ":10774#out:1", - ":10607#out:1", - ":10809#out:1", - ":10805#out:1", - ":10803#out:1", - ":10804#out:1", - ":10811#out:1", - ":10810#out:1", - ":10812#out:1", - ":10808#out:1", - ":10814#out:1" - ], - "sameAsElement":true - }, - { - "hid":74, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10808", - "parent":73, - "children":[ - 75, - 76 - ], - "name":"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/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:2889", - ":10808:2892", - ":10808:2894", - ":10808:2877", - ":10808:2869", - ":10808:2893", - ":10808:2891", - ":10808:2895", - ":10808:2855", - ":10808:2854", - ":10808:2890", - ":10808:2853", - ":10808:2851", - ":10808:2892#out:1", - ":10808:2869#out:1", - ":10808:2890#out:1", - ":10808:2893#out:1", - ":10808:2891#out:1", - ":10808:2894#out:1", - ":10808:2877#out:1", - ":10808:2895#out:1", - ":10808:2851#out:1", - ":10808:2853#out:1", - ":10808:2854#out:1", - ":10808:2855#out:1" - ], - "sameAsElement":true - }, - { - "hid":75, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", - "parent":74, - "children":[ - ], - "name":"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/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:2882", - ":10808:2880", - ":10808:2896", - ":10808:2879", - ":10808:2878", - ":10808:2878#out:1", - ":10808:2880#out:1", - ":10808:2896#out:1", - ":10808:2879#out:1" - ], - "sameAsElement":true - }, - { - "hid":76, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", - "parent":74, - "children":[ - ], - "name":"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/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", - ":10808:2895:8", - ":10808:2895:7", - ":10808:2895:6", - ":10808:2895:5", - ":10808:2895:4", - ":10808:2895:3", - ":10808:2895:2", - ":10808:2895:1", - ":10808:2895:1#out:1", - ":10808:2895:2#out:1", - ":10808:2895:3#out:1", - ":10808:2895:7#out:1", - ":10808:2895:8#out:1", - ":10808:2895:6#out:1", - ":10808:2895:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":77, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10566", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10566", - "parent":70, - "children":[ - 78, - 81 - ], - "name":"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/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":[ - ":10575", - ":10653", - ":10574", - ":10640", - ":10634", - ":10745", - ":10649", - ":10658", - ":10625", - ":10627", - ":10656", - ":10746", - ":10655", - ":10643", - ":10641", - ":10651", - ":10659", - ":10633", - ":10673", - ":10672", - ":10570", - ":10642", - ":10577", - ":10576", - ":10632", - ":10567", - ":10630", - ":10568", - ":10583", - ":10629", - ":10657", - ":10568#out:1", - ":10567#out:1", - ":10577#out:1", - ":10576#out:1", - ":10632#out:1", - ":10640#out:1", - ":10641#out:1", - ":10643#out:1", - ":10655#out:1", - ":10656#out:1", - ":10657#out:1", - ":10659#out:1", - ":10633#out:1", - ":10634#out:1", - ":10745#out:1", - ":10574#out:1", - ":10672#out:1", - ":10653#out:1", - ":10651#out:1", - ":10746#out:1", - ":10673#out:1" - ], - "sameAsElement":true - }, - { - "hid":78, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10745", - "parent":77, - "children":[ - 79, - 80 - ], - "name":"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/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:2889", - ":10745:2894", - ":10745:2893", - ":10745:2895", - ":10745:2877", - ":10745:2869", - ":10745:2891", - ":10745:2855", - ":10745:2890", - ":10745:2853", - ":10745:2851", - ":10745:2854", - ":10745:2892", - ":10745:2892#out:1", - ":10745:2869#out:1", - ":10745:2890#out:1", - ":10745:2893#out:1", - ":10745:2891#out:1", - ":10745:2894#out:1", - ":10745:2877#out:1", - ":10745:2895#out:1", - ":10745:2851#out:1", - ":10745:2853#out:1", - ":10745:2854#out:1", - ":10745:2855#out:1" - ], - "sameAsElement":true - }, - { - "hid":79, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", - "parent":78, - "children":[ - ], - "name":"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/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", - ":10745:2880", - ":10745:2879", - ":10745:2878", - ":10745:2878#out:1", - ":10745:2880#out:1", - ":10745:2896#out:1", - ":10745:2879#out:1" - ], - "sameAsElement":true - }, - { - "hid":80, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", - "parent":78, - "children":[ - ], - "name":"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/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", - ":10745:2895:8", - ":10745:2895:7", - ":10745:2895:6", - ":10745:2895:5", - ":10745:2895:4", - ":10745:2895:3", - ":10745:2895:2", - ":10745:2895:1", - ":10745:2895:1#out:1", - ":10745:2895:2#out:1", - ":10745:2895:3#out:1", - ":10745:2895:7#out:1", - ":10745:2895:8#out:1", - ":10745:2895:6#out:1", - ":10745:2895:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":81, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10746", - "parent":77, - "children":[ - 82, - 83 - ], - "name":"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/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:2889", - ":10746:2877", - ":10746:2893", - ":10746:2855", - ":10746:2854", - ":10746:2891", - ":10746:2892", - ":10746:2890", - ":10746:2853", - ":10746:2895", - ":10746:2869", - ":10746:2851", - ":10746:2892#out:1", - ":10746:2869#out:1", - ":10746:2890#out:1", - ":10746:2893#out:1", - ":10746:2891#out:1", - ":10746:2894#out:1", - ":10746:2877#out:1", - ":10746:2895#out:1", - ":10746:2851#out:1", - ":10746:2853#out:1", - ":10746:2854#out:1", - ":10746:2855#out:1" - ], - "sameAsElement":true - }, - { - "hid":82, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", - "parent":81, - "children":[ - ], - "name":"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/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:2882", - ":10746:2896", - ":10746:2879", - ":10746:2878", - ":10746:2880", - ":10746:2878#out:1", - ":10746:2880#out:1", - ":10746:2896#out:1", - ":10746:2879#out:1" - ], - "sameAsElement":true - }, - { - "hid":83, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", - "parent":81, - "children":[ - ], - "name":"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/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", - ":10746:2895:8", - ":10746:2895:7", - ":10746:2895:6", - ":10746:2895:5", - ":10746:2895:4", - ":10746:2895:3", - ":10746:2895:2", - ":10746:2895:1", - ":10746:2895:1#out:1", - ":10746:2895:2#out:1", - ":10746:2895:3#out:1", - ":10746:2895:7#out:1", - ":10746:2895:8#out:1", - ":10746:2895:6#out:1", - ":10746:2895:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":84, "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", "esid":"BLDCmotor_FOC_R2017b_fixdt:9045", - "parent":40, + "parent":44, "children":[ ], "name":"Park_Transform", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Park_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Park_Transform", "label":"Park_Transform", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg", @@ -4743,24 +2993,24 @@ ":9069", ":9048", ":9049", + ":9067", ":9066", ":9065", ":9063", - ":9067", - ":9064", ":9061", - ":9059", ":9060", + ":9059", ":9057", - ":9058", - ":9053", - ":9062", ":9056", ":9052", - ":9050", - ":9055", + ":9064", ":9054", + ":9058", + ":9055", ":9051", + ":9050", + ":9062", + ":9053", ":9048#out:1", ":9047#out:1", ":9046#out:1", @@ -4783,14 +3033,14 @@ "sameAsElement":true }, { - "hid":85, + "hid":52, "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", "esid":"BLDCmotor_FOC_R2017b_fixdt:8743", - "parent":40, + "parent":44, "children":[ ], "name":"Sine_Cosine_Approximation", - "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Sine_Cosine_Approximation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation", "label":"Sine_Cosine_Approximation", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg", @@ -4799,19 +3049,19 @@ "elements":[ ":8762", ":8764", + ":8757", ":8754", + ":8748", ":9646", ":8755", ":9644", - ":8748", ":9645", - ":9643", - ":10676", ":9639", - ":8758", - ":8757", ":9640", + ":10676", + ":8758", ":8744", + ":9643", ":8748#out:1", ":10676#out:1", ":8744#out:1", @@ -4823,15 +3073,2287 @@ ], "sameAsElement":true }, + { + "hid":53, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11930", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11930", + "parent":43, + "children":[ + 54, + 55 + ], + "name":"Clarke_Park_Transform_Inverse", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse", + "label":"Clarke_Park_Transform_Inverse", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json", + "elements":[ + ":12109", + ":12049", + ":12048", + ":12107", + ":12106", + ":12126", + ":12108", + ":12105", + ":12044", + ":12104", + ":11934", + ":12047", + ":11933", + ":11935", + ":12052", + ":11932", + ":12098", + ":11931", + ":12044#out:1", + ":11932#out:1", + ":11934#out:1", + ":11933#out:1", + ":11931#out:1", + ":12109#out:1", + ":12105#out:1", + ":12107#out:1", + ":12126#out:1", + ":12126#out:2", + ":12104#out:1", + ":12106#out:1" + ], + "sameAsElement":true + }, + { + "hid":54, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12109", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12109", + "parent":53, + "children":[ + ], + "name":"Inv_Clarke_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Clarke_Transform", + "label":"Inv_Clarke_Transform", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json", + "elements":[ + ":12124", + ":12125", + ":12111", + ":12110", + ":12123", + ":12118", + ":12117", + ":12120", + ":12116", + ":12115", + ":12114", + ":12119", + ":12113", + ":12112", + ":12122", + ":12121", + ":12122#out:1", + ":12121#out:1", + ":12114#out:1", + ":12116#out:1", + ":12110#out:1", + ":12111#out:1", + ":12112#out:1", + ":12113#out:1", + ":12118#out:1", + ":12115#out:1", + ":12117#out:1", + ":12119#out:1", + ":12120#out:1" + ], + "sameAsElement":true + }, + { + "hid":55, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12126", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12126", + "parent":53, + "children":[ + ], + "name":"Inv_Park_Transform", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Park_Transform", + "label":"Inv_Park_Transform", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json", + "elements":[ + ":12151", + ":12128", + ":12150", + ":12127", + ":12149", + ":12129", + ":12130", + ":12148", + ":12147", + ":12146", + ":12145", + ":12142", + ":12141", + ":12139", + ":12138", + ":12144", + ":12134", + ":12133", + ":12135", + ":12140", + ":12131", + ":12136", + ":12137", + ":12132", + ":12143", + ":12129#out:1", + ":12128#out:1", + ":12127#out:1", + ":12130#out:1", + ":12136#out:1", + ":12135#out:1", + ":12142#out:1", + ":12139#out:1", + ":12131#out:1", + ":12137#out:1", + ":12138#out:1", + ":12132#out:1", + ":12133#out:1", + ":12140#out:1", + ":12134#out:1", + ":12141#out:1", + ":12147#out:1", + ":12148#out:1" + ], + "sameAsElement":true + }, + { + "hid":56, + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", + "esid":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":43, + "children":[ + 57 + ], + "name":"FOC", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC", + "label":"FOC", + "icon":"WebViewIcon1", + "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":[ + ":10370", + ":10368", + ":10425", + ":10391", + ":10424", + ":10419", + ":10388", + ":10413", + ":11514", + ":10421", + ":10410", + ":10723", + ":12672", + ":11477", + ":12671", + ":10420", + ":12670", + ":10408", + ":12665", + ":12664", + ":12662", + ":10387", + ":10367", + ":12660", + ":12659", + ":12658", + ":12653", + ":12661", + ":12652", + ":12668", + ":10427", + ":12650", + ":12649", + ":12651", + ":12648", + ":12655", + ":12647", + ":10722", + ":12646", + ":12645", + ":10418", + ":10369", + ":10735", + ":10411", + ":12644", + ":11718", + ":11513", + ":10423", + ":10407", + ":11476", + ":12667", + ":10414", + ":10422", + ":10404", + ":10721", + ":10402", + ":10417", + ":12654", + ":10426", + ":10415", + ":10405", + ":10406", + ":10412", + ":10734", + ":12392", + ":10373", + ":12663", + ":10409", + ":10416", + ":10372", + ":10720", + ":12657", + ":10403", + ":10397", + ":10398", + ":10371", + ":12669", + ":12656", + ":10367#out:1", + ":10369#out:1", + ":10373#out:1", + ":10372#out:1", + ":10371#out:1", + ":10397#out:1", + ":10407#out:1", + ":10406#out:1", + ":10404#out:1", + ":10402#out:1", + ":10403#out:1", + ":10405#out:1", + ":10415#out:1", + ":10414#out:1", + ":10417#out:1", + ":10416#out:1", + ":10423#out:1", + ":10422#out:1", + ":10426#out:1", + ":10720#out:1", + ":10721#out:1", + ":10734#out:1", + ":11476#out:1", + ":11513#out:1", + ":12645#out:1", + ":12654#out:1", + ":12644#out:1", + ":12655#out:1", + ":12656#out:1", + ":12647#out:1", + ":12652#out:1", + ":12661#out:1", + ":12653#out:1", + ":12650#out:1", + ":12651#out:1", + ":12649#out:1", + ":12663#out:1", + ":12646#out:1", + ":12658#out:1", + ":12660#out:1", + ":12657#out:1", + ":12664#out:1", + ":12665#out:1", + ":12659#out:1", + ":12648#out:1", + ":12662#out:1", + ":12667#out:1", + ":12668#out:1", + ":12669#out:1", + ":12392#out:1", + ":12392#out:2" + ], + "sameAsElement":true + }, + { + "hid":57, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12392", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12392", + "parent":56, + "children":[ + 58, + 59, + 64, + 70, + 76 + ], + "name":"FOC_Enabled", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled", + "label":"FOC_Enabled", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json", + "elements":[ + ":12616", + ":12546", + ":12481", + ":12479", + ":12477", + ":12474", + ":12473", + ":12482", + ":12471", + ":12470", + ":12469", + ":12587", + ":12468", + ":12466", + ":12465", + ":12464", + ":12547", + ":12462", + ":12461", + ":12460", + ":12480", + ":12463", + ":12455", + ":12454", + ":12453", + ":12452", + ":12456", + ":12450", + ":12449", + ":12487", + ":12447", + ":12476", + ":12442", + ":12439", + ":12438", + ":12472", + ":12446", + ":12459", + ":12431", + ":12458", + ":12430", + ":12428", + ":12427", + ":12448", + ":12443", + ":12467", + ":12425", + ":12424", + ":12444", + ":12422", + ":12419", + ":12417", + ":12418", + ":12416", + ":12666", + ":12414", + ":12433", + ":12413", + ":12435", + ":12410", + ":12434", + ":12409", + ":12426", + ":12407", + ":12403", + ":12445", + ":12420", + ":12478", + ":12402", + ":12406", + ":12400", + ":12411", + ":12441", + ":12412", + ":12408", + ":12398", + ":12432", + ":12405", + ":12436", + ":12396", + ":12401", + ":12457", + ":12440", + ":12642", + ":12395", + ":12397", + ":12394", + ":12643", + ":12404", + ":12437", + ":12451", + ":12421", + ":12393", + ":12429", + ":12399", + ":12475", + ":12423", + ":12419#out:1", + ":12425#out:1", + ":12480#out:1", + ":12417#out:1", + ":12420#out:1", + ":12547#out:1", + ":12431#out:1", + ":12430#out:1", + ":12434#out:1", + ":12546#out:3", + ":12428#out:1", + ":12435#out:1", + ":12429#out:1", + ":12426#out:1", + ":12546#out:2", + ":12438#out:1", + ":12416#out:1", + ":12422#out:1", + ":12433#out:1", + ":12421#out:1", + ":12424#out:1", + ":12546#out:1", + ":12546#out:4", + ":12436#out:1", + ":12437#out:1", + ":12487#out:1", + ":12482#out:1", + ":12616#out:1", + ":12440#out:1", + ":12444#out:1", + ":12451#out:1", + ":12443#out:1", + ":12442#out:1", + ":12446#out:1", + ":12447#out:1", + ":12441#out:1", + ":12448#out:1", + ":12445#out:1", + ":12423#out:1", + ":12395#out:1", + ":12394#out:1", + ":12393#out:1", + ":12400#out:1", + ":12406#out:1", + ":12405#out:1", + ":12401#out:1", + ":12398#out:1", + ":12399#out:1", + ":12402#out:1", + ":12404#out:1", + ":12403#out:1", + ":12412#out:1", + ":12411#out:1", + ":12408#out:1", + ":12407#out:1", + ":12397#out:1", + ":12409#out:1", + ":12410#out:1", + ":12427#out:1", + ":12432#out:1", + ":12396#out:1", + ":12439#out:1", + ":12413#out:1", + ":12449#out:1", + ":12450#out:1", + ":12418#out:1", + ":12414#out:1", + ":12587#out:1", + ":12481#out:1" + ], + "sameAsElement":true + }, + { + "hid":58, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12482", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12482", + "parent":57, + "children":[ + ], + "name":"Open_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Open_Mode", + "label":"Open_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json", + "elements":[ + ":12486", + ":12485", + ":12484", + ":12483", + ":12483#out:1" + ], + "sameAsElement":true + }, + { + "hid":59, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12487", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12487", + "parent":57, + "children":[ + 60 + ], + "name":"Speed_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode", + "label":"Speed_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json", + "elements":[ + ":12544", + ":12545", + ":12543", + ":12542", + ":12541", + ":12540", + ":12538", + ":12536", + ":12534", + ":12533", + ":12531", + ":12530", + ":12528", + ":12526", + ":12537", + ":12525", + ":12524", + ":12522", + ":12521", + ":12518", + ":12516", + ":12515", + ":12514", + ":12513", + ":12532", + ":12523", + ":12529", + ":12511", + ":12509", + ":12510", + ":12506", + ":12505", + ":12504", + ":12520", + ":12517", + ":12502", + ":12501", + ":12496", + ":12539", + ":12495", + ":12499", + ":12494", + ":12500", + ":12498", + ":12519", + ":12493", + ":12507", + ":12503", + ":12492", + ":12497", + ":12491", + ":12490", + ":12508", + ":12512", + ":12535", + ":12489", + ":12488", + ":12527", + ":12539#out:1", + ":12540#out:1", + ":12510#out:1", + ":12535#out:1", + ":12488#out:1", + ":12489#out:1", + ":12490#out:1", + ":12491#out:1", + ":12492#out:1", + ":12498#out:1", + ":12515#out:1", + ":12512#out:1", + ":12493#out:1", + ":12514#out:1", + ":12511#out:1", + ":12536#out:1", + ":12494#out:1", + ":12533#out:1", + ":12542#out:1", + ":12513#out:1", + ":12496#out:1", + ":12527#out:1", + ":12529#out:1", + ":12500#out:1", + ":12530#out:1", + ":12528#out:1", + ":12505#out:1", + ":12506#out:1", + ":12534#out:1", + ":12541#out:1", + ":12503#out:1", + ":12537#out:1", + ":12504#out:1", + ":12507#out:1", + ":12531#out:1", + ":12532#out:1", + ":12502#out:1", + ":12509#out:1", + ":12501#out:1", + ":12516#out:1", + ":12508#out:1", + ":12538#out:1", + ":12497#out:1", + ":12497#out:2", + ":12499#out:1" + ], + "sameAsElement":true + }, + { + "hid":60, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12533", + "parent":59, + "children":[ + 61, + 62, + 63 + ], + "name":"PI_clamp_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt", + "label":"PI_clamp_fixdt", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json", + "elements":[ + ":12533:2785", + ":12533:2814", + ":12533:2781", + ":12533:2783", + ":12533:2779", + ":12533:2846", + ":12533:2833", + ":12533:2817", + ":12533:2832", + ":12533:2791", + ":12533:2815", + ":12533:2816", + ":12533:2778", + ":12533:2733", + ":12533:2732", + ":12533:2795", + ":12533:2794", + ":12533:2776", + ":12533:2910", + ":12533:2771", + ":12533:2770", + ":12533:2773", + ":12533:2845", + ":12533:2769", + ":12533:2844", + ":12533:2910#out:1", + ":12533:2791#out:2", + ":12533:2846#out:1", + ":12533:2844#out:1", + ":12533:2833#out:1", + ":12533:2832#out:1", + ":12533:2817#out:1", + ":12533:2816#out:1", + ":12533:2814#out:1", + ":12533:2781#out:1", + ":12533:2783#out:1", + ":12533:2815#out:1", + ":12533:2791#out:3", + ":12533:2791#out:1", + ":12533:2733#out:1", + ":12533:2732#out:1", + ":12533:2770#out:1", + ":12533:2779#out:1", + ":12533:2771#out:1", + ":12533:2778#out:1", + ":12533:2776#out:1", + ":12533:2773#out:1", + ":12533:2769#out:1" + ], + "sameAsElement":true + }, + { + "hid":61, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", + "parent":60, + "children":[ + ], + "name":"Clamping_circuit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Clamping_circuit", + "label":"Clamping_circuit", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json", + "elements":[ + ":12533:2819", + ":12533:2818", + ":12533:2831", + ":12533:2839", + ":12533:2837", + ":12533:2841", + ":12533:2836", + ":12533:2843", + ":12533:2840", + ":12533:2838", + ":12533:2843#out:1", + ":12533:2838#out:1", + ":12533:2841#out:1", + ":12533:2840#out:1", + ":12533:2836#out:1", + ":12533:2839#out:1", + ":12533:2837#out:1", + ":12533:2819#out:1", + ":12533:2818#out:1" + ], + "sameAsElement":true + }, + { + "hid":62, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", + "parent":60, + "children":[ + ], + "name":"Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Integrator", + "label":"Integrator", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json", + "elements":[ + ":12533:2790", + ":12533:2788", + ":12533:2908", + ":12533:2787", + ":12533:2909", + ":12533:2786", + ":12533:2909#out:1", + ":12533:2787#out:1", + ":12533:2908#out:1", + ":12533:2788#out:1", + ":12533:2786#out:1" + ], + "sameAsElement":true + }, + { + "hid":63, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", + "parent":60, + "children":[ + ], + "name":"Saturation_hit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Saturation_hit", + "label":"Saturation_hit", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json", + "elements":[ + ":12533:2791:2710", + ":12533:2791:2377", + ":12533:2791:2709", + ":12533:2791:2707", + ":12533:2791:2849", + ":12533:2791:2704", + ":12533:2791:2701", + ":12533:2791:2700", + ":12533:2791:2848", + ":12533:2791:2699", + ":12533:2791:2849#out:1", + ":12533:2791:2701#out:1", + ":12533:2791:2704#out:1", + ":12533:2791:2707#out:1", + ":12533:2791:2699#out:1", + ":12533:2791:2700#out:1", + ":12533:2791:2848#out:1" + ], + "sameAsElement":true + }, + { + "hid":64, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12547", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12547", + "parent":57, + "children":[ + 65, + 69 + ], + "name":"Torque_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode", + "label":"Torque_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json", + "elements":[ + ":12586", + ":12585", + ":12582", + ":12689", + ":12580", + ":12581", + ":12577", + ":12576", + ":12575", + ":12574", + ":12573", + ":12572", + ":12571", + ":12583", + ":12567", + ":12566", + ":12565", + ":12564", + ":12584", + ":12561", + ":12560", + ":12559", + ":12570", + ":12558", + ":12556", + ":12555", + ":12569", + ":12579", + ":12578", + ":12551", + ":12554", + ":12552", + ":12550", + ":12562", + ":12557", + ":12549", + ":12553", + ":12563", + ":12568", + ":12548", + ":12549#out:1", + ":12548#out:1", + ":12550#out:1", + ":12551#out:1", + ":12553#out:1", + ":12552#out:1", + ":12554#out:1", + ":12563#out:1", + ":12585#out:1", + ":12581#out:1", + ":12580#out:1", + ":12565#out:1", + ":12566#out:1", + ":12584#out:1", + ":12582#out:1", + ":12564#out:1", + ":12562#out:1", + ":12557#out:1", + ":12583#out:1", + ":12561#out:1", + ":12559#out:1", + ":12567#out:1", + ":12560#out:1", + ":12578#out:1", + ":12579#out:1", + ":12555#out:1", + ":12558#out:1", + ":12689#out:1" + ], + "sameAsElement":true + }, + { + "hid":65, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12580", + "parent":64, + "children":[ + 66, + 67, + 68 + ], + "name":"PI_clamp_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt", + "label":"PI_clamp_fixdt", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json", + "elements":[ + ":12580:2785", + ":12580:2817", + ":12580:2781", + ":12580:2783", + ":12580:2779", + ":12580:2794", + ":12580:2845", + ":12580:2846", + ":12580:2833", + ":12580:2832", + ":12580:2815", + ":12580:2778", + ":12580:2773", + ":12580:2733", + ":12580:2816", + ":12580:2791", + ":12580:2770", + ":12580:2910", + ":12580:2795", + ":12580:2732", + ":12580:2769", + ":12580:2814", + ":12580:2776", + ":12580:2771", + ":12580:2844", + ":12580:2910#out:1", + ":12580:2791#out:2", + ":12580:2846#out:1", + ":12580:2844#out:1", + ":12580:2833#out:1", + ":12580:2832#out:1", + ":12580:2817#out:1", + ":12580:2816#out:1", + ":12580:2814#out:1", + ":12580:2781#out:1", + ":12580:2783#out:1", + ":12580:2815#out:1", + ":12580:2791#out:3", + ":12580:2791#out:1", + ":12580:2733#out:1", + ":12580:2732#out:1", + ":12580:2770#out:1", + ":12580:2779#out:1", + ":12580:2771#out:1", + ":12580:2778#out:1", + ":12580:2776#out:1", + ":12580:2773#out:1", + ":12580:2769#out:1" + ], + "sameAsElement":true + }, + { + "hid":66, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", + "parent":65, + "children":[ + ], + "name":"Clamping_circuit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Clamping_circuit", + "label":"Clamping_circuit", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json", + "elements":[ + ":12580:2819", + ":12580:2818", + ":12580:2831", + ":12580:2839", + ":12580:2837", + ":12580:2841", + ":12580:2836", + ":12580:2840", + ":12580:2843", + ":12580:2838", + ":12580:2843#out:1", + ":12580:2838#out:1", + ":12580:2841#out:1", + ":12580:2840#out:1", + ":12580:2836#out:1", + ":12580:2839#out:1", + ":12580:2837#out:1", + ":12580:2819#out:1", + ":12580:2818#out:1" + ], + "sameAsElement":true + }, + { + "hid":67, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", + "parent":65, + "children":[ + ], + "name":"Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Integrator", + "label":"Integrator", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json", + "elements":[ + ":12580:2790", + ":12580:2788", + ":12580:2908", + ":12580:2787", + ":12580:2909", + ":12580:2786", + ":12580:2909#out:1", + ":12580:2787#out:1", + ":12580:2908#out:1", + ":12580:2788#out:1", + ":12580:2786#out:1" + ], + "sameAsElement":true + }, + { + "hid":68, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", + "parent":65, + "children":[ + ], + "name":"Saturation_hit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Saturation_hit", + "label":"Saturation_hit", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json", + "elements":[ + ":12580:2791:2377", + ":12580:2791:2709", + ":12580:2791:2707", + ":12580:2791:2704", + ":12580:2791:2849", + ":12580:2791:2701", + ":12580:2791:2710", + ":12580:2791:2700", + ":12580:2791:2699", + ":12580:2791:2848", + ":12580:2791:2849#out:1", + ":12580:2791:2701#out:1", + ":12580:2791:2704#out:1", + ":12580:2791:2707#out:1", + ":12580:2791:2699#out:1", + ":12580:2791:2700#out:1", + ":12580:2791:2848#out:1" + ], + "sameAsElement":true + }, + { + "hid":69, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12581", + "parent":64, + "children":[ + ], + "name":"Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/Saturation Dynamic1", + "label":"Saturation Dynamic1", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.json", + "elements":[ + ":12581:10", + ":12581:9", + ":12581:8", + ":12581:7", + ":12581:6", + ":12581:5", + ":12581:4", + ":12581:3", + ":12581:2", + ":12581:1", + ":12581:1#out:1", + ":12581:2#out:1", + ":12581:3#out:1", + ":12581:7#out:1", + ":12581:8#out:1", + ":12581:6#out:1", + ":12581:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":70, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12587", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12587", + "parent":57, + "children":[ + 71, + 75 + ], + "name":"Vd_Calculation", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation", + "label":"Vd_Calculation", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json", + "elements":[ + ":12609", + ":12614", + ":12612", + ":12611", + ":12607", + ":12604", + ":12613", + ":12605", + ":12603", + ":12615", + ":12602", + ":12600", + ":12599", + ":12598", + ":12601", + ":12594", + ":12597", + ":12595", + ":12606", + ":12592", + ":12591", + ":12596", + ":12590", + ":12610", + ":12608", + ":12589", + ":12588", + ":12593", + ":12596#out:1", + ":12595#out:1", + ":12588#out:1", + ":12589#out:1", + ":12591#out:1", + ":12590#out:1", + ":12592#out:1", + ":12593#out:1", + ":12608#out:1", + ":12597#out:1", + ":12598#out:1", + ":12609#out:1", + ":12607#out:1", + ":12611#out:1", + ":12610#out:1", + ":12612#out:1", + ":12600#out:1", + ":12599#out:1", + ":12613#out:1", + ":12614#out:1" + ], + "sameAsElement":true + }, + { + "hid":71, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12607", + "parent":70, + "children":[ + 72, + 73, + 74 + ], + "name":"PI_clamp_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt", + "label":"PI_clamp_fixdt", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json", + "elements":[ + ":12607:2783", + ":12607:2817", + ":12607:2845", + ":12607:2779", + ":12607:2846", + ":12607:2785", + ":12607:2832", + ":12607:2794", + ":12607:2778", + ":12607:2815", + ":12607:2816", + ":12607:2781", + ":12607:2795", + ":12607:2773", + ":12607:2833", + ":12607:2814", + ":12607:2733", + ":12607:2791", + ":12607:2732", + ":12607:2910", + ":12607:2771", + ":12607:2776", + ":12607:2770", + ":12607:2769", + ":12607:2844", + ":12607:2910#out:1", + ":12607:2791#out:2", + ":12607:2846#out:1", + ":12607:2844#out:1", + ":12607:2833#out:1", + ":12607:2832#out:1", + ":12607:2817#out:1", + ":12607:2816#out:1", + ":12607:2814#out:1", + ":12607:2781#out:1", + ":12607:2783#out:1", + ":12607:2815#out:1", + ":12607:2791#out:3", + ":12607:2791#out:1", + ":12607:2733#out:1", + ":12607:2732#out:1", + ":12607:2770#out:1", + ":12607:2779#out:1", + ":12607:2771#out:1", + ":12607:2778#out:1", + ":12607:2776#out:1", + ":12607:2773#out:1", + ":12607:2769#out:1" + ], + "sameAsElement":true + }, + { + "hid":72, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", + "parent":71, + "children":[ + ], + "name":"Clamping_circuit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit", + "label":"Clamping_circuit", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json", + "elements":[ + ":12607:2819", + ":12607:2818", + ":12607:2831", + ":12607:2839", + ":12607:2841", + ":12607:2843", + ":12607:2840", + ":12607:2837", + ":12607:2836", + ":12607:2838", + ":12607:2843#out:1", + ":12607:2838#out:1", + ":12607:2841#out:1", + ":12607:2840#out:1", + ":12607:2836#out:1", + ":12607:2839#out:1", + ":12607:2837#out:1", + ":12607:2819#out:1", + ":12607:2818#out:1" + ], + "sameAsElement":true + }, + { + "hid":73, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", + "parent":71, + "children":[ + ], + "name":"Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Integrator", + "label":"Integrator", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json", + "elements":[ + ":12607:2788", + ":12607:2908", + ":12607:2787", + ":12607:2909", + ":12607:2786", + ":12607:2790", + ":12607:2909#out:1", + ":12607:2787#out:1", + ":12607:2908#out:1", + ":12607:2788#out:1", + ":12607:2786#out:1" + ], + "sameAsElement":true + }, + { + "hid":74, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", + "parent":71, + "children":[ + ], + "name":"Saturation_hit", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Saturation_hit", + "label":"Saturation_hit", + "icon":"WebViewIcon7", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json", + "elements":[ + ":12607:2791:2377", + ":12607:2791:2710", + ":12607:2791:2707", + ":12607:2791:2849", + ":12607:2791:2709", + ":12607:2791:2704", + ":12607:2791:2701", + ":12607:2791:2700", + ":12607:2791:2848", + ":12607:2791:2699", + ":12607:2791:2849#out:1", + ":12607:2791:2701#out:1", + ":12607:2791:2704#out:1", + ":12607:2791:2707#out:1", + ":12607:2791:2699#out:1", + ":12607:2791:2700#out:1", + ":12607:2791:2848#out:1" + ], + "sameAsElement":true + }, + { + "hid":75, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12608", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12608", + "parent":70, + "children":[ + ], + "name":"Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/Saturation Dynamic", + "label":"Saturation Dynamic", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json", + "elements":[ + ":12608:10", + ":12608:9", + ":12608:8", + ":12608:7", + ":12608:6", + ":12608:5", + ":12608:4", + ":12608:3", + ":12608:2", + ":12608:1", + ":12608:1#out:1", + ":12608:2#out:1", + ":12608:3#out:1", + ":12608:7#out:1", + ":12608:8#out:1", + ":12608:6#out:1", + ":12608:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":76, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12616", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12616", + "parent":57, + "children":[ + 77 + ], + "name":"Voltage_Mode", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode", + "label":"Voltage_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json", + "elements":[ + ":12639", + ":12638", + ":12634", + ":12637", + ":12633", + ":12632", + ":12641", + ":12630", + ":12629", + ":12627", + ":12635", + ":12625", + ":12636", + ":12628", + ":12624", + ":12620", + ":12623", + ":12626", + ":12619", + ":12618", + ":12622", + ":12617", + ":12621", + ":12640", + ":12631", + ":12617#out:1", + ":12627#out:1", + ":12626#out:1", + ":12619#out:1", + ":12620#out:1", + ":12621#out:1", + ":12622#out:1", + ":12640#out:1", + ":12638#out:1", + ":12628#out:1", + ":12618#out:1", + ":12630#out:1", + ":12629#out:1", + ":12637#out:1", + ":12639#out:1", + ":12624#out:1", + ":12625#out:1" + ], + "sameAsElement":true + }, + { + "hid":77, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12638", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12638", + "parent":76, + "children":[ + ], + "name":"Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode/Saturation Dynamic1", + "label":"Saturation Dynamic1", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json", + "elements":[ + ":12638:10", + ":12638:9", + ":12638:8", + ":12638:7", + ":12638:6", + ":12638:5", + ":12638:4", + ":12638:3", + ":12638:2", + ":12638:1", + ":12638:1#out:1", + ":12638:2#out:1", + ":12638:3#out:1", + ":12638:7#out:1", + ":12638:8#out:1", + ":12638:6#out:1", + ":12638:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":78, + "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", + "esid":"BLDCmotor_FOC_R2017b_fixdt:8913", + "parent":43, + "children":[ + 79 + ], + "name":"Motor_Limitations", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations", + "label":"Motor_Limitations", + "icon":"WebViewIcon1", + "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":[ + ":9017", + ":9014", + ":10711", + ":9011", + ":9010", + ":12219", + ":12388", + ":10712", + ":12390", + ":9013", + ":12384", + ":12376", + ":12382", + ":12379", + ":12377", + ":10705", + ":9008", + ":8969", + ":8953", + ":12373", + ":12383", + ":12372", + ":12385", + ":8954", + ":12380", + ":12367", + ":8970", + ":12371", + ":8951", + ":8950", + ":12370", + ":10694", + ":12368", + ":9009", + ":8946", + ":10696", + ":12369", + ":12387", + ":8947", + ":8916", + ":12378", + ":10709", + ":8915", + ":8976", + ":8917", + ":10710", + ":12374", + ":10704", + ":10693", + ":9006", + ":8944", + ":12375", + ":11717", + ":9012", + ":8914", + ":9007", + ":8962", + ":12389", + ":12381", + ":8935", + ":8939", + ":8955", + ":10695", + ":8947#out:1", + ":8935#out:1", + ":8915#out:1", + ":8916#out:1", + ":8946#out:1", + ":8950#out:1", + ":8953#out:1", + ":8951#out:1", + ":8954#out:1", + ":8955#out:1", + ":8917#out:1", + ":8939#out:1", + ":8944#out:1", + ":8914#out:1", + ":10693#out:1", + ":10695#out:1", + ":10704#out:1", + ":10710#out:1", + ":10709#out:1", + ":12373#out:1", + ":12370#out:1", + ":12367#out:1", + ":12371#out:1", + ":12372#out:1", + ":12369#out:1", + ":12368#out:1", + ":12219#out:1", + ":12219#out:2", + ":12219#out:3", + ":12219#out:4", + ":12219#out:5", + ":12219#out:6", + ":12219#out:7", + ":12219#out:8", + ":12219#out:9", + ":12219#out:10", + ":12219#out:11", + ":12219#out:12", + ":12387#out:1", + ":12388#out:1", + ":12389#out:1" + ], + "sameAsElement":true + }, + { + "hid":79, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12219", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12219", + "parent":78, + "children":[ + 80, + 82, + 86 + ], + "name":"Motor_Limitations_Enabled", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled", + "label":"Motor_Limitations_Enabled", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json", + "elements":[ + ":12362", + ":12363", + ":12364", + ":12365", + ":12366", + ":12361", + ":12360", + ":12358", + ":12356", + ":12351", + ":12350", + ":12346", + ":12353", + ":12345", + ":12344", + ":12312", + ":12359", + ":12294", + ":12347", + ":12293", + ":12354", + ":12282", + ":12281", + ":12280", + ":12278", + ":12277", + ":12266", + ":12276", + ":12268", + ":12265", + ":12272", + ":12263", + ":12262", + ":12273", + ":12355", + ":12260", + ":12275", + ":12259", + ":12256", + ":12258", + ":12255", + ":12254", + ":12269", + ":12253", + ":12279", + ":12251", + ":12349", + ":12357", + ":12248", + ":12270", + ":12247", + ":12246", + ":12244", + ":12242", + ":12352", + ":12241", + ":12271", + ":12245", + ":12239", + ":12238", + ":12236", + ":12240", + ":12235", + ":12234", + ":12252", + ":12267", + ":12249", + ":12232", + ":12243", + ":12230", + ":12229", + ":12264", + ":12311", + ":12274", + ":12233", + ":12237", + ":12226", + ":12261", + ":12224", + ":12231", + ":12223", + ":12250", + ":12283", + ":12228", + ":12225", + ":12222", + ":12348", + ":12220", + ":12257", + ":12386", + ":12221", + ":12345#out:1", + ":12250#out:1", + ":12234#out:1", + ":12262#out:1", + ":12311#out:1", + ":12233#out:1", + ":12222#out:1", + ":12223#out:1", + ":12239#out:1", + ":12253#out:1", + ":12260#out:1", + ":12261#out:1", + ":12346#out:1", + ":12232#out:1", + ":12231#out:1", + ":12259#out:1", + ":12348#out:1", + ":12256#out:1", + ":12254#out:1", + ":12257#out:1", + ":12258#out:1", + ":12224#out:1", + ":12237#out:1", + ":12349#out:1", + ":12238#out:1", + ":12220#out:1", + ":12229#out:1", + ":12344#out:1", + ":12230#out:1", + ":12228#out:1", + ":12255#out:1", + ":12347#out:1", + ":12243#out:1", + ":12293#out:1", + ":12293#out:2", + ":12293#out:3", + ":12240#out:1", + ":12244#out:1", + ":12242#out:1", + ":12241#out:1", + ":12245#out:1", + ":12246#out:1", + ":12226#out:1", + ":12225#out:1", + ":12247#out:1", + ":12248#out:1", + ":12221#out:1", + ":12249#out:1", + ":12252#out:1", + ":12251#out:1", + ":12283#out:1", + ":12294#out:1", + ":12312#out:1", + ":12312#out:2", + ":12235#out:1", + ":12236#out:1" + ], + "sameAsElement":true + }, + { + "hid":80, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12283", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12283", + "parent":79, + "children":[ + 81 + ], + "name":"Speed_Mode_Protection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection", + "label":"Speed_Mode_Protection", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json", + "elements":[ + ":12291", + ":12290", + ":12292", + ":12289", + ":12288", + ":12286", + ":12285", + ":12287", + ":12284", + ":12284#out:1", + ":12289#out:1", + ":12285#out:1", + ":12286#out:1", + ":12291#out:1", + ":12288#out:1", + ":12290#out:1" + ], + "sameAsElement":true + }, + { + "hid":81, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12289", + "parent":80, + "children":[ + ], + "name":"Saturation Dynamic", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection/Saturation Dynamic", + "label":"Saturation Dynamic", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json", + "elements":[ + ":12289:10", + ":12289:9", + ":12289:8", + ":12289:7", + ":12289:6", + ":12289:5", + ":12289:4", + ":12289:3", + ":12289:2", + ":12289:1", + ":12289:1#out:1", + ":12289:2#out:1", + ":12289:3#out:1", + ":12289:7#out:1", + ":12289:8#out:1", + ":12289:6#out:1", + ":12289:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":82, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12294", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12294", + "parent":79, + "children":[ + 83 + ], + "name":"Torque_Mode_Protection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection", + "label":"Torque_Mode_Protection", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json", + "elements":[ + ":12305", + ":12304", + ":12307", + ":12303", + ":12308", + ":12310", + ":12300", + ":12309", + ":12301", + ":12306", + ":12302", + ":12298", + ":12297", + ":12296", + ":12295", + ":12299", + ":12295#out:1", + ":12296#out:1", + ":12307#out:1", + ":12302#out:1", + ":12299#out:1", + ":12301#out:1", + ":12309#out:1", + ":12308#out:1", + ":12300#out:1", + ":12306#out:1", + ":12297#out:1" + ], + "sameAsElement":true + }, + { + "hid":83, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12306", + "parent":82, + "children":[ + 84, + 85 + ], + "name":"I_backCalc_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json", + "elements":[ + ":12306:2894", + ":12306:2892", + ":12306:2877", + ":12306:2869", + ":12306:2895", + ":12306:2893", + ":12306:2889", + ":12306:2855", + ":12306:2890", + ":12306:2853", + ":12306:2891", + ":12306:2854", + ":12306:2851", + ":12306:2892#out:1", + ":12306:2869#out:1", + ":12306:2890#out:1", + ":12306:2893#out:1", + ":12306:2891#out:1", + ":12306:2894#out:1", + ":12306:2877#out:1", + ":12306:2895#out:1", + ":12306:2851#out:1", + ":12306:2853#out:1", + ":12306:2854#out:1", + ":12306:2855#out:1" + ], + "sameAsElement":true + }, + { + "hid":84, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", + "parent":83, + "children":[ + ], + "name":"Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Integrator", + "label":"Integrator", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json", + "elements":[ + ":12306:2896", + ":12306:2880", + ":12306:2879", + ":12306:2882", + ":12306:2878", + ":12306:2878#out:1", + ":12306:2880#out:1", + ":12306:2896#out:1", + ":12306:2879#out:1" + ], + "sameAsElement":true + }, + { + "hid":85, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", + "parent":83, + "children":[ + ], + "name":"Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1", + "label":"Saturation Dynamic1", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json", + "elements":[ + ":12306:2895:10", + ":12306:2895:9", + ":12306:2895:8", + ":12306:2895:7", + ":12306:2895:6", + ":12306:2895:5", + ":12306:2895:4", + ":12306:2895:3", + ":12306:2895:2", + ":12306:2895:1", + ":12306:2895:1#out:1", + ":12306:2895:2#out:1", + ":12306:2895:3#out:1", + ":12306:2895:7#out:1", + ":12306:2895:8#out:1", + ":12306:2895:6#out:1", + ":12306:2895:9#out:1" + ], + "sameAsElement":true + }, { "hid":86, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12312", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12312", + "parent":79, + "children":[ + 87, + 90 + ], + "name":"Voltage_Mode_Protection", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection", + "label":"Voltage_Mode_Protection", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json", + "elements":[ + ":12343", + ":12342", + ":12341", + ":12340", + ":12339", + ":12338", + ":12333", + ":12331", + ":12332", + ":12329", + ":12328", + ":12326", + ":12323", + ":12322", + ":12320", + ":12325", + ":12337", + ":12319", + ":12318", + ":12335", + ":12317", + ":12327", + ":12330", + ":12334", + ":12316", + ":12324", + ":12315", + ":12314", + ":12336", + ":12313", + ":12321", + ":12315#out:1", + ":12314#out:1", + ":12317#out:1", + ":12316#out:1", + ":12338#out:1", + ":12321#out:1", + ":12322#out:1", + ":12319#out:1", + ":12327#out:1", + ":12340#out:1", + ":12339#out:1", + ":12323#out:1", + ":12335#out:1", + ":12324#out:1", + ":12336#out:1", + ":12341#out:1", + ":12320#out:1", + ":12326#out:1", + ":12325#out:1", + ":12337#out:1", + ":12313#out:1" + ], + "sameAsElement":true + }, + { + "hid":87, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12335", + "parent":86, + "children":[ + 88, + 89 + ], + "name":"I_backCalc_fixdt", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json", + "elements":[ + ":12335:2889", + ":12335:2892", + ":12335:2895", + ":12335:2894", + ":12335:2891", + ":12335:2855", + ":12335:2854", + ":12335:2890", + ":12335:2853", + ":12335:2877", + ":12335:2869", + ":12335:2893", + ":12335:2851", + ":12335:2892#out:1", + ":12335:2869#out:1", + ":12335:2890#out:1", + ":12335:2893#out:1", + ":12335:2891#out:1", + ":12335:2894#out:1", + ":12335:2877#out:1", + ":12335:2895#out:1", + ":12335:2851#out:1", + ":12335:2853#out:1", + ":12335:2854#out:1", + ":12335:2855#out:1" + ], + "sameAsElement":true + }, + { + "hid":88, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", + "parent":87, + "children":[ + ], + "name":"Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator", + "label":"Integrator", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json", + "elements":[ + ":12335:2882", + ":12335:2896", + ":12335:2879", + ":12335:2880", + ":12335:2878", + ":12335:2878#out:1", + ":12335:2880#out:1", + ":12335:2896#out:1", + ":12335:2879#out:1" + ], + "sameAsElement":true + }, + { + "hid":89, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12335:2895", + "parent":87, + "children":[ + ], + "name":"Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1", + "label":"Saturation Dynamic1", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json", + "elements":[ + ":12335:2895:10", + ":12335:2895:9", + ":12335:2895:8", + ":12335:2895:7", + ":12335:2895:6", + ":12335:2895:5", + ":12335:2895:4", + ":12335:2895:3", + ":12335:2895:2", + ":12335:2895:1", + ":12335:2895:1#out:1", + ":12335:2895:2#out:1", + ":12335:2895:3#out:1", + ":12335:2895:7#out:1", + ":12335:2895:8#out:1", + ":12335:2895:6#out:1", + ":12335:2895:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":90, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12336", + "parent":86, + "children":[ + 91, + 92 + ], + "name":"I_backCalc_fixdt1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1", + "label":"I_backCalc_fixdt1", + "icon":"WebViewIcon5", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json", + "elements":[ + ":12336:2894", + ":12336:2889", + ":12336:2892", + ":12336:2895", + ":12336:2877", + ":12336:2891", + ":12336:2893", + ":12336:2855", + ":12336:2854", + ":12336:2890", + ":12336:2869", + ":12336:2851", + ":12336:2853", + ":12336:2892#out:1", + ":12336:2869#out:1", + ":12336:2890#out:1", + ":12336:2893#out:1", + ":12336:2891#out:1", + ":12336:2894#out:1", + ":12336:2877#out:1", + ":12336:2895#out:1", + ":12336:2851#out:1", + ":12336:2853#out:1", + ":12336:2854#out:1", + ":12336:2855#out:1" + ], + "sameAsElement":true + }, + { + "hid":91, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", + "parent":90, + "children":[ + ], + "name":"Integrator", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator", + "label":"Integrator", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json", + "elements":[ + ":12336:2896", + ":12336:2880", + ":12336:2879", + ":12336:2882", + ":12336:2878", + ":12336:2878#out:1", + ":12336:2880#out:1", + ":12336:2896#out:1", + ":12336:2879#out:1" + ], + "sameAsElement":true + }, + { + "hid":92, + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895", + "parent":90, + "children":[ + ], + "name":"Saturation Dynamic1", + "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1", + "label":"Saturation Dynamic1", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json", + "elements":[ + ":12336:2895:10", + ":12336:2895:9", + ":12336:2895:8", + ":12336:2895:7", + ":12336:2895:6", + ":12336:2895:5", + ":12336:2895:4", + ":12336:2895:3", + ":12336:2895:2", + ":12336:2895:1", + ":12336:2895:1#out:1", + ":12336:2895:2#out:1", + ":12336:2895:3#out:1", + ":12336:2895:7#out:1", + ":12336:2895:8#out:1", + ":12336:2895:6#out:1", + ":12336:2895:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":93, "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", "esid":"BLDCmotor_FOC_R2017b_fixdt:9198", "parent":2, "children":[ - 87, - 88, - 89 + 94, + 95, + 96 ], "name":"F06_Control_Type_Management", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management", @@ -4860,49 +5382,49 @@ ":9213", ":9199", ":9223", - ":9455", ":9449", ":9235", + ":9741", ":9233", - ":9452", - ":9920", - ":9927", + ":9924", + ":9835", + ":9225", ":9451", - ":9214", - ":9908", + ":9927", + ":9840", + ":9454", + ":9215", + ":9452", + ":9928", ":9839", ":9832", ":9831", - ":9915", - ":9835", - ":9842", - ":9225", - ":9227", - ":9924", ":9916", - ":9926", - ":9914", - ":9904", + ":9915", + ":9227", + ":9929", + ":9908", + ":9455", ":11470", - ":9833", + ":9838", ":9834", - ":9215", - ":9928", + ":9207", + ":9925", + ":9904", + ":9923", + ":9926", + ":9922", + ":9842", + ":9206", + ":9920", + ":9201", ":9921", ":8216", - ":9840", - ":9923", - ":9922", - ":9207", - ":9454", - ":9925", - ":9929", - ":9838", - ":9201", - ":9206", - ":9741", - ":9836", + ":9214", + ":9914", + ":9833", ":9919", + ":9836", ":9208#out:3", ":9208#out:2", ":9208#out:1", @@ -4955,10 +5477,10 @@ "sameAsElement":true }, { - "hid":87, + "hid":94, "sid":"BLDCmotor_FOC_R2017b_fixdt:9904", "esid":"BLDCmotor_FOC_R2017b_fixdt:9904", - "parent":86, + "parent":93, "children":[ ], "name":"COM_Method", @@ -4971,16 +5493,16 @@ "elements":[ ":9907", ":9906", - ":9823", ":9912", + ":9823", ":9911", - ":9211", - ":9236", - ":9910", - ":9913", - ":9909", ":9453", + ":9211", + ":9913", ":9209", + ":9236", + ":9909", + ":9910", ":9209#out:1", ":9211#out:1", ":9236#out:1", @@ -4992,10 +5514,10 @@ "sameAsElement":true }, { - "hid":88, + "hid":95, "sid":"BLDCmotor_FOC_R2017b_fixdt:9842", "esid":"BLDCmotor_FOC_R2017b_fixdt:9842", - "parent":86, + "parent":93, "children":[ ], "name":"FOC_Method", @@ -5014,12 +5536,12 @@ "sameAsElement":true }, { - "hid":89, + "hid":96, "sid":"BLDCmotor_FOC_R2017b_fixdt:9741", "esid":"BLDCmotor_FOC_R2017b_fixdt:9741", - "parent":86, + "parent":93, "children":[ - 90 + 97 ], "name":"SIN_Method", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method", @@ -5037,23 +5559,23 @@ ":9779", ":9742", ":9743", + ":9819", ":9802", ":9801", ":9800", - ":9818", - ":9803", - ":9819", - ":9805", - ":9820", - ":9810", - ":9816", - ":9798", - ":9797", ":9799", - ":9795", - ":9806", - ":9796", + ":9820", + ":9818", + ":9805", + ":9803", + ":9816", + ":9810", ":10677", + ":9806", + ":9798", + ":9795", + ":9796", + ":9797", ":9779#out:1", ":10677#out:1", ":9743#out:1", @@ -5075,12 +5597,12 @@ "sameAsElement":true }, { - "hid":90, + "hid":97, "sid":"BLDCmotor_FOC_R2017b_fixdt:9743", "esid":"BLDCmotor_FOC_R2017b_fixdt:9743", - "parent":89, + "parent":96, "children":[ - 91 + 98 ], "name":"Final_Phase_Advance_Calculation", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation", @@ -5108,12 +5630,12 @@ ":9766", ":9756", ":9760", - ":9791", ":9758", ":10175", ":10035", ":9794", ":9746", + ":9791", ":9747", ":9756#out:1", ":9745#out:1", @@ -5137,16 +5659,16 @@ "sameAsElement":true }, { - "hid":91, + "hid":98, "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", "esid":"BLDCmotor_FOC_R2017b_fixdt:10035", - "parent":90, + "parent":97, "children":[ ], "name":"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":"WebViewIcon6", + "icon":"WebViewIcon7", "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", @@ -5167,7 +5689,7 @@ "sameAsElement":true }, { - "hid":92, + "hid":99, "sid":"BLDCmotor_FOC_R2017b_fixdt:9292", "esid":"BLDCmotor_FOC_R2017b_fixdt:9292", "parent":2, @@ -5185,7 +5707,7 @@ "sameAsElement":true }, { - "hid":93, + "hid":100, "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", "esid":"BLDCmotor_FOC_R2017b_fixdt:9293", "parent":2, @@ -5194,7 +5716,7 @@ "name":"Model_Info", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Model_Info", "label":"Model_Info", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "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", @@ -5203,37 +5725,27 @@ "sameAsElement":true }, { - "hid":94, - "sid":"BLDCmotor_FOC_R2017b_fixdt:10164", - "esid":"BLDCmotor_FOC_R2017b_fixdt:10164", + "hid":101, + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895", + "esid":"BLDCmotor_FOC_R2017b_fixdt:11895", "parent":2, "children":[ ], "name":"Task_Scheduler", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler", "label":"Task_Scheduler", - "icon":"WebViewIcon1", - "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", + "icon":"WebViewIcon4", + "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png", + "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json", "elements":[ - ":10169", - ":10168", - ":10184", - ":10186", - ":10185", - ":10183", - ":10162", - ":10190", - ":10167", - ":10163", - ":10162#out:1", - ":10163#out:1", - ":10183#out:1", - ":10184#out:1", - ":10185#out:1", - ":10190#out:1" + ":11895:20", + ":11895:16", + ":11895:12", + ":11895:14", + ":11895:10", + ":11895:18" ], - "sameAsElement":true + "sameAsElement":false } ] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json index bca57eb..6451e9f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json +++ b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json @@ -10,21 +10,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -36,30 +37,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", - "on", "on", + "off", + "Ts_ctrl", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -71,18 +72,118 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "Ts_ctrl", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11884", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Call_Scheduler", + "label":"Call_Scheduler", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, 6 ] }, @@ -107,21 +208,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -133,30 +235,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -168,18 +270,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -204,21 +307,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -230,30 +334,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -265,18 +369,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -301,21 +406,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -327,30 +433,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -362,18 +468,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -398,21 +505,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -424,30 +532,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -459,18 +567,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -495,21 +604,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -521,30 +631,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -556,18 +666,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -584,7 +695,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Counter", "label":"Counter", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -613,7 +724,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"rst_Delay", "label":"rst_Delay", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -650,21 +761,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -676,30 +788,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -711,18 +823,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -747,21 +860,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -773,30 +887,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -808,18 +922,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -844,21 +959,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -870,30 +986,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -905,18 +1021,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -933,7 +1050,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11408", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Modulo_fixdt", "label":"Modulo_fixdt", "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", @@ -941,21 +1058,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -967,30 +1085,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -1002,18 +1120,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1038,21 +1157,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1064,30 +1184,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1099,18 +1219,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1125,31 +1246,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11769", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Debounce_Filter", - "label":"Debounce_Filter", + "icon":"WebViewIcon1", + "name":"Diagnostics_Enabled", + "label":"Diagnostics_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1161,30 +1283,129 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", - "on", - "on", + "off", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", + "", + "All", + "off", "off", "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"Debounce_Filter", + "label":"Debounce_Filter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "on", + "off", + "-1", + "Reusable function", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", "off", "off", "", @@ -1196,18 +1417,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Reusable function", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1222,31 +1444,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2423", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2423", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Default", "label":"Default", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1258,30 +1481,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1293,18 +1516,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1319,31 +1543,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Dequalification", "label":"Dequalification", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1355,30 +1580,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1390,18 +1615,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1416,12 +1642,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Counter", "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2428", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ "z_cntInit" @@ -1445,12 +1671,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2435:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2435", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "inspector":{ "params":[ "initVal" @@ -1474,31 +1700,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Qualification", "label":"Qualification", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1510,30 +1737,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1545,18 +1772,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1571,12 +1799,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Counter", "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2473", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ "z_cntInit" @@ -1600,12 +1828,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2480:2515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"rst_Delay", "label":"rst_Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486:2480", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "inspector":{ "params":[ "initVal" @@ -1629,31 +1857,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8486:2507", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "className":"Either edge detection", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"either_edge", "label":"either_edge", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8486", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1665,30 +1894,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", - "on", "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1700,18 +1929,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1726,31 +1956,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8519", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11815", "className":"Either edge detection", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"either_edge", "label":"either_edge", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1762,30 +1993,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", - "on", "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1797,18 +2028,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1833,21 +2065,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1859,30 +2092,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -1894,18 +2127,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -1930,21 +2164,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1956,30 +2191,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -1991,18 +2226,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2019,7 +2255,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", "className":"Stateflow.Chart", - "icon":"WebViewIcon7", + "icon":"WebViewIcon4", "name":"F03_02_Control_Mode_Manager", "label":"F03_02_Control_Mode_Manager", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2086,21 +2322,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2112,30 +2349,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -2147,18 +2384,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2183,21 +2421,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2209,30 +2448,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -2244,18 +2483,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2280,21 +2520,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2306,30 +2547,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -2341,18 +2582,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2377,21 +2619,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2403,30 +2646,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -2438,18 +2681,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2474,21 +2718,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2500,30 +2745,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -2535,18 +2780,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2563,7 +2809,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Rate_Limiter", "label":"Rate_Limiter", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -2656,7 +2902,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Delay_Init1", "label":"Delay_Init1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -2724,7 +2970,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", "className":"Rising edge init", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"rising_edge_init", "label":"rising_edge_init", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -2732,21 +2978,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2758,30 +3005,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", - "on", "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -2793,18 +3040,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2829,21 +3077,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2855,30 +3104,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -2890,18 +3139,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -2916,12 +3166,111 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10507", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11719", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Field_Weakening_Enabled", + "label":"Field_Weakening_Enabled", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11746", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ "OutMin", @@ -2955,12 +3304,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10508", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11747", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ "OutMin", @@ -3004,21 +3353,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3030,30 +3380,129 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "off", + "off", + "-1", + "Auto", "", - "All", + "", + "off", + "", + "", + "void_void", + "off", "off", "on", "", "", + "All", "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11900", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Park_Transform_Forward", + "label":"Clarke_Park_Transform_Forward", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3065,18 +3514,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3096,26 +3546,27 @@ "icon":"WebViewIcon1", "name":"Clarke_Transform", "label":"Clarke_Transform", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3127,30 +3578,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -3162,18 +3613,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3198,21 +3650,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3224,30 +3677,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3259,18 +3712,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3295,21 +3749,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3321,30 +3776,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3356,18 +3811,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3392,21 +3848,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3418,30 +3875,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3453,18 +3910,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3484,26 +3942,27 @@ "icon":"WebViewIcon1", "name":"Current_Filtering", "label":"Current_Filtering", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3515,30 +3974,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3550,18 +4009,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3578,7 +4038,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8738", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Low_Pass_Filter", "label":"Low_Pass_Filter", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", @@ -3668,6 +4128,501 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Park_Transform", + "label":"Park_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Sine_Cosine_Approximation", + "label":"Sine_Cosine_Approximation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11930", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Park_Transform_Inverse", + "label":"Clarke_Park_Transform_Inverse", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12109", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Inv_Clarke_Transform", + "label":"Inv_Clarke_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12126", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Inv_Park_Transform", + "label":"Inv_Park_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "on", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", "className":"Simulink.SubSystem", @@ -3679,21 +4634,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3705,30 +4661,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3740,18 +4696,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3766,31 +4723,131 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9029", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12392", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Enabled", + "label":"FOC_Enabled", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12482", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Open_Mode", "label":"Open_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3802,30 +4859,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3837,18 +4894,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3863,31 +4921,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9074", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12487", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Speed_Mode", "label":"Speed_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3899,30 +4958,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -3934,18 +4993,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -3960,12 +5020,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9074", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ "ShowPortLabels", @@ -4053,31 +5113,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2816", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4089,30 +5150,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -4124,18 +5185,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4150,31 +5212,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4186,30 +5249,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -4221,18 +5284,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4247,12 +5311,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10455:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10455", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ "ShowPortLabels", @@ -4340,31 +5404,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9109", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12547", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Torque_Mode", "label":"Torque_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4376,30 +5441,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -4411,18 +5476,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4437,12 +5503,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "ShowPortLabels", @@ -4530,31 +5596,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2816", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4566,30 +5633,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -4601,18 +5668,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4627,31 +5695,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4663,30 +5732,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -4698,18 +5767,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4724,12 +5794,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10828:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10828", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ "ShowPortLabels", @@ -4817,12 +5887,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10829", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ "OutMin", @@ -4856,31 +5926,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9143", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12587", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Vd_Calculation", "label":"Vd_Calculation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4892,30 +5963,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -4927,18 +5998,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -4953,12 +6025,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"PI_clamp_fixdt", "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "ShowPortLabels", @@ -5046,31 +6118,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2816", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5082,30 +6155,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -5117,18 +6190,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -5143,31 +6217,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2779", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5179,30 +6254,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -5214,18 +6289,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -5240,12 +6316,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10454:2791", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10454", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ "ShowPortLabels", @@ -5333,12 +6409,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9164", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12608", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9143", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "OutMin", @@ -5372,31 +6448,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9171", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12616", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Voltage_Mode", "label":"Voltage_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5408,30 +6485,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -5443,18 +6520,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -5469,12 +6547,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9188", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12638", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9171", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ "OutMin", @@ -5507,200 +6585,6 @@ "masktype":"Saturation Dynamic" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8866", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Inv_Clarke_Transform", - "label":"Inv_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/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8886", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Inv_Park_Transform", - "label":"Inv_Park_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/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", "className":"Simulink.SubSystem", @@ -5712,21 +6596,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5738,30 +6623,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -5773,18 +6658,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -5799,31 +6685,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10584", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12219", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Speed_Mode_Protection", - "label":"Speed_Mode_Protection", + "name":"Motor_Limitations_Enabled", + "label":"Motor_Limitations_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5835,30 +6722,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -5870,18 +6757,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -5896,12 +6784,111 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10594", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12283", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode_Protection", + "label":"Speed_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "ErrorFcn", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "OverrideUsingVariant", + "PermitHierarchicalResolution", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "off", + "off", + "-1", + "Auto", + "", + "", + "off", + "", + "", + "void_void", + "off", + "off", + "off", + "", + "", + "All", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "", + "on", + "off", + "" + ], + "tabs":[ + "Main", + "Code Generation", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10584", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ "OutMin", @@ -5935,31 +6922,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10602", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12294", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Torque_Mode_Protection", "label":"Torque_Mode_Protection", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5971,30 +6959,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -6006,18 +6994,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -6032,12 +7021,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"I_backCalc_fixdt", "label":"I_backCalc_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10602", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ "yInit" @@ -6061,31 +7050,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6097,30 +7087,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -6132,18 +7122,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -6158,12 +7149,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10808:2895", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10808", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ "OutMin", @@ -6197,31 +7188,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10566", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12312", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Voltage_Mode_Protection", "label":"Voltage_Mode_Protection", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6233,30 +7225,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -6268,18 +7260,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -6294,12 +7287,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"I_backCalc_fixdt", "label":"I_backCalc_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "yInit" @@ -6323,31 +7316,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6359,30 +7353,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -6394,18 +7388,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -6420,12 +7415,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10745:2895", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2895", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10745", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ "OutMin", @@ -6459,12 +7454,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"I_backCalc_fixdt1", "label":"I_backCalc_fixdt1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10566", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ "yInit" @@ -6488,31 +7483,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2877", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6524,30 +7520,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -6559,18 +7555,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -6585,12 +7582,12 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10746:2895", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic1", "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10746", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ "OutMin", @@ -6623,200 +7620,6 @@ "masktype":"Saturation Dynamic" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Park_Transform", - "label":"Park_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/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8743", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Sine_Cosine_Approximation", - "label":"Sine_Cosine_Approximation", - "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/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", "className":"Simulink.SubSystem", @@ -6828,21 +7631,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6854,30 +7658,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -6889,18 +7693,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -6925,21 +7730,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6951,30 +7757,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -6986,18 +7792,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -7022,21 +7829,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7048,30 +7856,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -7083,18 +7891,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -7119,21 +7928,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7145,30 +7955,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "off", "", - "off", "", + "All", "off", "off", "", @@ -7180,18 +7990,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -7216,21 +8027,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7242,30 +8054,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -7277,18 +8089,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -7305,7 +8118,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", + "icon":"WebViewIcon7", "name":"Modulo_fixdt", "label":"Modulo_fixdt", "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", @@ -7313,21 +8126,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7339,30 +8153,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -7374,18 +8188,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -7495,7 +8310,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Model_Info", "label":"Model_Info", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -7503,21 +8318,22 @@ "params":[ "ShowPortLabels", "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", + "MinAlgLoopOccurrences", + "SystemSampleTime", + "RTWSystemCode", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", + "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", - "MinAlgLoopOccurrences", "OverrideUsingVariant", + "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7529,30 +8345,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", "TemplateBlock", + "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "", - "All", "off", - "on", + "off", + "-1", + "Auto", "", "", "off", "", + "", "void_void", "off", "off", "on", "", - "off", "", + "All", "off", "off", "", @@ -7564,18 +8380,19 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", "", + "on", "off", "" ], "tabs":[ "Main", + "Code Generation", "-Other" ], "tabs_idx":[ 0, + 5, 6 ] }, @@ -7590,90 +8407,52 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10164", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895", + "className":"Stateflow.Chart", + "icon":"WebViewIcon4", "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" + "ActionLanguage", + "StateMachineType", + "ChartUpdate", + "AllowGlobalAccessToExportedFunctions", + "ExecuteAtInitialization", + "InitializeOutput", + "EnableNonTerminalStates", + "supportVariableSizing", + "SaturateOnIntegerOverflow", + "EmlDefaultFimath", + "TreatAsFi", + "Description", + "Document" ], "values":[ - "FromPortIcon", - "ReadWrite", + "MATLAB", + "Classic", + "INHERITED", + false, + false, + false, + false, + true, + true, + "Same as MATLAB Default", + "Fixed-point", "", - "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" + "General", + "Fixed-point properties", + "Documentation" ], "tabs_idx":[ 0, - 6 + 9, + 11 ] }, "viewer":{ @@ -7681,9 +8460,7 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } + "finder":[ + ] } ] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/rtwtypes.h b/BLDC_controller_ert_rtw/rtwtypes.h index 49ec197..e6b2250 100644 --- a/BLDC_controller_ert_rtw/rtwtypes.h +++ b/BLDC_controller_ert_rtw/rtwtypes.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'BLDC_controller'. * - * Model version : 1.1284 + * Model version : 1.1296 * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017 - * C/C++ source code generated on : Sun Oct 11 21:38:56 2020 + * C/C++ source code generated on : Tue Oct 20 17:29:57 2020 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex diff --git a/BLDCmotor_FOC_R2017b_fixdt.slx b/BLDCmotor_FOC_R2017b_fixdt.slx index 462cf04..2d61238 100644 Binary files a/BLDCmotor_FOC_R2017b_fixdt.slx and b/BLDCmotor_FOC_R2017b_fixdt.slx differ diff --git a/BLDCmotor_FOC_R2017b_fixdt_backup.slx b/BLDCmotor_FOC_R2017b_fixdt_backup.slx new file mode 100644 index 0000000..a1dcd57 Binary files /dev/null and b/BLDCmotor_FOC_R2017b_fixdt_backup.slx differ diff --git a/init_model.m b/init_model.m index 2b80aa3..ffeb6a2 100644 --- a/init_model.m +++ b/init_model.m @@ -134,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 = 1500; % [rpm] Maximum motor speed: [-1500, 1500] +n_max = 1000; % [rpm] Maximum motor speed: [-1500, 1500] % Current Limitations i_max = 15; % [A] Maximum allowed motor current (continuous)