► Added speed threshold to enable Phase Advance
- Phase Advance is enabled only when Motor Speed > n_motPhaAdvEna (400 rpm). This prevents that during a kick-down (100% duty cycle) the Phase advance kicks in even though we are running at low speed. - This update improves the acceleration response - no impact on code execution time
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 22:50:24 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -273,7 +273,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
|
||||
/* End of Outputs for SubSystem: '<S14>/Counter_Hold_and_Error_Calculation' */
|
||||
} else {
|
||||
if (rtDW->UnitDelay1_DSTATE < 1500) {
|
||||
if (rtDW->UnitDelay1_DSTATE < rtP->z_maxCntRst) {
|
||||
/* Switch: '<S17>/Switch2' incorporates:
|
||||
* UnitDelay: '<S17>/UnitDelay1'
|
||||
*/
|
||||
@ -282,7 +282,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
/* Switch: '<S17>/Switch2' incorporates:
|
||||
* Constant: '<S17>/Constant1'
|
||||
*/
|
||||
rtb_Abs2 = 1500;
|
||||
rtb_Abs2 = rtP->z_maxCntRst;
|
||||
}
|
||||
|
||||
rtb_Abs2++;
|
||||
@ -303,7 +303,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
* RelationalOperator: '<S16>/Relational Operator5'
|
||||
* Sum: '<S14>/Sum1'
|
||||
*/
|
||||
if ((rtb_Abs2 > 1500) || (rtDW->Switch2 != rtDW->UnitDelay1)) {
|
||||
if ((rtb_Abs2 > rtP->z_maxCntRst) || (rtDW->Switch2 != rtDW->UnitDelay1)) {
|
||||
rtb_Sum2 = 0;
|
||||
} else {
|
||||
rtb_Sum2 = rtP->cf_speedCoef * rtDW->Switch2 / rtDW->z_counterRawPrev;
|
||||
@ -324,14 +324,14 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
rtb_Sum2 = ((100 - rtP->cf_speedFilt) * rtDW->UnitDelay2_DSTATE + rtb_Sum2 *
|
||||
rtP->cf_speedFilt) / 100;
|
||||
|
||||
/* Abs: '<S14>/Abs5' */
|
||||
/* Abs: '<S16>/Abs5' */
|
||||
if (rtb_Sum2 < 0) {
|
||||
rtb_Abs5 = -rtb_Sum2;
|
||||
} else {
|
||||
rtb_Abs5 = rtb_Sum2;
|
||||
}
|
||||
|
||||
/* End of Abs: '<S14>/Abs5' */
|
||||
/* End of Abs: '<S16>/Abs5' */
|
||||
|
||||
/* Relay: '<S14>/n_commDeacv' */
|
||||
if (rtb_Abs5 >= rtP->n_commDeacvHi) {
|
||||
@ -419,9 +419,12 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
|
||||
/* Switch: '<S8>/Switch_PhaAdv' incorporates:
|
||||
* Constant: '<S8>/a_elecPeriod1'
|
||||
* Constant: '<S8>/n_motPhaAdvEna'
|
||||
* Logic: '<S8>/Logical Operator2'
|
||||
* Outport: '<Root>/a_elecAngle'
|
||||
* RelationalOperator: '<S8>/Relational Operator4'
|
||||
*/
|
||||
if (rtP->b_phaAdvEna) {
|
||||
if (rtP->b_phaAdvEna && (rtb_Abs5 > rtP->n_motPhaAdvEna)) {
|
||||
/* PreLookup: '<S8>/r_phaAdvDC_XA' */
|
||||
rtb_BitwiseOperator = plook_u8s32u32n31_evenc_s(rtb_Abs1,
|
||||
rtP->r_phaAdvDC_XA[0], (uint32_T)rtP->r_phaAdvDC_XA[1] -
|
||||
@ -662,6 +665,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
/* Model initialize function */
|
||||
void BLDC_controller_initialize(RT_MODEL *const rtM)
|
||||
{
|
||||
P *rtP = ((P *) rtM->defaultParam);
|
||||
DW *rtDW = ((DW *) rtM->dwork);
|
||||
|
||||
/* Start for Atomic SubSystem: '<Root>/BLDC_controller' */
|
||||
@ -672,14 +676,14 @@ void BLDC_controller_initialize(RT_MODEL *const rtM)
|
||||
|
||||
/* SystemInitialize for Atomic SubSystem: '<Root>/BLDC_controller' */
|
||||
/* InitializeConditions for UnitDelay: '<S17>/UnitDelay1' */
|
||||
rtDW->UnitDelay1_DSTATE = 1500;
|
||||
rtDW->UnitDelay1_DSTATE = rtP->z_maxCntRst;
|
||||
|
||||
/* SystemInitialize for IfAction SubSystem: '<S14>/Counter_Hold_and_Error_Calculation' */
|
||||
/* InitializeConditions for UnitDelay: '<S15>/z_counter2' */
|
||||
rtDW->z_counter2_DSTATE = 1500;
|
||||
rtDW->z_counter2_DSTATE = rtP->z_maxCntRst;
|
||||
|
||||
/* SystemInitialize for Outport: '<S15>/z_counter' */
|
||||
rtDW->z_counterRawPrev = 1500;
|
||||
rtDW->z_counterRawPrev = rtP->z_maxCntRst;
|
||||
|
||||
/* End of SystemInitialize for SubSystem: '<S14>/Counter_Hold_and_Error_Calculation' */
|
||||
/* End of SystemInitialize for SubSystem: '<Root>/BLDC_controller' */
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 22:50:24 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -146,6 +146,9 @@ struct P_ {
|
||||
int32_T n_commDeacvHi; /* Variable: n_commDeacvHi
|
||||
* Referenced by: '<S14>/n_commDeacv'
|
||||
*/
|
||||
int32_T n_motPhaAdvEna; /* Variable: n_motPhaAdvEna
|
||||
* Referenced by: '<S8>/n_motPhaAdvEna'
|
||||
*/
|
||||
int32_T r_commDCDeacv; /* Variable: r_commDCDeacv
|
||||
* Referenced by: '<S14>/r_commDCDeacv'
|
||||
*/
|
||||
@ -161,6 +164,14 @@ struct P_ {
|
||||
int16_T dz_counterLo; /* Variable: dz_counterLo
|
||||
* Referenced by: '<S14>/dz_counter'
|
||||
*/
|
||||
int16_T z_maxCntRst; /* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S15>/z_counter'
|
||||
* '<S15>/z_counter2'
|
||||
* '<S16>/z_maxCntRst'
|
||||
* '<S17>/Constant1'
|
||||
* '<S17>/UnitDelay1'
|
||||
*/
|
||||
uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel
|
||||
* Referenced by: '<S7>/z_ctrlTypSel1'
|
||||
*/
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 22:50:24 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 22:50:24 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -49,6 +49,11 @@ static P rtP = {
|
||||
*/
|
||||
30,
|
||||
|
||||
/* Variable: n_motPhaAdvEna
|
||||
* Referenced by: '<S8>/n_motPhaAdvEna'
|
||||
*/
|
||||
400,
|
||||
|
||||
/* Variable: r_commDCDeacv
|
||||
* Referenced by: '<S14>/r_commDCDeacv'
|
||||
*/
|
||||
@ -74,6 +79,16 @@ static P rtP = {
|
||||
*/
|
||||
20,
|
||||
|
||||
/* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S15>/z_counter'
|
||||
* '<S15>/z_counter2'
|
||||
* '<S16>/z_maxCntRst'
|
||||
* '<S17>/Constant1'
|
||||
* '<S17>/UnitDelay1'
|
||||
*/
|
||||
1500,
|
||||
|
||||
/* Variable: z_ctrlTypSel
|
||||
* Referenced by: '<S7>/z_ctrlTypSel1'
|
||||
*/
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.879</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.883</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Thu Jun 6 22:50:24 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue Jun 11 21:14:57 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
@ -287,7 +287,7 @@
|
||||
</span><span><a class="LN" name="273"> 273 </a>
|
||||
</span><span><a class="LN" name="274"> 274 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S14>/Counter_Hold_and_Error_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="275"> 275 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="276"> 276 </a> <span class="KW">if</span> (rtDW->UnitDelay1_DSTATE < 1500) <b>{</b>
|
||||
</span><span><a class="LN" name="276"> 276 </a> <span class="KW">if</span> (rtDW->UnitDelay1_DSTATE < rtP->z_maxCntRst) <b>{</b>
|
||||
</span><span><a class="LN" name="277"> 277 </a> <span class="CT">/* Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1620')" name="code2model"><font color="#117755"><i><S17>/Switch2</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="278"> 278 </a><span class="CT"> * UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="279"> 279 </a><span class="CT"> */</span>
|
||||
@ -296,7 +296,7 @@
|
||||
</span><span><a class="LN" name="282"> 282 </a> <span class="CT">/* Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1620')" name="code2model"><font color="#117755"><i><S17>/Switch2</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="283"> 283 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1616')" name="code2model"><font color="#117755"><i><S17>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="284"> 284 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="285"> 285 </a> rtb_Abs2 = 1500;
|
||||
</span><span><a class="LN" name="285"> 285 </a> rtb_Abs2 = rtP->z_maxCntRst;
|
||||
</span><span><a class="LN" name="286"> 286 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="287"> 287 </a>
|
||||
</span><span><a class="LN" name="288"> 288 </a> rtb_Abs2++;
|
||||
@ -317,7 +317,7 @@
|
||||
</span><span><a class="LN" name="303"> 303 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1628')" name="code2model"><font color="#117755"><i><S16>/Relational Operator5</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="304"> 304 </a><span class="CT"> * Sum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:142')" name="code2model"><font color="#117755"><i><S14>/Sum1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="305"> 305 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="306"> 306 </a> <span class="KW">if</span> ((rtb_Abs2 > 1500) || (rtDW->Switch2 != rtDW->UnitDelay1)) <b>{</b>
|
||||
</span><span><a class="LN" name="306"> 306 </a> <span class="KW">if</span> ((rtb_Abs2 > rtP->z_maxCntRst) || (rtDW->Switch2 != rtDW->UnitDelay1)) <b>{</b>
|
||||
</span><span><a class="LN" name="307"> 307 </a> rtb_Sum2 = 0;
|
||||
</span><span><a class="LN" name="308"> 308 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="309"> 309 </a> rtb_Sum2 = rtP->cf_speedCoef * rtDW->Switch2 / rtDW->z_counterRawPrev;
|
||||
@ -338,14 +338,14 @@
|
||||
</span><span><a class="LN" name="324"> 324 </a> rtb_Sum2 = ((100 - rtP->cf_speedFilt) * rtDW->UnitDelay2_DSTATE + rtb_Sum2 *
|
||||
</span><span><a class="LN" name="325"> 325 </a> rtP->cf_speedFilt) / 100;
|
||||
</span><span><a class="LN" name="326"> 326 </a>
|
||||
</span><span><a class="LN" name="327"> 327 </a> <span class="CT">/* Abs: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1320')" name="code2model"><font color="#117755"><i><S14>/Abs5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="327"> 327 </a> <span class="CT">/* Abs: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1672')" name="code2model"><font color="#117755"><i><S16>/Abs5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="328"> 328 </a> <span class="KW">if</span> (rtb_Sum2 < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="329"> 329 </a> rtb_Abs5 = -rtb_Sum2;
|
||||
</span><span><a class="LN" name="330"> 330 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="331"> 331 </a> rtb_Abs5 = rtb_Sum2;
|
||||
</span><span><a class="LN" name="332"> 332 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="333"> 333 </a>
|
||||
</span><span><a class="LN" name="334"> 334 </a> <span class="CT">/* End of Abs: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1320')" name="code2model"><font color="#117755"><i><S14>/Abs5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="334"> 334 </a> <span class="CT">/* End of Abs: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1672')" name="code2model"><font color="#117755"><i><S16>/Abs5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="335"> 335 </a>
|
||||
</span><span><a class="LN" name="336"> 336 </a> <span class="CT">/* Relay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="337"> 337 </a> <span class="KW">if</span> (rtb_Abs5 >= rtP->n_commDeacvHi) <b>{</b>
|
||||
@ -433,278 +433,282 @@
|
||||
</span><span><a class="LN" name="419"> 419 </a>
|
||||
</span><span><a class="LN" name="420"> 420 </a> <span class="CT">/* Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:514')" name="code2model"><font color="#117755"><i><S8>/Switch_PhaAdv</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="421"> 421 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="422"> 422 </a><span class="CT"> * Outport: '<Root>/a_elecAngle'</span>
|
||||
</span><span><a class="LN" name="423"> 423 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="424"> 424 </a> <span class="KW">if</span> (rtP->b_phaAdvEna) <b>{</b>
|
||||
</span><span><a class="LN" name="425"> 425 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="426"> 426 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtb_Abs1,
|
||||
</span><span><a class="LN" name="427"> 427 </a> rtP->r_phaAdvDC_XA[0], (<a href="rtwtypes_h.html#type_uint32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint32_T');" target="_self"><font color="#1122aa">uint32_T</font></a>)rtP->r_phaAdvDC_XA[1] -
|
||||
</span><span><a class="LN" name="428"> 428 </a> rtP->r_phaAdvDC_XA[0], 10U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="429"> 429 </a>
|
||||
</span><span><a class="LN" name="430"> 430 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="431"> 431 </a> rtb_Abs2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="432"> 432 </a> rtb_r_phaAdvDC_XA_o2, rtP->a_phaAdv_M1);
|
||||
</span><span><a class="LN" name="433"> 433 </a>
|
||||
</span><span><a class="LN" name="434"> 434 </a> <span class="CT">/* Sum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:546')" name="code2model"><font color="#117755"><i><S8>/Sum3</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="435"> 435 </a><span class="CT"> * Outport: '<Root>/a_elecAngle'</span>
|
||||
</span><span><a class="LN" name="436"> 436 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:545')" name="code2model"><font color="#117755"><i><S8>/Product2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="437"> 437 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="438"> 438 </a> rtb_Abs5 = (<a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a>)(rtb_Abs2 * rtDW->Switch2) + rtY->a_elecAngle;
|
||||
</span><span><a class="LN" name="439"> 439 </a>
|
||||
</span><span><a class="LN" name="440"> 440 </a> <span class="CT">/* Math: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:623')" name="code2model"><font color="#117755"><i><S8>/Math Function</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="441"> 441 </a> rtDW->Switch_PhaAdv = rtb_Abs5 - <a href="#fcn_div_nde_s32_floor" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_div_nde_s32_floor');" target="_self"><font color="#1122aa">div_nde_s32_floor</font></a>(rtb_Abs5, 360) * 360;
|
||||
</span><span><a class="LN" name="442"> 442 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="443"> 443 </a> rtDW->Switch_PhaAdv = rtY->a_elecAngle;
|
||||
</span><span><a class="LN" name="444"> 444 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="445"> 445 </a>
|
||||
</span><span><a class="LN" name="446"> 446 </a> <span class="CT">/* End of Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:514')" name="code2model"><font color="#117755"><i><S8>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="447"> 447 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:215')" name="code2model"><font color="#117755"><i><S2>/F02_Electrical_Angle_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="448"> 448 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="449"> 449 </a>
|
||||
</span><span><a class="LN" name="450"> 450 </a> <span class="CT">/* End of If: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="451"> 451 </a>
|
||||
</span><span><a class="LN" name="452"> 452 </a> <span class="CT">/* SwitchCase: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:348')" name="code2model"><font color="#117755"><i><S9>/Switch Case</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="453"> 453 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="454"> 454 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="455"> 455 </a> <span class="KW">switch</span> (rtP->z_ctrlTypSel) <b>{</b>
|
||||
</span><span><a class="LN" name="456"> 456 </a> <span class="KW">case</span> 1:
|
||||
</span><span><a class="LN" name="457"> 457 </a> <span class="CT">/* Outputs for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S9>/F03_01_Pure_Trapezoidal_Method</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="458"> 458 </a><span class="CT"> * ActionPort: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:287')" name="code2model"><font color="#117755"><i><S18>/Action Port</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="459"> 459 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="460"> 460 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:288')" name="code2model"><font color="#117755"><i><S18>/a_trapElecAngle_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="461"> 461 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtDW->Switch_PhaAdv, 0, 60U,
|
||||
</span><span><a class="LN" name="462"> 462 </a> 6U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="463"> 463 </a>
|
||||
</span><span><a class="LN" name="464"> 464 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:289')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaA_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="465"> 465 </a> rtDW->Merge = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="466"> 466 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_trapPhaA_M1_Table);
|
||||
</span><span><a class="LN" name="467"> 467 </a>
|
||||
</span><span><a class="LN" name="468"> 468 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:290')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaB_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="469"> 469 </a> rtDW->Merge1 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="470"> 470 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_trapPhaB_M1_Table);
|
||||
</span><span><a class="LN" name="471"> 471 </a>
|
||||
</span><span><a class="LN" name="472"> 472 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:291')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaC_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="473"> 473 </a> rtDW->Merge2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="474"> 474 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_trapPhaC_M1_Table);
|
||||
</span><span><a class="LN" name="475"> 475 </a>
|
||||
</span><span><a class="LN" name="476"> 476 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S9>/F03_01_Pure_Trapezoidal_Method</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="477"> 477 </a> <span class="KW">break</span>;
|
||||
</span><span><a class="LN" name="422"> 422 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1671')" name="code2model"><font color="#117755"><i><S8>/n_motPhaAdvEna</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="423"> 423 </a><span class="CT"> * Logic: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1668')" name="code2model"><font color="#117755"><i><S8>/Logical Operator2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="424"> 424 </a><span class="CT"> * Outport: '<Root>/a_elecAngle'</span>
|
||||
</span><span><a class="LN" name="425"> 425 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1670')" name="code2model"><font color="#117755"><i><S8>/Relational Operator4</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="426"> 426 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="427"> 427 </a> <span class="KW">if</span> (rtP->b_phaAdvEna && (rtb_Abs5 > rtP->n_motPhaAdvEna)) <b>{</b>
|
||||
</span><span><a class="LN" name="428"> 428 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="429"> 429 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtb_Abs1,
|
||||
</span><span><a class="LN" name="430"> 430 </a> rtP->r_phaAdvDC_XA[0], (<a href="rtwtypes_h.html#type_uint32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint32_T');" target="_self"><font color="#1122aa">uint32_T</font></a>)rtP->r_phaAdvDC_XA[1] -
|
||||
</span><span><a class="LN" name="431"> 431 </a> rtP->r_phaAdvDC_XA[0], 10U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="432"> 432 </a>
|
||||
</span><span><a class="LN" name="433"> 433 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="434"> 434 </a> rtb_Abs2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="435"> 435 </a> rtb_r_phaAdvDC_XA_o2, rtP->a_phaAdv_M1);
|
||||
</span><span><a class="LN" name="436"> 436 </a>
|
||||
</span><span><a class="LN" name="437"> 437 </a> <span class="CT">/* Sum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:546')" name="code2model"><font color="#117755"><i><S8>/Sum3</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="438"> 438 </a><span class="CT"> * Outport: '<Root>/a_elecAngle'</span>
|
||||
</span><span><a class="LN" name="439"> 439 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:545')" name="code2model"><font color="#117755"><i><S8>/Product2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="440"> 440 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="441"> 441 </a> rtb_Abs5 = (<a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a>)(rtb_Abs2 * rtDW->Switch2) + rtY->a_elecAngle;
|
||||
</span><span><a class="LN" name="442"> 442 </a>
|
||||
</span><span><a class="LN" name="443"> 443 </a> <span class="CT">/* Math: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:623')" name="code2model"><font color="#117755"><i><S8>/Math Function</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="444"> 444 </a> rtDW->Switch_PhaAdv = rtb_Abs5 - <a href="#fcn_div_nde_s32_floor" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_div_nde_s32_floor');" target="_self"><font color="#1122aa">div_nde_s32_floor</font></a>(rtb_Abs5, 360) * 360;
|
||||
</span><span><a class="LN" name="445"> 445 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="446"> 446 </a> rtDW->Switch_PhaAdv = rtY->a_elecAngle;
|
||||
</span><span><a class="LN" name="447"> 447 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="448"> 448 </a>
|
||||
</span><span><a class="LN" name="449"> 449 </a> <span class="CT">/* End of Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:514')" name="code2model"><font color="#117755"><i><S8>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="450"> 450 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:215')" name="code2model"><font color="#117755"><i><S2>/F02_Electrical_Angle_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="451"> 451 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="452"> 452 </a>
|
||||
</span><span><a class="LN" name="453"> 453 </a> <span class="CT">/* End of If: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="454"> 454 </a>
|
||||
</span><span><a class="LN" name="455"> 455 </a> <span class="CT">/* SwitchCase: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:348')" name="code2model"><font color="#117755"><i><S9>/Switch Case</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="456"> 456 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="457"> 457 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="458"> 458 </a> <span class="KW">switch</span> (rtP->z_ctrlTypSel) <b>{</b>
|
||||
</span><span><a class="LN" name="459"> 459 </a> <span class="KW">case</span> 1:
|
||||
</span><span><a class="LN" name="460"> 460 </a> <span class="CT">/* Outputs for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S9>/F03_01_Pure_Trapezoidal_Method</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="461"> 461 </a><span class="CT"> * ActionPort: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:287')" name="code2model"><font color="#117755"><i><S18>/Action Port</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="462"> 462 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="463"> 463 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:288')" name="code2model"><font color="#117755"><i><S18>/a_trapElecAngle_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="464"> 464 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtDW->Switch_PhaAdv, 0, 60U,
|
||||
</span><span><a class="LN" name="465"> 465 </a> 6U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="466"> 466 </a>
|
||||
</span><span><a class="LN" name="467"> 467 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:289')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaA_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="468"> 468 </a> rtDW->Merge = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="469"> 469 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_trapPhaA_M1_Table);
|
||||
</span><span><a class="LN" name="470"> 470 </a>
|
||||
</span><span><a class="LN" name="471"> 471 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:290')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaB_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="472"> 472 </a> rtDW->Merge1 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="473"> 473 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_trapPhaB_M1_Table);
|
||||
</span><span><a class="LN" name="474"> 474 </a>
|
||||
</span><span><a class="LN" name="475"> 475 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:291')" name="code2model"><font color="#117755"><i><S18>/r_trapPhaC_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="476"> 476 </a> rtDW->Merge2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="477"> 477 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_trapPhaC_M1_Table);
|
||||
</span><span><a class="LN" name="478"> 478 </a>
|
||||
</span><span><a class="LN" name="479"> 479 </a> <span class="KW">case</span> 2:
|
||||
</span><span><a class="LN" name="480"> 480 </a> <span class="CT">/* Outputs for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S9>/F03_02_Sinusoidal_Method</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="481"> 481 </a><span class="CT"> * ActionPort: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:307')" name="code2model"><font color="#117755"><i><S19>/Action Port</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="482"> 482 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="483"> 483 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:308')" name="code2model"><font color="#117755"><i><S19>/a_sinElecAngle_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="484"> 484 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtDW->Switch_PhaAdv, 0, 10U,
|
||||
</span><span><a class="LN" name="485"> 485 </a> 36U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="486"> 486 </a>
|
||||
</span><span><a class="LN" name="487"> 487 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:309')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaA_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="488"> 488 </a> rtDW->Merge = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="489"> 489 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sinPhaA_M1_Table);
|
||||
</span><span><a class="LN" name="490"> 490 </a>
|
||||
</span><span><a class="LN" name="491"> 491 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:310')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaB_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="492"> 492 </a> rtDW->Merge1 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="493"> 493 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sinPhaB_M1_Table);
|
||||
</span><span><a class="LN" name="494"> 494 </a>
|
||||
</span><span><a class="LN" name="495"> 495 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:311')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaC_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="496"> 496 </a> rtDW->Merge2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="497"> 497 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sinPhaC_M1_Table);
|
||||
</span><span><a class="LN" name="498"> 498 </a>
|
||||
</span><span><a class="LN" name="499"> 499 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S9>/F03_02_Sinusoidal_Method</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="500"> 500 </a> <span class="KW">break</span>;
|
||||
</span><span><a class="LN" name="479"> 479 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S9>/F03_01_Pure_Trapezoidal_Method</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="480"> 480 </a> <span class="KW">break</span>;
|
||||
</span><span><a class="LN" name="481"> 481 </a>
|
||||
</span><span><a class="LN" name="482"> 482 </a> <span class="KW">case</span> 2:
|
||||
</span><span><a class="LN" name="483"> 483 </a> <span class="CT">/* Outputs for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S9>/F03_02_Sinusoidal_Method</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="484"> 484 </a><span class="CT"> * ActionPort: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:307')" name="code2model"><font color="#117755"><i><S19>/Action Port</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="485"> 485 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="486"> 486 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:308')" name="code2model"><font color="#117755"><i><S19>/a_sinElecAngle_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="487"> 487 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtDW->Switch_PhaAdv, 0, 10U,
|
||||
</span><span><a class="LN" name="488"> 488 </a> 36U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="489"> 489 </a>
|
||||
</span><span><a class="LN" name="490"> 490 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:309')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaA_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="491"> 491 </a> rtDW->Merge = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="492"> 492 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sinPhaA_M1_Table);
|
||||
</span><span><a class="LN" name="493"> 493 </a>
|
||||
</span><span><a class="LN" name="494"> 494 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:310')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaB_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="495"> 495 </a> rtDW->Merge1 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="496"> 496 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sinPhaB_M1_Table);
|
||||
</span><span><a class="LN" name="497"> 497 </a>
|
||||
</span><span><a class="LN" name="498"> 498 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:311')" name="code2model"><font color="#117755"><i><S19>/r_sinPhaC_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="499"> 499 </a> rtDW->Merge2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="500"> 500 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sinPhaC_M1_Table);
|
||||
</span><span><a class="LN" name="501"> 501 </a>
|
||||
</span><span><a class="LN" name="502"> 502 </a> <span class="KW">case</span> 3:
|
||||
</span><span><a class="LN" name="503"> 503 </a> <span class="CT">/* Outputs for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S9>/F03_03_Sinusoidal3rd_Method</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="504"> 504 </a><span class="CT"> * ActionPort: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:297')" name="code2model"><font color="#117755"><i><S20>/Action Port</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="505"> 505 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="506"> 506 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:298')" name="code2model"><font color="#117755"><i><S20>/a_sinElecAngle_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="507"> 507 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtDW->Switch_PhaAdv, 0, 10U,
|
||||
</span><span><a class="LN" name="508"> 508 </a> 36U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="509"> 509 </a>
|
||||
</span><span><a class="LN" name="510"> 510 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:299')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaA_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="511"> 511 </a> rtDW->Merge = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="512"> 512 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sin3PhaA_M1_Table);
|
||||
</span><span><a class="LN" name="513"> 513 </a>
|
||||
</span><span><a class="LN" name="514"> 514 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:300')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaB_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="515"> 515 </a> rtDW->Merge1 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="516"> 516 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sin3PhaB_M1_Table);
|
||||
</span><span><a class="LN" name="517"> 517 </a>
|
||||
</span><span><a class="LN" name="518"> 518 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:301')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaC_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="519"> 519 </a> rtDW->Merge2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="520"> 520 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sin3PhaC_M1_Table);
|
||||
</span><span><a class="LN" name="521"> 521 </a>
|
||||
</span><span><a class="LN" name="522"> 522 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S9>/F03_03_Sinusoidal3rd_Method</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="523"> 523 </a> <span class="KW">break</span>;
|
||||
</span><span><a class="LN" name="524"> 524 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="525"> 525 </a>
|
||||
</span><span><a class="LN" name="526"> 526 </a> <span class="CT">/* End of SwitchCase: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:348')" name="code2model"><font color="#117755"><i><S9>/Switch Case</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="527"> 527 </a>
|
||||
</span><span><a class="LN" name="528"> 528 </a> <span class="CT">/* Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1525')" name="code2model"><font color="#117755"><i><S14>/Sign</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="529"> 529 </a> <span class="KW">if</span> (rtDW->Switch2 < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="530"> 530 </a> rtb_Sum2_h = -1;
|
||||
</span><span><a class="LN" name="531"> 531 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="532"> 532 </a> rtb_Sum2_h = (<a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a>)(rtDW->Switch2 > 0);
|
||||
</span><span><a class="LN" name="533"> 533 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="534"> 534 </a>
|
||||
</span><span><a class="LN" name="535"> 535 </a> <span class="CT">/* End of Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1525')" name="code2model"><font color="#117755"><i><S14>/Sign</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="536"> 536 </a>
|
||||
</span><span><a class="LN" name="537"> 537 </a> <span class="CT">/* Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1526')" name="code2model"><font color="#117755"><i><S14>/Sign1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="538"> 538 </a><span class="CT"> * Inport: '<Root>/r_DC'</span>
|
||||
</span><span><a class="LN" name="539"> 539 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="540"> 540 </a> <span class="KW">if</span> (rtU->r_DC < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="541"> 541 </a> rtb_Abs5 = -1;
|
||||
</span><span><a class="LN" name="542"> 542 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="543"> 543 </a> rtb_Abs5 = (rtU->r_DC > 0);
|
||||
</span><span><a class="LN" name="544"> 544 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="545"> 545 </a>
|
||||
</span><span><a class="LN" name="546"> 546 </a> <span class="CT">/* End of Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1526')" name="code2model"><font color="#117755"><i><S14>/Sign1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="547"> 547 </a>
|
||||
</span><span><a class="LN" name="548"> 548 </a> <span class="CT">/* Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:401')" name="code2model"><font color="#117755"><i><S10>/Switch1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="549"> 549 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="550"> 550 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1321')" name="code2model"><font color="#117755"><i><S14>/CTRL_COMM</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="551"> 551 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="552"> 552 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="553"> 553 </a><span class="CT"> * Inport: '<Root>/r_DC'</span>
|
||||
</span><span><a class="LN" name="554"> 554 </a><span class="CT"> * Logic: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1325')" name="code2model"><font color="#117755"><i><S14>/Logical Operator2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="555"> 555 </a><span class="CT"> * LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="556"> 556 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:374')" name="code2model"><font color="#117755"><i><S10>/Divide2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="557"> 557 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:375')" name="code2model"><font color="#117755"><i><S10>/Divide4</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="558"> 558 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1524')" name="code2model"><font color="#117755"><i><S14>/Relational Operator1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="559"> 559 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1326')" name="code2model"><font color="#117755"><i><S14>/Relational Operator3</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="560"> 560 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1327')" name="code2model"><font color="#117755"><i><S14>/Relational Operator4</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="561"> 561 </a><span class="CT"> * Relay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="562"> 562 </a><span class="CT"> * Relay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="563"> 563 </a><span class="CT"> * Selector: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:14')" name="code2model"><font color="#117755"><i><S12>/Selector</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="564"> 564 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="565"> 565 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="566"> 566 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="567"> 567 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="568"> 568 </a> <span class="KW">if</span> ((rtP->z_ctrlTypSel != 0) && (rtb_Abs1 > rtP->r_commDCDeacv) && (rtb_Sum2_h
|
||||
</span><span><a class="LN" name="569"> 569 </a> == rtb_Abs5) && rtDW->n_commDeacv_Mode && (!rtDW->dz_counter_Mode)) <b>{</b>
|
||||
</span><span><a class="LN" name="570"> 570 </a> rtb_Abs5 = rtU->r_DC * rtDW->Merge;
|
||||
</span><span><a class="LN" name="571"> 571 </a> rtb_Switch1_idx_1 = rtU->r_DC * rtDW->Merge1;
|
||||
</span><span><a class="LN" name="572"> 572 </a> rtb_Abs1 = rtU->r_DC * rtDW->Merge2;
|
||||
</span><span><a class="LN" name="573"> 573 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="574"> 574 </a> <span class="KW">if</span> (<a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.vec_hallToPos_Value[rtb_Sum] > 5) <b>{</b>
|
||||
</span><span><a class="LN" name="575"> 575 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="576"> 576 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="577"> 577 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="578"> 578 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="579"> 579 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="580"> 580 </a> rtb_Sum2_h = 5;
|
||||
</span><span><a class="LN" name="581"> 581 </a> <b>}</b> <span class="KW">else</span> <span class="KW">if</span> (<a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.vec_hallToPos_Value[rtb_Sum] < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="582"> 582 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="583"> 583 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="584"> 584 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="585"> 585 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="586"> 586 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="587"> 587 </a> rtb_Sum2_h = 0;
|
||||
</span><span><a class="LN" name="588"> 588 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="589"> 589 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="590"> 590 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="591"> 591 </a><span class="CT"> * Selector: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:14')" name="code2model"><font color="#117755"><i><S12>/Selector</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="592"> 592 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="593"> 593 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="594"> 594 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="595"> 595 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="596"> 596 </a> rtb_Sum2_h = <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.vec_hallToPos_Value[rtb_Sum];
|
||||
</span><span><a class="LN" name="597"> 597 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="598"> 598 </a>
|
||||
</span><span><a class="LN" name="599"> 599 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="600"> 600 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="601"> 601 </a><span class="CT"> * Selector: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:14')" name="code2model"><font color="#117755"><i><S12>/Selector</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="602"> 602 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="603"> 603 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="604"> 604 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="605"> 605 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="606"> 606 </a> rtb_Abs1 = rtb_Sum2_h * 3;
|
||||
</span><span><a class="LN" name="607"> 607 </a> rtb_Abs5 = rtU->r_DC * <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.z_commutMap_M1_table[rtb_Abs1];
|
||||
</span><span><a class="LN" name="608"> 608 </a> rtb_Switch1_idx_1 = <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.z_commutMap_M1_table[1 + rtb_Abs1] * rtU->r_DC;
|
||||
</span><span><a class="LN" name="609"> 609 </a> rtb_Abs1 = <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.z_commutMap_M1_table[2 + rtb_Abs1] * rtU->r_DC;
|
||||
</span><span><a class="LN" name="610"> 610 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="611"> 611 </a>
|
||||
</span><span><a class="LN" name="612"> 612 </a> <span class="CT">/* End of Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:401')" name="code2model"><font color="#117755"><i><S10>/Switch1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="613"> 613 </a>
|
||||
</span><span><a class="LN" name="614"> 614 </a> <span class="CT">/* Outport: '<Root>/DC_phaA' incorporates:</span>
|
||||
</span><span><a class="LN" name="615"> 615 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:370')" name="code2model"><font color="#117755"><i><S10>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="616"> 616 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:373')" name="code2model"><font color="#117755"><i><S10>/Divide1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="617"> 617 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="618"> 618 </a> rtY->DC_phaA = rtb_Abs5 / 1000;
|
||||
</span><span><a class="LN" name="619"> 619 </a>
|
||||
</span><span><a class="LN" name="620"> 620 </a> <span class="CT">/* Outport: '<Root>/DC_phaB' incorporates:</span>
|
||||
</span><span><a class="LN" name="621"> 621 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:370')" name="code2model"><font color="#117755"><i><S10>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="622"> 622 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:373')" name="code2model"><font color="#117755"><i><S10>/Divide1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="623"> 623 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="624"> 624 </a> rtY->DC_phaB = rtb_Switch1_idx_1 / 1000;
|
||||
</span><span><a class="LN" name="625"> 625 </a>
|
||||
</span><span><a class="LN" name="626"> 626 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:31')" name="code2model"><font color="#117755"><i><S11>/UnitDelay</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="627"> 627 </a><span class="CT"> * Inport: '<Root>/b_hallA '</span>
|
||||
</span><span><a class="LN" name="628"> 628 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="629"> 629 </a> rtDW->UnitDelay_DSTATE = rtU->b_hallA;
|
||||
</span><span><a class="LN" name="630"> 630 </a>
|
||||
</span><span><a class="LN" name="631"> 631 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:32')" name="code2model"><font color="#117755"><i><S11>/UnitDelay1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="632"> 632 </a><span class="CT"> * Inport: '<Root>/b_hallB'</span>
|
||||
</span><span><a class="LN" name="633"> 633 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="634"> 634 </a> rtDW->UnitDelay1_DSTATE_i = rtU->b_hallB;
|
||||
</span><span><a class="LN" name="635"> 635 </a>
|
||||
</span><span><a class="LN" name="636"> 636 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:33')" name="code2model"><font color="#117755"><i><S11>/UnitDelay2</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="637"> 637 </a><span class="CT"> * Inport: '<Root>/b_hallC'</span>
|
||||
</span><span><a class="LN" name="638"> 638 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="639"> 639 </a> rtDW->UnitDelay2_DSTATE_h = rtU->b_hallC;
|
||||
</span><span><a class="LN" name="640"> 640 </a>
|
||||
</span><span><a class="LN" name="641"> 641 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="642"> 642 </a> rtDW->UnitDelay1_DSTATE = rtb_Sum1_a;
|
||||
</span><span><a class="LN" name="502"> 502 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S9>/F03_02_Sinusoidal_Method</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="503"> 503 </a> <span class="KW">break</span>;
|
||||
</span><span><a class="LN" name="504"> 504 </a>
|
||||
</span><span><a class="LN" name="505"> 505 </a> <span class="KW">case</span> 3:
|
||||
</span><span><a class="LN" name="506"> 506 </a> <span class="CT">/* Outputs for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S9>/F03_03_Sinusoidal3rd_Method</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="507"> 507 </a><span class="CT"> * ActionPort: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:297')" name="code2model"><font color="#117755"><i><S20>/Action Port</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="508"> 508 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="509"> 509 </a> <span class="CT">/* PreLookup: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:298')" name="code2model"><font color="#117755"><i><S20>/a_sinElecAngle_XA</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="510"> 510 </a> rtb_BitwiseOperator = <a href="#fcn_plook_u8s32u32n31_evenc_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_plook_u8s32u32n31_evenc_s');" target="_self"><font color="#1122aa">plook_u8s32u32n31_evenc_s</font></a>(rtDW->Switch_PhaAdv, 0, 10U,
|
||||
</span><span><a class="LN" name="511"> 511 </a> 36U, &rtb_r_phaAdvDC_XA_o2);
|
||||
</span><span><a class="LN" name="512"> 512 </a>
|
||||
</span><span><a class="LN" name="513"> 513 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:299')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaA_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="514"> 514 </a> rtDW->Merge = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="515"> 515 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sin3PhaA_M1_Table);
|
||||
</span><span><a class="LN" name="516"> 516 </a>
|
||||
</span><span><a class="LN" name="517"> 517 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:300')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaB_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="518"> 518 </a> rtDW->Merge1 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="519"> 519 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sin3PhaB_M1_Table);
|
||||
</span><span><a class="LN" name="520"> 520 </a>
|
||||
</span><span><a class="LN" name="521"> 521 </a> <span class="CT">/* Interpolation_n-D: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:301')" name="code2model"><font color="#117755"><i><S20>/r_sin3PhaC_M1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="522"> 522 </a> rtDW->Merge2 = <a href="#fcn_intrp1d_s16s32s32u8u32n31l_s" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_intrp1d_s16s32s32u8u32n31l_s');" target="_self"><font color="#1122aa">intrp1d_s16s32s32u8u32n31l_s</font></a>(rtb_BitwiseOperator,
|
||||
</span><span><a class="LN" name="523"> 523 </a> rtb_r_phaAdvDC_XA_o2, <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.r_sin3PhaC_M1_Table);
|
||||
</span><span><a class="LN" name="524"> 524 </a>
|
||||
</span><span><a class="LN" name="525"> 525 </a> <span class="CT">/* End of Outputs for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S9>/F03_03_Sinusoidal3rd_Method</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="526"> 526 </a> <span class="KW">break</span>;
|
||||
</span><span><a class="LN" name="527"> 527 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="528"> 528 </a>
|
||||
</span><span><a class="LN" name="529"> 529 </a> <span class="CT">/* End of SwitchCase: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:348')" name="code2model"><font color="#117755"><i><S9>/Switch Case</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="530"> 530 </a>
|
||||
</span><span><a class="LN" name="531"> 531 </a> <span class="CT">/* Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1525')" name="code2model"><font color="#117755"><i><S14>/Sign</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="532"> 532 </a> <span class="KW">if</span> (rtDW->Switch2 < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="533"> 533 </a> rtb_Sum2_h = -1;
|
||||
</span><span><a class="LN" name="534"> 534 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="535"> 535 </a> rtb_Sum2_h = (<a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a>)(rtDW->Switch2 > 0);
|
||||
</span><span><a class="LN" name="536"> 536 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="537"> 537 </a>
|
||||
</span><span><a class="LN" name="538"> 538 </a> <span class="CT">/* End of Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1525')" name="code2model"><font color="#117755"><i><S14>/Sign</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="539"> 539 </a>
|
||||
</span><span><a class="LN" name="540"> 540 </a> <span class="CT">/* Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1526')" name="code2model"><font color="#117755"><i><S14>/Sign1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="541"> 541 </a><span class="CT"> * Inport: '<Root>/r_DC'</span>
|
||||
</span><span><a class="LN" name="542"> 542 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="543"> 543 </a> <span class="KW">if</span> (rtU->r_DC < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="544"> 544 </a> rtb_Abs5 = -1;
|
||||
</span><span><a class="LN" name="545"> 545 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="546"> 546 </a> rtb_Abs5 = (rtU->r_DC > 0);
|
||||
</span><span><a class="LN" name="547"> 547 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="548"> 548 </a>
|
||||
</span><span><a class="LN" name="549"> 549 </a> <span class="CT">/* End of Signum: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1526')" name="code2model"><font color="#117755"><i><S14>/Sign1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="550"> 550 </a>
|
||||
</span><span><a class="LN" name="551"> 551 </a> <span class="CT">/* Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:401')" name="code2model"><font color="#117755"><i><S10>/Switch1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="552"> 552 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="553"> 553 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1321')" name="code2model"><font color="#117755"><i><S14>/CTRL_COMM</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="554"> 554 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="555"> 555 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="556"> 556 </a><span class="CT"> * Inport: '<Root>/r_DC'</span>
|
||||
</span><span><a class="LN" name="557"> 557 </a><span class="CT"> * Logic: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1325')" name="code2model"><font color="#117755"><i><S14>/Logical Operator2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="558"> 558 </a><span class="CT"> * LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="559"> 559 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:374')" name="code2model"><font color="#117755"><i><S10>/Divide2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="560"> 560 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:375')" name="code2model"><font color="#117755"><i><S10>/Divide4</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="561"> 561 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1524')" name="code2model"><font color="#117755"><i><S14>/Relational Operator1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="562"> 562 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1326')" name="code2model"><font color="#117755"><i><S14>/Relational Operator3</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="563"> 563 </a><span class="CT"> * RelationalOperator: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1327')" name="code2model"><font color="#117755"><i><S14>/Relational Operator4</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="564"> 564 </a><span class="CT"> * Relay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="565"> 565 </a><span class="CT"> * Relay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="566"> 566 </a><span class="CT"> * Selector: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:14')" name="code2model"><font color="#117755"><i><S12>/Selector</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="567"> 567 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="568"> 568 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="569"> 569 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="570"> 570 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="571"> 571 </a> <span class="KW">if</span> ((rtP->z_ctrlTypSel != 0) && (rtb_Abs1 > rtP->r_commDCDeacv) && (rtb_Sum2_h
|
||||
</span><span><a class="LN" name="572"> 572 </a> == rtb_Abs5) && rtDW->n_commDeacv_Mode && (!rtDW->dz_counter_Mode)) <b>{</b>
|
||||
</span><span><a class="LN" name="573"> 573 </a> rtb_Abs5 = rtU->r_DC * rtDW->Merge;
|
||||
</span><span><a class="LN" name="574"> 574 </a> rtb_Switch1_idx_1 = rtU->r_DC * rtDW->Merge1;
|
||||
</span><span><a class="LN" name="575"> 575 </a> rtb_Abs1 = rtU->r_DC * rtDW->Merge2;
|
||||
</span><span><a class="LN" name="576"> 576 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="577"> 577 </a> <span class="KW">if</span> (<a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.vec_hallToPos_Value[rtb_Sum] > 5) <b>{</b>
|
||||
</span><span><a class="LN" name="578"> 578 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="579"> 579 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="580"> 580 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="581"> 581 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="582"> 582 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="583"> 583 </a> rtb_Sum2_h = 5;
|
||||
</span><span><a class="LN" name="584"> 584 </a> <b>}</b> <span class="KW">else</span> <span class="KW">if</span> (<a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.vec_hallToPos_Value[rtb_Sum] < 0) <b>{</b>
|
||||
</span><span><a class="LN" name="585"> 585 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="586"> 586 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="587"> 587 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="588"> 588 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="589"> 589 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="590"> 590 </a> rtb_Sum2_h = 0;
|
||||
</span><span><a class="LN" name="591"> 591 </a> <b>}</b> <span class="KW">else</span> <b>{</b>
|
||||
</span><span><a class="LN" name="592"> 592 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="593"> 593 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="594"> 594 </a><span class="CT"> * Selector: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:14')" name="code2model"><font color="#117755"><i><S12>/Selector</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="595"> 595 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="596"> 596 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="597"> 597 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="598"> 598 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="599"> 599 </a> rtb_Sum2_h = <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.vec_hallToPos_Value[rtb_Sum];
|
||||
</span><span><a class="LN" name="600"> 600 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="601"> 601 </a>
|
||||
</span><span><a class="LN" name="602"> 602 </a> <span class="CT">/* LookupNDDirect: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="603"> 603 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:22')" name="code2model"><font color="#117755"><i><S12>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="604"> 604 </a><span class="CT"> * Selector: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:14')" name="code2model"><font color="#117755"><i><S12>/Selector</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="605"> 605 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="606"> 606 </a><span class="CT"> * About '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:411')" name="code2model"><font color="#117755"><i><S10>/z_commutMap_M1</i></font></a>':</span>
|
||||
</span><span><a class="LN" name="607"> 607 </a><span class="CT"> * 2-dimensional Direct Look-Up returning a Column</span>
|
||||
</span><span><a class="LN" name="608"> 608 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="609"> 609 </a> rtb_Abs1 = rtb_Sum2_h * 3;
|
||||
</span><span><a class="LN" name="610"> 610 </a> rtb_Abs5 = rtU->r_DC * <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.z_commutMap_M1_table[rtb_Abs1];
|
||||
</span><span><a class="LN" name="611"> 611 </a> rtb_Switch1_idx_1 = <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.z_commutMap_M1_table[1 + rtb_Abs1] * rtU->r_DC;
|
||||
</span><span><a class="LN" name="612"> 612 </a> rtb_Abs1 = <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>.z_commutMap_M1_table[2 + rtb_Abs1] * rtU->r_DC;
|
||||
</span><span><a class="LN" name="613"> 613 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="614"> 614 </a>
|
||||
</span><span><a class="LN" name="615"> 615 </a> <span class="CT">/* End of Switch: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:401')" name="code2model"><font color="#117755"><i><S10>/Switch1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="616"> 616 </a>
|
||||
</span><span><a class="LN" name="617"> 617 </a> <span class="CT">/* Outport: '<Root>/DC_phaA' incorporates:</span>
|
||||
</span><span><a class="LN" name="618"> 618 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:370')" name="code2model"><font color="#117755"><i><S10>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="619"> 619 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:373')" name="code2model"><font color="#117755"><i><S10>/Divide1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="620"> 620 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="621"> 621 </a> rtY->DC_phaA = rtb_Abs5 / 1000;
|
||||
</span><span><a class="LN" name="622"> 622 </a>
|
||||
</span><span><a class="LN" name="623"> 623 </a> <span class="CT">/* Outport: '<Root>/DC_phaB' incorporates:</span>
|
||||
</span><span><a class="LN" name="624"> 624 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:370')" name="code2model"><font color="#117755"><i><S10>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="625"> 625 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:373')" name="code2model"><font color="#117755"><i><S10>/Divide1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="626"> 626 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="627"> 627 </a> rtY->DC_phaB = rtb_Switch1_idx_1 / 1000;
|
||||
</span><span><a class="LN" name="628"> 628 </a>
|
||||
</span><span><a class="LN" name="629"> 629 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:31')" name="code2model"><font color="#117755"><i><S11>/UnitDelay</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="630"> 630 </a><span class="CT"> * Inport: '<Root>/b_hallA '</span>
|
||||
</span><span><a class="LN" name="631"> 631 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="632"> 632 </a> rtDW->UnitDelay_DSTATE = rtU->b_hallA;
|
||||
</span><span><a class="LN" name="633"> 633 </a>
|
||||
</span><span><a class="LN" name="634"> 634 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:32')" name="code2model"><font color="#117755"><i><S11>/UnitDelay1</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="635"> 635 </a><span class="CT"> * Inport: '<Root>/b_hallB'</span>
|
||||
</span><span><a class="LN" name="636"> 636 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="637"> 637 </a> rtDW->UnitDelay1_DSTATE_i = rtU->b_hallB;
|
||||
</span><span><a class="LN" name="638"> 638 </a>
|
||||
</span><span><a class="LN" name="639"> 639 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:33')" name="code2model"><font color="#117755"><i><S11>/UnitDelay2</i></font></a>' incorporates:</span>
|
||||
</span><span><a class="LN" name="640"> 640 </a><span class="CT"> * Inport: '<Root>/b_hallC'</span>
|
||||
</span><span><a class="LN" name="641"> 641 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="642"> 642 </a> rtDW->UnitDelay2_DSTATE_h = rtU->b_hallC;
|
||||
</span><span><a class="LN" name="643"> 643 </a>
|
||||
</span><span><a class="LN" name="644"> 644 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1507')" name="code2model"><font color="#117755"><i><S14>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="645"> 645 </a> rtDW->UnitDelay1_DSTATE_c = rtb_Sum1_a;
|
||||
</span><span><a class="LN" name="644"> 644 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="645"> 645 </a> rtDW->UnitDelay1_DSTATE = rtb_Sum1_a;
|
||||
</span><span><a class="LN" name="646"> 646 </a>
|
||||
</span><span><a class="LN" name="647"> 647 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1446')" name="code2model"><font color="#117755"><i><S16>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="648"> 648 </a> rtDW->UnitDelay2_DSTATE = rtb_Sum2;
|
||||
</span><span><a class="LN" name="647"> 647 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1507')" name="code2model"><font color="#117755"><i><S14>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="648"> 648 </a> rtDW->UnitDelay1_DSTATE_c = rtb_Sum1_a;
|
||||
</span><span><a class="LN" name="649"> 649 </a>
|
||||
</span><span><a class="LN" name="650"> 650 </a> <span class="CT">/* Outport: '<Root>/DC_phaC' incorporates:</span>
|
||||
</span><span><a class="LN" name="651"> 651 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:370')" name="code2model"><font color="#117755"><i><S10>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="652"> 652 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:373')" name="code2model"><font color="#117755"><i><S10>/Divide1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="653"> 653 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="654"> 654 </a> rtY->DC_phaC = rtb_Abs1 / 1000;
|
||||
</span><span><a class="LN" name="655"> 655 </a>
|
||||
</span><span><a class="LN" name="656"> 656 </a> <span class="CT">/* End of Outputs for SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="657"> 657 </a>
|
||||
</span><span><a class="LN" name="658"> 658 </a> <span class="CT">/* Outport: '<Root>/n_mot' */</span>
|
||||
</span><span><a class="LN" name="659"> 659 </a> rtY->n_mot = rtb_Sum2;
|
||||
</span><span><a class="LN" name="660"> 660 </a><b>}</b>
|
||||
</span><span><a class="LN" name="661"> 661 </a>
|
||||
</span><span><a class="LN" name="662"> 662 </a><span class="CT">/* Model initialize function */</span>
|
||||
</span><span><a class="LN" name="663"> 663 </a><span class="DT">void</span> <a name="fcn_BLDC_controller_initialize">BLDC_controller_initialize</a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM)
|
||||
</span><span><a class="LN" name="664"> 664 </a><b>{</b>
|
||||
</span><span><a class="LN" name="665"> 665 </a> <a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *rtDW = ((<a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *) rtM->dwork);
|
||||
</span><span><a class="LN" name="666"> 666 </a>
|
||||
</span><span><a class="LN" name="667"> 667 </a> <span class="CT">/* Start for Atomic SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="668"> 668 </a> <span class="CT">/* Start for If: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="669"> 669 </a> rtDW->If1_ActiveSubsystem = -1;
|
||||
</span><span><a class="LN" name="650"> 650 </a> <span class="CT">/* Update for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1446')" name="code2model"><font color="#117755"><i><S16>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="651"> 651 </a> rtDW->UnitDelay2_DSTATE = rtb_Sum2;
|
||||
</span><span><a class="LN" name="652"> 652 </a>
|
||||
</span><span><a class="LN" name="653"> 653 </a> <span class="CT">/* Outport: '<Root>/DC_phaC' incorporates:</span>
|
||||
</span><span><a class="LN" name="654"> 654 </a><span class="CT"> * Constant: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:370')" name="code2model"><font color="#117755"><i><S10>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="655"> 655 </a><span class="CT"> * Product: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:373')" name="code2model"><font color="#117755"><i><S10>/Divide1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="656"> 656 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="657"> 657 </a> rtY->DC_phaC = rtb_Abs1 / 1000;
|
||||
</span><span><a class="LN" name="658"> 658 </a>
|
||||
</span><span><a class="LN" name="659"> 659 </a> <span class="CT">/* End of Outputs for SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="660"> 660 </a>
|
||||
</span><span><a class="LN" name="661"> 661 </a> <span class="CT">/* Outport: '<Root>/n_mot' */</span>
|
||||
</span><span><a class="LN" name="662"> 662 </a> rtY->n_mot = rtb_Sum2;
|
||||
</span><span><a class="LN" name="663"> 663 </a><b>}</b>
|
||||
</span><span><a class="LN" name="664"> 664 </a>
|
||||
</span><span><a class="LN" name="665"> 665 </a><span class="CT">/* Model initialize function */</span>
|
||||
</span><span><a class="LN" name="666"> 666 </a><span class="DT">void</span> <a name="fcn_BLDC_controller_initialize">BLDC_controller_initialize</a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM)
|
||||
</span><span><a class="LN" name="667"> 667 </a><b>{</b>
|
||||
</span><span><a class="LN" name="668"> 668 </a> <a href="BLDC_controller_h.html#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> *rtP = ((<a href="BLDC_controller_h.html#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> *) rtM->defaultParam);
|
||||
</span><span><a class="LN" name="669"> 669 </a> <a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *rtDW = ((<a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *) rtM->dwork);
|
||||
</span><span><a class="LN" name="670"> 670 </a>
|
||||
</span><span><a class="LN" name="671"> 671 </a> <span class="CT">/* End of Start for SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="672"> 672 </a>
|
||||
</span><span><a class="LN" name="673"> 673 </a> <span class="CT">/* SystemInitialize for Atomic SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="674"> 674 </a> <span class="CT">/* InitializeConditions for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="675"> 675 </a> rtDW->UnitDelay1_DSTATE = 1500;
|
||||
</span><span><a class="LN" name="671"> 671 </a> <span class="CT">/* Start for Atomic SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="672"> 672 </a> <span class="CT">/* Start for If: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="673"> 673 </a> rtDW->If1_ActiveSubsystem = -1;
|
||||
</span><span><a class="LN" name="674"> 674 </a>
|
||||
</span><span><a class="LN" name="675"> 675 </a> <span class="CT">/* End of Start for SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="676"> 676 </a>
|
||||
</span><span><a class="LN" name="677"> 677 </a> <span class="CT">/* SystemInitialize for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S14>/Counter_Hold_and_Error_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="678"> 678 </a> <span class="CT">/* InitializeConditions for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:169')" name="code2model"><font color="#117755"><i><S15>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="679"> 679 </a> rtDW->z_counter2_DSTATE = 1500;
|
||||
</span><span><a class="LN" name="677"> 677 </a> <span class="CT">/* SystemInitialize for Atomic SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="678"> 678 </a> <span class="CT">/* InitializeConditions for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="679"> 679 </a> rtDW->UnitDelay1_DSTATE = rtP->z_maxCntRst;
|
||||
</span><span><a class="LN" name="680"> 680 </a>
|
||||
</span><span><a class="LN" name="681"> 681 </a> <span class="CT">/* SystemInitialize for Outport: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1358')" name="code2model"><font color="#117755"><i><S15>/z_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="682"> 682 </a> rtDW->z_counterRawPrev = 1500;
|
||||
</span><span><a class="LN" name="683"> 683 </a>
|
||||
</span><span><a class="LN" name="684"> 684 </a> <span class="CT">/* End of SystemInitialize for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S14>/Counter_Hold_and_Error_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="685"> 685 </a> <span class="CT">/* End of SystemInitialize for SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="686"> 686 </a><b>}</b>
|
||||
</span><span><a class="LN" name="681"> 681 </a> <span class="CT">/* SystemInitialize for IfAction SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S14>/Counter_Hold_and_Error_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="682"> 682 </a> <span class="CT">/* InitializeConditions for UnitDelay: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:169')" name="code2model"><font color="#117755"><i><S15>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="683"> 683 </a> rtDW->z_counter2_DSTATE = rtP->z_maxCntRst;
|
||||
</span><span><a class="LN" name="684"> 684 </a>
|
||||
</span><span><a class="LN" name="685"> 685 </a> <span class="CT">/* SystemInitialize for Outport: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1358')" name="code2model"><font color="#117755"><i><S15>/z_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="686"> 686 </a> rtDW->z_counterRawPrev = rtP->z_maxCntRst;
|
||||
</span><span><a class="LN" name="687"> 687 </a>
|
||||
</span><span><a class="LN" name="688"> 688 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="689"> 689 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="690"> 690 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="691"> 691 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="692"> 692 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="693"> 693 </a>
|
||||
</span><span><a class="LN" name="688"> 688 </a> <span class="CT">/* End of SystemInitialize for SubSystem: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S14>/Counter_Hold_and_Error_Calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="689"> 689 </a> <span class="CT">/* End of SystemInitialize for SubSystem: '<Root>/BLDC_controller' */</span>
|
||||
</span><span><a class="LN" name="690"> 690 </a><b>}</b>
|
||||
</span><span><a class="LN" name="691"> 691 </a>
|
||||
</span><span><a class="LN" name="692"> 692 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="693"> 693 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="694"> 694 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="695"> 695 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="696"> 696 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="697"> 697 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.879</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.883</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Thu Jun 6 22:50:24 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue Jun 11 21:14:57 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.879</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.883</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Thu Jun 6 22:50:24 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue Jun 11 21:14:57 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
@ -160,104 +160,115 @@
|
||||
</span><span><a class="LN" name="146"> 146 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commDeacvHi; <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="147"> 147 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1328')" name="code2model"><font color="#117755"><i><S14>/n_commDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="148"> 148 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_commDCDeacv; <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_motPhaAdvEna; <span class="CT">/* Variable: n_motPhaAdvEna</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1671')" name="code2model"><font color="#117755"><i><S8>/n_motPhaAdvEna</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_phaAdvDC_XA[11]; <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_commDCDeacv; <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="154"> 154 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> a_phaAdv_M1[11]; <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="156"> 156 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_phaAdvDC_XA[11]; <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="156"> 156 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="157"> 157 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> dz_counterHi; <span class="CT">/* Variable: dz_counterHi</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> a_phaAdv_M1[11]; <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> dz_counterLo; <span class="CT">/* Variable: dz_counterLo</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> dz_counterHi; <span class="CT">/* Variable: dz_counterHi</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="163"> 163 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="164"> 164 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_ctrlTypSel; <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="165"> 165 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="164"> 164 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> dz_counterLo; <span class="CT">/* Variable: dz_counterLo</span>
|
||||
</span><span><a class="LN" name="165"> 165 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="166"> 166 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="167"> 167 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> b_phaAdvEna; <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="171"> 171 </a>
|
||||
</span><span><a class="LN" name="172"> 172 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="KW">typedef</span> <span class="KW">struct</span> P_ <a name="type_P">P</a>;
|
||||
</span><span><a class="LN" name="174"> 174 </a>
|
||||
</span><span><a class="LN" name="175"> 175 </a><span class="CT">/* Real-time Model Data Structure */</span>
|
||||
</span><span><a class="LN" name="176"> 176 </a><span class="KW">struct</span> tag_RTM <b>{</b>
|
||||
</span><span><a class="LN" name="177"> 177 </a> <a href="#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> *defaultParam;
|
||||
</span><span><a class="LN" name="178"> 178 </a> <a href="#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> *inputs;
|
||||
</span><span><a class="LN" name="179"> 179 </a> <a href="#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> *outputs;
|
||||
</span><span><a class="LN" name="180"> 180 </a> <a href="#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *dwork;
|
||||
</span><span><a class="LN" name="167"> 167 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_maxCntRst; <span class="CT">/* Variable: z_maxCntRst</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1358')" name="code2model"><font color="#117755"><i><S15>/z_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:169')" name="code2model"><font color="#117755"><i><S15>/z_counter2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="171"> 171 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1625')" name="code2model"><font color="#117755"><i><S16>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="172"> 172 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1616')" name="code2model"><font color="#117755"><i><S17>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="174"> 174 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="175"> 175 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_ctrlTypSel; <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="176"> 176 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> b_phaAdvEna; <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="179"> 179 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="180"> 180 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="181"> 181 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="182"> 182 </a>
|
||||
</span><span><a class="LN" name="183"> 183 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a><span class="DT">extern</span> <span class="DT">const</span> <a href="#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>;
|
||||
</span><span><a class="LN" name="183"> 183 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a><span class="KW">typedef</span> <span class="KW">struct</span> P_ <a name="type_P">P</a>;
|
||||
</span><span><a class="LN" name="185"> 185 </a>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT">/* Model entry point functions */</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(<a href="#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="188"> 188 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(<a href="#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="189"> 189 </a>
|
||||
</span><span><a class="LN" name="190"> 190 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="191"> 191 </a><span class="CT"> * These blocks were eliminated from the model due to optimizations:</span>
|
||||
</span><span><a class="LN" name="192"> 192 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="193"> 193 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:141')" name="code2model"><font color="#117755"><i><S14>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="194"> 194 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:262')" name="code2model"><font color="#117755"><i><S8>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="195"> 195 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT">/* Real-time Model Data Structure */</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="KW">struct</span> tag_RTM <b>{</b>
|
||||
</span><span><a class="LN" name="188"> 188 </a> <a href="#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> *defaultParam;
|
||||
</span><span><a class="LN" name="189"> 189 </a> <a href="#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> *inputs;
|
||||
</span><span><a class="LN" name="190"> 190 </a> <a href="#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> *outputs;
|
||||
</span><span><a class="LN" name="191"> 191 </a> <a href="#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> *dwork;
|
||||
</span><span><a class="LN" name="192"> 192 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="193"> 193 </a>
|
||||
</span><span><a class="LN" name="194"> 194 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="195"> 195 </a><span class="DT">extern</span> <span class="DT">const</span> <a href="#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>;
|
||||
</span><span><a class="LN" name="196"> 196 </a>
|
||||
</span><span><a class="LN" name="197"> 197 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="198"> 198 </a><span class="CT"> * The generated code includes comments that allow you to trace directly</span>
|
||||
</span><span><a class="LN" name="199"> 199 </a><span class="CT"> * back to the appropriate location in the model. The basic format</span>
|
||||
</span><span><a class="LN" name="200"> 200 </a><span class="CT"> * is <system>/block_name, where system is the system number (uniquely</span>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT"> * assigned by Simulink) and block_name is the name of the block.</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a><span class="CT"> * Note that this particular code originates from a subsystem build,</span>
|
||||
</span><span><a class="LN" name="204"> 204 </a><span class="CT"> * and has its own system numbers different from the parent model.</span>
|
||||
</span><span><a class="LN" name="205"> 205 </a><span class="CT"> * Refer to the system hierarchy for this subsystem below, and use the</span>
|
||||
</span><span><a class="LN" name="206"> 206 </a><span class="CT"> * MATLAB hilite_system command to trace the generated code back</span>
|
||||
</span><span><a class="LN" name="207"> 207 </a><span class="CT"> * to the parent model. For example,</span>
|
||||
</span><span><a class="LN" name="208"> 208 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="209"> 209 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller') - opens subsystem BLDCmotorControl_R2017b/BLDC_controller</span>
|
||||
</span><span><a class="LN" name="210"> 210 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller/Kp') - opens and selects block Kp</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="212"> 212 </a><span class="CT"> * Here is the system hierarchy for this model</span>
|
||||
</span><span><a class="LN" name="197"> 197 </a><span class="CT">/* Model entry point functions */</span>
|
||||
</span><span><a class="LN" name="198"> 198 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(<a href="#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="199"> 199 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(<a href="#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="200"> 200 </a>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a><span class="CT"> * These blocks were eliminated from the model due to optimizations:</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="204"> 204 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:141')" name="code2model"><font color="#117755"><i><S14>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="205"> 205 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:262')" name="code2model"><font color="#117755"><i><S8>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="206"> 206 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="207"> 207 </a>
|
||||
</span><span><a class="LN" name="208"> 208 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="209"> 209 </a><span class="CT"> * The generated code includes comments that allow you to trace directly</span>
|
||||
</span><span><a class="LN" name="210"> 210 </a><span class="CT"> * back to the appropriate location in the model. The basic format</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a><span class="CT"> * is <system>/block_name, where system is the system number (uniquely</span>
|
||||
</span><span><a class="LN" name="212"> 212 </a><span class="CT"> * assigned by Simulink) and block_name is the name of the block.</span>
|
||||
</span><span><a class="LN" name="213"> 213 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="214"> 214 </a><span class="CT"> * '<Root>' : 'BLDCmotorControl_R2017b'</span>
|
||||
</span><span><a class="LN" name="215"> 215 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:29')" name="code2model"><font color="#117755"><i><S1></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="216"> 216 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687')" name="code2model"><font color="#117755"><i><S2></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="217"> 217 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1831')" name="code2model"><font color="#117755"><i><S3></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'</span>
|
||||
</span><span><a class="LN" name="218"> 218 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1834')" name="code2model"><font color="#117755"><i><S4></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'</span>
|
||||
</span><span><a class="LN" name="219"> 219 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1837')" name="code2model"><font color="#117755"><i><S5></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'</span>
|
||||
</span><span><a class="LN" name="220"> 220 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1828')" name="code2model"><font color="#117755"><i><S6></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'</span>
|
||||
</span><span><a class="LN" name="221"> 221 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:6')" name="code2model"><font color="#117755"><i><S7></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="222"> 222 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:215')" name="code2model"><font color="#117755"><i><S8></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="223"> 223 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:282')" name="code2model"><font color="#117755"><i><S9></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="224"> 224 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:361')" name="code2model"><font color="#117755"><i><S10></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="225"> 225 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:26')" name="code2model"><font color="#117755"><i><S11></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="226"> 226 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:10')" name="code2model"><font color="#117755"><i><S12></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="227"> 227 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:38')" name="code2model"><font color="#117755"><i><S13></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="228"> 228 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:59')" name="code2model"><font color="#117755"><i><S14></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="229"> 229 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S15></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Counter_Hold_and_Error_Calculation'</span>
|
||||
</span><span><a class="LN" name="230"> 230 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1401')" name="code2model"><font color="#117755"><i><S16></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="231"> 231 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651')" name="code2model"><font color="#117755"><i><S17></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_DelayLim'</span>
|
||||
</span><span><a class="LN" name="232"> 232 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S18></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="233"> 233 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S19></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="234"> 234 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S20></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_03_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="235"> 235 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:349')" name="code2model"><font color="#117755"><i><S21></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="236"> 236 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:352')" name="code2model"><font color="#117755"><i><S22></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="237"> 237 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:355')" name="code2model"><font color="#117755"><i><S23></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="238"> 238 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="239"> 239 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* RTW_HEADER_BLDC_controller_h_ */</span>
|
||||
</span><span><a class="LN" name="240"> 240 </a>
|
||||
</span><span><a class="LN" name="241"> 241 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="242"> 242 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="243"> 243 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="244"> 244 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="245"> 245 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="246"> 246 </a>
|
||||
</span><span><a class="LN" name="214"> 214 </a><span class="CT"> * Note that this particular code originates from a subsystem build,</span>
|
||||
</span><span><a class="LN" name="215"> 215 </a><span class="CT"> * and has its own system numbers different from the parent model.</span>
|
||||
</span><span><a class="LN" name="216"> 216 </a><span class="CT"> * Refer to the system hierarchy for this subsystem below, and use the</span>
|
||||
</span><span><a class="LN" name="217"> 217 </a><span class="CT"> * MATLAB hilite_system command to trace the generated code back</span>
|
||||
</span><span><a class="LN" name="218"> 218 </a><span class="CT"> * to the parent model. For example,</span>
|
||||
</span><span><a class="LN" name="219"> 219 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="220"> 220 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller') - opens subsystem BLDCmotorControl_R2017b/BLDC_controller</span>
|
||||
</span><span><a class="LN" name="221"> 221 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller/Kp') - opens and selects block Kp</span>
|
||||
</span><span><a class="LN" name="222"> 222 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="223"> 223 </a><span class="CT"> * Here is the system hierarchy for this model</span>
|
||||
</span><span><a class="LN" name="224"> 224 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="225"> 225 </a><span class="CT"> * '<Root>' : 'BLDCmotorControl_R2017b'</span>
|
||||
</span><span><a class="LN" name="226"> 226 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:29')" name="code2model"><font color="#117755"><i><S1></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="227"> 227 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687')" name="code2model"><font color="#117755"><i><S2></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="228"> 228 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1831')" name="code2model"><font color="#117755"><i><S3></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'</span>
|
||||
</span><span><a class="LN" name="229"> 229 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1834')" name="code2model"><font color="#117755"><i><S4></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'</span>
|
||||
</span><span><a class="LN" name="230"> 230 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1837')" name="code2model"><font color="#117755"><i><S5></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'</span>
|
||||
</span><span><a class="LN" name="231"> 231 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1828')" name="code2model"><font color="#117755"><i><S6></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'</span>
|
||||
</span><span><a class="LN" name="232"> 232 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:6')" name="code2model"><font color="#117755"><i><S7></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="233"> 233 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:215')" name="code2model"><font color="#117755"><i><S8></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="234"> 234 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:282')" name="code2model"><font color="#117755"><i><S9></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="235"> 235 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:361')" name="code2model"><font color="#117755"><i><S10></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="236"> 236 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:26')" name="code2model"><font color="#117755"><i><S11></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="237"> 237 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:10')" name="code2model"><font color="#117755"><i><S12></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="238"> 238 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:38')" name="code2model"><font color="#117755"><i><S13></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="239"> 239 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:59')" name="code2model"><font color="#117755"><i><S14></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="240"> 240 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1340')" name="code2model"><font color="#117755"><i><S15></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Counter_Hold_and_Error_Calculation'</span>
|
||||
</span><span><a class="LN" name="241"> 241 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1401')" name="code2model"><font color="#117755"><i><S16></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Motor_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="242"> 242 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651')" name="code2model"><font color="#117755"><i><S17></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_DelayLim'</span>
|
||||
</span><span><a class="LN" name="243"> 243 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:285')" name="code2model"><font color="#117755"><i><S18></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="244"> 244 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:305')" name="code2model"><font color="#117755"><i><S19></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="245"> 245 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:295')" name="code2model"><font color="#117755"><i><S20></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/F03_03_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="246"> 246 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:349')" name="code2model"><font color="#117755"><i><S21></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="247"> 247 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:352')" name="code2model"><font color="#117755"><i><S22></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="248"> 248 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:355')" name="code2model"><font color="#117755"><i><S23></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="249"> 249 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="250"> 250 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* RTW_HEADER_BLDC_controller_h_ */</span>
|
||||
</span><span><a class="LN" name="251"> 251 </a>
|
||||
</span><span><a class="LN" name="252"> 252 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="253"> 253 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="254"> 254 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="255"> 255 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="256"> 256 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="257"> 257 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
|
@ -611,7 +611,7 @@ int32_T
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_commDCDeacv
|
||||
n_motPhaAdvEna
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
<i>
|
||||
@ -629,6 +629,24 @@ int32_T
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_commDCDeacv
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_phaAdvDC_XA
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
@ -645,7 +663,7 @@ int32_T
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
a_phaAdv_M1
|
||||
</td>
|
||||
@ -663,7 +681,7 @@ int16_T
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
dz_counterHi
|
||||
</td>
|
||||
@ -681,7 +699,7 @@ int16_T
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
dz_counterLo
|
||||
</td>
|
||||
@ -698,6 +716,24 @@ int16_T
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
z_maxCntRst
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
<i>
|
||||
Defined externally
|
||||
</i>
|
||||
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int16_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
|
@ -100,7 +100,7 @@ Function Information
|
||||
:
|
||||
</td>
|
||||
<td width="4%" align="right" valign="top">
|
||||
404
|
||||
407
|
||||
</td>
|
||||
<td width="86%" align="right" valign="top">
|
||||
 
|
||||
@ -115,7 +115,7 @@ Function Information
|
||||
:
|
||||
</td>
|
||||
<td width="4%" align="right" valign="top">
|
||||
1,150
|
||||
1,165
|
||||
</td>
|
||||
<td width="86%" align="right" valign="top">
|
||||
 
|
||||
@ -169,13 +169,13 @@ BLDC_controller.c
|
||||
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
254
|
||||
255
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
693
|
||||
697
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
06/06/2019 10:50 PM
|
||||
06/11/2019 9:15 PM
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -187,13 +187,13 @@ BLDC_controller.h
|
||||
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
79
|
||||
81
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
246
|
||||
257
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
06/06/2019 10:50 PM
|
||||
06/11/2019 9:15 PM
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -211,7 +211,7 @@ rtwtypes.h
|
||||
109
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
06/06/2019 10:50 PM
|
||||
06/11/2019 9:15 PM
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -229,7 +229,7 @@ BLDC_controller_data.c
|
||||
102
|
||||
</td>
|
||||
<td width="22%" align="right" valign="top" style="border-style: none">
|
||||
06/06/2019 10:50 PM
|
||||
06/11/2019 9:15 PM
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -451,7 +451,7 @@ BLDC_controller_step
|
||||
181
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
511
|
||||
514
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
24
|
||||
@ -610,16 +610,16 @@ BLDC_controller_initialize
|
||||
</b></span>
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
8
|
||||
16
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
8
|
||||
16
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
5
|
||||
6
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
24
|
||||
25
|
||||
</td>
|
||||
<td width="12%" align="right" valign="top" style="border-style: none">
|
||||
1
|
||||
@ -727,16 +727,16 @@ BLDC_controller_initialize
|
||||
 
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
8
|
||||
16
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
8
|
||||
16
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
5
|
||||
6
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
24
|
||||
25
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
1
|
||||
@ -763,7 +763,7 @@ BLDC_controller_step
|
||||
181
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
511
|
||||
514
|
||||
</td>
|
||||
<td width="11%" align="right" valign="top" style="border-style: none">
|
||||
24
|
||||
|
@ -99,6 +99,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1482"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1666"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1382"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1678"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:186"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:187"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:188"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
@ -112,6 +113,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:196"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:197"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1662"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1677"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:198"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1376"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:199"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
@ -130,6 +132,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:211"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1483"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1484"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1679"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1383"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:212"] = "BLDCmotorControl_R2017b:2687:6";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:535"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
@ -137,11 +140,13 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:217"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1460"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1461"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1680"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:221"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1464"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1465"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1466"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1467"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1669"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:231"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:518"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:534"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
@ -160,14 +165,17 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:243"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1462"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1463"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1681"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:578"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1473"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:536"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:538"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1668"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:623"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:258"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:545"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1474"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1670"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1475"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:262"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1476"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
@ -179,6 +187,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:512"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:547"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:521"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1671"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:522"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:278"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:279"] = "BLDCmotorControl_R2017b:2687:215";
|
||||
@ -302,7 +311,6 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:61"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1629"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1366"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1320"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1321"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:64"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1340"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
@ -319,6 +327,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1380"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1455"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1361"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1675"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1323"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1517"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1324"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
@ -338,6 +347,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1374"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1630"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:106"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1674"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:786"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1400"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:108"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
@ -360,6 +370,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1329"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1651"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:173"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1676"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1381"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1487"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1488"] = "BLDCmotorControl_R2017b:2687:59";
|
||||
@ -373,6 +384,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1640"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1430"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1639"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1672"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1637"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1433"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1434"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
@ -403,6 +415,7 @@ function RTW_SidParentMap() {
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1625"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1450"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1451"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1673"] = "BLDCmotorControl_R2017b:2687:1401";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1651:1614"] = "BLDCmotorControl_R2017b:2687:1651";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1651:1615"] = "BLDCmotorControl_R2017b:2687:1651";
|
||||
this.sidParentMap["BLDCmotorControl_R2017b:2687:1651:1616"] = "BLDCmotorControl_R2017b:2687:1651";
|
||||
|
@ -40,7 +40,7 @@ MathWorks
|
||||
Model Version
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
1.879
|
||||
1.883
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@ -109,7 +109,7 @@ Simulink Coder Version
|
||||
Timestamp of Generated Source Code
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Thu Jun 6 22:50:24 2019
|
||||
Tue Jun 11 21:14:57 2019
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
@ -3,15 +3,15 @@ function RTW_Sid2UrlHash() {
|
||||
/* <S2>/Abs1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1660"] = "BLDC_controller.c:179,182,183,185,188";
|
||||
/* <S2>/F02_Electrical_Angle_Calculation */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:215"] = "BLDC_controller.c:384,447";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:215"] = "BLDC_controller.c:384,450";
|
||||
/* <S2>/If1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:434"] = "BLDC_controller.c:363,366,367,368,369,372,373,383,450,668,669&BLDC_controller.h:52";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:434"] = "BLDC_controller.c:363,366,367,368,369,372,373,383,453,672,673&BLDC_controller.h:52";
|
||||
/* <S7>/F01_03_Direction_Detection */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:38"] = "BLDC_controller.c:216,253";
|
||||
/* <S7>/If2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1313"] = "BLDC_controller.c:206,215";
|
||||
/* <S7>/z_ctrlTypSel1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:208"] = "BLDC_controller.c:364,368,453,455,552,568&BLDC_controller.h:165&ert_main.c:78";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:208"] = "BLDC_controller.c:364,368,456,458,555,571&BLDC_controller.h:176&ert_main.c:93";
|
||||
/* <S8>/Action Port */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:221"] = "BLDC_controller.c:385";
|
||||
/* <S8>/Constant16 */
|
||||
@ -22,14 +22,20 @@ function RTW_Sid2UrlHash() {
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1466"] = "BLDC_controller.c:412,417";
|
||||
/* <S8>/Divide5 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1467"] = "BLDC_controller.c:413,418";
|
||||
/* <S8>/Logical
|
||||
Operator2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1668"] = "BLDC_controller.c:423,427";
|
||||
/* <S8>/Math
|
||||
Function */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:623"] = "BLDC_controller.c:440,441";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:623"] = "BLDC_controller.c:443,444";
|
||||
/* <S8>/Product2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:545"] = "BLDC_controller.c:436,438";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:545"] = "BLDC_controller.c:439,441";
|
||||
/* <S8>/Product6 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1474"] = "BLDC_controller.c:414,417";
|
||||
/* <S8>/Relational
|
||||
Operator4 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1670"] = "BLDC_controller.c:425,427";
|
||||
/* <S8>/Relational
|
||||
Operator7 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1475"] = "BLDC_controller.c:395,400";
|
||||
/* <S8>/Scope */
|
||||
@ -39,31 +45,33 @@ Operator7 */
|
||||
/* <S8>/Sum2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1477"] = "BLDC_controller.c:415,417,418";
|
||||
/* <S8>/Sum3 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:546"] = "BLDC_controller.c:434,438";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:546"] = "BLDC_controller.c:437,441";
|
||||
/* <S8>/Switch3 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1478"] = "BLDC_controller.c:387,400,401,403,408";
|
||||
/* <S8>/Switch_PhaAdv */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:514"] = "BLDC_controller.c:420,424,441,443,446&BLDC_controller.h:39";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:514"] = "BLDC_controller.c:420,427,444,446,449&BLDC_controller.h:39";
|
||||
/* <S8>/a_elecAngle1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1479"] = "BLDC_controller.c:411,417,418";
|
||||
/* <S8>/a_elecPeriod1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:512"] = "BLDC_controller.c:421,424&BLDC_controller.h:168&ert_main.c:83";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:512"] = "BLDC_controller.c:421,427&BLDC_controller.h:179&ert_main.c:98";
|
||||
/* <S8>/a_elecPeriod2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:547"] = "msg=rtwMsg_CodeGenerationReducedBlock&block=BLDCmotorControl_R2017b:2687:547";
|
||||
/* <S8>/a_phaAdv_M2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:521"] = "BLDC_controller.c:430,431,432&BLDC_controller.h:156&ert_main.c:63";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:521"] = "BLDC_controller.c:433,434,435&BLDC_controller.h:159&ert_main.c:68";
|
||||
/* <S8>/n_motPhaAdvEna */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1671"] = "BLDC_controller.c:422,427&BLDC_controller.h:150&ert_main.c:53";
|
||||
/* <S8>/r_phaAdvDC_XA */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:522"] = "BLDC_controller.c:425,426,427,428&BLDC_controller.h:153&ert_main.c:58";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:522"] = "BLDC_controller.c:428,429,430,431&BLDC_controller.h:156&ert_main.c:63";
|
||||
/* <S8>/a_elecAngleAdv */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:278"] = "BLDC_controller.c:374,375";
|
||||
/* <S8>/a_elecAngle */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:279"] = "BLDC_controller.c:378,380";
|
||||
/* <S9>/F03_01_Pure_Trapezoidal_Method */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:285"] = "BLDC_controller.c:457,476";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:285"] = "BLDC_controller.c:460,479";
|
||||
/* <S9>/F03_02_Sinusoidal_Method */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:305"] = "BLDC_controller.c:480,499";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:305"] = "BLDC_controller.c:483,502";
|
||||
/* <S9>/F03_03_Sinusoidal3rd_Method */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:295"] = "BLDC_controller.c:503,522";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:295"] = "BLDC_controller.c:506,525";
|
||||
/* <S9>/Merge */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:345"] = "BLDC_controller.h:41";
|
||||
/* <S9>/Merge1 */
|
||||
@ -71,30 +79,30 @@ Operator7 */
|
||||
/* <S9>/Merge2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:347"] = "BLDC_controller.h:43";
|
||||
/* <S9>/Switch Case */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:348"] = "BLDC_controller.c:452,455,456,479,502,526";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:348"] = "BLDC_controller.c:455,458,459,482,505,529";
|
||||
/* <S10>/Constant1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:370"] = "BLDC_controller.c:615,618,621,624,651,654";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:370"] = "BLDC_controller.c:618,621,624,627,654,657";
|
||||
/* <S10>/Divide1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:373"] = "BLDC_controller.c:616,618,622,624,652,654";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:373"] = "BLDC_controller.c:619,621,625,627,655,657";
|
||||
/* <S10>/Divide2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:374"] = "BLDC_controller.c:556,607,608,609";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:374"] = "BLDC_controller.c:559,610,611,612";
|
||||
/* <S10>/Divide4 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:375"] = "BLDC_controller.c:557,570,571,572";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:375"] = "BLDC_controller.c:560,573,574,575";
|
||||
/* <S10>/Switch1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:401"] = "BLDC_controller.c:548,568,570,571,572,607,608,609,612";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:401"] = "BLDC_controller.c:551,571,573,574,575,610,611,612,615";
|
||||
/* <S10>/z_commutMap_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:411"] = "BLDC_controller.c:555,565,574,575,577,580,581,582,584,587,589,593,596,599,603,606,607,608,609&BLDC_controller.h:108&BLDC_controller_data.c:86";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:411"] = "BLDC_controller.c:558,568,577,578,580,583,584,585,587,590,592,596,599,602,606,609,610,611,612&BLDC_controller.h:108&BLDC_controller_data.c:86";
|
||||
/* <S11>/Bitwise
|
||||
Operator */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1535"] = "BLDC_controller.c:190,198,199";
|
||||
/* <S11>/UnitDelay */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:31"] = "BLDC_controller.c:194,199,626,629&BLDC_controller.h:53";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:31"] = "BLDC_controller.c:194,199,629,632&BLDC_controller.h:53";
|
||||
/* <S11>/UnitDelay1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:32"] = "BLDC_controller.c:195,199,631,634&BLDC_controller.h:54";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:32"] = "BLDC_controller.c:195,199,634,637&BLDC_controller.h:54";
|
||||
/* <S11>/UnitDelay2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:33"] = "BLDC_controller.c:196,200,636,639&BLDC_controller.h:55";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:33"] = "BLDC_controller.c:196,200,639,642&BLDC_controller.h:55";
|
||||
/* <S12>/Selector */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:14"] = "BLDC_controller.c:224,227,249,251,396,401,403,404,405,563,574,581,591,596,601";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:14"] = "BLDC_controller.c:224,227,249,251,396,401,403,404,405,566,577,584,594,599,604";
|
||||
/* <S12>/Sum */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:15"] = "BLDC_controller.c:169,176,177,397,403,404,405";
|
||||
/* <S12>/g_Ha */
|
||||
@ -102,7 +110,7 @@ Operator */
|
||||
/* <S12>/g_Hb */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:18"] = "BLDC_controller.c:171,177,391,404,405";
|
||||
/* <S12>/vec_hallToPos */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:22"] = "BLDC_controller.c:223,227,248,251,388,401,403,549,574,581,590,596,600&BLDC_controller.h:113&BLDC_controller_data.c:92";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:22"] = "BLDC_controller.c:223,227,248,251,388,401,403,552,577,584,593,599,603&BLDC_controller.h:113&BLDC_controller_data.c:92";
|
||||
/* <S13>/Action Port */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1314"] = "BLDC_controller.c:217";
|
||||
/* <S13>/Constant20 */
|
||||
@ -132,44 +140,42 @@ Operator6 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1318"] = "BLDC_controller.c:225,228,247,251&BLDC_controller.h:51";
|
||||
/* <S14>/Abs2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1366"] = "BLDC_controller.c:345,346,347,349,352";
|
||||
/* <S14>/Abs5 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1320"] = "BLDC_controller.c:327,328,329,331,334";
|
||||
/* <S14>/CTRL_COMM */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1321"] = "BLDC_controller.c:550,568";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1321"] = "BLDC_controller.c:553,571";
|
||||
/* <S14>/Constant6 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:64"] = "BLDC_controller.c:203,254,262";
|
||||
/* <S14>/Counter_Hold_and_Error_Calculation */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1340"] = "BLDC_controller.c:256,274,677,684";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1340"] = "BLDC_controller.c:256,274,681,688";
|
||||
/* <S14>/If1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1339"] = "BLDC_controller.c:202,215,291";
|
||||
/* <S14>/Logical
|
||||
Operator2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1325"] = "BLDC_controller.c:554,568,569";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1325"] = "BLDC_controller.c:557,571,572";
|
||||
/* <S14>/Relational
|
||||
Operator1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1524"] = "BLDC_controller.c:558,568,569";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1524"] = "BLDC_controller.c:561,571,572";
|
||||
/* <S14>/Relational
|
||||
Operator3 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1326"] = "BLDC_controller.c:559,568";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1326"] = "BLDC_controller.c:562,571";
|
||||
/* <S14>/Relational
|
||||
Operator4 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1327"] = "BLDC_controller.c:560,568";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1327"] = "BLDC_controller.c:563,571";
|
||||
/* <S14>/Scope2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:141"] = "msg=rtwMsg_reducedBlock&block=BLDCmotorControl_R2017b:2687:141";
|
||||
/* <S14>/Sign */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1525"] = "BLDC_controller.c:528,529,530,532,535";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1525"] = "BLDC_controller.c:531,532,533,535,538";
|
||||
/* <S14>/Sign1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1526"] = "BLDC_controller.c:537,540,541,543,546";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1526"] = "BLDC_controller.c:540,543,544,546,549";
|
||||
/* <S14>/Sum1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:142"] = "BLDC_controller.c:209,254,265,288,293,294,304,306";
|
||||
/* <S14>/UnitDelay1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1507"] = "BLDC_controller.c:212,259,266,644,645&BLDC_controller.h:47";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1507"] = "BLDC_controller.c:212,259,266,647,648&BLDC_controller.h:47";
|
||||
/* <S14>/dz_counter */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1518"] = "BLDC_controller.c:354,355,356,358,359,561,569&BLDC_controller.h:57,159,162&ert_main.c:68,73";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1518"] = "BLDC_controller.c:354,355,356,358,359,564,572&BLDC_controller.h:57,162,165&ert_main.c:73,78";
|
||||
/* <S14>/n_commDeacv */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1328"] = "BLDC_controller.c:336,337,338,340,341,562,569&BLDC_controller.h:56,144,147&ert_main.c:43,48";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1328"] = "BLDC_controller.c:336,337,338,340,341,565,572&BLDC_controller.h:56,144,147&ert_main.c:43,48";
|
||||
/* <S14>/r_commDCDeacv */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1329"] = "BLDC_controller.c:551,568&BLDC_controller.h:150&ert_main.c:53";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1329"] = "BLDC_controller.c:554,571&BLDC_controller.h:153&ert_main.c:58";
|
||||
/* <S15>/z_counterRawPrev */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1341"] = "BLDC_controller.c:207,259,264&BLDC_controller.h:44";
|
||||
/* <S15>/Action Port */
|
||||
@ -177,9 +183,11 @@ Operator4 */
|
||||
/* <S15>/Sum4 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1454"] = "BLDC_controller.c:261,269&BLDC_controller.h:45";
|
||||
/* <S15>/z_counter2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:169"] = "BLDC_controller.c:267,269,271,272,678,679&BLDC_controller.h:48";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:169"] = "BLDC_controller.c:267,269,271,272,682,683&BLDC_controller.h:48,170&ert_main.c:85";
|
||||
/* <S15>/z_counter */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1358"] = "BLDC_controller.c:681,682";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1358"] = "BLDC_controller.c:685,686&BLDC_controller.h:169&ert_main.c:84";
|
||||
/* <S16>/Abs5 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1672"] = "BLDC_controller.c:327,328,329,331,334";
|
||||
/* <S16>/Constant1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1637"] = "BLDC_controller.c:297,307";
|
||||
/* <S16>/Constant2 */
|
||||
@ -210,15 +218,15 @@ Operator5 */
|
||||
/* <S16>/Switch1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1638"] = "BLDC_controller.c:296,306,307,309,312";
|
||||
/* <S16>/UnitDelay2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1446"] = "BLDC_controller.c:322,324,647,648&BLDC_controller.h:40";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1446"] = "BLDC_controller.c:322,324,650,651&BLDC_controller.h:40";
|
||||
/* <S16>/cf_spdCoef */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1447"] = "BLDC_controller.c:298,309&BLDC_controller.h:138&ert_main.c:33";
|
||||
/* <S16>/cf_speedFilt */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1448"] = "BLDC_controller.c:317,324,325&BLDC_controller.h:141&ert_main.c:38";
|
||||
/* <S16>/z_maxCntRst */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1625"] = "BLDC_controller.c:299,306";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1625"] = "BLDC_controller.c:299,306&BLDC_controller.h:171&ert_main.c:86";
|
||||
/* <S17>/Constant1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1651:1616"] = "BLDC_controller.c:204,276,283,285";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1651:1616"] = "BLDC_controller.c:204,276,283,285&BLDC_controller.h:172&ert_main.c:87";
|
||||
/* <S17>/Constant23 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1651:1617"] = "BLDC_controller.c:205,254,263";
|
||||
/* <S17>/Relational
|
||||
@ -229,37 +237,37 @@ Operator1 */
|
||||
/* <S17>/Switch2 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1651:1620"] = "BLDC_controller.c:211,276,277,280,282,285";
|
||||
/* <S17>/UnitDelay1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1651:1621"] = "BLDC_controller.c:213,276,278,280,641,642,674,675&BLDC_controller.h:46";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:1651:1621"] = "BLDC_controller.c:213,276,278,280,644,645,678,679&BLDC_controller.h:46,173&ert_main.c:88";
|
||||
/* <S18>/Action Port */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:287"] = "BLDC_controller.c:458";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:287"] = "BLDC_controller.c:461";
|
||||
/* <S18>/a_trapElecAngle_XA */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:288"] = "BLDC_controller.c:460,461,462";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:288"] = "BLDC_controller.c:463,464,465";
|
||||
/* <S18>/r_trapPhaA_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:289"] = "BLDC_controller.c:464,465,466&BLDC_controller.h:63&BLDC_controller_data.c:29";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:289"] = "BLDC_controller.c:467,468,469&BLDC_controller.h:63&BLDC_controller_data.c:29";
|
||||
/* <S18>/r_trapPhaB_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:290"] = "BLDC_controller.c:468,469,470&BLDC_controller.h:68&BLDC_controller_data.c:34";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:290"] = "BLDC_controller.c:471,472,473&BLDC_controller.h:68&BLDC_controller_data.c:34";
|
||||
/* <S18>/r_trapPhaC_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:291"] = "BLDC_controller.c:472,473,474&BLDC_controller.h:73&BLDC_controller_data.c:39";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:291"] = "BLDC_controller.c:475,476,477&BLDC_controller.h:73&BLDC_controller_data.c:39";
|
||||
/* <S19>/Action Port */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:307"] = "BLDC_controller.c:481";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:307"] = "BLDC_controller.c:484";
|
||||
/* <S19>/a_sinElecAngle_XA */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:308"] = "BLDC_controller.c:483,484,485";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:308"] = "BLDC_controller.c:486,487,488";
|
||||
/* <S19>/r_sinPhaA_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:309"] = "BLDC_controller.c:487,488,489&BLDC_controller.h:78&BLDC_controller_data.c:44";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:309"] = "BLDC_controller.c:490,491,492&BLDC_controller.h:78&BLDC_controller_data.c:44";
|
||||
/* <S19>/r_sinPhaB_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:310"] = "BLDC_controller.c:491,492,493&BLDC_controller.h:83&BLDC_controller_data.c:51";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:310"] = "BLDC_controller.c:494,495,496&BLDC_controller.h:83&BLDC_controller_data.c:51";
|
||||
/* <S19>/r_sinPhaC_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:311"] = "BLDC_controller.c:495,496,497&BLDC_controller.h:88&BLDC_controller_data.c:58";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:311"] = "BLDC_controller.c:498,499,500&BLDC_controller.h:88&BLDC_controller_data.c:58";
|
||||
/* <S20>/Action Port */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:297"] = "BLDC_controller.c:504";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:297"] = "BLDC_controller.c:507";
|
||||
/* <S20>/a_sinElecAngle_XA */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:298"] = "BLDC_controller.c:506,507,508";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:298"] = "BLDC_controller.c:509,510,511";
|
||||
/* <S20>/r_sin3PhaA_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:299"] = "BLDC_controller.c:510,511,512&BLDC_controller.h:93&BLDC_controller_data.c:65";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:299"] = "BLDC_controller.c:513,514,515&BLDC_controller.h:93&BLDC_controller_data.c:65";
|
||||
/* <S20>/r_sin3PhaB_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:300"] = "BLDC_controller.c:514,515,516&BLDC_controller.h:98&BLDC_controller_data.c:72";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:300"] = "BLDC_controller.c:517,518,519&BLDC_controller.h:98&BLDC_controller_data.c:72";
|
||||
/* <S20>/r_sin3PhaC_M1 */
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:301"] = "BLDC_controller.c:518,519,520&BLDC_controller.h:103&BLDC_controller_data.c:79";
|
||||
this.urlHashMap["BLDCmotorControl_R2017b:2687:301"] = "BLDC_controller.c:521,522,523&BLDC_controller.h:103&BLDC_controller_data.c:79";
|
||||
this.getUrlHash = function(sid) { return this.urlHashMap[sid];}
|
||||
}
|
||||
RTW_Sid2UrlHash.instance = new RTW_Sid2UrlHash();
|
||||
@ -512,6 +520,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1666"] = {rtwname: "<S7>/From17"};
|
||||
this.rtwnameHashMap["<S7>/From18"] = {sid: "BLDCmotorControl_R2017b:2687:1382"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1382"] = {rtwname: "<S7>/From18"};
|
||||
this.rtwnameHashMap["<S7>/From19"] = {sid: "BLDCmotorControl_R2017b:2687:1678"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1678"] = {rtwname: "<S7>/From19"};
|
||||
this.rtwnameHashMap["<S7>/From2"] = {sid: "BLDCmotorControl_R2017b:2687:186"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:186"] = {rtwname: "<S7>/From2"};
|
||||
this.rtwnameHashMap["<S7>/From3"] = {sid: "BLDCmotorControl_R2017b:2687:187"};
|
||||
@ -538,6 +548,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:197"] = {rtwname: "<S7>/Goto1"};
|
||||
this.rtwnameHashMap["<S7>/Goto10"] = {sid: "BLDCmotorControl_R2017b:2687:1662"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1662"] = {rtwname: "<S7>/Goto10"};
|
||||
this.rtwnameHashMap["<S7>/Goto11"] = {sid: "BLDCmotorControl_R2017b:2687:1677"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1677"] = {rtwname: "<S7>/Goto11"};
|
||||
this.rtwnameHashMap["<S7>/Goto16"] = {sid: "BLDCmotorControl_R2017b:2687:198"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:198"] = {rtwname: "<S7>/Goto16"};
|
||||
this.rtwnameHashMap["<S7>/Goto18"] = {sid: "BLDCmotorControl_R2017b:2687:1376"};
|
||||
@ -574,6 +586,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1483"] = {rtwname: "<S7>/z_counter"};
|
||||
this.rtwnameHashMap["<S7>/z_counterRaw"] = {sid: "BLDCmotorControl_R2017b:2687:1484"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1484"] = {rtwname: "<S7>/z_counterRaw"};
|
||||
this.rtwnameHashMap["<S7>/n_motAbs"] = {sid: "BLDCmotorControl_R2017b:2687:1679"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1679"] = {rtwname: "<S7>/n_motAbs"};
|
||||
this.rtwnameHashMap["<S7>/b_advCtrlEna"] = {sid: "BLDCmotorControl_R2017b:2687:1383"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1383"] = {rtwname: "<S7>/b_advCtrlEna"};
|
||||
this.rtwnameHashMap["<S7>/n_mot "] = {sid: "BLDCmotorControl_R2017b:2687:212"};
|
||||
@ -588,6 +602,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1460"] = {rtwname: "<S8>/z_counter"};
|
||||
this.rtwnameHashMap["<S8>/z_counterRaw"] = {sid: "BLDCmotorControl_R2017b:2687:1461"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1461"] = {rtwname: "<S8>/z_counterRaw"};
|
||||
this.rtwnameHashMap["<S8>/n_motAbs"] = {sid: "BLDCmotorControl_R2017b:2687:1680"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1680"] = {rtwname: "<S8>/n_motAbs"};
|
||||
this.rtwnameHashMap["<S8>/Action Port"] = {sid: "BLDCmotorControl_R2017b:2687:221"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:221"] = {rtwname: "<S8>/Action Port"};
|
||||
this.rtwnameHashMap["<S8>/Constant16"] = {sid: "BLDCmotorControl_R2017b:2687:1464"};
|
||||
@ -598,6 +614,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1466"] = {rtwname: "<S8>/Divide4"};
|
||||
this.rtwnameHashMap["<S8>/Divide5"] = {sid: "BLDCmotorControl_R2017b:2687:1467"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1467"] = {rtwname: "<S8>/Divide5"};
|
||||
this.rtwnameHashMap["<S8>/From1"] = {sid: "BLDCmotorControl_R2017b:2687:1669"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1669"] = {rtwname: "<S8>/From1"};
|
||||
this.rtwnameHashMap["<S8>/From10"] = {sid: "BLDCmotorControl_R2017b:2687:231"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:231"] = {rtwname: "<S8>/From10"};
|
||||
this.rtwnameHashMap["<S8>/From11"] = {sid: "BLDCmotorControl_R2017b:2687:518"};
|
||||
@ -634,6 +652,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1462"] = {rtwname: "<S8>/Goto2"};
|
||||
this.rtwnameHashMap["<S8>/Goto3"] = {sid: "BLDCmotorControl_R2017b:2687:1463"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1463"] = {rtwname: "<S8>/Goto3"};
|
||||
this.rtwnameHashMap["<S8>/Goto4"] = {sid: "BLDCmotorControl_R2017b:2687:1681"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1681"] = {rtwname: "<S8>/Goto4"};
|
||||
this.rtwnameHashMap["<S8>/Goto5"] = {sid: "BLDCmotorControl_R2017b:2687:578"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:578"] = {rtwname: "<S8>/Goto5"};
|
||||
this.rtwnameHashMap["<S8>/Goto7"] = {sid: "BLDCmotorControl_R2017b:2687:1473"};
|
||||
@ -642,6 +662,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:536"] = {rtwname: "<S8>/Goto8"};
|
||||
this.rtwnameHashMap["<S8>/Goto9"] = {sid: "BLDCmotorControl_R2017b:2687:538"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:538"] = {rtwname: "<S8>/Goto9"};
|
||||
this.rtwnameHashMap["<S8>/Logical Operator2"] = {sid: "BLDCmotorControl_R2017b:2687:1668"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1668"] = {rtwname: "<S8>/Logical Operator2"};
|
||||
this.rtwnameHashMap["<S8>/Math Function"] = {sid: "BLDCmotorControl_R2017b:2687:623"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:623"] = {rtwname: "<S8>/Math Function"};
|
||||
this.rtwnameHashMap["<S8>/Mux"] = {sid: "BLDCmotorControl_R2017b:2687:258"};
|
||||
@ -650,6 +672,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:545"] = {rtwname: "<S8>/Product2"};
|
||||
this.rtwnameHashMap["<S8>/Product6"] = {sid: "BLDCmotorControl_R2017b:2687:1474"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1474"] = {rtwname: "<S8>/Product6"};
|
||||
this.rtwnameHashMap["<S8>/Relational Operator4"] = {sid: "BLDCmotorControl_R2017b:2687:1670"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1670"] = {rtwname: "<S8>/Relational Operator4"};
|
||||
this.rtwnameHashMap["<S8>/Relational Operator7"] = {sid: "BLDCmotorControl_R2017b:2687:1475"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1475"] = {rtwname: "<S8>/Relational Operator7"};
|
||||
this.rtwnameHashMap["<S8>/Scope"] = {sid: "BLDCmotorControl_R2017b:2687:262"};
|
||||
@ -672,6 +696,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:547"] = {rtwname: "<S8>/a_elecPeriod2"};
|
||||
this.rtwnameHashMap["<S8>/a_phaAdv_M2"] = {sid: "BLDCmotorControl_R2017b:2687:521"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:521"] = {rtwname: "<S8>/a_phaAdv_M2"};
|
||||
this.rtwnameHashMap["<S8>/n_motPhaAdvEna"] = {sid: "BLDCmotorControl_R2017b:2687:1671"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1671"] = {rtwname: "<S8>/n_motPhaAdvEna"};
|
||||
this.rtwnameHashMap["<S8>/r_phaAdvDC_XA"] = {sid: "BLDCmotorControl_R2017b:2687:522"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:522"] = {rtwname: "<S8>/r_phaAdvDC_XA"};
|
||||
this.rtwnameHashMap["<S8>/a_elecAngleAdv"] = {sid: "BLDCmotorControl_R2017b:2687:278"};
|
||||
@ -918,8 +944,6 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1629"] = {rtwname: "<S14>/z_dirPrev"};
|
||||
this.rtwnameHashMap["<S14>/Abs2"] = {sid: "BLDCmotorControl_R2017b:2687:1366"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1366"] = {rtwname: "<S14>/Abs2"};
|
||||
this.rtwnameHashMap["<S14>/Abs5"] = {sid: "BLDCmotorControl_R2017b:2687:1320"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1320"] = {rtwname: "<S14>/Abs5"};
|
||||
this.rtwnameHashMap["<S14>/CTRL_COMM"] = {sid: "BLDCmotorControl_R2017b:2687:1321"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1321"] = {rtwname: "<S14>/CTRL_COMM"};
|
||||
this.rtwnameHashMap["<S14>/Constant6"] = {sid: "BLDCmotorControl_R2017b:2687:64"};
|
||||
@ -952,6 +976,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1455"] = {rtwname: "<S14>/From19"};
|
||||
this.rtwnameHashMap["<S14>/From2"] = {sid: "BLDCmotorControl_R2017b:2687:1361"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1361"] = {rtwname: "<S14>/From2"};
|
||||
this.rtwnameHashMap["<S14>/From20"] = {sid: "BLDCmotorControl_R2017b:2687:1675"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1675"] = {rtwname: "<S14>/From20"};
|
||||
this.rtwnameHashMap["<S14>/From29"] = {sid: "BLDCmotorControl_R2017b:2687:1323"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1323"] = {rtwname: "<S14>/From29"};
|
||||
this.rtwnameHashMap["<S14>/From3"] = {sid: "BLDCmotorControl_R2017b:2687:1517"};
|
||||
@ -990,6 +1016,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1630"] = {rtwname: "<S14>/Goto2"};
|
||||
this.rtwnameHashMap["<S14>/Goto22"] = {sid: "BLDCmotorControl_R2017b:2687:106"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:106"] = {rtwname: "<S14>/Goto22"};
|
||||
this.rtwnameHashMap["<S14>/Goto3"] = {sid: "BLDCmotorControl_R2017b:2687:1674"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1674"] = {rtwname: "<S14>/Goto3"};
|
||||
this.rtwnameHashMap["<S14>/Goto5"] = {sid: "BLDCmotorControl_R2017b:2687:786"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:786"] = {rtwname: "<S14>/Goto5"};
|
||||
this.rtwnameHashMap["<S14>/Goto6"] = {sid: "BLDCmotorControl_R2017b:2687:1400"};
|
||||
@ -1034,6 +1062,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1651"] = {rtwname: "<S14>/rst_DelayLim"};
|
||||
this.rtwnameHashMap["<S14>/n_mot"] = {sid: "BLDCmotorControl_R2017b:2687:173"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:173"] = {rtwname: "<S14>/n_mot"};
|
||||
this.rtwnameHashMap["<S14>/n_motAbs"] = {sid: "BLDCmotorControl_R2017b:2687:1676"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1676"] = {rtwname: "<S14>/n_motAbs"};
|
||||
this.rtwnameHashMap["<S14>/b_advCtrlEna"] = {sid: "BLDCmotorControl_R2017b:2687:1381"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1381"] = {rtwname: "<S14>/b_advCtrlEna"};
|
||||
this.rtwnameHashMap["<S14>/z_counter"] = {sid: "BLDCmotorControl_R2017b:2687:1487"};
|
||||
@ -1060,6 +1090,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1430"] = {rtwname: "<S16>/z_counter"};
|
||||
this.rtwnameHashMap["<S16>/z_counterRaw"] = {sid: "BLDCmotorControl_R2017b:2687:1639"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1639"] = {rtwname: "<S16>/z_counterRaw"};
|
||||
this.rtwnameHashMap["<S16>/Abs5"] = {sid: "BLDCmotorControl_R2017b:2687:1672"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1672"] = {rtwname: "<S16>/Abs5"};
|
||||
this.rtwnameHashMap["<S16>/Constant1"] = {sid: "BLDCmotorControl_R2017b:2687:1637"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1637"] = {rtwname: "<S16>/Constant1"};
|
||||
this.rtwnameHashMap["<S16>/Constant2"] = {sid: "BLDCmotorControl_R2017b:2687:1433"};
|
||||
@ -1120,6 +1152,8 @@ function RTW_rtwnameSIDMap() {
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1450"] = {rtwname: "<S16>/n_motRaw"};
|
||||
this.rtwnameHashMap["<S16>/n_mot"] = {sid: "BLDCmotorControl_R2017b:2687:1451"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1451"] = {rtwname: "<S16>/n_mot"};
|
||||
this.rtwnameHashMap["<S16>/n_motAbs"] = {sid: "BLDCmotorControl_R2017b:2687:1673"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1673"] = {rtwname: "<S16>/n_motAbs"};
|
||||
this.rtwnameHashMap["<S17>/u"] = {sid: "BLDCmotorControl_R2017b:2687:1651:1614"};
|
||||
this.sidHashMap["BLDCmotorControl_R2017b:2687:1651:1614"] = {rtwname: "<S17>/u"};
|
||||
this.rtwnameHashMap["<S17>/rst"] = {sid: "BLDCmotorControl_R2017b:2687:1651:1615"};
|
||||
|
@ -3,22 +3,22 @@ this.def = new Array();
|
||||
this.def["rtM_"] = {file: "ert_main_c.html",line:29,type:"var"};
|
||||
this.def["rtMPtr"] = {file: "ert_main_c.html",line:30,type:"var"};
|
||||
this.def["rtP"] = {file: "ert_main_c.html",line:31,type:"var"};
|
||||
this.def["rtDW"] = {file: "ert_main_c.html",line:88,type:"var"};
|
||||
this.def["rtU"] = {file: "ert_main_c.html",line:89,type:"var"};
|
||||
this.def["rtY"] = {file: "ert_main_c.html",line:90,type:"var"};
|
||||
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:104,type:"fcn"};
|
||||
this.def["main"] = {file: "ert_main_c.html",line:140,type:"fcn"};
|
||||
this.def["rtDW"] = {file: "ert_main_c.html",line:103,type:"var"};
|
||||
this.def["rtU"] = {file: "ert_main_c.html",line:104,type:"var"};
|
||||
this.def["rtY"] = {file: "ert_main_c.html",line:105,type:"var"};
|
||||
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:119,type:"fcn"};
|
||||
this.def["main"] = {file: "ert_main_c.html",line:155,type:"fcn"};
|
||||
this.def["plook_u8s32u32n31_evenc_s"] = {file: "BLDC_controller_c.html",line:93,type:"fcn"};
|
||||
this.def["intrp1d_s16s32s32u8u32n31l_s"] = {file: "BLDC_controller_c.html",line:127,type:"fcn"};
|
||||
this.def["div_nde_s32_floor"] = {file: "BLDC_controller_c.html",line:143,type:"fcn"};
|
||||
this.def["BLDC_controller_step"] = {file: "BLDC_controller_c.html",line:150,type:"fcn"};
|
||||
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:663,type:"fcn"};
|
||||
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:666,type:"fcn"};
|
||||
this.def["RT_MODEL"] = {file: "BLDC_controller_h.html",line:35,type:"type"};
|
||||
this.def["DW"] = {file: "BLDC_controller_h.html",line:58,type:"type"};
|
||||
this.def["ConstP"] = {file: "BLDC_controller_h.html",line:116,type:"type"};
|
||||
this.def["ExtU"] = {file: "BLDC_controller_h.html",line:124,type:"type"};
|
||||
this.def["ExtY"] = {file: "BLDC_controller_h.html",line:133,type:"type"};
|
||||
this.def["P"] = {file: "BLDC_controller_h.html",line:173,type:"type"};
|
||||
this.def["P"] = {file: "BLDC_controller_h.html",line:184,type:"type"};
|
||||
this.def["rtConstP"] = {file: "BLDC_controller_data_c.html",line:27,type:"var"};
|
||||
this.def["int8_T"] = {file: "rtwtypes_h.html",line:55,type:"type"};
|
||||
this.def["uint8_T"] = {file: "rtwtypes_h.html",line:56,type:"type"};
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.879</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.883</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Thu Jun 6 22:50:24 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue Jun 11 21:14:57 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
@ -63,142 +63,157 @@
|
||||
</span><span><a class="LN" name="49"> 49 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a> 30,
|
||||
</span><span><a class="LN" name="51"> 51 </a>
|
||||
</span><span><a class="LN" name="52"> 52 </a> <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="52"> 52 </a> <span class="CT">/* Variable: n_motPhaAdvEna</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1671')" name="code2model"><font color="#117755"><i><S8>/n_motPhaAdvEna</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="55"> 55 </a> 70,
|
||||
</span><span><a class="LN" name="55"> 55 </a> 400,
|
||||
</span><span><a class="LN" name="56"> 56 </a>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1329')" name="code2model"><font color="#117755"><i><S14>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <b>{</b> 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="60"> 60 </a> 70,
|
||||
</span><span><a class="LN" name="61"> 61 </a>
|
||||
</span><span><a class="LN" name="62"> 62 </a> <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="62"> 62 </a> <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:522')" name="code2model"><font color="#117755"><i><S8>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a> <b>{</b> 0, 0, 0, 0, 0, 2, 3, 5, 9, 16, 25 <b>}</b>,
|
||||
</span><span><a class="LN" name="65"> 65 </a> <b>{</b> 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="66"> 66 </a>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <span class="CT">/* Variable: dz_counterHi</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:521')" name="code2model"><font color="#117755"><i><S8>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a> 50,
|
||||
</span><span><a class="LN" name="70"> 70 </a> <b>{</b> 0, 0, 0, 0, 0, 2, 3, 5, 9, 16, 25 <b>}</b>,
|
||||
</span><span><a class="LN" name="71"> 71 </a>
|
||||
</span><span><a class="LN" name="72"> 72 </a> <span class="CT">/* Variable: dz_counterLo</span>
|
||||
</span><span><a class="LN" name="72"> 72 </a> <span class="CT">/* Variable: dz_counterHi</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a> 20,
|
||||
</span><span><a class="LN" name="75"> 75 </a> 50,
|
||||
</span><span><a class="LN" name="76"> 76 </a>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <span class="CT">/* Variable: dz_counterLo</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1518')" name="code2model"><font color="#117755"><i><S14>/dz_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a> 3U,
|
||||
</span><span><a class="LN" name="80"> 80 </a> 20,
|
||||
</span><span><a class="LN" name="81"> 81 </a>
|
||||
</span><span><a class="LN" name="82"> 82 </a> <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> 1
|
||||
</span><span><a class="LN" name="86"> 86 </a><b>}</b>; <span class="CT">/* Modifiable parameters */</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> <a name="var_rtDW">rtDW</a>; <span class="CT">/* Observable states */</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> <a name="var_rtU">rtU</a>; <span class="CT">/* External inputs */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> <a name="var_rtY">rtY</a>; <span class="CT">/* External outputs */</span>
|
||||
</span><span><a class="LN" name="82"> 82 </a> <span class="CT">/* Variable: z_maxCntRst</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1358')" name="code2model"><font color="#117755"><i><S15>/z_counter</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:169')" name="code2model"><font color="#117755"><i><S15>/z_counter2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="86"> 86 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1625')" name="code2model"><font color="#117755"><i><S16>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1616')" name="code2model"><font color="#117755"><i><S17>/Constant1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:1651:1621')" name="code2model"><font color="#117755"><i><S17>/UnitDelay1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a> 1500,
|
||||
</span><span><a class="LN" name="91"> 91 </a>
|
||||
</span><span><a class="LN" name="92"> 92 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a><span class="CT"> * Associating rt_OneStep with a real-time clock or interrupt service routine</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a><span class="CT"> * is what makes the generated code "real-time". The function rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a><span class="CT"> * always associated with the base rate of the model. Subrates are managed</span>
|
||||
</span><span><a class="LN" name="96"> 96 </a><span class="CT"> * by the base rate from inside the generated code. Enabling/disabling</span>
|
||||
</span><span><a class="LN" name="97"> 97 </a><span class="CT"> * interrupts and floating point context switches are target specific. This</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a><span class="CT"> * example code indicates where these should take place relative to executing</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a><span class="CT"> * the generated code step function. Overrun behavior should be tailored to</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a><span class="CT"> * your application needs. This example simply sets an error status in the</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a><span class="CT"> * real-time model and returns from rt_OneStep.</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="DT">void</span> <a href="#fcn_rt_OneStep" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_rt_OneStep');" target="_self"><font color="#1122aa">rt_OneStep</font></a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="104"> 104 </a><span class="DT">void</span> <a name="fcn_rt_OneStep">rt_OneStep</a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM)
|
||||
</span><span><a class="LN" name="105"> 105 </a><b>{</b>
|
||||
</span><span><a class="LN" name="106"> 106 </a> <span class="DT">static</span> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="107"> 107 </a>
|
||||
</span><span><a class="LN" name="108"> 108 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a>
|
||||
</span><span><a class="LN" name="110"> 110 </a> <span class="CT">/* Check for overrun */</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a> <span class="KW">if</span> (OverrunFlag) <b>{</b>
|
||||
</span><span><a class="LN" name="112"> 112 </a> <span class="KW">return</span>;
|
||||
</span><span><a class="LN" name="113"> 113 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="114"> 114 </a>
|
||||
</span><span><a class="LN" name="115"> 115 </a> OverrunFlag = true;
|
||||
</span><span><a class="LN" name="116"> 116 </a>
|
||||
</span><span><a class="LN" name="117"> 117 </a> <span class="CT">/* Save FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="118"> 118 </a> <span class="CT">/* Re-enable timer or interrupt here */</span>
|
||||
</span><span><a class="LN" name="119"> 119 </a> <span class="CT">/* Set model inputs here */</span>
|
||||
</span><span><a class="LN" name="120"> 120 </a>
|
||||
</span><span><a class="LN" name="121"> 121 </a> <span class="CT">/* Step the model */</span>
|
||||
</span><span><a class="LN" name="122"> 122 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(rtM);
|
||||
</span><span><a class="LN" name="123"> 123 </a>
|
||||
</span><span><a class="LN" name="124"> 124 </a> <span class="CT">/* Get model outputs here */</span>
|
||||
</span><span><a class="LN" name="125"> 125 </a>
|
||||
</span><span><a class="LN" name="126"> 126 </a> <span class="CT">/* Indicate task complete */</span>
|
||||
</span><span><a class="LN" name="127"> 127 </a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="128"> 128 </a>
|
||||
</span><span><a class="LN" name="129"> 129 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="130"> 130 </a> <span class="CT">/* Restore FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="131"> 131 </a> <span class="CT">/* Enable interrupts here */</span>
|
||||
</span><span><a class="LN" name="132"> 132 </a><b>}</b>
|
||||
</span><span><a class="LN" name="133"> 133 </a>
|
||||
</span><span><a class="LN" name="134"> 134 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="135"> 135 </a><span class="CT"> * The example "main" function illustrates what is required by your</span>
|
||||
</span><span><a class="LN" name="136"> 136 </a><span class="CT"> * application code to initialize, execute, and terminate the generated code.</span>
|
||||
</span><span><a class="LN" name="137"> 137 </a><span class="CT"> * Attaching rt_OneStep to a real-time clock is target specific. This example</span>
|
||||
</span><span><a class="LN" name="138"> 138 </a><span class="CT"> * illustrates how you do this relative to initializing the model.</span>
|
||||
</span><span><a class="LN" name="139"> 139 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a><a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> <a name="fcn_main">main</a>(<a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> argc, <span class="DT">const</span> <span class="DT">char</span> *argv[])
|
||||
</span><span><a class="LN" name="141"> 141 </a><b>{</b>
|
||||
</span><span><a class="LN" name="142"> 142 </a> <a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM = <a href="#var_rtMPtr" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtMPtr');" target="_self"><font color="#1122aa">rtMPtr</font></a>;
|
||||
</span><span><a class="LN" name="92"> 92 </a> <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:208')" name="code2model"><font color="#117755"><i><S7>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a> 3U,
|
||||
</span><span><a class="LN" name="96"> 96 </a>
|
||||
</span><span><a class="LN" name="97"> 97 </a> <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a><span class="CT"> * Referenced by: '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2687:512')" name="code2model"><font color="#117755"><i><S8>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a> 1
|
||||
</span><span><a class="LN" name="101"> 101 </a><b>}</b>; <span class="CT">/* Modifiable parameters */</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> <a name="var_rtDW">rtDW</a>; <span class="CT">/* Observable states */</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> <a name="var_rtU">rtU</a>; <span class="CT">/* External inputs */</span>
|
||||
</span><span><a class="LN" name="105"> 105 </a><span class="DT">static</span> <a href="BLDC_controller_h.html#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> <a name="var_rtY">rtY</a>; <span class="CT">/* External outputs */</span>
|
||||
</span><span><a class="LN" name="106"> 106 </a>
|
||||
</span><span><a class="LN" name="107"> 107 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a><span class="CT"> * Associating rt_OneStep with a real-time clock or interrupt service routine</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a><span class="CT"> * is what makes the generated code "real-time". The function rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="110"> 110 </a><span class="CT"> * always associated with the base rate of the model. Subrates are managed</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a><span class="CT"> * by the base rate from inside the generated code. Enabling/disabling</span>
|
||||
</span><span><a class="LN" name="112"> 112 </a><span class="CT"> * interrupts and floating point context switches are target specific. This</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT"> * example code indicates where these should take place relative to executing</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a><span class="CT"> * the generated code step function. Overrun behavior should be tailored to</span>
|
||||
</span><span><a class="LN" name="115"> 115 </a><span class="CT"> * your application needs. This example simply sets an error status in the</span>
|
||||
</span><span><a class="LN" name="116"> 116 </a><span class="CT"> * real-time model and returns from rt_OneStep.</span>
|
||||
</span><span><a class="LN" name="117"> 117 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="118"> 118 </a><span class="DT">void</span> <a href="#fcn_rt_OneStep" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_rt_OneStep');" target="_self"><font color="#1122aa">rt_OneStep</font></a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM);
|
||||
</span><span><a class="LN" name="119"> 119 </a><span class="DT">void</span> <a name="fcn_rt_OneStep">rt_OneStep</a>(<a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM)
|
||||
</span><span><a class="LN" name="120"> 120 </a><b>{</b>
|
||||
</span><span><a class="LN" name="121"> 121 </a> <span class="DT">static</span> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="122"> 122 </a>
|
||||
</span><span><a class="LN" name="123"> 123 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="124"> 124 </a>
|
||||
</span><span><a class="LN" name="125"> 125 </a> <span class="CT">/* Check for overrun */</span>
|
||||
</span><span><a class="LN" name="126"> 126 </a> <span class="KW">if</span> (OverrunFlag) <b>{</b>
|
||||
</span><span><a class="LN" name="127"> 127 </a> <span class="KW">return</span>;
|
||||
</span><span><a class="LN" name="128"> 128 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="129"> 129 </a>
|
||||
</span><span><a class="LN" name="130"> 130 </a> OverrunFlag = true;
|
||||
</span><span><a class="LN" name="131"> 131 </a>
|
||||
</span><span><a class="LN" name="132"> 132 </a> <span class="CT">/* Save FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="133"> 133 </a> <span class="CT">/* Re-enable timer or interrupt here */</span>
|
||||
</span><span><a class="LN" name="134"> 134 </a> <span class="CT">/* Set model inputs here */</span>
|
||||
</span><span><a class="LN" name="135"> 135 </a>
|
||||
</span><span><a class="LN" name="136"> 136 </a> <span class="CT">/* Step the model */</span>
|
||||
</span><span><a class="LN" name="137"> 137 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(rtM);
|
||||
</span><span><a class="LN" name="138"> 138 </a>
|
||||
</span><span><a class="LN" name="139"> 139 </a> <span class="CT">/* Get model outputs here */</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a>
|
||||
</span><span><a class="LN" name="141"> 141 </a> <span class="CT">/* Indicate task complete */</span>
|
||||
</span><span><a class="LN" name="142"> 142 </a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="143"> 143 </a>
|
||||
</span><span><a class="LN" name="144"> 144 </a> <span class="CT">/* Unused arguments */</span>
|
||||
</span><span><a class="LN" name="145"> 145 </a> (<span class="DT">void</span>)(argc);
|
||||
</span><span><a class="LN" name="146"> 146 </a> (<span class="DT">void</span>)(argv);
|
||||
</span><span><a class="LN" name="147"> 147 </a>
|
||||
</span><span><a class="LN" name="148"> 148 </a> <span class="CT">/* Pack model data into RTM */</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a> rtM->defaultParam = &<a href="#var_rtP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtP');" target="_self"><font color="#1122aa">rtP</font></a>;
|
||||
</span><span><a class="LN" name="150"> 150 </a> rtM->dwork = &<a href="#var_rtDW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtDW');" target="_self"><font color="#1122aa">rtDW</font></a>;
|
||||
</span><span><a class="LN" name="151"> 151 </a> rtM->inputs = &<a href="#var_rtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtU');" target="_self"><font color="#1122aa">rtU</font></a>;
|
||||
</span><span><a class="LN" name="152"> 152 </a> rtM->outputs = &<a href="#var_rtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtY');" target="_self"><font color="#1122aa">rtY</font></a>;
|
||||
</span><span><a class="LN" name="153"> 153 </a>
|
||||
</span><span><a class="LN" name="154"> 154 </a> <span class="CT">/* Initialize model */</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(rtM);
|
||||
</span><span><a class="LN" name="156"> 156 </a>
|
||||
</span><span><a class="LN" name="157"> 157 </a> <span class="CT">/* Attach rt_OneStep to a timer or interrupt service routine with</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a><span class="CT"> * period 6.0E-5 seconds (the model's base sample time) here. The</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * call syntax for rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a><span class="CT"> * rt_OneStep(rtM);</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="163"> 163 </a> printf(<font color="#1122ff">"Warning: The simulation will run forever. "</font>
|
||||
</span><span><a class="LN" name="164"> 164 </a> <font color="#1122ff">"Generated ERT main won't simulate model step behavior. "</font>
|
||||
</span><span><a class="LN" name="165"> 165 </a> <font color="#1122ff">"To change this behavior select the 'MAT-file logging' option.\n"</font>);
|
||||
</span><span><a class="LN" name="166"> 166 </a> fflush((NULL));
|
||||
</span><span><a class="LN" name="167"> 167 </a> <span class="KW">while</span> (1) <b>{</b>
|
||||
</span><span><a class="LN" name="168"> 168 </a> <span class="CT">/* Perform other application tasks here */</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="170"> 170 </a>
|
||||
</span><span><a class="LN" name="171"> 171 </a> <span class="CT">/* The option 'Remove error status field in real-time model data structure'</span>
|
||||
</span><span><a class="LN" name="172"> 172 </a><span class="CT"> * is selected, therefore the following code does not need to execute.</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="174"> 174 </a><font color="#992211">#</font><span class="PP">if</span> 0
|
||||
</span><span><a class="LN" name="175"> 175 </a>
|
||||
</span><span><a class="LN" name="176"> 176 </a> <span class="CT">/* Disable rt_OneStep() here */</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><font color="#992211">#</font><span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a>
|
||||
</span><span><a class="LN" name="179"> 179 </a> <span class="KW">return</span> 0;
|
||||
</span><span><a class="LN" name="180"> 180 </a><b>}</b>
|
||||
</span><span><a class="LN" name="181"> 181 </a>
|
||||
</span><span><a class="LN" name="182"> 182 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="183"> 183 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="185"> 185 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a>
|
||||
</span><span><a class="LN" name="144"> 144 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="145"> 145 </a> <span class="CT">/* Restore FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="146"> 146 </a> <span class="CT">/* Enable interrupts here */</span>
|
||||
</span><span><a class="LN" name="147"> 147 </a><b>}</b>
|
||||
</span><span><a class="LN" name="148"> 148 </a>
|
||||
</span><span><a class="LN" name="149"> 149 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * The example "main" function illustrates what is required by your</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a><span class="CT"> * application code to initialize, execute, and terminate the generated code.</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a><span class="CT"> * Attaching rt_OneStep to a real-time clock is target specific. This example</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a><span class="CT"> * illustrates how you do this relative to initializing the model.</span>
|
||||
</span><span><a class="LN" name="154"> 154 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a><a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> <a name="fcn_main">main</a>(<a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> argc, <span class="DT">const</span> <span class="DT">char</span> *argv[])
|
||||
</span><span><a class="LN" name="156"> 156 </a><b>{</b>
|
||||
</span><span><a class="LN" name="157"> 157 </a> <a href="BLDC_controller_h.html#type_RT_MODEL" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL');" target="_self"><font color="#1122aa">RT_MODEL</font></a> *<span class="DT">const</span> rtM = <a href="#var_rtMPtr" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtMPtr');" target="_self"><font color="#1122aa">rtMPtr</font></a>;
|
||||
</span><span><a class="LN" name="158"> 158 </a>
|
||||
</span><span><a class="LN" name="159"> 159 </a> <span class="CT">/* Unused arguments */</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a> (<span class="DT">void</span>)(argc);
|
||||
</span><span><a class="LN" name="161"> 161 </a> (<span class="DT">void</span>)(argv);
|
||||
</span><span><a class="LN" name="162"> 162 </a>
|
||||
</span><span><a class="LN" name="163"> 163 </a> <span class="CT">/* Pack model data into RTM */</span>
|
||||
</span><span><a class="LN" name="164"> 164 </a> rtM->defaultParam = &<a href="#var_rtP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtP');" target="_self"><font color="#1122aa">rtP</font></a>;
|
||||
</span><span><a class="LN" name="165"> 165 </a> rtM->dwork = &<a href="#var_rtDW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtDW');" target="_self"><font color="#1122aa">rtDW</font></a>;
|
||||
</span><span><a class="LN" name="166"> 166 </a> rtM->inputs = &<a href="#var_rtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtU');" target="_self"><font color="#1122aa">rtU</font></a>;
|
||||
</span><span><a class="LN" name="167"> 167 </a> rtM->outputs = &<a href="#var_rtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtY');" target="_self"><font color="#1122aa">rtY</font></a>;
|
||||
</span><span><a class="LN" name="168"> 168 </a>
|
||||
</span><span><a class="LN" name="169"> 169 </a> <span class="CT">/* Initialize model */</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(rtM);
|
||||
</span><span><a class="LN" name="171"> 171 </a>
|
||||
</span><span><a class="LN" name="172"> 172 </a> <span class="CT">/* Attach rt_OneStep to a timer or interrupt service routine with</span>
|
||||
</span><span><a class="LN" name="173"> 173 </a><span class="CT"> * period 6.0E-5 seconds (the model's base sample time) here. The</span>
|
||||
</span><span><a class="LN" name="174"> 174 </a><span class="CT"> * call syntax for rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="175"> 175 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="176"> 176 </a><span class="CT"> * rt_OneStep(rtM);</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a> printf(<font color="#1122ff">"Warning: The simulation will run forever. "</font>
|
||||
</span><span><a class="LN" name="179"> 179 </a> <font color="#1122ff">"Generated ERT main won't simulate model step behavior. "</font>
|
||||
</span><span><a class="LN" name="180"> 180 </a> <font color="#1122ff">"To change this behavior select the 'MAT-file logging' option.\n"</font>);
|
||||
</span><span><a class="LN" name="181"> 181 </a> fflush((NULL));
|
||||
</span><span><a class="LN" name="182"> 182 </a> <span class="KW">while</span> (1) <b>{</b>
|
||||
</span><span><a class="LN" name="183"> 183 </a> <span class="CT">/* Perform other application tasks here */</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="185"> 185 </a>
|
||||
</span><span><a class="LN" name="186"> 186 </a> <span class="CT">/* The option 'Remove error status field in real-time model data structure'</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="CT"> * is selected, therefore the following code does not need to execute.</span>
|
||||
</span><span><a class="LN" name="188"> 188 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="189"> 189 </a><font color="#992211">#</font><span class="PP">if</span> 0
|
||||
</span><span><a class="LN" name="190"> 190 </a>
|
||||
</span><span><a class="LN" name="191"> 191 </a> <span class="CT">/* Disable rt_OneStep() here */</span>
|
||||
</span><span><a class="LN" name="192"> 192 </a><font color="#992211">#</font><span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="193"> 193 </a>
|
||||
</span><span><a class="LN" name="194"> 194 </a> <span class="KW">return</span> 0;
|
||||
</span><span><a class="LN" name="195"> 195 </a><b>}</b>
|
||||
</span><span><a class="LN" name="196"> 196 </a>
|
||||
</span><span><a class="LN" name="197"> 197 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="198"> 198 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="199"> 199 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="200"> 200 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
|
@ -3,8 +3,8 @@ function CodeMetrics() {
|
||||
this.metricsArray.var = new Array();
|
||||
this.metricsArray.fcn = new Array();
|
||||
this.metricsArray.fcn["BLDC_controller_initialize"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 8,
|
||||
stackTotal: 8};
|
||||
stack: 16,
|
||||
stackTotal: 16};
|
||||
this.metricsArray.fcn["BLDC_controller_step"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 60,
|
||||
stackTotal: 69};
|
||||
|
@ -21,9 +21,9 @@
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.879</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.883</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Thu Jun 6 22:50:24 2019</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Tue Jun 11 21:14:57 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
|
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:44 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:18 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:18 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:18 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:18 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -513,39 +513,87 @@
|
||||
"parent":"BLDCmotorControl_R2017b:2687:10",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"NumberOfDimensions",
|
||||
"IndexMode",
|
||||
"IndexOptionArray",
|
||||
"IndexOptions",
|
||||
"IndexParamArray",
|
||||
"Indices",
|
||||
"InputPortWidth",
|
||||
"NumberOfDimensions",
|
||||
"OutputSizeArray",
|
||||
"OutputSizes",
|
||||
"SampleTime"
|
||||
"InputPortWidth",
|
||||
"SampleTime",
|
||||
"IndexOptions",
|
||||
"NumberOfDimensions",
|
||||
"IndexMode",
|
||||
"IndexOptionArray",
|
||||
"IndexParamArray",
|
||||
"OutputSizeArray",
|
||||
"InputPortWidth",
|
||||
"SampleTime",
|
||||
"IndexOptions",
|
||||
"NumberOfDimensions",
|
||||
"IndexMode",
|
||||
"IndexOptionArray",
|
||||
"IndexParamArray",
|
||||
"OutputSizeArray",
|
||||
"InputPortWidth",
|
||||
"SampleTime",
|
||||
"IndexOptions",
|
||||
"Indices",
|
||||
"OutputSizes"
|
||||
],
|
||||
"values":[
|
||||
"1",
|
||||
"Zero-based",
|
||||
[
|
||||
"Index vector (port)"
|
||||
],
|
||||
"Index vector (port)",
|
||||
[
|
||||
"[1 3]"
|
||||
],
|
||||
"[1 3]",
|
||||
"length(vec_hallToPos)",
|
||||
"1",
|
||||
[
|
||||
"1"
|
||||
],
|
||||
"length(vec_hallToPos)",
|
||||
"-1",
|
||||
"Index vector (port)",
|
||||
"1",
|
||||
"-1"
|
||||
"Zero-based",
|
||||
[
|
||||
"Index vector (port)"
|
||||
],
|
||||
[
|
||||
"[1 3]"
|
||||
],
|
||||
[
|
||||
"1"
|
||||
],
|
||||
"length(vec_hallToPos)",
|
||||
"-1",
|
||||
"Index vector (port)",
|
||||
"1",
|
||||
"Zero-based",
|
||||
[
|
||||
"Index vector (port)"
|
||||
],
|
||||
[
|
||||
"[1 3]"
|
||||
],
|
||||
[
|
||||
"1"
|
||||
],
|
||||
"length(vec_hallToPos)",
|
||||
"-1",
|
||||
"Index vector (port)",
|
||||
"[1 3]",
|
||||
"1"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
"Parameter Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":0
|
||||
"tabs_idx":[
|
||||
0,
|
||||
24
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
|
@ -700,5 +700,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:38 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:12 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
@ -79,6 +79,142 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:169",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"z_counter2",
|
||||
"label":"z_counter2",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1340",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"z_maxCntRst",
|
||||
"Elements as channels (sample based)",
|
||||
"-1",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1454",
|
||||
"className":"Simulink.Sum",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Sum4",
|
||||
"label":"Sum4",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1340",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"AccumDataTypeStr",
|
||||
"OutDataTypeStr",
|
||||
"CollapseDim",
|
||||
"CollapseMode",
|
||||
"IconShape",
|
||||
"InputSameDT",
|
||||
"Inputs",
|
||||
"LockScale",
|
||||
"OutMax",
|
||||
"OutMin",
|
||||
"RndMeth",
|
||||
"SampleTime",
|
||||
"SaturateOnIntegerOverflow"
|
||||
],
|
||||
"values":[
|
||||
"Inherit: Same as first input",
|
||||
"Inherit: Same as first input",
|
||||
"1",
|
||||
"All dimensions",
|
||||
"rectangular",
|
||||
"on",
|
||||
"+-",
|
||||
"off",
|
||||
"[]",
|
||||
"[]",
|
||||
"Simplest",
|
||||
"-1",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Sum",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1344",
|
||||
"className":"Simulink.ActionPort",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Action Port",
|
||||
"label":"Action Port",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1340",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitializeStates",
|
||||
"PropagateVarSize"
|
||||
],
|
||||
"values":[
|
||||
"held",
|
||||
"Only when execution is resumed"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"ActionPort",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1358",
|
||||
"className":"Simulink.Outport",
|
||||
@ -159,85 +295,6 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:169",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"z_counter2",
|
||||
"label":"z_counter2",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1340",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"z_maxCntRst",
|
||||
"Elements as channels (sample based)",
|
||||
"-1",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1344",
|
||||
"className":"Simulink.ActionPort",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Action Port",
|
||||
"label":"Action Port",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1340",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitializeStates",
|
||||
"PropagateVarSize"
|
||||
],
|
||||
"values":[
|
||||
"held",
|
||||
"Only when execution is resumed"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"ActionPort",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1341",
|
||||
"className":"Simulink.Inport",
|
||||
@ -305,63 +362,6 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1454",
|
||||
"className":"Simulink.Sum",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Sum4",
|
||||
"label":"Sum4",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1340",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"AccumDataTypeStr",
|
||||
"OutDataTypeStr",
|
||||
"CollapseDim",
|
||||
"CollapseMode",
|
||||
"IconShape",
|
||||
"InputSameDT",
|
||||
"Inputs",
|
||||
"LockScale",
|
||||
"OutMax",
|
||||
"OutMin",
|
||||
"RndMeth",
|
||||
"SampleTime",
|
||||
"SaturateOnIntegerOverflow"
|
||||
],
|
||||
"values":[
|
||||
"Inherit: Same as first input",
|
||||
"Inherit: Same as first input",
|
||||
"1",
|
||||
"All dimensions",
|
||||
"rectangular",
|
||||
"on",
|
||||
"+-",
|
||||
"off",
|
||||
"[]",
|
||||
"[]",
|
||||
"Simplest",
|
||||
"-1",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Sum",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1341#out:1",
|
||||
"className":"Simulink.Line",
|
||||
|
@ -59,54 +59,6 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1358">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,349,102)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#e60000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,350,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip5">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip5)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,365,110)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,350,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,365,119)">
|
||||
<path d="M-23.4141,0 L23.4141,0 L23.4141,14 L-23.4141,14 L-23.4141,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip6">
|
||||
<path d="M-294.758,-101 L49.6016,-101 L49.6016,73 L-294.758,73 L-294.758,-101 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip6)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,341.586,119)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="43.8281" x="1.5" xml:space="preserve" y="10">z_counter</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:169">
|
||||
@ -119,35 +71,35 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip8">
|
||||
<clipPath id="clip5">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip8)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,180,163)">
|
||||
<g clip-path="url(#clip5)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,180,163)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip14">
|
||||
<clipPath id="clip11">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip14)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,188.5,173.5)">
|
||||
<g clip-path="url(#clip11)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,188.5,173.5)">
|
||||
<path d="M-1,2 L6,2 L6,3 L-1,3 L-1,2 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip15">
|
||||
<clipPath id="clip12">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip15)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,188.5,173.5)">
|
||||
<g clip-path="url(#clip12)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,188.5,173.5)">
|
||||
<path d="M4.125,-2 L4.125,-2.1875 C3.14062,-2.1875 2.89062,-2.42188 2.89062,-2.98438 L2.89062,-10.75 L2.76562,-10.7812 L0.4375,-9.60938 L0.4375,-9.42188 L0.796875,-9.54688 C1.03125,-9.64062 1.25,-9.70312 1.375,-9.70312 C1.65625,-9.70312 1.76562,-9.51562 1.76562,-9.07812 L1.76562,-3.23438 C1.76562,-2.51562 1.5,-2.25 0.53125,-2.1875 L0.53125,-2 L4.125,-2 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip16">
|
||||
<clipPath id="clip13">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip16)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,188.5,173.5)">
|
||||
<g clip-path="url(#clip13)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,188.5,173.5)">
|
||||
<path d="M4.42188,8.57812 L4.42188,8.4375 L0.75,8.4375 L0.328125,9.9375 L0.53125,10 C0.796875,9.32812 1.04688,9.21875 1.71875,9.21875 L3.48438,9.21875 L-0.546875,14.0469 L-0.421875,14.1719 C-0.21875,14 -0.046875,13.9375 0.15625,13.9375 C0.5,13.9375 0.921875,14.1094 1.53125,14.4844 C2.17188,14.8906 2.625,15.0469 3,15.0469 C3.71875,15.0469 4.20312,14.5781 4.20312,14.0625 C4.20312,13.7812 4.01562,13.5781 3.75,13.5781 C3.54688,13.5781 3.32812,13.8125 3.3125,14.0312 C3.3125,14.125 3.34375,14.2344 3.42188,14.3906 C3.46875,14.4688 3.48438,14.5312 3.48438,14.5781 C3.48438,14.7031 3.34375,14.7812 3.14062,14.7812 C2.8125,14.7812 2.5625,14.625 2.23438,14.125 C1.70312,13.3594 1.42188,13.2188 0.671875,13.0469 L4.42188,8.57812 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -173,122 +125,11 @@
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip30">
|
||||
<clipPath id="clip27">
|
||||
<path d="M-155.172,-143 L189.188,-143 L189.188,31 L-155.172,31 L-155.172,-143 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip30)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,202,161)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1344">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,159,19)">
|
||||
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABPUlEQVRoge2ZsU7DMBCGv1ShS1dYunTqwyBGnrVPQxeWLsngDu2QSMBwF/GDEmqpUQHrPul0VnRK7E+2h1wFPAMPwL3n0miA1rNG+72wxgSsJUpjBSx93ANn4DhWWGM7Yg1sPErjznMHnIAkz76gO2MDbG8xu1+gx0QcsSMyKmNxyxn9dUKGEDKEkCGEDCFkCCFDCBlCnVGzAyqPx4maF2A/kvcZ718Abxl1l3i/9gU5Mp6u/cgF5hAxC3FMhJAhhAwh587IYesxdcH+C2JnCCFDCBlCyBBChhAyhJAh1Njf4hUTf4wL4BU4YOtMWN+kHyussc6SNllK4+DRYq2CH2U0Ph6aLKWh7cWErbEbKxxkaJOlNBK2rkTGMWm8IPG5S0ri7HGSPCqjwnqtS+wCLfES7T06GQ8RBEEQzMEHpOdNr+gYH8cAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,160,20)">
|
||||
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip32">
|
||||
<path d="M-29,-14 L30,-14 L30,14 L-29,14 L-29,-14 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip32)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,189,34)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="17.1719" x="-8.57812" xml:space="preserve" y="3.5">if { }</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,160,20)">
|
||||
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,189.5,50)">
|
||||
<path d="M-25.3984,0 L25.3984,0 L25.3984,14 L-25.3984,14 L-25.3984,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip33">
|
||||
<path d="M-117.273,-32 L227.086,-32 L227.086,142 L-117.273,142 L-117.273,-32 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip33)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,164.102,50)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="48.7969" x="1" xml:space="preserve" y="10">Action Port</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1341">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,74,102)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,75,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip35">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip35)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,90,110)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,75,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,90,119)">
|
||||
<path d="M-43.1719,0 L43.1719,0 L43.1719,14 L-43.1719,14 L-43.1719,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip36">
|
||||
<path d="M0,-101 L344.359,-101 L344.359,73 L0,73 L0,-101 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip36)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,46.8281,119)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="84.3438" x="1" xml:space="preserve" y="10">z_counterRawPrev</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,107,108)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip37">
|
||||
<path d="M-60.1719,-78 L284.188,-78 L284.188,96 L-60.1719,96 L-60.1719,-78 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip37)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,107,96)">
|
||||
<g clip-path="url(#clip27)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,202,161)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -310,27 +151,27 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip39">
|
||||
<clipPath id="clip29">
|
||||
<path d="M259.5,142.5 L289.5,142.5 L289.5,186.5 L259.5,186.5 L259.5,142.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip39)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
|
||||
<g clip-path="url(#clip29)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
|
||||
<polyline fill="none" points="263,155 267,155" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip40">
|
||||
<clipPath id="clip30">
|
||||
<path d="M259.5,142.5 L289.5,142.5 L289.5,186.5 L259.5,186.5 L259.5,142.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip40)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
|
||||
<g clip-path="url(#clip30)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
|
||||
<polyline fill="none" points="265,153 265,157" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip41">
|
||||
<clipPath id="clip31">
|
||||
<path d="M259.5,142.5 L289.5,142.5 L289.5,186.5 L259.5,186.5 L259.5,142.5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip41)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
|
||||
<g clip-path="url(#clip31)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,0.5,0.5)">
|
||||
<polyline fill="none" points="263,175 267,175" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -348,11 +189,170 @@
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip42">
|
||||
<clipPath id="clip32">
|
||||
<path d="M-245.172,-133 L99.1875,-133 L99.1875,41 L-245.172,41 L-245.172,-133 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip42)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,292,151)">
|
||||
<g clip-path="url(#clip32)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,292,151)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1344">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,159,19)">
|
||||
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABI0lEQVRoge2ZsU7DQBAFJ8ikSQtNmlT5GGo+nzQ0aeziUiSFXUCxa/FAB4pEZNDpjbTak7WyfaP1Fd4V8Aw8Ag+ZW6MHhswaw9fCjhCwlWiNDbDO9QRcgFOtsCM6YgvsMlrjPvMInIEi1z6hnbED9ku83R8wESJOxCdSlXG35Bv9dyxDsAzBMgTLECxDsAzBMoRu4ee9AIdKPtzg3m+/vYE7Q7AMwTIEyxCWPkD3GU8LP/cq3BmCZQiWIViGYBmCZQiWIXTE3+IN3/wxboBX4EjssxBzk6lW2BGTJR2ytMYxYyBGBT/K6HM9D1laQ8eLhdjjWCucZeiQpTUKsa/CFZ9JnwWFjy5piUvGWXJVxoqYta6JA7TFQ3TKGGU9hzHGmFvwDiZjSmRxt/jhAAAAAElFTkSuQmCC" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,160,20)">
|
||||
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip34">
|
||||
<path d="M-29,-14 L30,-14 L30,14 L-29,14 L-29,-14 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip34)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,189,34)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="17.1719" x="-8.57812" xml:space="preserve" y="3.5">if { }</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,160,20)">
|
||||
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,189.5,50)">
|
||||
<path d="M-25.3984,0 L25.3984,0 L25.3984,14 L-25.3984,14 L-25.3984,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip35">
|
||||
<path d="M-117.273,-32 L227.086,-32 L227.086,142 L-117.273,142 L-117.273,-32 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip35)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,164.102,50)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="48.7969" x="1" xml:space="preserve" y="10">Action Port</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1358">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,349,102)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#e60000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,350,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip37">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip37)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,365,110)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,350,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,365,119)">
|
||||
<path d="M-23.4141,0 L23.4141,0 L23.4141,14 L-23.4141,14 L-23.4141,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip38">
|
||||
<path d="M-294.758,-101 L49.6016,-101 L49.6016,73 L-294.758,73 L-294.758,-101 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip38)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,341.586,119)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="43.8281" x="1.5" xml:space="preserve" y="10">z_counter</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1341">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,74,102)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#00d100" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,75,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip40">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip40)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,90,110)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">1</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,75,103)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,90,119)">
|
||||
<path d="M-43.1719,0 L43.1719,0 L43.1719,14 L-43.1719,14 L-43.1719,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip41">
|
||||
<path d="M0,-101 L344.359,-101 L344.359,73 L0,73 L0,-101 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip41)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,46.8281,119)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="84.3438" x="1" xml:space="preserve" y="10">z_counterRawPrev</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,107,108)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip42">
|
||||
<path d="M-60.1719,-78 L284.188,-78 L284.188,96 L-60.1719,96 L-60.1719,-78 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip42)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,107,96)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -446,5 +446,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:39 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:14 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 187 KiB |
@ -420,6 +420,49 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1651:1618",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Relational Operator1",
|
||||
"label":"Relational Operator1",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1651",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutDataTypeStr",
|
||||
"InputSameDT",
|
||||
"Operator",
|
||||
"RndMeth",
|
||||
"SampleTime",
|
||||
"ZeroCross"
|
||||
],
|
||||
"values":[
|
||||
"boolean",
|
||||
"off",
|
||||
"<",
|
||||
"Simplest",
|
||||
"-1",
|
||||
"on"
|
||||
],
|
||||
"tabs":[
|
||||
"Data Type",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"RelationalOperator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1651:1616",
|
||||
"className":"Simulink.Constant",
|
||||
@ -469,49 +512,6 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1651:1618",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Relational Operator1",
|
||||
"label":"Relational Operator1",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:1651",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutDataTypeStr",
|
||||
"InputSameDT",
|
||||
"Operator",
|
||||
"RndMeth",
|
||||
"SampleTime",
|
||||
"ZeroCross"
|
||||
],
|
||||
"values":[
|
||||
"boolean",
|
||||
"off",
|
||||
"<",
|
||||
"Simplest",
|
||||
"-1",
|
||||
"on"
|
||||
],
|
||||
"tabs":[
|
||||
"Data Type",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"RelationalOperator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1651:1620#out:1",
|
||||
"className":"Simulink.Line",
|
||||
|
@ -689,59 +689,11 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1651:1616">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,59,206)">
|
||||
<image height="24" preserveAspectRatio="none" width="83" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAAAYCAYAAACGLcGvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA8UlEQVRYhe3YIQ/CMBCG4RcyMFgwGBS/iP8vMJhNdALEZhB3C1coBNFAIN+TXNosFcuXNtt1BhyADbD2UXIt0PkYq7tf2GABbkNJbgUsfT4CF6AvLWywHbkFdl6SW/g4AGcghWeZuDN3wP4Tb/eDRizIHjvixTDnn3yjf6cwK1KYFSnMihRmRQqzIoVZkcKsSGFW1GB/9Cue/NULR+CE5ZSw3nwsLWyw24/YyEvu5NVh7eTLMFufT4285OIVXMIyGkoLpzBjIy+5hOWSeOOYt74gcdulcnPxOoexGOYMu89cYh8gfYQejV5DmE8lIiLyfVcyXkK1ktWzmwAAAABJRU5ErkJggg==" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,60,207)">
|
||||
<path d="M0,0 L75,0 L75,16 L0,16 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip81">
|
||||
<path d="M-37,-8 L38,-8 L38,8 L-37,8 L-37,-8 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip81)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,97,215)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="58.8281" x="-29.4062" xml:space="preserve" y="3.5">z_cntMaxLim</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,60,207)">
|
||||
<path d="M0,0 L75,0 L75,16 L0,16 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,137,213)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip82">
|
||||
<path d="M-119,-230 L308,-230 L308,64 L-119,64 L-119,-230 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip82)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,137,201)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1651:1618">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,169,171)">
|
||||
<image height="64" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAABACAYAAAB2kAXpAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABJklEQVRoge2aMW+DMBBGHxXNkrVdsmTqL+r/H7pkgcEdyABDO/hQnTZE+WhdMXxPOtlCB346YPG5AV6BZ+Apxpp0QB9jGf33xDZkDkXUZA/sYj4BZ+D9WmJLrtQBOEbU5DHGERiAVFz7ITZX7Ai8VBaDXKmBXKluSezhH0RWYTEVi6lYTGWzYu0dOc2K536suOeCzVbMYioWU7GYisVULKZiMRWLqVhMxWIqFlOxmIrFVCymYjEVi6lsVuyejbtfb8KtYbMVs5iKxVQsptKSu6x7Fjqtf8wbcIo1E7knPi2J9Vw20GtyiujJreebYl3M5wZ6TcrjDSnWG2+JlQ30mqRYI3HHq+wiIfFVvVqcI4ZivCrWkM9d7Mgff+0fYIoYi/kcxhiAT0L5RQguBM9JAAAAAElFTkSuQmCC" y="0"/>
|
||||
<image height="64" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAABACAYAAAB2kAXpAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABTElEQVRoge2aPW/CQAxAX6orC2u7sLC0f6Zrfyu/pmXowpIM1yEMYaDDGfUEBzpTjK6Sn2Q5iizdk/OpOB3wDjwDT5It6YFBch7DcWEQmUUWlsyBmWzvgC3wXSoMpE4tgKWEJY+SJ2AEYrbvROzQsSXwaiwGqVMjqVP9ObGHO4hchYtpcTEtLqalWbFQUbMCOoka9sDb1UZCjdgn9VI341+LfdCoWLMdW5tbFGj2duFiWlxMi4tpaVas5gb7UlGzk5gk/5naR9LdafZQupgWF9PiYlpcTIuLaXExLS6mxcW01LzB7s0tCjTbMRfT4mJaXExLIE1Z55yZtN6YL2Aja0bSTLz4SSGQJvj5AN2SjcRAGj1fFOtl+zBAtyT/vSHKetMlsXyAbkmUNSIVh7KXgshv96zYSoxZLop1pP8uZqST3/oCOP6OlofjOAA/PZNPUSfU0XMAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,170,172)">
|
||||
<path d="M0,0 L30,0 L30,56 L0,56 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -749,19 +701,19 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip84">
|
||||
<clipPath id="clip81">
|
||||
<path d="M0,0 L30,0 L30,56 L0,56 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip84)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,170,172)">
|
||||
<g clip-path="url(#clip81)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,170,172)">
|
||||
<path d="M0,0 L30,0 L30,56 L0,56 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip90">
|
||||
<clipPath id="clip87">
|
||||
<path d="M-3,-5 L8,-5 L8,10 L-3,10 L-3,-5 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip90)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,182.5,197.5)">
|
||||
<g clip-path="url(#clip87)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,182.5,197.5)">
|
||||
<path d="M6.07812,6.3125 L6.07812,5.5 L0.453125,2.70312 L6.07812,-0.09375 L6.07812,-0.9375 L-1.26562,2.64062 L-1.26562,2.76562 L6.07812,6.3125 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -787,11 +739,11 @@
|
||||
<path d="M0,-12 L33.9844,-12 L33.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip104">
|
||||
<clipPath id="clip101">
|
||||
<path d="M-184,-215 L243,-215 L243,79 L-184,79 L-184,-215 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip104)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,202,186)">
|
||||
<g clip-path="url(#clip101)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,202,186)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="31.9844" x="1" xml:space="preserve" y="9">boolean</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -801,6 +753,54 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1651:1616">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,59,206)">
|
||||
<image height="24" preserveAspectRatio="none" width="83" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAAAYCAYAAACGLcGvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA8UlEQVRYhe3YIQ/CMBCG4RcyMFgwGBS/iP8vMJhNdALEZhB3C1coBNFAIN+TXNosFcuXNtt1BhyADbD2UXIt0PkYq7tf2GABbkNJbgUsfT4CF6AvLWywHbkFdl6SW/g4AGcghWeZuDN3wP4Tb/eDRizIHjvixTDnn3yjf6cwK1KYFSnMihRmRQqzIoVZkcKsSGFW1GB/9Cue/NULR+CE5ZSw3nwsLWyw24/YyEvu5NVh7eTLMFufT4285OIVXMIyGkoLpzBjIy+5hOWSeOOYt74gcdulcnPxOoexGOYMu89cYh8gfYQejV5DmE8lIiLyfVcyXkK1ktWzmwAAAABJRU5ErkJggg==" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,60,207)">
|
||||
<path d="M0,0 L75,0 L75,16 L0,16 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip103">
|
||||
<path d="M-37,-8 L38,-8 L38,8 L-37,8 L-37,-8 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip103)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,97,215)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="58.8281" x="-29.4062" xml:space="preserve" y="3.5">z_cntMaxLim</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,60,207)">
|
||||
<path d="M0,0 L75,0 L75,16 L0,16 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,137,213)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip104">
|
||||
<path d="M-119,-230 L308,-230 L308,64 L-119,64 L-119,-230 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip104)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,137,201)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1651:1620#out:1">
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="PathIntersectionsEnabledTag">
|
||||
@ -955,5 +955,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:40 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:14 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
@ -2424,6 +2424,272 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1671",
|
||||
"className":"Simulink.Constant",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"n_motPhaAdvEna",
|
||||
"label":"n_motPhaAdvEna",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Value",
|
||||
"OutDataTypeStr",
|
||||
"FramePeriod",
|
||||
"LockScale",
|
||||
"OutMax",
|
||||
"OutMin",
|
||||
"SampleTime",
|
||||
"VectorParams1D"
|
||||
],
|
||||
"values":[
|
||||
"n_motPhaAdvEna",
|
||||
"Inherit: Inherit via back propagation",
|
||||
"inf",
|
||||
"off",
|
||||
"[]",
|
||||
"[]",
|
||||
"inf",
|
||||
"on"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Constant",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1670",
|
||||
"className":"Simulink.RelationalOperator",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Relational Operator4",
|
||||
"label":"Relational Operator4",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutDataTypeStr",
|
||||
"InputSameDT",
|
||||
"Operator",
|
||||
"RndMeth",
|
||||
"SampleTime",
|
||||
"ZeroCross"
|
||||
],
|
||||
"values":[
|
||||
"boolean",
|
||||
"off",
|
||||
">",
|
||||
"Simplest",
|
||||
"-1",
|
||||
"on"
|
||||
],
|
||||
"tabs":[
|
||||
"Data Type",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"RelationalOperator",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1681",
|
||||
"className":"Simulink.Goto",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Goto4",
|
||||
"label":"Goto4",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"GotoTag",
|
||||
"TagVisibility",
|
||||
"IconDisplay"
|
||||
],
|
||||
"values":[
|
||||
"n_motAbs",
|
||||
"local",
|
||||
"Tag"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Goto",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1669",
|
||||
"className":"Simulink.From",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"From1",
|
||||
"label":"From1",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"GotoTag",
|
||||
"IconDisplay"
|
||||
],
|
||||
"values":[
|
||||
"n_motAbs",
|
||||
"Tag"
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes"
|
||||
],
|
||||
"tabs_idx":0
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"From",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1680",
|
||||
"className":"Simulink.Inport",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"n_motAbs",
|
||||
"label":"n_motAbs",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"Port",
|
||||
"IconDisplay",
|
||||
"OutMin",
|
||||
"OutMax",
|
||||
"OutDataTypeStr",
|
||||
"LockScale",
|
||||
"Unit",
|
||||
"PortDimensions",
|
||||
"VarSizeSig",
|
||||
"SampleTime",
|
||||
"SignalType",
|
||||
"BusOutputAsStruct",
|
||||
"InputConnect",
|
||||
"Interpolate",
|
||||
"LatchByDelayingOutsideSignal",
|
||||
"LatchInputForFeedbackSignals",
|
||||
"OutputFunctionCall"
|
||||
],
|
||||
"values":[
|
||||
"6",
|
||||
"Port number",
|
||||
"[]",
|
||||
"[]",
|
||||
"Inherit: auto",
|
||||
"off",
|
||||
"inherit",
|
||||
"-1",
|
||||
"Inherit",
|
||||
"-1",
|
||||
"auto",
|
||||
"off",
|
||||
"",
|
||||
"on",
|
||||
"off",
|
||||
"off",
|
||||
"off"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"Signal Attributes",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Inport",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1668",
|
||||
"className":"Simulink.Logic",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"Logical Operator2",
|
||||
"label":"Logical Operator2",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"OutDataTypeStr",
|
||||
"AllPortsSameDT",
|
||||
"IconShape",
|
||||
"Inputs",
|
||||
"Operator",
|
||||
"SampleTime"
|
||||
],
|
||||
"values":[
|
||||
"boolean",
|
||||
"off",
|
||||
"rectangular",
|
||||
"2",
|
||||
"AND",
|
||||
"-1"
|
||||
],
|
||||
"tabs":[
|
||||
"Data Type",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"Logic",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:521#out:1",
|
||||
"className":"Simulink.Line",
|
||||
@ -2934,57 +3200,6 @@
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:512#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:522#out:2",
|
||||
"className":"Simulink.Line",
|
||||
@ -4412,5 +4627,311 @@
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:512#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1671#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1669#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1670#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1668#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1680#out:1",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:215",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 289 KiB |
@ -15,7 +15,7 @@
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:31">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,264,162)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA40lEQVRIie2WOw6DMAxAHxVlYW0XFqaeqPfoYXrDLixkSAcYYOkQo7rlIzBShypPsmIhkydDpDgBrsAZOMlqoQacrDrcd2EqkkKFhRzIJO+BFnhOFaaEzgqglLBwlLUDGsCrZyPh0GEJXIxCCJ01hM7qOeFhh8BEFEZhFI5IV9TcVH7/hXC3RPP//zAKo3AzKeF2zpm5oVfyACrZyxNmmn5O6PgcgCxUEo4wYiwKa8mHAciCHhO97NMtCfUAZMHLu54Vn7SWAs+72620Eo1aJ4UJYS7NCIfGenB6iU7lQ0Qi+3gBDrREW3bRVKAAAAAASUVORK5CYII=" y="0"/>
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0UlEQVRIie2Wuw6DMAxFDxVl6douLEz9ov7/0IUlGdIBBlg62KhpeYia1Ve6soVCjhxFyi2AB3ADrlotCkDUmjv+LiwVUme26AJU2o9AD7yWFpbIZDXQqC06ax2ADkjZtxlwmrAB7kYgyGQdMllYA54OAExyoAMd6EAHOtCB8uIHJJMsvtA79QRa3SshmWZcA0a+A5BFrToiEWMTGLSfApBFeUxMus+wBcwDkEVJ/03sONKgCxKfaf9Vr+6yuggskFxaIZfGenFG9ZD1k12uY3oDjl5CxdGTUF4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,265,163)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -95,7 +95,7 @@
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:32">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,264,192)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA40lEQVRIie2WOw6DMAxAHxVlYW0XFqaeqPfoYXrDLixkSAcYYOkQo7rlIzBShypPsmIhkydDpDgBrsAZOMlqoQacrDrcd2EqkkKFhRzIJO+BFnhOFaaEzgqglLBwlLUDGsCrZyPh0GEJXIxCCJ01hM7qOeFhh8BEFEZhFI5IV9TcVH7/hXC3RPP//zAKo3AzKeF2zpm5oVfyACrZyxNmmn5O6PgcgCxUEo4wYiwKa8mHAciCHhO97NMtCfUAZMHLu54Vn7SWAs+72620Eo1aJ4UJYS7NCIfGenB6iU7lQ0Qi+3gBDrREW3bRVKAAAAAASUVORK5CYII=" y="0"/>
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0UlEQVRIie2Wuw6DMAxFDxVl6douLEz9ov7/0IUlGdIBBlg62KhpeYia1Ve6soVCjhxFyi2AB3ADrlotCkDUmjv+LiwVUme26AJU2o9AD7yWFpbIZDXQqC06ax2ADkjZtxlwmrAB7kYgyGQdMllYA54OAExyoAMd6EAHOtCB8uIHJJMsvtA79QRa3SshmWZcA0a+A5BFrToiEWMTGLSfApBFeUxMus+wBcwDkEVJ/03sONKgCxKfaf9Vr+6yuggskFxaIZfGenFG9ZD1k12uY3oDjl5CxdGTUF4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,265,193)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -175,7 +175,7 @@
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:33">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,264,222)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA40lEQVRIie2WOw6DMAxAHxVlYW0XFqaeqPfoYXrDLixkSAcYYOkQo7rlIzBShypPsmIhkydDpDgBrsAZOMlqoQacrDrcd2EqkkKFhRzIJO+BFnhOFaaEzgqglLBwlLUDGsCrZyPh0GEJXIxCCJ01hM7qOeFhh8BEFEZhFI5IV9TcVH7/hXC3RPP//zAKo3AzKeF2zpm5oVfyACrZyxNmmn5O6PgcgCxUEo4wYiwKa8mHAciCHhO97NMtCfUAZMHLu54Vn7SWAs+72620Eo1aJ4UJYS7NCIfGenB6iU7lQ0Qi+3gBDrREW3bRVKAAAAAASUVORK5CYII=" y="0"/>
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0UlEQVRIie2Wuw6DMAxFDxVl6douLEz9ov7/0IUlGdIBBlg62KhpeYia1Ve6soVCjhxFyi2AB3ADrlotCkDUmjv+LiwVUme26AJU2o9AD7yWFpbIZDXQqC06ax2ADkjZtxlwmrAB7kYgyGQdMllYA54OAExyoAMd6EAHOtCB8uIHJJMsvtA79QRa3SshmWZcA0a+A5BFrToiEWMTGLSfApBFeUxMus+wBcwDkEVJ/03sONKgCxKfaf9Vr+6yuggskFxaIZfGenFG9ZD1k12uY3oDjl5CxdGTUF4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,265,223)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -492,7 +492,7 @@
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1535">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,319,67)">
|
||||
<image height="192" preserveAspectRatio="none" width="53" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAADACAYAAACkuSvaAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACoElEQVR4nO3cQW7TQACF4T8o6abbsummG7gBl2DNWTkGXABYsCmgRBAXYqpYUBYzFi6x1EmcDPOm75NGSappOr/GdSw16Qx4BTwFLuJtqZbAKt4Ox+rfiXNCyOVglOocOIv3O6AFmrGJc8IOXQJXcZRqEW+3wAZYD752z3CnroDnOVY3QUcIagiH3mjUk5wrysVRKhylwlEqqoyaJ8x5DcziSHEXx2/Cq/9PwovlF+BTHJ8J12zfgB9x7vD7J0mJek96UO8O+EW4Auij+ovPFfAVuAFuuR90FDmiWkJAQ7heuwG+x693ez5vkpSodxwWNTz8WsI1Wxsf3xKCJh9qY3Ls1Ng4+iE3lBL14ZQLOIUqT+mOUuEoFY5SUWVUyovvs4Q5/ZXClt2rh+xSL5OkVHn4OUqFo1Q4SoWjVDhKhaNUOEqFo1Q4SoWjVDhKhaNUOEqFo1Q4SoWjVDhKRZVRKX/IPskbDU+pyp1ylApHqXCUiiqjUj9BkNPkT7CW+Na4LFG5d+rl1CcocacmK3GnJnu0OyUXVeXrlKNUOEqFo1Q4SoWjVDhKhaNUOEqFo1Q4SoWjVDhKhaNUOEqF33ClwlEqHKWiyqgST+n7/n/OHSlRb6b+kD29mPoEjlLxaKPennwVR1blKd1RKhylwlEqHKXCUSocpcJRKhylwlEqHKXCUSocpcJRKhylwlEqHKXCUSocpcJRKhylwlEqHKXCUSocpcJRKkp8s/1kVe6Uo1Q4SoWjVMyBJXAOLP7zWh7yEbgmrHcNtEA3NnEOrICz+Hh0UiGu41gBDQ9ELeP9LbDJsboDLQlB/U5tCGve0Ud1cVKTaYGHWBPWtybh8FvGCWv+7lqJ2jg2g9vRqBlwQfidWlD2yaKLYzu43w8zs/38AaHcl/6mTTGYAAAAAElFTkSuQmCC" y="0"/>
|
||||
<image height="192" preserveAspectRatio="none" width="53" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAADACAYAAACkuSvaAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACpklEQVR4nO3csW7TQADG8X9Q0qVrWbp0gWfgGZh5Vh6jAzMwsBRQIogLcasYKMOdhUMt9RLHV3/X7yedklTX9P4617HUpDPgDfAcOIu3U7UEVvG2O1b/T5wTQs47Y6pOgZN4vwFqoOqbOCfs0DlwEcdULeLtFtgA687XdnR36gJ4mWN1AzSEoIpw6PVGPcu5olwcpcJRKhylosioecKct8AsjhR3cfwhvPrfEF4svwKf4/hCuGb7DvyMc7vfP0hK1AfSg1p3wG/CFUAb1V58roBvwDVwy27QUeSIqgkBFeF67Rr4Eb/e7Pm8SVKi3nNYVPfwqwnXbHV8fEsIGnyo9cmxU33j6IdcV0rUxzEXMIYiT+mOUuEoFY5SUWRUyovvi4Q57ZXClvtXD9mlXiZJKfLwc5QKR6lwlApHqXCUCkepcJQKR6lwlApHqXCUCkepcJQKR6lwlApHqXCUiiKjUv6QPcobDcdU5E45SoWjVDhKRZFRqZ8gyGnwJ1in+Na4LFG5d+r10CeY4k4NNsWdGuzJ7pRcVJGvU45S4SgVjlLhKBWOUuEoFY5S4SgVjlLhKBWOUuEoFUVG+R0vKhylwlEqioxKOaX/Gn0Vu1LWNPgJLof+kD29GvoEjlLxZKPejb6KIyvylO4oFY5S4SgVx/qfmZPi9/upcJQKR6lwlApHqXCUCkepcJQKR6lwlApHqXCUCkepcJQKR6lwlApHqXCUCkepcJQKR6lwlApHqfDH91Q4SoWjVDhKxRxYAqfA4pHX8pBPwBVhvWugBpq+iXNgBZzEx72TJuIqjhVQ8UDUMt7fApscqzvQkhDU7tSGsOZ72qgmTqoyLfAQa8L61iQcfss4Yc2/XZuiOo5N57Y3agacEX6nFkz7ZNHEse3cb4eZ2X7+AuiFmQtxtjAxAAAAAElFTkSuQmCC" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,320,68)">
|
||||
<path d="M0,0 L45,0 L45,184 L0,184 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -704,5 +704,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:38 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:11 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 49 KiB |
@ -419,30 +419,30 @@
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,352,263)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,352,333)">
|
||||
<path d="M0,-12 L25.9844,-12 L25.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip28">
|
||||
<path d="M-264.062,-120 L943,-120 L943,460 L-264.062,460 L-264.062,-120 z"/>
|
||||
<path d="M-264.062,-190 L943,-190 L943,390 L-264.062,390 L-264.062,-190 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip28)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,352,251)">
|
||||
<g clip-path="url(#clip28)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,352,321)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,352,333)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,352,263)">
|
||||
<path d="M0,-12 L25.9844,-12 L25.9844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip29">
|
||||
<path d="M-264.062,-190 L943,-190 L943,390 L-264.062,390 L-264.062,-190 z"/>
|
||||
<path d="M-264.062,-120 L943,-120 L943,460 L-264.062,460 L-264.062,-120 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip29)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,352,321)">
|
||||
<g clip-path="url(#clip29)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,352,251)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -649,15 +649,15 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,518)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,493)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip43">
|
||||
<path d="M-654.062,-375 L553,-375 L553,205 L-654.062,205 L-654.062,-375 z"/>
|
||||
<path d="M-654.062,-350 L553,-350 L553,230 L-654.062,230 L-654.062,-350 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip43)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,506)">
|
||||
<g clip-path="url(#clip43)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,481)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -670,16 +670,16 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,653,453)">
|
||||
<path d="M-25.9844,-12 L0,-12 L0,0 L-25.9844,0 L-25.9844,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,468)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip44">
|
||||
<path d="M-539.078,-310 L667.984,-310 L667.984,270 L-539.078,270 L-539.078,-310 z"/>
|
||||
<path d="M-654.062,-325 L553,-325 L553,255 L-654.062,255 L-654.062,-325 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip44)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,627.016,441)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
<g clip-path="url(#clip44)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,456)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -691,16 +691,16 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,468)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,653,453)">
|
||||
<path d="M-25.9844,-12 L0,-12 L0,0 L-25.9844,0 L-25.9844,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip45">
|
||||
<path d="M-654.062,-325 L553,-325 L553,255 L-654.062,255 L-654.062,-325 z"/>
|
||||
<path d="M-539.078,-310 L667.984,-310 L667.984,270 L-539.078,270 L-539.078,-310 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip45)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,456)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
<g clip-path="url(#clip45)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,627.016,441)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -712,15 +712,15 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,493)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,518)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip46">
|
||||
<path d="M-654.062,-350 L553,-350 L553,230 L-654.062,230 L-654.062,-350 z"/>
|
||||
<path d="M-654.062,-375 L553,-375 L553,205 L-654.062,205 L-654.062,-375 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip46)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,481)">
|
||||
<g clip-path="url(#clip46)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,506)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -885,15 +885,15 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,653)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,678)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip57">
|
||||
<path d="M-654.062,-510 L553,-510 L553,70 L-654.062,70 L-654.062,-510 z"/>
|
||||
<path d="M-654.062,-535 L553,-535 L553,45 L-654.062,45 L-654.062,-535 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip57)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,641)">
|
||||
<g clip-path="url(#clip57)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,666)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -927,16 +927,16 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,678)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,653,613)">
|
||||
<path d="M-25.9844,-12 L0,-12 L0,0 L-25.9844,0 L-25.9844,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip59">
|
||||
<path d="M-654.062,-535 L553,-535 L553,45 L-654.062,45 L-654.062,-535 z"/>
|
||||
<path d="M-539.078,-470 L667.984,-470 L667.984,110 L-539.078,110 L-539.078,-470 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip59)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,666)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
<g clip-path="url(#clip59)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,627.016,601)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -948,16 +948,16 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,653,613)">
|
||||
<path d="M-25.9844,-12 L0,-12 L0,0 L-25.9844,0 L-25.9844,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,742,653)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip60">
|
||||
<path d="M-539.078,-470 L667.984,-470 L667.984,110 L-539.078,110 L-539.078,-470 z"/>
|
||||
<path d="M-654.062,-510 L553,-510 L553,70 L-654.062,70 L-654.062,-510 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip60)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,627.016,601)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
<g clip-path="url(#clip60)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,742,641)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -2435,15 +2435,15 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,737,338)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,737,363)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip203">
|
||||
<path d="M-649.062,-195 L558,-195 L558,385 L-649.062,385 L-649.062,-195 z"/>
|
||||
<path d="M-649.062,-220 L558,-220 L558,360 L-649.062,360 L-649.062,-220 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip203)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,737,326)">
|
||||
<g clip-path="url(#clip203)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,737,351)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -2456,16 +2456,16 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,648,300)">
|
||||
<path d="M-25.9844,-12 L0,-12 L0,0 L-25.9844,0 L-25.9844,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,737,338)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip204">
|
||||
<path d="M-534.078,-157 L672.984,-157 L672.984,423 L-534.078,423 L-534.078,-157 z"/>
|
||||
<path d="M-649.062,-195 L558,-195 L558,385 L-649.062,385 L-649.062,-195 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip204)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,622.016,288)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
<g clip-path="url(#clip204)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,737,326)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -2477,15 +2477,15 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,737,363)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,737,313)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip205">
|
||||
<path d="M-649.062,-220 L558,-220 L558,360 L-649.062,360 L-649.062,-220 z"/>
|
||||
<path d="M-649.062,-170 L558,-170 L558,410 L-649.062,410 L-649.062,-170 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip205)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,737,351)">
|
||||
<g clip-path="url(#clip205)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,737,301)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -2498,16 +2498,16 @@
|
||||
<stop offset="1" stop-color="#d9d9d9" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,737,313)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,648,300)">
|
||||
<path d="M-25.9844,-12 L0,-12 L0,0 L-25.9844,0 L-25.9844,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip206">
|
||||
<path d="M-649.062,-170 L558,-170 L558,410 L-649.062,410 L-649.062,-170 z"/>
|
||||
<path d="M-534.078,-157 L672.984,-157 L672.984,423 L-534.078,423 L-534.078,-157 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip206)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,737,301)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int16</text>
|
||||
<g clip-path="url(#clip206)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,622.016,288)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="23.9844" x="1" xml:space="preserve" y="9">action</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -3046,5 +3046,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:41 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:16 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 222 KiB |
@ -971,10 +971,10 @@
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,331,275)">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,331,155)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,331,155)">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,331,275)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1092,5 +1092,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:42 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:16 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
@ -1691,10 +1691,10 @@
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,275)">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,155)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,155)">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,275)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1812,5 +1812,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:42 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:17 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
@ -1801,10 +1801,10 @@
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,275)">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,155)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,155)">
|
||||
<g clip-path="none" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,326,275)">
|
||||
<path d="M2.5,0 C2.5,1.38071 1.38071,2.5 0,2.5 C-1.38071,2.5 -2.5,1.38071 -2.5,0 C-2.5,-1.38071 -1.38071,-2.5 0,-2.5 C1.38071,-2.5 2.5,-1.38071 2.5,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1812,5 +1812,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:42 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:17 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:17 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:17 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -174,5 +174,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:17 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -1211,15 +1211,30 @@
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,892,433)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,892,488)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip94">
|
||||
<path d="M-778.234,-265 L222.305,-265 L222.305,117 L-778.234,117 L-778.234,-265 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip94)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,892,476)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,892,433)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip95">
|
||||
<path d="M-778.234,-210 L222.305,-210 L222.305,172 L-778.234,172 L-778.234,-210 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip94)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,892,421)">
|
||||
<g clip-path="url(#clip95)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,892,421)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1230,26 +1245,11 @@
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip95">
|
||||
<clipPath id="clip96">
|
||||
<path d="M-778.234,-155 L222.305,-155 L222.305,227 L-778.234,227 L-778.234,-155 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip95)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,892,366)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,892,488)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip96">
|
||||
<path d="M-778.234,-265 L222.305,-265 L222.305,117 L-778.234,117 L-778.234,-265 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip96)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,892,476)">
|
||||
<g clip-path="url(#clip96)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,892,366)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -2434,5 +2434,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:17 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
@ -583,102 +583,6 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1318",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"UnitDelay2",
|
||||
"label":"UnitDelay2",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:38",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Elements as channels (sample based)",
|
||||
"-1",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1631",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"UnitDelay1",
|
||||
"label":"UnitDelay1",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:38",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Elements as channels (sample based)",
|
||||
"-1",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1632",
|
||||
"className":"Simulink.Outport",
|
||||
@ -759,6 +663,102 @@
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1631",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"UnitDelay1",
|
||||
"label":"UnitDelay1",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:38",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Elements as channels (sample based)",
|
||||
"-1",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1318",
|
||||
"className":"Simulink.UnitDelay",
|
||||
"icon":"WebViewIcon2",
|
||||
"name":"UnitDelay2",
|
||||
"label":"UnitDelay2",
|
||||
"parent":"BLDCmotorControl_R2017b:2687:38",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"InitialCondition",
|
||||
"InputProcessing",
|
||||
"SampleTime",
|
||||
"CodeGenStateStorageTypeQualifier",
|
||||
"StateMustResolveToSignalObject",
|
||||
"StateName",
|
||||
"StateSignalObject",
|
||||
"StateStorageClass"
|
||||
],
|
||||
"values":[
|
||||
"0",
|
||||
"Elements as channels (sample based)",
|
||||
"-1",
|
||||
"",
|
||||
"off",
|
||||
"",
|
||||
[
|
||||
],
|
||||
"Auto"
|
||||
],
|
||||
"tabs":[
|
||||
"Main",
|
||||
"-Other"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":{
|
||||
"blocktype":"UnitDelay",
|
||||
"masktype":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:1314",
|
||||
"className":"Simulink.ActionPort",
|
||||
|
@ -780,76 +780,44 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1318">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,149,187)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0UlEQVRIie2Wuw6DMAxFDxVl6douLEz9ov7/0IUlGdIBBlg62KhpeYia1Ve6soVCjhxFyi2AB3ADrlotCkDUmjv+LiwVUme26AJU2o9AD7yWFpbIZDXQqC06ax2ADkjZtxlwmrAB7kYgyGQdMllYA54OAExyoAMd6EAHOtCB8uIHJJMsvtA79QRa3SshmWZcA0a+A5BFrToiEWMTGLSfApBFeUxMus+wBcwDkEVJ/03sONKgCxKfaf9Vr+6yuggskFxaIZfGenFG9ZD1k12uY3oDjl5CxdGTUF4AAAAASUVORK5CYII=" y="0"/>
|
||||
<g id="BLDCmotorControl_R2017b:2687:1632">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,639,227)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,150,188)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip115">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip115)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,150,188)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip121">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip121)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,158.5,198.5)">
|
||||
<path d="M-1,2 L6,2 L6,3 L-1,3 L-1,2 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip122">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip122)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,158.5,198.5)">
|
||||
<path d="M4.125,-2 L4.125,-2.1875 C3.14062,-2.1875 2.89062,-2.42188 2.89062,-2.98438 L2.89062,-10.75 L2.76562,-10.7812 L0.4375,-9.60938 L0.4375,-9.42188 L0.796875,-9.54688 C1.03125,-9.64062 1.25,-9.70312 1.375,-9.70312 C1.65625,-9.70312 1.76562,-9.51562 1.76562,-9.07812 L1.76562,-3.23438 C1.76562,-2.51562 1.5,-2.25 0.53125,-2.1875 L0.53125,-2 L4.125,-2 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip123">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip123)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,158.5,198.5)">
|
||||
<path d="M4.42188,8.57812 L4.42188,8.4375 L0.75,8.4375 L0.328125,9.9375 L0.53125,10 C0.796875,9.32812 1.04688,9.21875 1.71875,9.21875 L3.48438,9.21875 L-0.546875,14.0469 L-0.421875,14.1719 C-0.21875,14 -0.046875,13.9375 0.15625,13.9375 C0.5,13.9375 0.921875,14.1094 1.53125,14.4844 C2.17188,14.8906 2.625,15.0469 3,15.0469 C3.71875,15.0469 4.20312,14.5781 4.20312,14.0625 C4.20312,13.7812 4.01562,13.5781 3.75,13.5781 C3.54688,13.5781 3.32812,13.8125 3.3125,14.0312 C3.3125,14.125 3.34375,14.2344 3.42188,14.3906 C3.46875,14.4688 3.48438,14.5312 3.48438,14.5781 C3.48438,14.7031 3.34375,14.7812 3.14062,14.7812 C2.8125,14.7812 2.5625,14.625 2.23438,14.125 C1.70312,13.3594 1.42188,13.2188 0.671875,13.0469 L4.42188,8.57812 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<!--RAWSTRING-->
|
||||
<g clip-path="none" fill="#e60000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,640,228)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip115">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip115)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,655,235)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,150,188)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,640,228)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,172,198)">
|
||||
<path d="M0,-12 L16.4844,-12 L16.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,655,244)">
|
||||
<path d="M-22.0859,0 L22.0859,0 L22.0859,14 L-22.0859,14 L-22.0859,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip137">
|
||||
<path d="M-104,-128 L505.086,-128 L505.086,73 L-104,73 L-104,-128 z"/>
|
||||
<clipPath id="clip116">
|
||||
<path d="M-564.914,-186 L44.1719,-186 L44.1719,15 L-564.914,15 L-564.914,-186 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip137)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,172,186)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="14.4844" x="1" xml:space="preserve" y="9">int8</text>
|
||||
<g clip-path="url(#clip116)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,632.914,244)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="42.1719" x="1" xml:space="preserve" y="10">z_dirPrev</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -862,7 +830,7 @@
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1631">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,594,222)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0UlEQVRIie2Wuw6DMAxFDxVl6douLEz9ov7/0IUlGdIBBlg62KhpeYia1Ve6soVCjhxFyi2AB3ADrlotCkDUmjv+LiwVUme26AJU2o9AD7yWFpbIZDXQqC06ax2ADkjZtxlwmrAB7kYgyGQdMllYA54OAExyoAMd6EAHOtCB8uIHJJMsvtA79QRa3SshmWZcA0a+A5BFrToiEWMTGLSfApBFeUxMus+wBcwDkEVJ/03sONKgCxKfaf9Vr+6yuggskFxaIZfGenFG9ZD1k12uY3oDjl5CxdGTUF4AAAAASUVORK5CYII=" y="0"/>
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA5klEQVRIie2WvQ6CMBSFP0xlcdWFhcmHMY4+qw/kwtIOdYABFodeYpWfwCVxMD3JyW3IpV8uNOnJgBtwAo5SNbKAkxrbfTcagRSRNToAuaw7oAGeY42GMFkBlGKN9lJboAZ89GwA7CcsgbMSCGGymjCZnQLuNgBUSsAETMCBzIKeO5CJL78AXrdCYv3/P0zABFwtQ7idD0zc0Av1ACrZyxMyTTcFdHwGII0qsSNEjFmglXUfgDSKY6KXfdo5YByANPLyrmfBJ7XS4HlPu1aNuI7qKDAj5NKccGi0B6cTt9G6d1LSNr0AyG5EFMEQprcAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,595,223)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -870,35 +838,35 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip139">
|
||||
<clipPath id="clip118">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip139)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,595,223)">
|
||||
<g clip-path="url(#clip118)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,595,223)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip145">
|
||||
<clipPath id="clip124">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip145)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,603.5,233.5)">
|
||||
<g clip-path="url(#clip124)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,603.5,233.5)">
|
||||
<path d="M-1,2 L6,2 L6,3 L-1,3 L-1,2 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip146">
|
||||
<clipPath id="clip125">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip146)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,603.5,233.5)">
|
||||
<g clip-path="url(#clip125)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,603.5,233.5)">
|
||||
<path d="M4.125,-2 L4.125,-2.1875 C3.14062,-2.1875 2.89062,-2.42188 2.89062,-2.98438 L2.89062,-10.75 L2.76562,-10.7812 L0.4375,-9.60938 L0.4375,-9.42188 L0.796875,-9.54688 C1.03125,-9.64062 1.25,-9.70312 1.375,-9.70312 C1.65625,-9.70312 1.76562,-9.51562 1.76562,-9.07812 L1.76562,-3.23438 C1.76562,-2.51562 1.5,-2.25 0.53125,-2.1875 L0.53125,-2 L4.125,-2 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip147">
|
||||
<clipPath id="clip126">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip147)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,603.5,233.5)">
|
||||
<g clip-path="url(#clip126)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,603.5,233.5)">
|
||||
<path d="M4.42188,8.57812 L4.42188,8.4375 L0.75,8.4375 L0.328125,9.9375 L0.53125,10 C0.796875,9.32812 1.04688,9.21875 1.71875,9.21875 L3.48438,9.21875 L-0.546875,14.0469 L-0.421875,14.1719 C-0.21875,14 -0.046875,13.9375 0.15625,13.9375 C0.5,13.9375 0.921875,14.1094 1.53125,14.4844 C2.17188,14.8906 2.625,15.0469 3,15.0469 C3.71875,15.0469 4.20312,14.5781 4.20312,14.0625 C4.20312,13.7812 4.01562,13.5781 3.75,13.5781 C3.54688,13.5781 3.32812,13.8125 3.3125,14.0312 C3.3125,14.125 3.34375,14.2344 3.42188,14.3906 C3.46875,14.4688 3.48438,14.5312 3.48438,14.5781 C3.48438,14.7031 3.34375,14.7812 3.14062,14.7812 C2.8125,14.7812 2.5625,14.625 2.23438,14.125 C1.70312,13.3594 1.42188,13.2188 0.671875,13.0469 L4.42188,8.57812 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -924,11 +892,11 @@
|
||||
<path d="M0,-12 L16.4844,-12 L16.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip161">
|
||||
<clipPath id="clip140">
|
||||
<path d="M-549,-163 L60.0859,-163 L60.0859,38 L-549,38 L-549,-163 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip161)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,617,221)">
|
||||
<g clip-path="url(#clip140)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,617,221)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="14.4844" x="1" xml:space="preserve" y="9">int8</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -940,44 +908,76 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1632">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,639,227)">
|
||||
<image height="22" preserveAspectRatio="none" width="38" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAWCAYAAACsR+4DAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRIie2WXU8CMRBFD+uCgqKJQsQXiYn//z/5hAZC+HLlYwUf5ja7WYbgCsQXJpkU2tI5vZ1OqQAvwD3QAtpq74A6UAMioEI52wBrYAl8AWNgAPTVDtU305wtiwXVAZ7kHeDWAfst3MYBmwBN4Eox0XgqX3tgLQE9A12BBcWqwEUJqDzcN7AiU+xG6yGYJTAHFvItsLbAusBrAexYigUwBDsHEuwoP3eBtYBHAXWAB6ChsbJKkdtEhKldJTu+GTCVj7BcqzprEGP5lPfGrsl/hKxqzVUhTpNMgC2LsOO6zLXuxAMt1vrFWDVMVRfsv23jdUZYgi5ybXqC4OEWFmMtcUpFAJsUPMHywd1JSdtorcSJM1W/K0SMVeKmPFzplOOXi3f5B/YCjMlEcMH6WEUON3HGaQrsO/AG9DAxRvvABmQ3cSWwYz9JY0ypXg5sorGdYEN9TrGKPOU0ioUHPDziE8Vzkz/Wj8LuEkzifKE9FCwk/lhr5xPfVQsFrGE5VhfMtdpj/u1JsDcx0fc5e25+CBhh6nh+qGKeu8d3trOdDfgBs5ixBRXsvc4AAAAASUVORK5CYII=" y="0"/>
|
||||
<g id="BLDCmotorControl_R2017b:2687:1318">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,149,187)">
|
||||
<image height="32" preserveAspectRatio="none" width="28" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA5klEQVRIie2WvQ6CMBSFP0xlcdWFhcmHMY4+qw/kwtIOdYABFodeYpWfwCVxMD3JyW3IpV8uNOnJgBtwAo5SNbKAkxrbfTcagRSRNToAuaw7oAGeY42GMFkBlGKN9lJboAZ89GwA7CcsgbMSCGGymjCZnQLuNgBUSsAETMCBzIKeO5CJL78AXrdCYv3/P0zABFwtQ7idD0zc0Av1ACrZyxMyTTcFdHwGII0qsSNEjFmglXUfgDSKY6KXfdo5YByANPLyrmfBJ7XS4HlPu1aNuI7qKDAj5NKccGi0B6cTt9G6d1LSNr0AyG5EFMEQprcAAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#e60000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,640,228)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,150,188)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<defs>
|
||||
<clipPath id="clip142">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip142)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,150,188)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip148">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip148)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,158.5,198.5)">
|
||||
<path d="M-1,2 L6,2 L6,3 L-1,3 L-1,2 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip149">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip149)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,158.5,198.5)">
|
||||
<path d="M4.125,-2 L4.125,-2.1875 C3.14062,-2.1875 2.89062,-2.42188 2.89062,-2.98438 L2.89062,-10.75 L2.76562,-10.7812 L0.4375,-9.60938 L0.4375,-9.42188 L0.796875,-9.54688 C1.03125,-9.64062 1.25,-9.70312 1.375,-9.70312 C1.65625,-9.70312 1.76562,-9.51562 1.76562,-9.07812 L1.76562,-3.23438 C1.76562,-2.51562 1.5,-2.25 0.53125,-2.1875 L0.53125,-2 L4.125,-2 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip150">
|
||||
<path d="M-2,-13 L7,-13 L7,18 L-2,18 L-2,-13 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip150)" fill="#000000" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(0.7,0,0,0.7,158.5,198.5)">
|
||||
<path d="M4.42188,8.57812 L4.42188,8.4375 L0.75,8.4375 L0.328125,9.9375 L0.53125,10 C0.796875,9.32812 1.04688,9.21875 1.71875,9.21875 L3.48438,9.21875 L-0.546875,14.0469 L-0.421875,14.1719 C-0.21875,14 -0.046875,13.9375 0.15625,13.9375 C0.5,13.9375 0.921875,14.1094 1.53125,14.4844 C2.17188,14.8906 2.625,15.0469 3,15.0469 C3.71875,15.0469 4.20312,14.5781 4.20312,14.0625 C4.20312,13.7812 4.01562,13.5781 3.75,13.5781 C3.54688,13.5781 3.32812,13.8125 3.3125,14.0312 C3.3125,14.125 3.34375,14.2344 3.42188,14.3906 C3.46875,14.4688 3.48438,14.5312 3.48438,14.5781 C3.48438,14.7031 3.34375,14.7812 3.14062,14.7812 C2.8125,14.7812 2.5625,14.625 2.23438,14.125 C1.70312,13.3594 1.42188,13.2188 0.671875,13.0469 L4.42188,8.57812 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk*">
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk">
|
||||
<defs>
|
||||
<clipPath id="clip163">
|
||||
<path d="M-15,-7 L15,-7 L15,7 L-15,7 L-15,-7 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip163)" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,655,235)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="5.54688" x="-2.76562" xml:space="preserve" y="3.5">2</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk frame">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,640,228)">
|
||||
<path d="M7,0 L23,0 C26.866,0 30,3.13401 30,7 C30,10.866 26.866,14 23,14 L7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 z" fill-rule="nonzero" vector-effect="none"/>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="#000000" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="2" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,150,188)">
|
||||
<path d="M0,0 L20,0 L20,24 L0,24 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="blk BlockName">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,655,244)">
|
||||
<path d="M-22.0859,0 L22.0859,0 L22.0859,14 L-22.0859,14 L-22.0859,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,172,198)">
|
||||
<path d="M0,-12 L16.4844,-12 L16.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip164">
|
||||
<path d="M-564.914,-186 L44.1719,-186 L44.1719,15 L-564.914,15 L-564.914,-186 z"/>
|
||||
<path d="M-104,-128 L505.086,-128 L505.086,73 L-104,73 L-104,-128 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip164)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,632.914,244)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="10" font-style="normal" font-weight="400" stroke="none" textLength="42.1719" x="1" xml:space="preserve" y="10">z_dirPrev</text>
|
||||
<g clip-path="url(#clip164)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,172,186)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="14.4844" x="1" xml:space="preserve" y="9">int8</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -990,7 +990,7 @@
|
||||
<!--RAWSTRING-->
|
||||
<g id="BLDCmotorControl_R2017b:2687:1314">
|
||||
<g clip-path="none" fill="none" opacity="0.65098" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,164,59)">
|
||||
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABhElEQVRoge2ZwU7CQBCGv5rKhateuHDiYTz7rL6M9OIFNTTaolQCUTzMNAxYYBWoZDNfMtnSbEr7ZbfszybALXANXGkbG2Mg19ZWvtkxRQT0TMVGF+jo8QKogLKpY4qMiB7Q14qNS23nwBQozLk17MjoA4M27u4fWCAiSmSKNMq4aPOOzh2XYXAZBpdhcBkGl2FwGQaXYUgD+twBiVYIS60vZNX3gSx2noFHrSckG7wC79p3H/dABgw32sx870GEyMgIF1GzBD6RlV8tow5HOfACTIAZYSJaoQ0ZFfLgJZILJsCbnl/88ronJUTGkL/JsNOkQrJBpZ9niIiDh/YxaWNkNNXZTA1LqIxzYQDcnOri/tNqcBkGl2FwGQaXYXAZBpdhSJHM0GXLP8YR8ACMkOcs2BEDUiQ42U2W2Bhp5Ug+2iljrMf1Jkts2O3FAnnGeVPHWobdZImNglVi3jtNxtqhYDVKYqJiPTVP2SIjQfZaO8gLNMaXaJ2U5/xMz47jOM4x+AavNIY4osnh9wAAAABJRU5ErkJggg==" y="0"/>
|
||||
<image height="36" preserveAspectRatio="none" width="67" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAkCAYAAADSO4eRAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABQ0lEQVRoge2ZsU7DMBCGv1ShS1dYunTqwyBGnpWXgS4sXZIhHdohkYDhLuIHOa0lSkDWfdLprOgUx59sD7kKeATugFvPpdEArWeN9nthjQlYS5TGClj6eABOwCFVWGM7Yg1sPErjxnMPHIFOnn1Bd8YG2M7xdX/AgIk4YEckKWMx5xf9d0KGEDKEkCGEDCFkCCFDCBlCnVHzBFQe9xM1L8AukXcZ718Abxl1zxfmeM94x1lyZDz8dJIL5IiYhTgmQsgQQoaQc2fksPWYumCvxa/OETtDCBlCyBBChhAyhJAhhAyhxv4Wr5j4Y1wAr8AeW2eH9U2GVGGNdZa0yVIae48WaxWcldH4eGyylIa2FztsjX2qcJShTZbS6LB1dWQck8YLOj53SUmcPI6SkzIqrNe6xC7QEi/RwaOX8RhBEATBNfgA9UJUHVC2gw4AAAAASUVORK5CYII=" y="0"/>
|
||||
</g>
|
||||
<g clip-path="none" fill="#ffffff" fill-opacity="1" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,165,60)">
|
||||
<path d="M0,0 L59,0 L59,28 L0,28 L0,0 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
@ -1264,5 +1264,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:38 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:12 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
@ -10,5 +10,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:18 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
@ -10,5 +10,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:43 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:18 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 326 KiB After Width: | Height: | Size: 333 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 236 KiB After Width: | Height: | Size: 249 KiB |
@ -2642,7 +2642,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:6#out:7",
|
||||
"sid":"BLDCmotorControl_R2017b:2687:6#out:8",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
@ -3560,7 +3560,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:6#out:6",
|
||||
"sid":"BLDCmotorControl_R2017b:2687:6#out:7",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
@ -3813,5 +3813,56 @@
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
},
|
||||
{
|
||||
"sid":"BLDCmotorControl_R2017b:2687:6#out:6",
|
||||
"className":"Simulink.Line",
|
||||
"icon":"WebViewIcon4",
|
||||
"name":"",
|
||||
"label":"",
|
||||
"parent":"BLDCmotorControl_R2017b:2687",
|
||||
"inspector":{
|
||||
"params":[
|
||||
"SignalNameFromLabel",
|
||||
"MustResolveToSignal",
|
||||
"ShowPropagatedSignal",
|
||||
"DataLogging",
|
||||
"TestPoint",
|
||||
"SignalObjectPackage",
|
||||
"StorageClass",
|
||||
"Description",
|
||||
"documentLink"
|
||||
],
|
||||
"values":[
|
||||
"",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"off",
|
||||
"Simulink",
|
||||
"Auto",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tabs":[
|
||||
"Parameter Attributes",
|
||||
"Logging and Accessibility",
|
||||
"Code Generation",
|
||||
"Documentation"
|
||||
],
|
||||
"tabs_idx":[
|
||||
0,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
},
|
||||
"viewer":{
|
||||
"jshandler":"webview/handlers/ElementHandler"
|
||||
},
|
||||
"obj_viewer":[
|
||||
],
|
||||
"finder":[
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 533 KiB After Width: | Height: | Size: 536 KiB |
@ -1212,15 +1212,15 @@
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,243)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,143)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip74">
|
||||
<path d="M-569.922,-100 L381.461,-100 L381.461,112 L-569.922,112 L-569.922,-100 z"/>
|
||||
<path d="M-569.922,0 L381.461,0 L381.461,212 L-569.922,212 L-569.922,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip74)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,231)">
|
||||
<g clip-path="url(#clip74)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,131)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1233,15 +1233,15 @@
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,218)">
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,193)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip75">
|
||||
<path d="M-569.922,-75 L381.461,-75 L381.461,137 L-569.922,137 L-569.922,-75 z"/>
|
||||
<path d="M-569.922,-50 L381.461,-50 L381.461,162 L-569.922,162 L-569.922,-50 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip75)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,206)">
|
||||
<g clip-path="url(#clip75)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,181)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1254,57 +1254,15 @@
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,143)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip76">
|
||||
<path d="M-569.922,0 L381.461,0 L381.461,212 L-569.922,212 L-569.922,0 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip76)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,131)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="objectBoundingBox" id="grad19" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="0.3" stop-color="#b0defe" stop-opacity="1"/>
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,193)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip77">
|
||||
<path d="M-569.922,-50 L381.461,-50 L381.461,162 L-569.922,162 L-569.922,-50 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip77)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,181)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="objectBoundingBox" id="grad20" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="0.3" stop-color="#b0defe" stop-opacity="1"/>
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,168)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip78">
|
||||
<clipPath id="clip76">
|
||||
<path d="M-569.922,-25 L381.461,-25 L381.461,187 L-569.922,187 L-569.922,-25 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip78)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,156)">
|
||||
<g clip-path="url(#clip76)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,156)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1312,33 +1270,33 @@
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="layout">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="objectBoundingBox" id="grad22" x1="0" x2="0" y1="0" y2="1">
|
||||
<linearGradient gradientUnits="objectBoundingBox" id="grad20" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="0.3" stop-color="#b0defe" stop-opacity="1"/>
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip80">
|
||||
<clipPath id="clip78">
|
||||
<path d="M0,-16 L16,-16 L16,0 L0,0 L0,-16 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip80)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1314.5,253.5)">
|
||||
<g clip-path="url(#clip78)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1314.5,253.5)">
|
||||
<path d="M0,-15 C0,-15.5523 0.447715,-16 1,-16 L15,-16 C15.5523,-16 16,-15.5523 16,-15 L16,-1 C16,-0.447715 15.5523,0 15,0 L1,0 C0.447715,0 0,-0.447715 0,-1 L0,-15 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="LibLink tooltip contextMenu">
|
||||
<defs>
|
||||
<clipPath id="clip81">
|
||||
<clipPath id="clip79">
|
||||
<path d="M1,1 L17,1 L17,17 L1,17 L1,1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip81)" fill="none" opacity="0.8" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1315.5,236.5)">
|
||||
<g clip-path="url(#clip79)" fill="none" opacity="0.8" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1315.5,236.5)">
|
||||
<image height="19" preserveAspectRatio="none" width="19" x="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA4UlEQVQ4jeWTMQrCQBBF34gItraClVVuIHgAKyvP4Ek8gIUnsbISBLGwtLCyCtpKahG+RQKu62YTxc4HU2TJPGZ2ZyCApETSXFKmcnaSJm5eIyQDWk6UMQCG7kHTq6gD9IERMAHaERlALyiTlADjIgYVkiBNRzQtqul+kJ++fDmXfY9cdoiD/wB8KcokzST1fFns+UPciwKSt6Z/JvpQdo6K8OYswgZYAUszO34ruwALYA2czOwa/TvSVlbVlk/ZbgLciqiP8u33OSifo9pVAZjyKR7yXNoU2AJ7M0tLM/+XB6QSpqybkIThAAAAAElFTkSuQmCC" y="0"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip82">
|
||||
<clipPath id="clip80">
|
||||
<path d="M-1,-1 L15,-1 L15,15 L-1,15 L-1,-1 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip82)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1313.5,238.5)">
|
||||
<g clip-path="url(#clip80)" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1313.5,238.5)">
|
||||
<image height="16" preserveAspectRatio="none" width="16" x="-1" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA60lEQVQ4jb3TzyqEURjH8Y/BzFBWygUwa1cj4Q5YKffAzGI27oGysPBvchncgGImYyMuQLI4z5uTnN63lKdOp36d7/P/8E/WQR/TOH20m8Jd3GKC7TgTDJrALVzhCWuZvhOZmKtx8ImtyOI102eaRN/EMfaxlOk9qYTDEtjFJd5whgfsZvAY1wpN7EgNG/uuef4HfBPvfoVH8agXWhWlgkcluB2e827v4RHneMdFCYajiLCaaYvhZIiNEljZVBpXbstYqANbBb2HO5yqmfls3Cs4wAvWcYJ7aRc+6rIgNXEglfIsLUnjz/In+wKCVS3tgySTGgAAAABJRU5ErkJggg==" y="-1"/>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
@ -1346,6 +1304,48 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="objectBoundingBox" id="grad21" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="0.3" stop-color="#b0defe" stop-opacity="1"/>
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,218)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip82">
|
||||
<path d="M-569.922,-75 L381.461,-75 L381.461,137 L-569.922,137 L-569.922,-75 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip82)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,206)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
<g data-tags="portannotationpanel PortDataTypeString">
|
||||
<defs>
|
||||
<linearGradient gradientUnits="objectBoundingBox" id="grad22" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="0.3" stop-color="#b0defe" stop-opacity="1"/>
|
||||
<stop offset="1" stop-color="#52a1d6" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g clip-path="none" fill="none" opacity="1" stroke="none" stroke-opacity="0" transform="matrix(1,0,0,1,-1123,243)">
|
||||
<path d="M0,-12 L21.4844,-12 L21.4844,0 L0,0 L0,-12 z" fill-rule="evenodd" vector-effect="none"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip83">
|
||||
<path d="M-569.922,-100 L381.461,-100 L381.461,112 L-569.922,112 L-569.922,-100 z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip83)" fill="none" opacity="1" stroke="#000000" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity="1" stroke-width="1" transform="matrix(1,0,0,1,-1123,231)">
|
||||
<text fill="#000000" fill-opacity="1" font-family="Arial" font-size="9" font-style="normal" font-weight="400" stroke="none" textLength="19.4844" x="1" xml:space="preserve" y="9">int32</text>
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
@ -2047,5 +2047,5 @@
|
||||
<!--RAWSTRING-->
|
||||
</g>
|
||||
</g>
|
||||
<!--generated on windows @ 2019-06-06 22:50:33 W. Europe Daylight Time-->
|
||||
<!--generated on windows @ 2019-06-11 21:15:06 W. Europe Daylight Time-->
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@ -158,7 +158,7 @@
|
||||
":2687:419#out:1",
|
||||
":2687:6#out:2",
|
||||
":2687:6#out:3",
|
||||
":2687:6#out:7",
|
||||
":2687:6#out:8",
|
||||
":2687:6#out:1",
|
||||
":2687:434#out:1",
|
||||
":2687:215#out:1",
|
||||
@ -176,11 +176,12 @@
|
||||
":2687:215#out:2",
|
||||
":2687:537#out:1",
|
||||
":2687:1379#out:1",
|
||||
":2687:6#out:6",
|
||||
":2687:6#out:7",
|
||||
":2687:6#out:4",
|
||||
":2687:6#out:5",
|
||||
":2687:1660#out:1",
|
||||
":2687:1667#out:1"
|
||||
":2687:1667#out:1",
|
||||
":2687:6#out:6"
|
||||
],
|
||||
"sameAsElement":true
|
||||
},
|
||||
@ -237,25 +238,28 @@
|
||||
":2687:184",
|
||||
":2687:206",
|
||||
":2687:208",
|
||||
":2687:1383",
|
||||
":2687:1313",
|
||||
":2687:1384",
|
||||
":2687:1490",
|
||||
":2687:1662",
|
||||
":2687:1489",
|
||||
":2687:1666",
|
||||
":2687:1482",
|
||||
":2687:1481",
|
||||
":2687:1484",
|
||||
":2687:1382",
|
||||
":2687:1377",
|
||||
":2687:1634",
|
||||
":2687:1483",
|
||||
":2687:1378",
|
||||
":2687:1376",
|
||||
":2687:1661",
|
||||
":2687:1375",
|
||||
":2687:1677",
|
||||
":2687:1662",
|
||||
":2687:1666",
|
||||
":2687:1633",
|
||||
":2687:1382",
|
||||
":2687:1383",
|
||||
":2687:1377",
|
||||
":2687:1482",
|
||||
":2687:1384",
|
||||
":2687:1483",
|
||||
":2687:1484",
|
||||
":2687:1678",
|
||||
":2687:1661",
|
||||
":2687:1679",
|
||||
":2687:1375",
|
||||
":2687:1378",
|
||||
":2687:1489",
|
||||
":2687:1481",
|
||||
":2687:1634",
|
||||
":2687:1313",
|
||||
":2687:1313#out:1",
|
||||
":2687:189#out:1",
|
||||
":2687:188#out:1",
|
||||
@ -283,15 +287,17 @@
|
||||
":2687:1377#out:1",
|
||||
":2687:1378#out:1",
|
||||
":2687:1382#out:1",
|
||||
":2687:59#out:2",
|
||||
":2687:59#out:3",
|
||||
":2687:1482#out:1",
|
||||
":2687:1481#out:1",
|
||||
":2687:59#out:3",
|
||||
":2687:59#out:4",
|
||||
":2687:59#out:5",
|
||||
":2687:38#out:2",
|
||||
":2687:1633#out:1",
|
||||
":2687:1661#out:1",
|
||||
":2687:1666#out:1"
|
||||
":2687:1666#out:1",
|
||||
":2687:59#out:2",
|
||||
":2687:1678#out:1"
|
||||
],
|
||||
"sameAsElement":true
|
||||
},
|
||||
@ -390,9 +396,9 @@
|
||||
":2687:52",
|
||||
":2687:43",
|
||||
":2687:44",
|
||||
":2687:1318",
|
||||
":2687:1631",
|
||||
":2687:1632",
|
||||
":2687:1631",
|
||||
":2687:1318",
|
||||
":2687:1314",
|
||||
":2687:1318#out:1",
|
||||
":2687:49#out:1",
|
||||
@ -447,58 +453,60 @@
|
||||
":2687:92",
|
||||
":2687:61",
|
||||
":2687:100",
|
||||
":2687:1487",
|
||||
":2687:1329",
|
||||
":2687:1328",
|
||||
":2687:1488",
|
||||
":2687:1651",
|
||||
":2687:1525",
|
||||
":2687:1327",
|
||||
":2687:842",
|
||||
":2687:1524",
|
||||
":2687:1401",
|
||||
":2687:1339",
|
||||
":2687:1400",
|
||||
":2687:1630",
|
||||
":2687:1526",
|
||||
":2687:1374",
|
||||
":2687:1372",
|
||||
":2687:1664",
|
||||
":2687:1518",
|
||||
":2687:1400",
|
||||
":2687:1533",
|
||||
":2687:1395",
|
||||
":2687:1521",
|
||||
":2687:1324",
|
||||
":2687:1371",
|
||||
":2687:1455",
|
||||
":2687:1380",
|
||||
":2687:1665",
|
||||
":2687:1401",
|
||||
":2687:1642",
|
||||
":2687:1485",
|
||||
":2687:1517",
|
||||
":2687:1523",
|
||||
":2687:660",
|
||||
":2687:1340",
|
||||
":2687:786",
|
||||
":2687:1641",
|
||||
":2687:972",
|
||||
":2687:1320",
|
||||
":2687:1518",
|
||||
":2687:1366",
|
||||
":2687:1507",
|
||||
":2687:1630",
|
||||
":2687:1488",
|
||||
":2687:1371",
|
||||
":2687:1485",
|
||||
":2687:1397",
|
||||
":2687:1629",
|
||||
":2687:1486",
|
||||
":2687:1372",
|
||||
":2687:1398",
|
||||
":2687:1370",
|
||||
":2687:1525",
|
||||
":2687:1663",
|
||||
":2687:1361",
|
||||
":2687:1651",
|
||||
":2687:1381",
|
||||
":2687:1664",
|
||||
":2687:1373",
|
||||
":2687:1362",
|
||||
":2687:1526",
|
||||
":2687:659",
|
||||
":2687:1321",
|
||||
":2687:1323",
|
||||
":2687:1521",
|
||||
":2687:1326",
|
||||
":2687:1665",
|
||||
":2687:1517",
|
||||
":2687:1329",
|
||||
":2687:1642",
|
||||
":2687:1455",
|
||||
":2687:1641",
|
||||
":2687:1323",
|
||||
":2687:1487",
|
||||
":2687:1380",
|
||||
":2687:1507",
|
||||
":2687:659",
|
||||
":2687:1362",
|
||||
":2687:1676",
|
||||
":2687:1340",
|
||||
":2687:1361",
|
||||
":2687:660",
|
||||
":2687:1381",
|
||||
":2687:1366",
|
||||
":2687:1629",
|
||||
":2687:1674",
|
||||
":2687:1675",
|
||||
":2687:1523",
|
||||
":2687:1663",
|
||||
":2687:1398",
|
||||
":2687:1328",
|
||||
":2687:1370",
|
||||
":2687:842",
|
||||
":2687:786",
|
||||
":2687:1373",
|
||||
":2687:1324",
|
||||
":2687:1486",
|
||||
":2687:1321",
|
||||
":2687:1325",
|
||||
":2687:1366#out:1",
|
||||
":2687:1518#out:1",
|
||||
@ -515,9 +523,8 @@
|
||||
":2687:81#out:1",
|
||||
":2687:61#out:1",
|
||||
":2687:1651#out:1",
|
||||
":2687:1323#out:1",
|
||||
":2687:1324#out:1",
|
||||
":2687:1320#out:1",
|
||||
":2687:1323#out:1",
|
||||
":2687:1321#out:1",
|
||||
":2687:1665#out:1",
|
||||
":2687:1329#out:1",
|
||||
@ -551,7 +558,9 @@
|
||||
":2687:1326#out:1",
|
||||
":2687:1327#out:1",
|
||||
":2687:1524#out:1",
|
||||
":2687:1663#out:1"
|
||||
":2687:1663#out:1",
|
||||
":2687:1401#out:3",
|
||||
":2687:1675#out:1"
|
||||
],
|
||||
"sameAsElement":true
|
||||
},
|
||||
@ -571,11 +580,11 @@
|
||||
"backingUrl":"support/slwebview_files/BLDCmotorControl_R2017b_2687_1340_d.json",
|
||||
"elements":[
|
||||
":2687:1359",
|
||||
":2687:1358",
|
||||
":2687:169",
|
||||
":2687:1344",
|
||||
":2687:1341",
|
||||
":2687:1454",
|
||||
":2687:1344",
|
||||
":2687:1358",
|
||||
":2687:1341",
|
||||
":2687:1341#out:1",
|
||||
":2687:169#out:1",
|
||||
":2687:1454#out:1"
|
||||
@ -605,33 +614,35 @@
|
||||
":2687:1438",
|
||||
":2687:1451",
|
||||
":2687:1440",
|
||||
":2687:1450",
|
||||
":2687:1673",
|
||||
":2687:1625",
|
||||
":2687:1448",
|
||||
":2687:1446",
|
||||
":2687:1638",
|
||||
":2687:1446",
|
||||
":2687:1444",
|
||||
":2687:1443",
|
||||
":2687:1450",
|
||||
":2687:1650",
|
||||
":2687:1649",
|
||||
":2687:1647",
|
||||
":2687:1624",
|
||||
":2687:1645",
|
||||
":2687:1636",
|
||||
":2687:1628",
|
||||
":2687:1650",
|
||||
":2687:1635",
|
||||
":2687:1623",
|
||||
":2687:1439",
|
||||
":2687:1437",
|
||||
":2687:1435",
|
||||
":2687:1637",
|
||||
":2687:1436",
|
||||
":2687:1433",
|
||||
":2687:1645",
|
||||
":2687:1639",
|
||||
":2687:1646",
|
||||
":2687:1640",
|
||||
":2687:1434",
|
||||
":2687:1648",
|
||||
":2687:1625",
|
||||
":2687:1635",
|
||||
":2687:1435",
|
||||
":2687:1434",
|
||||
":2687:1433",
|
||||
":2687:1637",
|
||||
":2687:1443",
|
||||
":2687:1628",
|
||||
":2687:1672",
|
||||
":2687:1639",
|
||||
":2687:1437",
|
||||
":2687:1640",
|
||||
":2687:1646",
|
||||
":2687:1624",
|
||||
":2687:1436",
|
||||
":2687:1627",
|
||||
":2687:1439#out:1",
|
||||
":2687:1448#out:1",
|
||||
@ -659,7 +670,8 @@
|
||||
":2687:1431#out:1",
|
||||
":2687:1640#out:1",
|
||||
":2687:1430#out:1",
|
||||
":2687:1639#out:1"
|
||||
":2687:1639#out:1",
|
||||
":2687:1672#out:1"
|
||||
],
|
||||
"sameAsElement":true
|
||||
},
|
||||
@ -685,8 +697,8 @@
|
||||
":2687:1651:1622",
|
||||
":2687:1651:1614",
|
||||
":2687:1651:1620",
|
||||
":2687:1651:1616",
|
||||
":2687:1651:1618",
|
||||
":2687:1651:1616",
|
||||
":2687:1651:1620#out:1",
|
||||
":2687:1651:1618#out:1",
|
||||
":2687:1651:1616#out:1",
|
||||
@ -766,6 +778,12 @@
|
||||
":2687:1473",
|
||||
":2687:1476",
|
||||
":2687:1465",
|
||||
":2687:1671",
|
||||
":2687:1670",
|
||||
":2687:1681",
|
||||
":2687:1669",
|
||||
":2687:1680",
|
||||
":2687:1668",
|
||||
":2687:521#out:1",
|
||||
":2687:543#out:1",
|
||||
":2687:216#out:1",
|
||||
@ -776,7 +794,6 @@
|
||||
":2687:235#out:1",
|
||||
":2687:231#out:1",
|
||||
":2687:241#out:1",
|
||||
":2687:512#out:1",
|
||||
":2687:522#out:2",
|
||||
":2687:522#out:1",
|
||||
":2687:534#out:1",
|
||||
@ -804,7 +821,13 @@
|
||||
":2687:1471#out:1",
|
||||
":2687:1476#out:1",
|
||||
":2687:1466#out:1",
|
||||
":2687:1467#out:1"
|
||||
":2687:1467#out:1",
|
||||
":2687:512#out:1",
|
||||
":2687:1671#out:1",
|
||||
":2687:1669#out:1",
|
||||
":2687:1670#out:1",
|
||||
":2687:1668#out:1",
|
||||
":2687:1680#out:1"
|
||||
],
|
||||
"sameAsElement":true
|
||||
},
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 22:50:24 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
|
@ -72,6 +72,7 @@ dz_counterLo = 20; % [-] Counter gradient Low. Below this value the con
|
||||
|
||||
%% F02_Electrical_Angle_Calculation
|
||||
b_phaAdvEna = 1; % [-] Phase advance enable parameter: 0 = disable, 1 = enable
|
||||
n_motPhaAdvEna = 400; % [rpm] Phase advance enable motor speed threshold
|
||||
|
||||
% The map below was experimentaly calibrated on the real motor. Objectives: minimum noise and minimum torque ripple
|
||||
a_phaAdv_M1 = [0 0 0 0 0 2 3 5 9 16 25]; % [deg] Phase advance angle
|
||||
|
@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MF0 version="1.1">
|
||||
<ModelRefInfoRepo.ModelRefInfoRoot type="ModelRefInfoRepo.ModelRefInfoRoot" uuid="13f00875-1656-4366-80c1-e1da781e66fd">
|
||||
<dataDictionary/>
|
||||
<dataTransferInfos>AAFJTQAAAAAOAAAAOAAAAAYAAAAIAAAAAgAAAAAAAAAFAAAACAAAAAAAAAABAAAAAQAAAAAAAAAFAAQAAQAAAAEAAAAAAAAA</dataTransferInfos>
|
||||
<hasInlineVariantBlock>false</hasInlineVariantBlock>
|
||||
<hasMachineDataAccess>false</hasMachineDataAccess>
|
||||
<hasSigObjWithICDrivingRootOutport>false</hasSigObjWithICDrivingRootOutport>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="1b555c71-0911-46eb-a0c4-ec73a4482010">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>0</originalPortNumber>
|
||||
</inports>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="86405712-8067-42db-9e20-c326f8877915">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>1</originalPortNumber>
|
||||
</inports>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="0e032927-2093-4bd2-9050-76bafb35bbf3">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>2</originalPortNumber>
|
||||
</inports>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="df4c4678-df48-4dd4-b2ed-d50fe558e639">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>3</originalPortNumber>
|
||||
</inports>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<needElapsedTime>false</needElapsedTime>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="84e696e3-e3c0-4f8f-8cda-054861227df5">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>0</originalPortNumber>
|
||||
</outports>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="b9941c3c-ec37-4418-a88f-738cd597b060">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>1</originalPortNumber>
|
||||
</outports>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="91c767eb-ef7e-4786-adf1-63231f380474">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>2</originalPortNumber>
|
||||
</outports>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="91edb516-62f0-4fab-8620-774a3fc1c36c">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>3</originalPortNumber>
|
||||
</outports>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="1f56d124-89bd-48ca-b981-389f542e3f3c">
|
||||
<EMVCE/>
|
||||
<originalPortNumber>4</originalPortNumber>
|
||||
</outports>
|
||||
<userSpecifiedFixedStepSize>0</userSpecifiedFixedStepSize>
|
||||
<zeroInternalMemoryAtStartupUnchecked>true</zeroInternalMemoryAtStartupUnchecked>
|
||||
<FMUBlockMap type="ModelRefInfoRepo.FMUBlockInfo" uuid="3cfd301c-79e6-4ae5-b03b-5df61126172e"/>
|
||||
<periodicEventPortUnsupportedBlockInfo type="ModelRefInfoRepo.PeriodicEventPortUnsupportedBlockInfo" uuid="94120217-8ebc-40d3-9b8b-10bcf8c341c5">
|
||||
<hasHiddenDeterministicRTB>false</hasHiddenDeterministicRTB>
|
||||
</periodicEventPortUnsupportedBlockInfo>
|
||||
<simulinkFunctions type="ModelRefInfoRepo.SimulinkFunctions" uuid="88e14f15-b682-48d6-bc17-934cce247a43">
|
||||
<compSimulinkFunctionCatalog>AAFJTQAAAAAOAAAAgAAAAAYAAAAIAAAAAgAAAAAAAAAFAAAACAAAAAEAAAABAAAAAQAAAAAAAAAFAAQADgAAAAEAAAAOAAAAQ29tcEZ1bmN0aW9ucwAAAA4AAAAwAAAABgAAAAgAAAAGAAAAAAAAAAUAAAAIAAAAAAAAAAAAAAABAAAAAAAAAAkAAAAAAAAA</compSimulinkFunctionCatalog>
|
||||
<postPropHasAnyExportedFunction>false</postPropHasAnyExportedFunction>
|
||||
<postPropHasAnyVariantExportedFunction>false</postPropHasAnyVariantExportedFunction>
|
||||
</simulinkFunctions>
|
||||
</ModelRefInfoRepo.ModelRefInfoRoot>
|
||||
</MF0>
|
BIN
01_Matlab/slprj/ert/BLDC_controller/tmwinternal/binfo.mat
Normal file
BIN
01_Matlab/slprj/ert/BLDC_controller/tmwinternal/minfo.mat
Normal file
BIN
01_Matlab/slprj/ert/BLDC_controller/tmwinternal/tr
Normal file
BIN
01_Matlab/slprj/ert/_sharedutils/shared_file.dmr
Normal file
BIN
01_Matlab/slprj/ert/_sharedutils/tflSUInfo.mat
Normal file
2
01_Matlab/slprj/sl_proj.tmw
Normal file
@ -0,0 +1,2 @@
|
||||
Simulink Coder project marker file. Please don't change it.
|
||||
slprjVersion: 9.0_037
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 17:49:29 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -146,6 +146,9 @@ struct P_ {
|
||||
int32_T n_commDeacvHi; /* Variable: n_commDeacvHi
|
||||
* Referenced by: '<S14>/n_commDeacv'
|
||||
*/
|
||||
int32_T n_motPhaAdvEna; /* Variable: n_motPhaAdvEna
|
||||
* Referenced by: '<S8>/n_motPhaAdvEna'
|
||||
*/
|
||||
int32_T r_commDCDeacv; /* Variable: r_commDCDeacv
|
||||
* Referenced by: '<S14>/r_commDCDeacv'
|
||||
*/
|
||||
@ -161,6 +164,14 @@ struct P_ {
|
||||
int16_T dz_counterLo; /* Variable: dz_counterLo
|
||||
* Referenced by: '<S14>/dz_counter'
|
||||
*/
|
||||
int16_T z_maxCntRst; /* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S15>/z_counter'
|
||||
* '<S15>/z_counter2'
|
||||
* '<S16>/z_maxCntRst'
|
||||
* '<S17>/Constant1'
|
||||
* '<S17>/UnitDelay1'
|
||||
*/
|
||||
uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel
|
||||
* Referenced by: '<S7>/z_ctrlTypSel1'
|
||||
*/
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 17:49:29 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 17:49:29 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -273,7 +273,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
|
||||
/* End of Outputs for SubSystem: '<S14>/Counter_Hold_and_Error_Calculation' */
|
||||
} else {
|
||||
if (rtDW->UnitDelay1_DSTATE < 1500) {
|
||||
if (rtDW->UnitDelay1_DSTATE < rtP->z_maxCntRst) {
|
||||
/* Switch: '<S17>/Switch2' incorporates:
|
||||
* UnitDelay: '<S17>/UnitDelay1'
|
||||
*/
|
||||
@ -282,7 +282,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
/* Switch: '<S17>/Switch2' incorporates:
|
||||
* Constant: '<S17>/Constant1'
|
||||
*/
|
||||
rtb_Abs2 = 1500;
|
||||
rtb_Abs2 = rtP->z_maxCntRst;
|
||||
}
|
||||
|
||||
rtb_Abs2++;
|
||||
@ -303,7 +303,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
* RelationalOperator: '<S16>/Relational Operator5'
|
||||
* Sum: '<S14>/Sum1'
|
||||
*/
|
||||
if ((rtb_Abs2 > 1500) || (rtDW->Switch2 != rtDW->UnitDelay1)) {
|
||||
if ((rtb_Abs2 > rtP->z_maxCntRst) || (rtDW->Switch2 != rtDW->UnitDelay1)) {
|
||||
rtb_Sum2 = 0;
|
||||
} else {
|
||||
rtb_Sum2 = rtP->cf_speedCoef * rtDW->Switch2 / rtDW->z_counterRawPrev;
|
||||
@ -324,14 +324,14 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
rtb_Sum2 = ((100 - rtP->cf_speedFilt) * rtDW->UnitDelay2_DSTATE + rtb_Sum2 *
|
||||
rtP->cf_speedFilt) / 100;
|
||||
|
||||
/* Abs: '<S14>/Abs5' */
|
||||
/* Abs: '<S16>/Abs5' */
|
||||
if (rtb_Sum2 < 0) {
|
||||
rtb_Abs5 = -rtb_Sum2;
|
||||
} else {
|
||||
rtb_Abs5 = rtb_Sum2;
|
||||
}
|
||||
|
||||
/* End of Abs: '<S14>/Abs5' */
|
||||
/* End of Abs: '<S16>/Abs5' */
|
||||
|
||||
/* Relay: '<S14>/n_commDeacv' */
|
||||
if (rtb_Abs5 >= rtP->n_commDeacvHi) {
|
||||
@ -419,9 +419,12 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
|
||||
/* Switch: '<S8>/Switch_PhaAdv' incorporates:
|
||||
* Constant: '<S8>/a_elecPeriod1'
|
||||
* Constant: '<S8>/n_motPhaAdvEna'
|
||||
* Logic: '<S8>/Logical Operator2'
|
||||
* Outport: '<Root>/a_elecAngle'
|
||||
* RelationalOperator: '<S8>/Relational Operator4'
|
||||
*/
|
||||
if (rtP->b_phaAdvEna) {
|
||||
if (rtP->b_phaAdvEna && (rtb_Abs5 > rtP->n_motPhaAdvEna)) {
|
||||
/* PreLookup: '<S8>/r_phaAdvDC_XA' */
|
||||
rtb_BitwiseOperator = plook_u8s32u32n31_evenc_s(rtb_Abs1,
|
||||
rtP->r_phaAdvDC_XA[0], (uint32_T)rtP->r_phaAdvDC_XA[1] -
|
||||
@ -662,6 +665,7 @@ void BLDC_controller_step(RT_MODEL *const rtM)
|
||||
/* Model initialize function */
|
||||
void BLDC_controller_initialize(RT_MODEL *const rtM)
|
||||
{
|
||||
P *rtP = ((P *) rtM->defaultParam);
|
||||
DW *rtDW = ((DW *) rtM->dwork);
|
||||
|
||||
/* Start for Atomic SubSystem: '<Root>/BLDC_controller' */
|
||||
@ -672,14 +676,14 @@ void BLDC_controller_initialize(RT_MODEL *const rtM)
|
||||
|
||||
/* SystemInitialize for Atomic SubSystem: '<Root>/BLDC_controller' */
|
||||
/* InitializeConditions for UnitDelay: '<S17>/UnitDelay1' */
|
||||
rtDW->UnitDelay1_DSTATE = 1500;
|
||||
rtDW->UnitDelay1_DSTATE = rtP->z_maxCntRst;
|
||||
|
||||
/* SystemInitialize for IfAction SubSystem: '<S14>/Counter_Hold_and_Error_Calculation' */
|
||||
/* InitializeConditions for UnitDelay: '<S15>/z_counter2' */
|
||||
rtDW->z_counter2_DSTATE = 1500;
|
||||
rtDW->z_counter2_DSTATE = rtP->z_maxCntRst;
|
||||
|
||||
/* SystemInitialize for Outport: '<S15>/z_counter' */
|
||||
rtDW->z_counterRawPrev = 1500;
|
||||
rtDW->z_counterRawPrev = rtP->z_maxCntRst;
|
||||
|
||||
/* End of SystemInitialize for SubSystem: '<S14>/Counter_Hold_and_Error_Calculation' */
|
||||
/* End of SystemInitialize for SubSystem: '<Root>/BLDC_controller' */
|
||||
|
@ -7,9 +7,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.879
|
||||
* Model version : 1.883
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Thu Jun 6 17:49:29 2019
|
||||
* C/C++ source code generated on : Tue Jun 11 21:14:57 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@ -115,6 +115,11 @@ P rtP = {
|
||||
*/
|
||||
30,
|
||||
|
||||
/* Variable: n_motPhaAdvEna
|
||||
* Referenced by: '<S8>/n_motPhaAdvEna'
|
||||
*/
|
||||
400,
|
||||
|
||||
/* Variable: r_commDCDeacv
|
||||
* Referenced by: '<S14>/r_commDCDeacv'
|
||||
*/
|
||||
@ -140,6 +145,16 @@ P rtP = {
|
||||
*/
|
||||
20,
|
||||
|
||||
/* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S15>/z_counter'
|
||||
* '<S15>/z_counter2'
|
||||
* '<S16>/z_maxCntRst'
|
||||
* '<S17>/Constant1'
|
||||
* '<S17>/UnitDelay1'
|
||||
*/
|
||||
1500,
|
||||
|
||||
/* Variable: z_ctrlTypSel
|
||||
* Referenced by: '<S7>/z_ctrlTypSel1'
|
||||
*/
|
||||
|