diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json
index 36f4043..99987e5 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json
@@ -100,7 +100,8 @@
88,
89,
90,
- 91
+ 91,
+ 92
],
"hierarchyUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json",
"backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json"
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json
index 3613553..f57e430 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json
@@ -79,37 +79,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10009",
- "className":"Simulink.ActionPort",
- "icon":"WebViewIcon3",
- "name":"Action Port",
- "label":"Action Port",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007",
- "inspector":{
- "params":[
- "InitializeStates",
- "PropagateVarSize"
- ],
- "values":[
- "reset",
- "Only when execution is resumed"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"ActionPort",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10008",
"className":"Simulink.Inport",
@@ -177,6 +146,37 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10009",
+ "className":"Simulink.ActionPort",
+ "icon":"WebViewIcon3",
+ "name":"Action Port",
+ "label":"Action Port",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007",
+ "inspector":{
+ "params":[
+ "InitializeStates",
+ "PropagateVarSize"
+ ],
+ "values":[
+ "reset",
+ "Only when execution is resumed"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"ActionPort",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10008#out:1",
"className":"Simulink.Line",
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg
index 6322f48..320f2f4 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg
@@ -59,54 +59,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- else { }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Action Port
-
-
-
-
-
-
-
-
@@ -119,11 +71,11 @@
-
+
-
+
1
@@ -141,11 +93,11 @@
-
+
-
+
r_inpTgtScaRaw
@@ -156,11 +108,11 @@
-
+
-
+
sfix16_En4
@@ -170,6 +122,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ else { }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Action Port
+
+
+
+
+
+
+
+
@@ -186,5 +186,5 @@
-
+
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg
index 5052248..40eea73 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg
@@ -519,5 +519,5 @@
-
+
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json
index 3d3af8d..f99a267 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.json
@@ -146,202 +146,6 @@
"finder":[
]
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10518",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"r_fieldWeakHi",
- "label":"r_fieldWeakHi",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "r_fieldWeakHi",
- "on",
- "inf",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10517",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"n_fieldWeakAuthLo",
- "label":"n_fieldWeakAuthLo",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "n_fieldWeakAuthLo",
- "on",
- "inf",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10519",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"r_fieldWeakLo",
- "label":"r_fieldWeakLo",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "r_fieldWeakLo",
- "on",
- "inf",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10516",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"n_fieldWeakAuthHi",
- "label":"n_fieldWeakAuthHi",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "n_fieldWeakAuthHi",
- "on",
- "inf",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10513",
"className":"Simulink.Switch",
@@ -399,6 +203,55 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10518",
+ "className":"Simulink.Constant",
+ "icon":"WebViewIcon3",
+ "name":"r_fieldWeakHi",
+ "label":"r_fieldWeakHi",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
+ ],
+ "values":[
+ "r_fieldWeakHi",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "fixdt(1,16,4)",
+ "off",
+ "inf"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Constant",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10512",
"className":"Simulink.Sum",
@@ -458,6 +311,55 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10514",
+ "className":"Simulink.Constant",
+ "icon":"WebViewIcon3",
+ "name":"a_phaAdvMax",
+ "label":"a_phaAdvMax",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
+ ],
+ "values":[
+ "a_phaAdvMax",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "fixdt(1,16,4)",
+ "off",
+ "inf"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Constant",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10511",
"className":"Simulink.Sum",
@@ -517,6 +419,65 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10510",
+ "className":"Simulink.Sum",
+ "icon":"WebViewIcon3",
+ "name":"Sum2",
+ "label":"Sum2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "IconShape",
+ "Inputs",
+ "InputSameDT",
+ "AccumDataTypeStr",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "CollapseDim",
+ "CollapseMode",
+ "SampleTime"
+ ],
+ "values":[
+ "rectangular",
+ "+-",
+ "off",
+ "Inherit: Inherit via internal rule",
+ "[]",
+ "[]",
+ "Inherit: Same as first input",
+ "off",
+ "Simplest",
+ "off",
+ "1",
+ "All dimensions",
+ "-1"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 10
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Sum",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10509",
"className":"Simulink.Sum",
@@ -577,56 +538,89 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10506",
- "className":"Simulink.RelationalOperator",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
+ "className":"Saturation Dynamic",
"icon":"WebViewIcon3",
- "name":"Relational Operator1",
- "label":"Relational Operator1",
+ "name":"Saturation Dynamic1",
+ "label":"Saturation Dynamic1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
"inspector":{
"params":[
- "Operator",
- "InputSameDT",
+ "OutMin",
+ "OutMax",
"OutDataTypeStr",
+ "LockScale",
"RndMeth",
- "SampleTime",
- "ZeroCross"
+ "DoSatur"
],
"values":[
- "==",
+ "[]",
+ "[]",
+ "Inherit: Same as second input",
"off",
- "boolean",
- "Simplest",
- "-1",
- "on"
+ "Floor",
+ "off"
],
"tabs":[
- "Main",
- "Data Type",
- "-Other"
],
"tabs_idx":[
- 0,
- 1,
- 4
]
},
"viewer":{
- "jshandler":"webview/handlers/ElementHandler"
+ "jshandler":"webview/handlers/ContainerHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"RelationalOperator",
- "masktype":""
+ "blocktype":"SubSystem",
+ "masktype":"Saturation Dynamic"
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10504",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
+ "className":"Saturation Dynamic",
+ "icon":"WebViewIcon3",
+ "name":"Saturation Dynamic",
+ "label":"Saturation Dynamic",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "RndMeth",
+ "DoSatur"
+ ],
+ "values":[
+ "[]",
+ "[]",
+ "Inherit: Same as second input",
+ "off",
+ "Floor",
+ "off"
+ ],
+ "tabs":[
+ ],
+ "tabs_idx":[
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ContainerHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"SubSystem",
+ "masktype":"Saturation Dynamic"
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10503",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto27",
- "label":"Goto27",
+ "name":"Goto22",
+ "label":"Goto22",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
"inspector":{
"params":[
@@ -635,7 +629,7 @@
"IconDisplay"
],
"values":[
- "n_motAbs",
+ "r_inpTgt",
"local",
"Tag"
],
@@ -655,11 +649,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10503",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10504",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto22",
- "label":"Goto22",
+ "name":"Goto27",
+ "label":"Goto27",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
"inspector":{
"params":[
@@ -668,7 +662,7 @@
"IconDisplay"
],
"values":[
- "r_inpTgt",
+ "n_motAbs",
"local",
"Tag"
],
@@ -720,6 +714,51 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10506",
+ "className":"Simulink.RelationalOperator",
+ "icon":"WebViewIcon3",
+ "name":"Relational Operator1",
+ "label":"Relational Operator1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Operator",
+ "InputSameDT",
+ "OutDataTypeStr",
+ "RndMeth",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "==",
+ "off",
+ "boolean",
+ "Simplest",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Main",
+ "Data Type",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 1,
+ 4
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"RelationalOperator",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10500",
"className":"Simulink.From",
@@ -751,125 +790,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10514",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"a_phaAdvMax",
- "label":"a_phaAdvMax",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "a_phaAdvMax",
- "on",
- "inf",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10499",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From24",
- "label":"From24",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgt",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10507",
- "className":"Saturation Dynamic",
- "icon":"WebViewIcon3",
- "name":"Saturation Dynamic",
- "label":"Saturation Dynamic",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "RndMeth",
- "DoSatur"
- ],
- "values":[
- "[]",
- "[]",
- "Inherit: Same as second input",
- "off",
- "Floor",
- "off"
- ],
- "tabs":[
- ],
- "tabs_idx":[
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SubSystem",
- "masktype":"Saturation Dynamic"
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10498",
"className":"Simulink.From",
@@ -902,42 +822,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10497",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From1",
- "label":"From1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_ctrlTypSel",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10493",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10495",
"className":"Simulink.Product",
"icon":"WebViewIcon3",
- "name":"Divide14",
- "label":"Divide14",
+ "name":"Divide3",
+ "label":"Divide3",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
"inspector":{
"params":[
@@ -955,12 +844,12 @@
"SampleTime"
],
"values":[
- "*/",
+ "**",
"Element-wise(.*)",
"off",
"[]",
"[]",
- "fixdt(0,16,15)",
+ "Inherit: Same as first input",
"off",
"Simplest",
"off",
@@ -1103,6 +992,96 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10493",
+ "className":"Simulink.Product",
+ "icon":"WebViewIcon3",
+ "name":"Divide14",
+ "label":"Divide14",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Inputs",
+ "Multiplication",
+ "InputSameDT",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "CollapseDim",
+ "CollapseMode",
+ "SampleTime"
+ ],
+ "values":[
+ "*/",
+ "Element-wise(.*)",
+ "off",
+ "[]",
+ "[]",
+ "fixdt(0,16,15)",
+ "off",
+ "Simplest",
+ "off",
+ "1",
+ "All dimensions",
+ "-1"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 9
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Product",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10505",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto6",
+ "label":"Goto6",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_blendFactor",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10491",
"className":"Simulink.Constant",
@@ -1153,51 +1132,27 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10495",
- "className":"Simulink.Product",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10501",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Divide3",
- "label":"Divide3",
+ "name":"Goto",
+ "label":"Goto",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
"inspector":{
"params":[
- "Inputs",
- "Multiplication",
- "InputSameDT",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "CollapseDim",
- "CollapseMode",
- "SampleTime"
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
],
"values":[
- "**",
- "Element-wise(.*)",
- "off",
- "[]",
- "[]",
- "Inherit: Same as first input",
- "off",
- "Simplest",
- "off",
- "1",
- "All dimensions",
- "-1"
+ "z_ctrlTypSel",
+ "local",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 2,
- 9
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -1205,7 +1160,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Product",
+ "blocktype":"Goto",
"masktype":""
}
},
@@ -1240,6 +1195,264 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10488",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"n_motAbs",
+ "label":"n_motAbs",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "3",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10497",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From1",
+ "label":"From1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlTypSel",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10519",
+ "className":"Simulink.Constant",
+ "icon":"WebViewIcon3",
+ "name":"r_fieldWeakLo",
+ "label":"r_fieldWeakLo",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
+ ],
+ "values":[
+ "r_fieldWeakLo",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "fixdt(1,16,4)",
+ "off",
+ "inf"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Constant",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10499",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From24",
+ "label":"From24",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgt",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10520",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"r_fieldWeak ",
+ "label":"r_fieldWeak ",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
+ ],
+ "values":[
+ "1",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "[]",
+ "off",
+ "held",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Outport",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10496",
"className":"Simulink.From",
@@ -1318,165 +1531,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10510",
- "className":"Simulink.Sum",
- "icon":"WebViewIcon3",
- "name":"Sum2",
- "label":"Sum2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "IconShape",
- "Inputs",
- "InputSameDT",
- "AccumDataTypeStr",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "CollapseDim",
- "CollapseMode",
- "SampleTime"
- ],
- "values":[
- "rectangular",
- "+-",
- "off",
- "Inherit: Inherit via internal rule",
- "[]",
- "[]",
- "Inherit: Same as first input",
- "off",
- "Simplest",
- "off",
- "1",
- "All dimensions",
- "-1"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 10
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Sum",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10488",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"n_motAbs",
- "label":"n_motAbs",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "3",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10505",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto6",
- "label":"Goto6",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "r_blendFactor",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10487",
"className":"Simulink.Inport",
@@ -1545,74 +1599,100 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10508",
- "className":"Saturation Dynamic",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10516",
+ "className":"Simulink.Constant",
"icon":"WebViewIcon3",
- "name":"Saturation Dynamic1",
- "label":"Saturation Dynamic1",
+ "name":"n_fieldWeakAuthHi",
+ "label":"n_fieldWeakAuthHi",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
"inspector":{
"params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "RndMeth",
- "DoSatur"
+ "FramePeriod"
],
"values":[
+ "n_fieldWeakAuthHi",
+ "on",
+ "inf",
"[]",
"[]",
- "Inherit: Same as second input",
+ "fixdt(1,16,4)",
"off",
- "Floor",
- "off"
+ "inf"
],
"tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
],
"tabs_idx":[
+ 0,
+ 3,
+ 7
]
},
- "viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SubSystem",
- "masktype":"Saturation Dynamic"
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10501",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto",
- "label":"Goto",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "z_ctrlTypSel",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"Constant",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10517",
+ "className":"Simulink.Constant",
+ "icon":"WebViewIcon3",
+ "name":"n_fieldWeakAuthLo",
+ "label":"n_fieldWeakAuthLo",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
+ "inspector":{
+ "params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
+ ],
+ "values":[
+ "n_fieldWeakAuthLo",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "fixdt(1,16,4)",
+ "off",
+ "inf"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Constant",
"masktype":""
}
},
@@ -1683,86 +1763,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10520",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"r_fieldWeak ",
- "label":"r_fieldWeak ",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10066",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
- ],
- "values":[
- "1",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "[]",
- "off",
- "held",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10515",
"className":"Simulink.Constant",
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png
index 392943e..ed880b4 100644
Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.png differ
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg
index 739f497..6800785 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10066_d.svg
@@ -84,419 +84,167 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_fieldWeakHi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_fieldWeakHi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- n_fieldWeakAuthLo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- n_fieldWeakAuthLo
-
-
-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
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
- Action Port
+
+ r_fieldWeak
@@ -1624,11 +1851,11 @@
-
+
-
+
[r_blendFactor]
@@ -1646,11 +1873,11 @@
-
+
-
+
ufix16_En15
@@ -1672,35 +1899,35 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1726,11 +1953,11 @@
-
+
-
+
sfix16_En4
@@ -1740,166 +1967,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- n_motAbs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_blendFactor]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1912,11 +1979,11 @@
-
+
-
+
2
@@ -1934,11 +2001,11 @@
-
+
-
+
r_inpTgt
@@ -1949,11 +2016,11 @@
-
+
-
+
sfix16_En4
@@ -1965,107 +2032,58 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
- up
-
-
-
-
-
-
-
- u
-
-
-
-
-
-
-
- lo
-
-
+
-
- y
+
+ n_fieldWeakAuthHi
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ n_fieldWeakAuthHi
-
+
-
-
+
+
-
+
sfix16_En4
@@ -2077,29 +2095,59 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [z_ctrlTypSel]
+
+ n_fieldWeakAuthLo
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ n_fieldWeakAuthLo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
@@ -2120,11 +2168,11 @@
-
+
-
+
1
@@ -2142,11 +2190,11 @@
-
+
-
+
z_ctrlTypSel
@@ -2157,11 +2205,11 @@
-
+
-
+
uint8
@@ -2171,54 +2219,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_fieldWeak
-
-
-
-
-
-
-
-
@@ -2743,10 +2743,10 @@
-
+
-
+
@@ -2796,5 +2796,5 @@
-
+
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json
index 93f4284..a310c6e 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.json
@@ -49,11 +49,11 @@
]
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10186",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10168",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"task3",
- "label":"task3",
+ "name":"task2",
+ "label":"task2",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164",
"inspector":{
"params":[
@@ -82,7 +82,7 @@
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "3",
+ "2",
"Port number",
"[]",
"[]",
@@ -178,6 +178,56 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10184",
+ "className":"Simulink.UnitDelay",
+ "icon":"WebViewIcon3",
+ "name":"UnitDelay5",
+ "label":"UnitDelay5",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164",
+ "inspector":{
+ "params":[
+ "InitialCondition",
+ "InputProcessing",
+ "SampleTime",
+ "StateName",
+ "CodeGenStateStorageTypeQualifier",
+ "StateMustResolveToSignalObject",
+ "StateSignalObject",
+ "StateStorageClass"
+ ],
+ "values":[
+ "0",
+ "Inherited",
+ "-1",
+ "",
+ "",
+ "off",
+ [
+ ],
+ "Auto"
+ ],
+ "tabs":[
+ "Main",
+ "State Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 4
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"UnitDelay",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10162",
"className":"Simulink.UnitDelay",
@@ -228,6 +278,56 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10183",
+ "className":"Simulink.UnitDelay",
+ "icon":"WebViewIcon3",
+ "name":"UnitDelay2",
+ "label":"UnitDelay2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164",
+ "inspector":{
+ "params":[
+ "InitialCondition",
+ "InputProcessing",
+ "SampleTime",
+ "StateName",
+ "CodeGenStateStorageTypeQualifier",
+ "StateMustResolveToSignalObject",
+ "StateSignalObject",
+ "StateStorageClass"
+ ],
+ "values":[
+ "1",
+ "Inherited",
+ "-1",
+ "",
+ "",
+ "off",
+ [
+ ],
+ "Auto"
+ ],
+ "tabs":[
+ "Main",
+ "State Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 4
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"UnitDelay",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10167",
"className":"Simulink.Outport",
@@ -308,136 +408,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10183",
- "className":"Simulink.UnitDelay",
- "icon":"WebViewIcon3",
- "name":"UnitDelay2",
- "label":"UnitDelay2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164",
- "inspector":{
- "params":[
- "InitialCondition",
- "InputProcessing",
- "SampleTime",
- "StateName",
- "CodeGenStateStorageTypeQualifier",
- "StateMustResolveToSignalObject",
- "StateSignalObject",
- "StateStorageClass"
- ],
- "values":[
- "1",
- "Inherited",
- "-1",
- "",
- "",
- "off",
- [
- ],
- "Auto"
- ],
- "tabs":[
- "Main",
- "State Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 4
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"UnitDelay",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10168",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"task2",
- "label":"task2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
- ],
- "values":[
- "2",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "0",
- "off",
- "reset",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10190",
"className":"Simulink.DataTypeConversion",
@@ -486,43 +456,73 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10184",
- "className":"Simulink.UnitDelay",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10186",
+ "className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"UnitDelay5",
- "label":"UnitDelay5",
+ "name":"task3",
+ "label":"task3",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10164",
"inspector":{
"params":[
- "InitialCondition",
- "InputProcessing",
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
"SampleTime",
- "StateName",
- "CodeGenStateStorageTypeQualifier",
- "StateMustResolveToSignalObject",
- "StateSignalObject",
- "StateStorageClass"
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "0",
- "Inherited",
- "-1",
- "",
- "",
+ "3",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
"off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "0",
+ "off",
+ "reset",
+ "off",
+ "0",
+ "",
[
],
- "Auto"
+ "Dialog",
+ "Auto",
+ "off"
],
"tabs":[
"Main",
- "State Attributes",
+ "Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
- 3,
- 4
+ 2,
+ 11
]
},
"viewer":{
@@ -531,7 +531,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"UnitDelay",
+ "blocktype":"Outport",
"masktype":""
}
},
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg
index 7606b2f..db4340b 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10164_d.svg
@@ -41,11 +41,11 @@
-
-
+
+
-
+
@@ -55,30 +55,30 @@
-
- 3
+
+ 2
-
+
-
+
-
+
-
- task3
+
+ task2
@@ -148,36 +148,131 @@
-
-
-
-
-
-
-
-
-
-
- Ini=0
-
-
-
-
-
+
-
+
boolean
+
+
+
+
+
+
+
+
+
+
+ Ini=0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Ini=0
+
+
+
+
@@ -194,35 +289,35 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -248,11 +343,11 @@
-
+
-
+
Ini=1
@@ -260,29 +355,29 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -294,59 +389,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- task1
-
-
-
-
-
-
-
-
-
+
@@ -354,35 +401,35 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -408,11 +455,11 @@
-
+
-
+
Ini=1
@@ -423,11 +470,11 @@
-
+
-
+
boolean
@@ -439,44 +486,44 @@
-
-
+
+
-
+
-
+
-
- 2
+
+ 1
-
+
-
+
-
-
+
+
-
- task2
+
+ task1
@@ -497,19 +544,19 @@
-
+
-
+
-
+
-
+
@@ -535,11 +582,11 @@
-
+
-
+
boolean
@@ -551,91 +598,44 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 3
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
- Ini=0
-
-
-
-
-
-
-
+
+
+
-
+
-
- boolean
+
+ task3
@@ -871,5 +871,5 @@
-
+
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json
index c4481e4..63b974b 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.json
@@ -79,200 +79,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"Vd_Calculation",
- "label":"Vd_Calculation",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "ShowPortLabels",
- "Permissions",
- "ErrorFcn",
- "PermitHierarchicalResolution",
- "TreatAsAtomicUnit",
- "TreatAsGroupedWhenPropagatingVariantConditions",
- "ActiveVariant",
- "ActiveVariantBlock",
- "AllowZeroVariantControls",
- "BlockChoice",
- "FunctionInterfaceSpec",
- "FunctionWithSeparateData",
- "GeneratePreprocessorConditionals",
- "IsSubsystemVirtual",
- "MemberBlocks",
- "MinAlgLoopOccurrences",
- "OverrideUsingVariant",
- "PropExecContextOutsideSubsystem",
- "PropagateVariantConditions",
- "RTWFcnName",
- "RTWFcnNameOpts",
- "RTWFileName",
- "RTWFileNameOpts",
- "RTWMemSecDataConstants",
- "RTWMemSecDataInternal",
- "RTWMemSecDataParameters",
- "RTWMemSecFuncExecute",
- "RTWMemSecFuncInitTerm",
- "RTWSystemCode",
- "SystemSampleTime",
- "TemplateBlock",
- "Variant",
- "VariantControl"
- ],
- "values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
- "off",
- "on",
- "",
- "",
- "off",
- "",
- "void_void",
- "off",
- "off",
- "off",
- "",
- "off",
- "",
- "off",
- "off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
- "off",
- ""
- ],
- "tabs":[
- "Main",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 6
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SubSystem",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"Speed_Mode",
- "label":"Speed_Mode",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "ShowPortLabels",
- "Permissions",
- "ErrorFcn",
- "PermitHierarchicalResolution",
- "TreatAsAtomicUnit",
- "TreatAsGroupedWhenPropagatingVariantConditions",
- "ActiveVariant",
- "ActiveVariantBlock",
- "AllowZeroVariantControls",
- "BlockChoice",
- "FunctionInterfaceSpec",
- "FunctionWithSeparateData",
- "GeneratePreprocessorConditionals",
- "IsSubsystemVirtual",
- "MemberBlocks",
- "MinAlgLoopOccurrences",
- "OverrideUsingVariant",
- "PropExecContextOutsideSubsystem",
- "PropagateVariantConditions",
- "RTWFcnName",
- "RTWFcnNameOpts",
- "RTWFileName",
- "RTWFileNameOpts",
- "RTWMemSecDataConstants",
- "RTWMemSecDataInternal",
- "RTWMemSecDataParameters",
- "RTWMemSecFuncExecute",
- "RTWMemSecFuncInitTerm",
- "RTWSystemCode",
- "SystemSampleTime",
- "TemplateBlock",
- "Variant",
- "VariantControl"
- ],
- "values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
- "off",
- "on",
- "",
- "",
- "off",
- "",
- "void_void",
- "off",
- "off",
- "off",
- "",
- "off",
- "",
- "off",
- "off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
- "off",
- ""
- ],
- "tabs":[
- "Main",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 6
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SubSystem",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171",
"className":"Simulink.SubSystem",
@@ -371,27 +177,130 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10425",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto9",
- "label":"Goto9",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"Torque_Mode",
+ "label":"Torque_Mode",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
+ "ShowPortLabels",
+ "Permissions",
+ "ErrorFcn",
+ "PermitHierarchicalResolution",
+ "TreatAsAtomicUnit",
+ "TreatAsGroupedWhenPropagatingVariantConditions",
+ "ActiveVariant",
+ "ActiveVariantBlock",
+ "AllowZeroVariantControls",
+ "BlockChoice",
+ "FunctionInterfaceSpec",
+ "FunctionWithSeparateData",
+ "GeneratePreprocessorConditionals",
+ "IsSubsystemVirtual",
+ "MemberBlocks",
+ "MinAlgLoopOccurrences",
+ "OverrideUsingVariant",
+ "PropExecContextOutsideSubsystem",
+ "PropagateVariantConditions",
+ "RTWFcnName",
+ "RTWFcnNameOpts",
+ "RTWFileName",
+ "RTWFileNameOpts",
+ "RTWMemSecDataConstants",
+ "RTWMemSecDataInternal",
+ "RTWMemSecDataParameters",
+ "RTWMemSecFuncExecute",
+ "RTWMemSecFuncInitTerm",
+ "RTWSystemCode",
+ "SystemSampleTime",
+ "TemplateBlock",
+ "Variant",
+ "VariantControl"
],
"values":[
- "iq_min",
- "local",
- "Tag"
+ "FromPortIcon",
+ "ReadWrite",
+ "",
+ "All",
+ "off",
+ "on",
+ "",
+ "",
+ "off",
+ "",
+ "void_void",
+ "off",
+ "off",
+ "off",
+ "",
+ "off",
+ "",
+ "off",
+ "off",
+ "",
+ "Auto",
+ "",
+ "Auto",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Auto",
+ "-1",
+ "",
+ "off",
+ ""
],
"tabs":[
- "Parameter Attributes"
+ "Main",
+ "-Other"
],
- "tabs_idx":0
+ "tabs_idx":[
+ 0,
+ 6
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ContainerHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"SubSystem",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108",
+ "className":"Simulink.SwitchCase",
+ "icon":"WebViewIcon3",
+ "name":"Switch Case",
+ "label":"Switch Case",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "CaseConditions",
+ "ShowDefaultCase",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "{VLT_MODE, SPD_MODE, TRQ_MODE}",
+ "on",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2
+ ]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -399,7 +308,143 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"SwitchCase",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"Speed_Mode",
+ "label":"Speed_Mode",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "ShowPortLabels",
+ "Permissions",
+ "ErrorFcn",
+ "PermitHierarchicalResolution",
+ "TreatAsAtomicUnit",
+ "TreatAsGroupedWhenPropagatingVariantConditions",
+ "ActiveVariant",
+ "ActiveVariantBlock",
+ "AllowZeroVariantControls",
+ "BlockChoice",
+ "FunctionInterfaceSpec",
+ "FunctionWithSeparateData",
+ "GeneratePreprocessorConditionals",
+ "IsSubsystemVirtual",
+ "MemberBlocks",
+ "MinAlgLoopOccurrences",
+ "OverrideUsingVariant",
+ "PropExecContextOutsideSubsystem",
+ "PropagateVariantConditions",
+ "RTWFcnName",
+ "RTWFcnNameOpts",
+ "RTWFileName",
+ "RTWFileNameOpts",
+ "RTWMemSecDataConstants",
+ "RTWMemSecDataInternal",
+ "RTWMemSecDataParameters",
+ "RTWMemSecFuncExecute",
+ "RTWMemSecFuncInitTerm",
+ "RTWSystemCode",
+ "SystemSampleTime",
+ "TemplateBlock",
+ "Variant",
+ "VariantControl"
+ ],
+ "values":[
+ "FromPortIcon",
+ "ReadWrite",
+ "",
+ "All",
+ "off",
+ "on",
+ "",
+ "",
+ "off",
+ "",
+ "void_void",
+ "off",
+ "off",
+ "off",
+ "",
+ "off",
+ "",
+ "off",
+ "off",
+ "",
+ "Auto",
+ "",
+ "Auto",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Auto",
+ "-1",
+ "",
+ "off",
+ ""
+ ],
+ "tabs":[
+ "Main",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 6
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ContainerHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"SubSystem",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8912",
+ "className":"Simulink.Merge",
+ "icon":"WebViewIcon3",
+ "name":"Merge",
+ "label":"Merge",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "InitialOutput",
+ "AllowUnequalInputPortWidths",
+ "InputPortOffsets",
+ "Inputs"
+ ],
+ "values":[
+ "[]",
+ "off",
+ "[]",
+ "4"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 1
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Merge",
"masktype":""
}
},
@@ -436,119 +481,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10424",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto7",
- "label":"Goto7",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "iq_max",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10368",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"Vq",
- "label":"Vq",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
- ],
- "values":[
- "2",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "[]",
- "off",
- "held",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10420",
"className":"Simulink.Goto",
@@ -583,11 +515,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8852",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10419",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto30",
- "label":"Goto30",
+ "name":"Goto5",
+ "label":"Goto5",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -596,7 +528,7 @@
"IconDisplay"
],
"values":[
- "Vq",
+ "Vq_min",
"local",
"Tag"
],
@@ -714,115 +646,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10411",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto19",
- "label":"Goto19",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "id_max",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715",
- "className":"Simulink.If",
- "icon":"WebViewIcon3",
- "name":"If1",
- "label":"If1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "NumInputs",
- "IfExpression",
- "ElseIfExpressions",
- "ShowElse",
- "SampleTime",
- "ZeroCross"
- ],
- "values":[
- "1",
- "u1 ~= 0",
- "",
- "off",
- "-1",
- "on"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 4
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"If",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10410",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto18",
- "label":"Goto18",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vd_min",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10735",
"className":"Simulink.Goto",
@@ -857,969 +680,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10409",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto17",
- "label":"Goto17",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vd_max",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10723",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto16",
- "label":"Goto16",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "r_nLimProtMax",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108",
- "className":"Simulink.SwitchCase",
- "icon":"WebViewIcon3",
- "name":"Switch Case",
- "label":"Switch Case",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "CaseConditions",
- "ShowDefaultCase",
- "SampleTime",
- "ZeroCross"
- ],
- "values":[
- "{VLT_MODE, SPD_MODE, TRQ_MODE}",
- "on",
- "-1",
- "on"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SwitchCase",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8834",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto14",
- "label":"Goto14",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vq_Vlt",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10427",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto13",
- "label":"Goto13",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "n_mot",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8831",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto11",
- "label":"Goto11",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vq_Trq",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8830",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto10",
- "label":"Goto10",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vq_Open",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10030",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From9",
- "label":"From9",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgtSca",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From67",
- "label":"From67",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_nLimProtMax",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10367",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From6",
- "label":"From6",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From58",
- "label":"From58",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "id_min",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From57",
- "label":"From57",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "id_max",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From59",
- "label":"From59",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "iq_max",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From53",
- "label":"From53",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vd_max",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10742",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From5",
- "label":"From5",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgtScaAbs",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8803",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From48",
- "label":"From48",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_Trq",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10722",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto15",
- "label":"Goto15",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "r_iqLimProtMax",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10419",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto5",
- "label":"Goto5",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vq_min",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8793",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From38",
- "label":"From38",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_max",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From68",
- "label":"From68",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "iq_limProtErr",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8792",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From37",
- "label":"From37",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgtSca",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8791",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From36",
- "label":"From36",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "n_mot",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8832",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto12",
- "label":"Goto12",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vq_Spd",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10724",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From3",
- "label":"From3",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_iqLimProtMax",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8777",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From20",
- "label":"From20",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_min",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10730",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From4",
- "label":"From4",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_nLimProtMax",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8774",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From18",
- "label":"From18",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgtSca",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From14",
- "label":"From14",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "b_enaAdvCtrl",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10408",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto",
- "label":"Goto",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "id_Tgt",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8770",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From13",
- "label":"From13",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "id_Tgt",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143",
"className":"Simulink.SubSystem",
"icon":"WebViewIcon1",
- "name":"Torque_Mode",
- "label":"Torque_Mode",
+ "name":"Vd_Calculation",
+ "label":"Vd_Calculation",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -1912,19 +777,21 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8766",
- "className":"Simulink.From",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10412",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"From1",
- "label":"From1",
+ "name":"Goto2",
+ "label":"Goto2",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
"GotoTag",
+ "TagVisibility",
"IconDisplay"
],
"values":[
"id",
+ "local",
"Tag"
],
"tabs":[
@@ -1938,16 +805,323 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"Goto",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8765",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10424",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto7",
+ "label":"Goto7",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "iq_max",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10410",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto18",
+ "label":"Goto18",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vd_min",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10409",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto17",
+ "label":"Goto17",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vd_max",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10723",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto16",
+ "label":"Goto16",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_nLimProtMax",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10722",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto15",
+ "label":"Goto15",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_iqLimProtMax",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10425",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto9",
+ "label":"Goto9",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "iq_min",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8834",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto14",
+ "label":"Goto14",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Vlt",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8830",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto10",
+ "label":"Goto10",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Open",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715",
+ "className":"Simulink.If",
+ "icon":"WebViewIcon3",
+ "name":"If1",
+ "label":"If1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "NumInputs",
+ "IfExpression",
+ "ElseIfExpressions",
+ "ShowElse",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "1",
+ "u1 ~= 0",
+ "",
+ "off",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 4
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"If",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10030",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From",
- "label":"From",
+ "name":"From9",
+ "label":"From9",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -1973,470 +1147,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From54",
- "label":"From54",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vd_min",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10366",
- "className":"Simulink.ActionPort",
- "icon":"WebViewIcon3",
- "name":"Action Port",
- "label":"Action Port",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "InitializeStates",
- "PropagateVarSize"
- ],
- "values":[
- "held",
- "Only when execution is resumed"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"ActionPort",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10417",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"Vq_nLimProtMax",
- "label":"Vq_nLimProtMax",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "20",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10416",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"iq_limProtErr",
- "label":"iq_limProtErr",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "19",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10720",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"r_iqLimProtMax",
- "label":"r_iqLimProtMax",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "17",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10423",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"iq_min",
- "label":"iq_min",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "16",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10721",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"r_nLimProtMax",
- "label":"r_nLimProtMax",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "18",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10422",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"iq_max",
- "label":"iq_max",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "15",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816",
"className":"Simulink.From",
@@ -2469,78 +1179,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10407",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"id_min",
- "label":"id_min",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "14",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8780",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10367",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From25",
- "label":"From25",
+ "name":"From6",
+ "label":"From6",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -2548,7 +1191,7 @@
"IconDisplay"
],
"values":[
- "Vq_max",
+ "Vq",
"Tag"
],
"tabs":[
@@ -2567,11 +1210,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8800",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From45",
- "label":"From45",
+ "name":"From59",
+ "label":"From59",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -2579,7 +1222,7 @@
"IconDisplay"
],
"values":[
- "iq",
+ "iq_max",
"Tag"
],
"tabs":[
@@ -2598,11 +1241,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10369",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From2",
- "label":"From2",
+ "name":"From58",
+ "label":"From58",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -2610,831 +1253,7 @@
"IconDisplay"
],
"values":[
- "Vd",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10415",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"Vq_min",
- "label":"Vq_min",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "12",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10398",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto1",
- "label":"Goto1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "iq",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10414",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"Vq_max",
- "label":"Vq_max",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "11",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10405",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"Vd_min",
- "label":"Vd_min",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "10",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8799",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From44",
- "label":"From44",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_min",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8773",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From16",
- "label":"From16",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_max",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10404",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"Vd_max",
- "label":"Vd_max",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "9",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8789",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From34",
- "label":"From34",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_min",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8802",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From47",
- "label":"From47",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_Spd",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10397",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"iq",
- "label":"iq",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "8",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8779",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From23",
- "label":"From23",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_ctrlMod",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10402",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"id_Tgt",
- "label":"id_Tgt",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "6",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8912",
- "className":"Simulink.Merge",
- "icon":"WebViewIcon3",
- "name":"Merge",
- "label":"Merge",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "InitialOutput",
- "AllowUnequalInputPortWidths",
- "InputPortOffsets",
- "Inputs"
- ],
- "values":[
- "[]",
- "off",
- "[]",
- "4"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 1
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Merge",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10734",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"r_inpTgtScaAbs",
- "label":"r_inpTgtScaAbs",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "4",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8801",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From46",
- "label":"From46",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_Vlt",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10418",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto4",
- "label":"Goto4",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "Vq_max",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10421",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto31",
- "label":"Goto31",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "iq_limProtErr",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8804",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From49",
- "label":"From49",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "Vq_Open",
+ "id_min",
"Tag"
],
"tabs":[
@@ -3550,11 +1369,641 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10372",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From57",
+ "label":"From57",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "id_max",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8831",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto11",
+ "label":"Goto11",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Trq",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8841",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto20",
+ "label":"Goto20",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vd",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8803",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From48",
+ "label":"From48",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Trq",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8802",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From47",
+ "label":"From47",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Spd",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10730",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From4",
+ "label":"From4",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_nLimProtMax",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8799",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From44",
+ "label":"From44",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_min",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8793",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From38",
+ "label":"From38",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_max",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8804",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From49",
+ "label":"From49",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Open",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8791",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From36",
+ "label":"From36",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_mot",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From68",
+ "label":"From68",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "iq_limProtErr",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10724",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From3",
+ "label":"From3",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_iqLimProtMax",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10418",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto4",
+ "label":"Goto4",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_max",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8779",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From23",
+ "label":"From23",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlMod",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From54",
+ "label":"From54",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vd_min",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8852",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto30",
+ "label":"Goto30",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10411",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto19",
+ "label":"Goto19",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "id_max",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From14",
+ "label":"From14",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_enaAdvCtrl",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From53",
+ "label":"From53",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vd_max",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8766",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From1",
+ "label":"From1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "id",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10417",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"z_ctrlMod",
- "label":"z_ctrlMod",
+ "name":"Vq_nLimProtMax",
+ "label":"Vq_nLimProtMax",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -3577,7 +2026,7 @@
"OutputFunctionCall"
],
"values":[
- "2",
+ "20",
"Port number",
"[]",
"[]",
@@ -3616,6 +2065,871 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8780",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From25",
+ "label":"From25",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_max",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8774",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From18",
+ "label":"From18",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtSca",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10720",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"r_iqLimProtMax",
+ "label":"r_iqLimProtMax",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "17",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10422",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"iq_max",
+ "label":"iq_max",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "15",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10742",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From5",
+ "label":"From5",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtScaAbs",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10406",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"id_max",
+ "label":"id_max",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "13",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10366",
+ "className":"Simulink.ActionPort",
+ "icon":"WebViewIcon3",
+ "name":"Action Port",
+ "label":"Action Port",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "InitializeStates",
+ "PropagateVarSize"
+ ],
+ "values":[
+ "held",
+ "Only when execution is resumed"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"ActionPort",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8801",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From46",
+ "label":"From46",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Vlt",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10398",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto1",
+ "label":"Goto1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "iq",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10421",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto31",
+ "label":"Goto31",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "iq_limProtErr",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8832",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto12",
+ "label":"Goto12",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_Spd",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10415",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"Vq_min",
+ "label":"Vq_min",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "12",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From67",
+ "label":"From67",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_nLimProtMax",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10368",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"Vq",
+ "label":"Vq",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
+ ],
+ "values":[
+ "2",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "[]",
+ "off",
+ "held",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Outport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10416",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"iq_limProtErr",
+ "label":"iq_limProtErr",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "19",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10404",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"Vd_max",
+ "label":"Vd_max",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "9",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10407",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"id_min",
+ "label":"id_min",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "14",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10369",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From2",
+ "label":"From2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vd",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10403",
"className":"Simulink.Inport",
@@ -3684,21 +2998,19 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10412",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8789",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto2",
- "label":"Goto2",
+ "name":"From34",
+ "label":"From34",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "id",
- "local",
+ "Vq_min",
"Tag"
],
"tabs":[
@@ -3712,26 +3024,24 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8841",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8773",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto20",
- "label":"Goto20",
+ "name":"From16",
+ "label":"From16",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "Vd",
- "local",
+ "Vq_max",
"Tag"
],
"tabs":[
@@ -3745,16 +3055,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10406",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10397",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"id_max",
- "label":"id_max",
+ "name":"iq",
+ "label":"iq",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -3777,7 +3087,7 @@
"OutputFunctionCall"
],
"values":[
- "13",
+ "8",
"Port number",
"[]",
"[]",
@@ -3883,6 +3193,629 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10423",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"iq_min",
+ "label":"iq_min",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "16",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8792",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From37",
+ "label":"From37",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtSca",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10734",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"r_inpTgtScaAbs",
+ "label":"r_inpTgtScaAbs",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "4",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8770",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From13",
+ "label":"From13",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "id_Tgt",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10372",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"z_ctrlMod",
+ "label":"z_ctrlMod",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "2",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8765",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From",
+ "label":"From",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtSca",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8800",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From45",
+ "label":"From45",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "iq",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10373",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"r_inpTgtSca",
+ "label":"r_inpTgtSca",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "3",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10408",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto",
+ "label":"Goto",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "id_Tgt",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10427",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto13",
+ "label":"Goto13",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_mot",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10402",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"id_Tgt",
+ "label":"id_Tgt",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "6",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8777",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From20",
+ "label":"From20",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "Vq_min",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10721",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"r_nLimProtMax",
+ "label":"r_nLimProtMax",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "18",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:10371",
"className":"Simulink.Inport",
@@ -3951,11 +3884,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10373",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10405",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"r_inpTgtSca",
- "label":"r_inpTgtSca",
+ "name":"Vd_min",
+ "label":"Vd_min",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
"inspector":{
"params":[
@@ -3978,7 +3911,74 @@
"OutputFunctionCall"
],
"values":[
- "3",
+ "10",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10414",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"Vq_max",
+ "label":"Vq_max",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10364",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "11",
"Port number",
"[]",
"[]",
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png
index d572ef3..75edb28 100644
Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.png differ
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg
index 1061140..40a53a5 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10364_d.svg
@@ -61,9 +61,9 @@
-
-
-
+
+
+
@@ -71,7 +71,7 @@
-
+
@@ -81,64 +81,64 @@
-
- id_Tgt
+
+ r_inpTgtSca
-
- id
+
+ r_inpTgtScaAbs
-
- Vd_max
+
+ Vq_max
-
- Vd_min
+
+ Vq_min
-
- id_max
+
+ r_iqLimProtMax
-
- id_min
+
+ r_nLimProtMax
-
- Vd
+
+ Vq_Vlt
-
- if { }
+
+ case: { }
@@ -150,338 +150,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Vd_Calculation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_inpTgtSca
-
-
-
-
-
-
-
- Vq_max
-
-
-
-
-
-
-
- Vq_min
-
-
-
-
-
-
-
- n_mot
-
-
-
-
-
-
-
- iq_limProtErr
-
-
-
-
-
-
-
- Vq_Spd
-
-
-
-
-
-
-
- case: { }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Speed_Mode
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_inpTgtSca
-
-
-
-
-
-
-
- r_inpTgtScaAbs
-
-
-
-
-
-
-
- Vq_max
-
-
-
-
-
-
-
- Vq_min
-
-
-
-
-
-
-
- r_iqLimProtMax
-
-
-
-
-
-
-
- r_nLimProtMax
-
-
-
-
-
-
-
- Vq_Vlt
-
-
-
-
-
-
-
- case: { }
-
-
-
-
-
-
-
-
-
-
-
@@ -490,7 +158,7 @@
-
+
@@ -499,11 +167,11 @@
-
+
-
+
Voltage_Mode
@@ -511,28 +179,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
+
@@ -541,11 +188,210 @@
-
+
-
+
+ action
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ r_inpTgtSca
+
+
+
+
+
+
+
+ Vq_max
+
+
+
+
+
+
+
+ Vq_min
+
+
+
+
+
+
+
+ iq
+
+
+
+
+
+
+
+ iq_max
+
+
+
+
+
+
+
+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
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
@@ -606,11 +770,11 @@
-
+
-
+
[b_enaAdvCtrl]
@@ -627,87 +791,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [iq_max]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Vq
-
-
-
-
-
-
-
-
@@ -720,11 +803,11 @@
-
+
-
+
[Vq_nLimProtMax]
@@ -743,28 +826,28 @@
-
-
+
+
-
+
-
-
+
+
-
- [Vq]
+
+ [Vq_min]
-
+
@@ -786,11 +869,11 @@
-
+
-
+
[z_ctrlMod]
@@ -819,11 +902,11 @@
-
+
-
+
[id_min]
@@ -852,11 +935,11 @@
-
+
-
+
[r_inpTgtSca]
@@ -873,128 +956,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [id_max]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- u1
-
-
-
-
-
-
-
- if(u1 ~= 0)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [Vd_min]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1007,11 +968,11 @@
-
+
-
+
[r_inpTgtScaAbs]
@@ -1028,6 +989,275 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id_Tgt
+
+
+
+
+
+
+
+ id
+
+
+
+
+
+
+
+ Vd_max
+
+
+
+
+
+
+
+ Vd_min
+
+
+
+
+
+
+
+ id_max
+
+
+
+
+
+
+
+ id_min
+
+
+
+
+
+
+
+ Vd
+
+
+
+
+
+
+
+ if { }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Vd_Calculation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ action
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [id]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [iq_max]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [Vd_min]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1040,11 +1270,11 @@
-
+
-
+
[Vd_max]
@@ -1073,11 +1303,11 @@
-
+
-
+
[r_nLimProtMax]
@@ -1096,121 +1326,62 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- u1
-
-
-
-
-
-
-
- case [ 1 ]:
-
-
-
-
-
-
-
- case [ 2 ]:
-
-
-
-
-
-
-
- case [ 3 ]:
-
-
-
-
-
-
-
- default:
+
+ [r_iqLimProtMax]
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
- action
+
+ [iq_min]
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
+
+
+
@@ -1231,11 +1402,11 @@
-
+
-
+
[Vq_Vlt]
@@ -1252,72 +1423,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [n_mot]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [Vq_Trq]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1330,11 +1435,11 @@
-
+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