diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json
index ae810d8..0b3b0fd 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.json
@@ -146,6 +146,166 @@
"finder":[
]
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9306",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"r_devSignal2",
+ "label":"r_devSignal2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
+ ],
+ "values":[
+ "8",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "0",
+ "off",
+ "reset",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Outport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9305",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"r_devSignal1",
+ "label":"r_devSignal1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
+ ],
+ "values":[
+ "7",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "0",
+ "off",
+ "reset",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Outport",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9303",
"className":"Simulink.Outport",
@@ -307,11 +467,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"DC_phaB",
- "label":"DC_phaB",
+ "name":"DC_phaA",
+ "label":"DC_phaA",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -340,7 +500,7 @@
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "2",
+ "1",
"Port number",
"[]",
"[]",
@@ -387,20 +547,42 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441",
- "className":"Simulink.Terminator",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298",
+ "className":"Simulink.Constant",
"icon":"WebViewIcon3",
- "name":"Terminator",
- "label":"Terminator",
+ "name":"z_ctrlTypSel1",
+ "label":"z_ctrlTypSel1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
],
"values":[
+ "z_ctrlTypSel",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "uint8",
+ "off",
+ "inf"
],
"tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
],
"tabs_idx":[
+ 0,
+ 3,
+ 7
]
},
"viewer":{
@@ -409,16 +591,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Terminator",
+ "blocktype":"Constant",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295",
"className":"Simulink.Saturate",
"icon":"WebViewIcon3",
- "name":"Saturation",
- "label":"Saturation",
+ "name":"Saturation1",
+ "label":"Saturation1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -467,11 +649,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"a_elecAngle",
- "label":"a_elecAngle",
+ "name":"DC_phaB",
+ "label":"DC_phaB",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -500,7 +682,7 @@
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "6",
+ "2",
"Port number",
"[]",
"[]",
@@ -546,6 +728,33 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon4",
+ "name":"Model_Info",
+ "label":"Model_Info",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ ],
+ "values":[
+ ],
+ "tabs":[
+ ],
+ "tabs_idx":[
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ContainerHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"SubSystem",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292",
"className":"Simulink.SubSystem",
@@ -640,54 +849,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290",
- "className":"Simulink.If",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9393",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"If1",
- "label":"If1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "NumInputs",
- "IfExpression",
- "ElseIfExpressions",
- "ShowElse",
- "SampleTime",
- "ZeroCross"
- ],
- "values":[
- "1",
- "u1 ~= CTRL_COM",
- "",
- "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:9284",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto9",
- "label":"Goto9",
+ "name":"Goto7",
+ "label":"Goto7",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -696,7 +862,7 @@
"IconDisplay"
],
"values":[
- "b_hallC",
+ "z_ctrlModPrev",
"local",
"Tag"
],
@@ -716,11 +882,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9282",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9389",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto8",
- "label":"Goto8",
+ "name":"Goto6",
+ "label":"Goto6",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -729,7 +895,7 @@
"IconDisplay"
],
"values":[
- "z_errCode",
+ "r_inpTgtSca",
"local",
"Tag"
],
@@ -749,11 +915,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9393",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9284",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto7",
- "label":"Goto7",
+ "name":"Goto9",
+ "label":"Goto9",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -762,7 +928,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModPrev",
+ "b_hallC",
"local",
"Tag"
],
@@ -782,11 +948,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9389",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9281",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto6",
- "label":"Goto6",
+ "name":"Goto5",
+ "label":"Goto5",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -795,7 +961,7 @@
"IconDisplay"
],
"values":[
- "r_inpTgtSca",
+ "b_hallB",
"local",
"Tag"
],
@@ -815,11 +981,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9281",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto5",
- "label":"Goto5",
+ "name":"Goto4",
+ "label":"Goto4",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -828,7 +994,7 @@
"IconDisplay"
],
"values":[
- "b_hallB",
+ "z_posRaw",
"local",
"Tag"
],
@@ -848,36 +1014,20 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291",
- "className":"Simulink.If",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441",
+ "className":"Simulink.Terminator",
"icon":"WebViewIcon3",
- "name":"If2",
- "label":"If2",
+ "name":"Terminator",
+ "label":"Terminator",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "NumInputs",
- "IfExpression",
- "ElseIfExpressions",
- "ShowElse",
- "SampleTime",
- "ZeroCross"
],
"values":[
- "1",
- "u1 ~= 0",
- "",
- "off",
- "-1",
- "on"
],
"tabs":[
- "Parameter Attributes",
- "-Other"
],
"tabs_idx":[
- 0,
- 4
]
},
"viewer":{
@@ -886,40 +1036,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"If",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto4",
- "label":"Goto4",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "z_posRaw",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
+ "blocktype":"Terminator",
"masktype":""
}
},
@@ -990,11 +1107,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9283",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9272",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto23",
- "label":"Goto23",
+ "name":"Goto2",
+ "label":"Goto2",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1003,7 +1120,7 @@
"IconDisplay"
],
"values":[
- "z_pos",
+ "r_devSignal2",
"local",
"Tag"
],
@@ -1056,11 +1173,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9276",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto16",
- "label":"Goto16",
+ "name":"Goto15",
+ "label":"Goto15",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1069,7 +1186,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModReq",
+ "i_phaBC",
"local",
"Tag"
],
@@ -1089,11 +1206,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9276",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9275",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto15",
- "label":"Goto15",
+ "name":"Goto14",
+ "label":"Goto14",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1102,7 +1219,7 @@
"IconDisplay"
],
"values":[
- "i_phaBC",
+ "a_elecAngle",
"local",
"Tag"
],
@@ -1122,74 +1239,27 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299",
- "className":"Simulink.Outport",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"DC_phaA",
- "label":"DC_phaA",
+ "name":"Goto13",
+ "label":"Goto13",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
],
"values":[
- "1",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "[]",
- "off",
- "held",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
+ "i_phaAB",
+ "local",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -1197,7 +1267,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Outport",
+ "blocktype":"Goto",
"masktype":""
}
},
@@ -1235,21 +1305,19 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9289",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9392",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto28",
- "label":"Goto28",
+ "name":"From9",
+ "label":"From9",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "b_motEna",
- "local",
+ "z_ctrlModPrev",
"Tag"
],
"tabs":[
@@ -1263,26 +1331,24 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9437",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto11",
- "label":"Goto11",
+ "name":"From8",
+ "label":"From8",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "b_motStdStill",
- "local",
+ "b_hallA",
"Tag"
],
"tabs":[
@@ -1296,59 +1362,24 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9270",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto1",
- "label":"Goto1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "b_hallA",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9269",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto",
- "label":"Goto",
+ "name":"From7",
+ "label":"From7",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "r_inpTgt",
- "local",
+ "z_ctrlTypSel",
"Tag"
],
"tabs":[
@@ -1362,7 +1393,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
@@ -1429,11 +1460,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From46",
- "label":"From46",
+ "name":"From45",
+ "label":"From45",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1441,7 +1472,7 @@
"IconDisplay"
],
"values":[
- "r_devSignal1",
+ "r_devSignal2",
"Tag"
],
"tabs":[
@@ -1460,11 +1491,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From45",
- "label":"From45",
+ "name":"From35",
+ "label":"From35",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1472,7 +1503,7 @@
"IconDisplay"
],
"values":[
- "r_devSignal2",
+ "n_mot",
"Tag"
],
"tabs":[
@@ -1491,11 +1522,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From4",
- "label":"From4",
+ "name":"From32",
+ "label":"From32",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1503,7 +1534,7 @@
"IconDisplay"
],
"values":[
- "b_motStdStill",
+ "DC_phaB",
"Tag"
],
"tabs":[
@@ -1522,11 +1553,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From7",
- "label":"From7",
+ "name":"From30",
+ "label":"From30",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1534,7 +1565,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlTypSel",
+ "z_pos",
"Tag"
],
"tabs":[
@@ -1553,25 +1584,74 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268",
- "className":"Simulink.From",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304",
+ "className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"From35",
- "label":"From35",
+ "name":"a_elecAngle",
+ "label":"a_elecAngle",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "GotoTag",
- "IconDisplay"
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "n_mot",
- "Tag"
+ "6",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "[]",
+ "off",
+ "held",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
],
"tabs":[
- "Parameter Attributes"
+ "Main",
+ "Signal Attributes",
+ "-Other"
],
- "tabs_idx":0
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -1579,16 +1659,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"Outport",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From8",
- "label":"From8",
+ "name":"From27",
+ "label":"From27",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1596,7 +1676,7 @@
"IconDisplay"
],
"values":[
- "b_hallA",
+ "b_hallB",
"Tag"
],
"tabs":[
@@ -1615,19 +1695,21 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267",
- "className":"Simulink.From",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9286",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"From34",
- "label":"From34",
+ "name":"Goto25",
+ "label":"Goto25",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
+ "TagVisibility",
"IconDisplay"
],
"values":[
- "a_elecAngle",
+ "DC_phaC",
+ "local",
"Tag"
],
"tabs":[
@@ -1641,16 +1723,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"Goto",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9387",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From33",
- "label":"From33",
+ "name":"From24",
+ "label":"From24",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1658,7 +1740,7 @@
"IconDisplay"
],
"values":[
- "DC_phaC",
+ "r_inpTgtSca",
"Tag"
],
"tabs":[
@@ -1677,21 +1759,19 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9272",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9388",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto2",
- "label":"Goto2",
+ "name":"From2",
+ "label":"From2",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "r_devSignal2",
- "local",
+ "r_inpTgtSca",
"Tag"
],
"tabs":[
@@ -1705,16 +1785,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From32",
- "label":"From32",
+ "name":"From31",
+ "label":"From31",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1722,7 +1802,7 @@
"IconDisplay"
],
"values":[
- "DC_phaB",
+ "DC_phaA",
"Tag"
],
"tabs":[
@@ -1741,11 +1821,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From31",
- "label":"From31",
+ "name":"From18",
+ "label":"From18",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1753,7 +1833,7 @@
"IconDisplay"
],
"values":[
- "DC_phaA",
+ "b_motStdStill",
"Tag"
],
"tabs":[
@@ -1772,11 +1852,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From30",
- "label":"From30",
+ "name":"From17",
+ "label":"From17",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1784,7 +1864,7 @@
"IconDisplay"
],
"values":[
- "z_pos",
+ "n_motAbs",
"Tag"
],
"tabs":[
@@ -1803,11 +1883,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From29",
- "label":"From29",
+ "name":"From10",
+ "label":"From10",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1815,7 +1895,7 @@
"IconDisplay"
],
"values":[
- "b_hallC",
+ "b_motEna",
"Tag"
],
"tabs":[
@@ -1834,11 +1914,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From28",
- "label":"From28",
+ "name":"From1",
+ "label":"From1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1846,7 +1926,7 @@
"IconDisplay"
],
"values":[
- "z_errCode",
+ "z_posRaw",
"Tag"
],
"tabs":[
@@ -1865,11 +1945,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From27",
- "label":"From27",
+ "name":"From46",
+ "label":"From46",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1877,7 +1957,7 @@
"IconDisplay"
],
"values":[
- "b_hallB",
+ "r_devSignal1",
"Tag"
],
"tabs":[
@@ -1896,11 +1976,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9257",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From26",
- "label":"From26",
+ "name":"From28",
+ "label":"From28",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1908,7 +1988,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlTypSel",
+ "z_errCode",
"Tag"
],
"tabs":[
@@ -1927,225 +2007,118 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9388",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From2",
- "label":"From2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "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:9436",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From18",
- "label":"From18",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "b_motStdStill",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9288",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto27",
- "label":"Goto27",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "n_mot",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9306",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"r_devSignal2",
- "label":"r_devSignal2",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"F05_Control_Type_Management",
+ "label":"F05_Control_Type_Management",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
+ "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":[
- "8",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
+ "FromPortIcon",
+ "ReadWrite",
+ "",
+ "All",
"off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
+ "on",
+ "",
+ "",
"off",
+ "",
+ "void_void",
"off",
- "0",
"off",
- "reset",
+ "on",
+ "",
+ "off",
+ "",
+ "off",
"off",
- "0",
"",
- [
- ],
- "Dialog",
"Auto",
- "off"
+ "",
+ "Auto",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Auto",
+ "-1",
+ "",
+ "off",
+ ""
],
"tabs":[
"Main",
- "Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
- 2,
- 11
+ 6
]
},
"viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From12",
- "label":"From12",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "i_phaAB",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
+ "jshandler":"webview/handlers/ContainerHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"SubSystem",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240",
- "className":"Simulink.From",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"From1",
- "label":"From1",
+ "name":"Goto16",
+ "label":"Goto16",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
+ "TagVisibility",
"IconDisplay"
],
"values":[
- "z_posRaw",
+ "z_ctrlModReq",
+ "local",
"Tag"
],
"tabs":[
@@ -2159,16 +2132,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"Goto",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From16",
- "label":"From16",
+ "name":"From33",
+ "label":"From33",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2176,7 +2149,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModReq",
+ "DC_phaC",
"Tag"
],
"tabs":[
@@ -2193,76 +2166,29 @@
"blocktype":"From",
"masktype":""
}
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9305",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"r_devSignal1",
- "label":"r_devSignal1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto3",
+ "label":"Goto3",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
],
"values":[
- "7",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "0",
- "off",
- "reset",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
+ "z_ctrlTypSel",
+ "local",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -2270,16 +2196,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Outport",
+ "blocktype":"Goto",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658",
"className":"Simulink.SubSystem",
"icon":"WebViewIcon1",
- "name":"F03_Control_Mode_Manager",
- "label":"F03_Control_Mode_Manager",
+ "name":"F04_Field_Oriented_Control",
+ "label":"F04_Field_Oriented_Control",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2331,7 +2257,7 @@
"void_void",
"off",
"off",
- "on",
+ "off",
"",
"off",
"",
@@ -2372,11 +2298,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535",
"className":"Simulink.SubSystem",
"icon":"WebViewIcon1",
- "name":"F02_Diagnostics",
- "label":"F02_Diagnostics",
+ "name":"F03_Control_Mode_Manager",
+ "label":"F03_Control_Mode_Manager",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2428,7 +2354,7 @@
"void_void",
"off",
"off",
- "off",
+ "on",
"",
"off",
"",
@@ -2469,19 +2395,204 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9385",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From13",
- "label":"From13",
+ "name":"From",
+ "label":"From",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgt",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290",
+ "className":"Simulink.If",
+ "icon":"WebViewIcon3",
+ "name":"If1",
+ "label":"If1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "NumInputs",
+ "IfExpression",
+ "ElseIfExpressions",
+ "ShowElse",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "1",
+ "u1 ~= CTRL_COM",
+ "",
+ "off",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 4
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"If",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9282",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto8",
+ "label":"Goto8",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_errCode",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291",
+ "className":"Simulink.If",
+ "icon":"WebViewIcon3",
+ "name":"If2",
+ "label":"If2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "NumInputs",
+ "IfExpression",
+ "ElseIfExpressions",
+ "ShowElse",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "1",
+ "u1 ~= 0",
+ "",
+ "off",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 4
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"If",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9437",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto11",
+ "label":"Goto11",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_motStdStill",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9270",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto1",
+ "label":"Goto1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
+ "TagVisibility",
"IconDisplay"
],
"values":[
- "i_phaBC",
+ "b_hallA",
+ "local",
"Tag"
],
"tabs":[
@@ -2495,7 +2606,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"Goto",
"masktype":""
}
},
@@ -2546,6 +2657,70 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9271",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto10",
+ "label":"Goto10",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_devSignal1",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From34",
+ "label":"From34",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "a_elecAngle",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9301",
"className":"Simulink.Outport",
@@ -2674,41 +2849,39 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297",
- "className":"Simulink.Constant",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217",
+ "className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"b_diagEna",
- "label":"b_diagEna",
+ "name":"Data Type Conversion7",
+ "label":"Data Type Conversion7",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "FramePeriod"
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
],
"values":[
- "b_diagEna",
- "on",
- "inf",
"[]",
"[]",
- "boolean",
+ "int16",
"off",
- "inf"
+ "Real World Value (RWV)",
+ "Floor",
+ "off",
+ "-1"
],
"tabs":[
- "Main",
- "Signal Attributes",
+ "Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
- 3,
7
]
},
@@ -2718,26 +2891,24 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Constant",
+ "blocktype":"DataTypeConversion",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9275",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto14",
- "label":"Goto14",
+ "name":"From12",
+ "label":"From12",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "a_elecAngle",
- "local",
+ "i_phaAB",
"Tag"
],
"tabs":[
@@ -2751,52 +2922,30 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295",
- "className":"Simulink.Saturate",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Saturation1",
- "label":"Saturation1",
+ "name":"From16",
+ "label":"From16",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "UpperLimit",
- "LowerLimit",
- "LinearizeAsGain",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "RndMeth",
- "SampleTime",
- "ZeroCross"
+ "GotoTag",
+ "IconDisplay"
],
"values":[
- "1500",
- "-1500",
- "on",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "Floor",
- "-1",
- "on"
+ "z_ctrlModReq",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 3,
- 8
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -2804,63 +2953,143 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Saturate",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From22",
- "label":"From22",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"F02_Diagnostics",
+ "label":"F02_Diagnostics",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "GotoTag",
- "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":[
- "a_elecAngle",
- "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/ElementHandler"
+ "jshandler":"webview/handlers/ContainerHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
+ "blocktype":"SubSystem",
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9286",
- "className":"Simulink.Goto",
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216",
+ "className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"Goto25",
- "label":"Goto25",
+ "name":"Data Type Conversion6",
+ "label":"Data Type Conversion6",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
],
"values":[
- "DC_phaC",
- "local",
- "Tag"
+ "[]",
+ "[]",
+ "int16",
+ "off",
+ "Real World Value (RWV)",
+ "Floor",
+ "off",
+ "-1"
],
"tabs":[
- "Parameter Attributes"
+ "Parameter Attributes",
+ "-Other"
],
- "tabs_idx":0
+ "tabs_idx":[
+ 0,
+ 7
+ ]
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -2868,16 +3097,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"DataTypeConversion",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8215",
"className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion7",
- "label":"Data Type Conversion7",
+ "name":"Data Type Conversion5",
+ "label":"Data Type Conversion5",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2920,11 +3149,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9257",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From17",
- "label":"From17",
+ "name":"From26",
+ "label":"From26",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2932,7 +3161,7 @@
"IconDisplay"
],
"values":[
- "n_motAbs",
+ "z_ctrlTypSel",
"Tag"
],
"tabs":[
@@ -2951,108 +3180,58 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"F04_Field_Oriented_Control",
- "label":"F04_Field_Oriented_Control",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214",
+ "className":"Simulink.DataTypeConversion",
+ "icon":"WebViewIcon3",
+ "name":"Data Type Conversion4",
+ "label":"Data Type Conversion4",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "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"
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
],
"values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
- "off",
- "on",
- "",
- "",
- "off",
- "",
- "void_void",
- "off",
- "off",
- "off",
- "",
- "off",
- "",
- "off",
+ "[]",
+ "[]",
+ "int16",
"off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
+ "Real World Value (RWV)",
+ "Floor",
"off",
- ""
+ "-1"
],
"tabs":[
- "Main",
+ "Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
- 6
+ 7
]
},
"viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
+ "jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"SubSystem",
+ "blocktype":"DataTypeConversion",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9288",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto3",
- "label":"Goto3",
+ "name":"Goto27",
+ "label":"Goto27",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3061,7 +3240,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlTypSel",
+ "n_mot",
"local",
"Tag"
],
@@ -3081,108 +3260,44 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"F01_Estimations",
- "label":"F01_Estimations",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9289",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto28",
+ "label":"Goto28",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "ShowPortLabels",
- "Permissions",
- "ErrorFcn",
- "PermitHierarchicalResolution",
- "TreatAsAtomicUnit",
- "TreatAsGroupedWhenPropagatingVariantConditions",
- "ActiveVariant",
- "ActiveVariantBlock",
- "AllowZeroVariantControls",
- "BlockChoice",
- "FunctionInterfaceSpec",
- "FunctionWithSeparateData",
- "GeneratePreprocessorConditionals",
- "IsSubsystemVirtual",
- "MemberBlocks",
- "MinAlgLoopOccurrences",
- "OverrideUsingVariant",
- "PropExecContextOutsideSubsystem",
- "PropagateVariantConditions",
- "RTWFcnName",
- "RTWFcnNameOpts",
- "RTWFileName",
- "RTWFileNameOpts",
- "RTWMemSecDataConstants",
- "RTWMemSecDataInternal",
- "RTWMemSecDataParameters",
- "RTWMemSecFuncExecute",
- "RTWMemSecFuncInitTerm",
- "RTWSystemCode",
- "SystemSampleTime",
- "TemplateBlock",
- "Variant",
- "VariantControl"
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
],
"values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
- "off",
- "on",
- "",
- "",
- "off",
- "",
- "void_void",
- "off",
- "off",
- "on",
- "",
- "off",
- "",
- "off",
- "off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
- "off",
- ""
+ "b_motEna",
+ "local",
+ "Tag"
],
"tabs":[
- "Main",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 6
- ]
+ "tabs_idx":0
},
"viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
+ "jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"SubSystem",
+ "blocktype":"Goto",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9385",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261",
"className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From",
- "label":"From",
+ "icon":"WebViewIcon3",
+ "name":"From29",
+ "label":"From29",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3190,7 +3305,7 @@
"IconDisplay"
],
"values":[
- "r_inpTgt",
+ "b_hallC",
"Tag"
],
"tabs":[
@@ -3209,11 +3324,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8213",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8211",
"className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion3",
- "label":"Data Type Conversion3",
+ "name":"Data Type Conversion10",
+ "label":"Data Type Conversion10",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3256,11 +3371,42 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8211",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9448",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From15",
+ "label":"From15",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "VqFinPrev",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210",
"className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion10",
- "label":"Data Type Conversion10",
+ "name":"Data Type Conversion1",
+ "label":"Data Type Conversion1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3303,39 +3449,41 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210",
- "className":"Simulink.DataTypeConversion",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297",
+ "className":"Simulink.Constant",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion1",
- "label":"Data Type Conversion1",
+ "name":"b_diagEna",
+ "label":"b_diagEna",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
+ "FramePeriod"
],
"values":[
+ "b_diagEna",
+ "on",
+ "inf",
"[]",
"[]",
- "int16",
- "off",
- "Real World Value (RWV)",
- "Floor",
+ "boolean",
"off",
- "-1"
+ "inf"
],
"tabs":[
- "Parameter Attributes",
+ "Main",
+ "Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
+ 3,
7
]
},
@@ -3345,7 +3493,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"DataTypeConversion",
+ "blocktype":"Constant",
"masktype":""
}
},
@@ -3417,41 +3565,39 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298",
- "className":"Simulink.Constant",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8213",
+ "className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"z_ctrlTypSel1",
- "label":"z_ctrlTypSel1",
+ "name":"Data Type Conversion3",
+ "label":"Data Type Conversion3",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "FramePeriod"
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
],
"values":[
- "z_ctrlTypSel",
- "on",
- "inf",
"[]",
"[]",
- "uint8",
+ "int16",
"off",
- "inf"
+ "Real World Value (RWV)",
+ "Floor",
+ "off",
+ "-1"
],
"tabs":[
- "Main",
- "Signal Attributes",
+ "Parameter Attributes",
"-Other"
],
"tabs_idx":[
0,
- 3,
7
]
},
@@ -3461,47 +3607,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9448",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From15",
- "label":"From15",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "VqFinPrev",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
+ "blocktype":"DataTypeConversion",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"i_phaAB",
- "label":"i_phaAB",
+ "name":"i_phaBC",
+ "label":"i_phaBC",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3524,7 +3639,7 @@
"OutputFunctionCall"
],
"values":[
- "7",
+ "8",
"Port number",
"[]",
"[]",
@@ -3564,61 +3679,103 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206",
- "className":"Simulink.Inport",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212",
+ "className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"b_hallC",
- "label":"b_hallC",
+ "name":"Data Type Conversion2",
+ "label":"Data Type Conversion2",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "Port",
- "IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
],
"values":[
- "6",
- "Port number",
"[]",
"[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
+ "int16",
"off",
+ "Real World Value (RWV)",
+ "Floor",
"off",
- "off"
+ "-1"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"DataTypeConversion",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From22",
+ "label":"From22",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "a_elecAngle",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From13",
+ "label":"From13",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "i_phaBC",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -3626,16 +3783,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Inport",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"i_phaBC",
- "label":"i_phaBC",
+ "name":"b_hallC",
+ "label":"b_hallC",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3658,7 +3815,7 @@
"OutputFunctionCall"
],
"values":[
- "8",
+ "6",
"Port number",
"[]",
"[]",
@@ -3698,11 +3855,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9283",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto13",
- "label":"Goto13",
+ "name":"Goto23",
+ "label":"Goto23",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3711,7 +3868,7 @@
"IconDisplay"
],
"values":[
- "i_phaAB",
+ "z_pos",
"local",
"Tag"
],
@@ -3730,84 +3887,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9387",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From24",
- "label":"From24",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "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:8216",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion6",
- "label":"Data Type Conversion6",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
- ],
- "values":[
- "[]",
- "[]",
- "int16",
- "off",
- "Real World Value (RWV)",
- "Floor",
- "off",
- "-1"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"DataTypeConversion",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205",
"className":"Simulink.Inport",
@@ -3876,50 +3955,36 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204",
- "className":"Simulink.Inport",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294",
+ "className":"Simulink.Saturate",
"icon":"WebViewIcon3",
- "name":"b_hallA ",
- "label":"b_hallA ",
+ "name":"Saturation",
+ "label":"Saturation",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "Port",
- "IconDisplay",
+ "UpperLimit",
+ "LowerLimit",
+ "LinearizeAsGain",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
+ "RndMeth",
"SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
+ "ZeroCross"
],
"values":[
- "4",
- "Port number",
+ "1500",
+ "-1500",
+ "on",
"[]",
"[]",
- "Inherit: auto",
+ "fixdt(1,16,4)",
"off",
- "inherit",
- "-1",
- "Inherit",
+ "Floor",
"-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
+ "on"
],
"tabs":[
"Main",
@@ -3928,8 +3993,8 @@
],
"tabs_idx":[
0,
- 2,
- 11
+ 3,
+ 8
]
},
"viewer":{
@@ -3938,142 +4003,132 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Inport",
+ "blocktype":"Saturate",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"F05_Control_Type_Management",
- "label":"F05_Control_Type_Management",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"b_hallA ",
+ "label":"b_hallA ",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "ShowPortLabels",
- "Permissions",
- "ErrorFcn",
- "PermitHierarchicalResolution",
- "TreatAsAtomicUnit",
- "TreatAsGroupedWhenPropagatingVariantConditions",
- "ActiveVariant",
- "ActiveVariantBlock",
- "AllowZeroVariantControls",
- "BlockChoice",
- "FunctionInterfaceSpec",
- "FunctionWithSeparateData",
- "GeneratePreprocessorConditionals",
- "IsSubsystemVirtual",
- "MemberBlocks",
- "MinAlgLoopOccurrences",
- "OverrideUsingVariant",
- "PropExecContextOutsideSubsystem",
- "PropagateVariantConditions",
- "RTWFcnName",
- "RTWFcnNameOpts",
- "RTWFileName",
- "RTWFileNameOpts",
- "RTWMemSecDataConstants",
- "RTWMemSecDataInternal",
- "RTWMemSecDataParameters",
- "RTWMemSecFuncExecute",
- "RTWMemSecFuncInitTerm",
- "RTWSystemCode",
- "SystemSampleTime",
- "TemplateBlock",
- "Variant",
- "VariantControl"
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
],
"values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
+ "4",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
"off",
- "on",
- "",
- "",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
"off",
"",
- "void_void",
- "off",
- "off",
"on",
- "",
- "off",
- "",
- "off",
- "off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
"off",
- ""
+ "off",
+ "off"
],
"tabs":[
"Main",
+ "Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
- 6
+ 2,
+ 11
]
},
"viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
+ "jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"SubSystem",
+ "blocktype":"Inport",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212",
- "className":"Simulink.DataTypeConversion",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202",
+ "className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion2",
- "label":"Data Type Conversion2",
+ "name":"z_ctrlModReq",
+ "label":"z_ctrlModReq",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
+ "Port",
+ "IconDisplay",
"OutMin",
"OutMax",
"OutDataTypeStr",
"LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
],
"values":[
+ "2",
+ "Port number",
"[]",
"[]",
- "int16",
+ "Inherit: auto",
"off",
- "Real World Value (RWV)",
- "Floor",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
"off",
- "-1"
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
],
"tabs":[
- "Parameter Attributes",
+ "Main",
+ "Signal Attributes",
"-Other"
],
"tabs_idx":[
0,
- 7
+ 2,
+ 11
]
},
"viewer":{
@@ -4082,16 +4137,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"DataTypeConversion",
+ "blocktype":"Inport",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"className":"Simulink.SubSystem",
- "icon":"WebViewIcon4",
- "name":"Model_Info",
- "label":"Model_Info",
+ "icon":"WebViewIcon1",
+ "name":"F01_Estimations",
+ "label":"F01_Estimations",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -4184,88 +4239,27 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion4",
- "label":"Data Type Conversion4",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
- ],
- "values":[
- "[]",
- "[]",
- "int16",
- "off",
- "Real World Value (RWV)",
- "Floor",
- "off",
- "-1"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"DataTypeConversion",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8215",
- "className":"Simulink.DataTypeConversion",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9269",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion5",
- "label":"Data Type Conversion5",
+ "name":"Goto",
+ "label":"Goto",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
],
"values":[
- "[]",
- "[]",
- "int16",
- "off",
- "Real World Value (RWV)",
- "Floor",
- "off",
- "-1"
+ "r_inpTgt",
+ "local",
+ "Tag"
],
"tabs":[
- "Parameter Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 7
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -4273,16 +4267,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"DataTypeConversion",
+ "blocktype":"Goto",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"z_ctrlModReq",
- "label":"z_ctrlModReq",
+ "name":"b_motEna",
+ "label":"b_motEna",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -4305,7 +4299,7 @@
"OutputFunctionCall"
],
"values":[
- "2",
+ "1",
"Port number",
"[]",
"[]",
@@ -4345,73 +4339,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From10",
- "label":"From10",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "b_motEna",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9392",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From9",
- "label":"From9",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_ctrlModPrev",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"b_motEna",
- "label":"b_motEna",
+ "name":"r_inpTgt",
+ "label":"r_inpTgt",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -4434,7 +4366,7 @@
"OutputFunctionCall"
],
"values":[
- "1",
+ "3",
"Port number",
"[]",
"[]",
@@ -4474,11 +4406,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207",
"className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"r_inpTgt",
- "label":"r_inpTgt",
+ "name":"i_phaAB",
+ "label":"i_phaAB",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -4501,7 +4433,7 @@
"OutputFunctionCall"
],
"values":[
- "3",
+ "7",
"Port number",
"[]",
"[]",
@@ -4541,21 +4473,19 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9271",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto10",
- "label":"Goto10",
+ "name":"From4",
+ "label":"From4",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "r_devSignal1",
- "local",
+ "b_motStdStill",
"Tag"
],
"tabs":[
@@ -4569,7 +4499,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png
index 62eb421..f2ff5f1 100644
Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.png differ
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg
index 5afd20c..8461ac5 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_d.svg
@@ -456,6 +456,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ r_devSignal2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 7
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ r_devSignal1
+
+
+
+
+
+
+
+
@@ -468,11 +564,11 @@
-
+
-
+
5
@@ -490,11 +586,11 @@
-
+
-
+
n_mot
@@ -516,11 +612,11 @@
-
+
-
+
4
@@ -538,11 +634,11 @@
-
+
-
+
z_errCode
@@ -554,44 +650,44 @@
-
-
+
+
-
+
-
+
-
- 2
+
+ 1
-
+
-
+
-
-
+
+
-
- DC_phaB
+
+ DC_phaA
@@ -602,45 +698,44 @@
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
-
-
+
+
-
-
+
+ z_ctrlTypSel
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ uint8
@@ -651,45 +746,45 @@
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -704,22 +799,22 @@
-
+
-
+
-
-
+
+
-
+
sfix16_En4
@@ -731,44 +826,44 @@
-
-
+
+
-
+
-
+
-
- 6
+
+ 2
-
+
-
-
+
+
-
-
+
+
-
- a_elecAngle
+
+ DC_phaB
@@ -779,99 +874,145 @@
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+ MODEL INFO
-
-
+
+
-
- Implemented_control_methods
+
+ Version: 1.1175
-
-
-
-
-
-
+
+
+
+
+
+
+ Author: Emanuel Feru
+
+
+
+
+
+
+
+ Last modified by: eferu
+
+
+
+
+
+
+
+ Last update: 20-okt-2019 19:26:36
+
+
+
+
+
+
+
+ Copyright © 2019 Emanuel FERU
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
- u1
+
+
+
+
+
+
-
-
+
+
-
- if(u1 ~= CTRL_COM)
+
+ Implemented_control_methods
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
- action
+
+
+
@@ -882,11 +1023,11 @@
-
-
+
+
-
+
@@ -896,14 +1037,14 @@
-
- [b_hallC]
+
+ [z_ctrlModPrev]
-
+
@@ -915,11 +1056,11 @@
-
-
+
+
-
+
@@ -929,14 +1070,14 @@
-
- [z_errCode]
+
+ [r_inpTgtSca]
-
+
@@ -948,11 +1089,11 @@
-
-
+
+
-
+
@@ -962,14 +1103,14 @@
-
- [z_ctrlModPrev]
+
+ [b_hallC]
-
+
@@ -981,11 +1122,11 @@
-
-
+
+
-
+
@@ -995,14 +1136,14 @@
-
- [r_inpTgtSca]
+
+ [b_hallB]
-
+
@@ -1014,11 +1155,11 @@
-
-
+
+
-
+
@@ -1028,14 +1169,14 @@
-
- [b_hallB]
+
+ [z_posRaw]
-
+
@@ -1047,85 +1188,45 @@
-
-
-
-
-
-
+
+
+
-
+
-
+
-
- u1
+
+
-
-
+
+
-
- if(u1 ~= 0)
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
- action
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_posRaw]
-
-
-
+
+
@@ -1146,11 +1247,11 @@
-
+
-
+
[DC_phaA]
@@ -1179,11 +1280,11 @@
-
+
-
+
[DC_phaB]
@@ -1202,28 +1303,28 @@
-
-
+
+
-
+
-
+
-
- [z_pos]
+
+ [r_devSignal2]
-
+
@@ -1245,11 +1346,11 @@
-
+
-
+
[n_motAbs]
@@ -1268,28 +1369,28 @@
-
-
+
+
-
+
-
+
-
- [z_ctrlModReq]
+
+ [i_phaBC]
-
+
@@ -1301,28 +1402,28 @@
-
-
+
+
-
+
-
+
-
- [i_phaBC]
+
+ [a_elecAngle]
-
+
@@ -1334,44 +1435,29 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- 1
+
+ [i_phaAB]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DC_phaA
+
+
@@ -1392,11 +1478,11 @@
-
+
-
+
[VqFinPrev]
@@ -1415,62 +1501,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [b_motEna]
+
+ [z_ctrlModPrev]
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
+
+
-
- [b_motStdStill]
-
-
-
-
-
-
-
+
+ uint8
@@ -1481,29 +1549,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
[b_hallA]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
@@ -1514,29 +1597,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [r_inpTgt]
+
+ [z_ctrlTypSel]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
@@ -1557,11 +1655,11 @@
-
+
-
+
[z_ctrlTypSel]
@@ -1579,11 +1677,11 @@
-
+
-
+
uint8
@@ -1605,11 +1703,11 @@
-
+
-
+
[n_mot]
@@ -1627,11 +1725,11 @@
-
+
-
+
sfix16_En4
@@ -1643,43 +1741,43 @@
-
-
+
+
-
+
-
+
-
- [r_devSignal1]
+
+ [r_devSignal2]
-
+
-
+
-
-
+
+
-
+
sfix16_En4
@@ -1691,43 +1789,43 @@
-
-
+
+
-
+
-
+
-
- [r_devSignal2]
+
+ [n_mot]
-
+
-
+
-
-
+
+
-
+
sfix16_En4
@@ -1739,44 +1837,44 @@
-
-
+
+
-
+
-
+
-
- [b_motStdStill]
+
+ [DC_phaB]
-
+
-
-
+
+
-
-
+
+
-
- boolean
+
+ int16
@@ -1787,44 +1885,44 @@
-
-
+
+
-
+
-
+
-
- [z_ctrlTypSel]
+
+ [z_pos]
-
+
-
-
+
+
-
-
+
+
-
- uint8
+
+ int8
@@ -1835,44 +1933,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [n_mot]
+
+ 6
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
- sfix16_En4
+
+ a_elecAngle
@@ -1883,43 +1981,43 @@
-
-
+
+
-
+
-
+
-
- [b_hallA]
+
+ [b_hallB]
-
+
-
+
-
-
+
+
-
+
uint8
@@ -1931,44 +2029,29 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [a_elecAngle]
+
+ [DC_phaC]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ufix16_En6
+
+
@@ -1979,77 +2062,44 @@
-
-
+
+
-
+
-
+
-
- [DC_phaC]
+
+ [r_inpTgtSca]
-
+
-
-
-
-
-
-
-
-
-
- int16
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
- [r_devSignal2]
-
-
-
-
-
-
-
+
+ sfix16_En4
@@ -2060,44 +2110,44 @@
-
-
+
+
-
+