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",
@@ -306,6 +466,188 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"DC_phaA",
+ "label":"DC_phaA",
+ "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":[
+ "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:9298",
+ "className":"Simulink.Constant",
+ "icon":"WebViewIcon3",
+ "name":"z_ctrlTypSel1",
+ "label":"z_ctrlTypSel1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
+ ],
+ "values":[
+ "z_ctrlTypSel",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "uint8",
+ "off",
+ "inf"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Constant",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295",
+ "className":"Simulink.Saturate",
+ "icon":"WebViewIcon3",
+ "name":"Saturation1",
+ "label":"Saturation1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "UpperLimit",
+ "LowerLimit",
+ "LinearizeAsGain",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "RndMeth",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "1500",
+ "-1500",
+ "on",
+ "[]",
+ "[]",
+ "fixdt(1,16,4)",
+ "off",
+ "Floor",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 8
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Saturate",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300",
"className":"Simulink.Outport",
@@ -387,11 +729,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441",
- "className":"Simulink.Terminator",
- "icon":"WebViewIcon3",
- "name":"Terminator",
- "label":"Terminator",
+ "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":[
@@ -404,145 +746,12 @@
]
},
"viewer":{
- "jshandler":"webview/handlers/ElementHandler"
+ "jshandler":"webview/handlers/ContainerHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"Terminator",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294",
- "className":"Simulink.Saturate",
- "icon":"WebViewIcon3",
- "name":"Saturation",
- "label":"Saturation",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "UpperLimit",
- "LowerLimit",
- "LinearizeAsGain",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "RndMeth",
- "SampleTime",
- "ZeroCross"
- ],
- "values":[
- "1500",
- "-1500",
- "on",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "Floor",
- "-1",
- "on"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 8
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Saturate",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"a_elecAngle",
- "label":"a_elecAngle",
- "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":[
- "6",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "[]",
- "off",
- "held",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
+ "blocktype":"SubSystem",
"masktype":""
}
},
@@ -639,115 +848,6 @@
"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:9284",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto9",
- "label":"Goto9",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "b_hallC",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"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:9393",
"className":"Simulink.Goto",
@@ -814,6 +914,39 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9284",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto9",
+ "label":"Goto9",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_hallC",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9281",
"className":"Simulink.Goto",
@@ -847,49 +980,6 @@
"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:9280",
"className":"Simulink.Goto",
@@ -923,6 +1013,33 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441",
+ "className":"Simulink.Terminator",
+ "icon":"WebViewIcon3",
+ "name":"Terminator",
+ "label":"Terminator",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ ],
+ "values":[
+ ],
+ "tabs":[
+ ],
+ "tabs_idx":[
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Terminator",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9287",
"className":"Simulink.Goto",
@@ -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"
],
@@ -1055,39 +1172,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto16",
- "label":"Goto16",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "z_ctrlModReq",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9276",
"className":"Simulink.Goto",
@@ -1122,74 +1206,27 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299",
- "className":"Simulink.Outport",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9275",
+ "className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"DC_phaA",
- "label":"DC_phaA",
+ "name":"Goto14",
+ "label":"Goto14",
"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"
+ "a_elecAngle",
+ "local",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -1197,7 +1234,40 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Outport",
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto13",
+ "label":"Goto13",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "i_phaAB",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
"masktype":""
}
},
@@ -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,59 +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",
- "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":[
"b_hallA",
- "local",
"Tag"
],
"tabs":[
@@ -1329,26 +1362,24 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"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":""
}
},
@@ -1428,37 +1459,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From46",
- "label":"From46",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_devSignal1",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262",
"className":"Simulink.From",
@@ -1490,68 +1490,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From4",
- "label":"From4",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "b_motStdStill",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From7",
- "label":"From7",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_ctrlTypSel",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268",
"className":"Simulink.From",
@@ -1583,132 +1521,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From8",
- "label":"From8",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "b_hallA",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt: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:9266",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From33",
- "label":"From33",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "DC_phaC",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9272",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto2",
- "label":"Goto2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "r_devSignal2",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265",
"className":"Simulink.From",
@@ -1740,37 +1552,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From31",
- "label":"From31",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "DC_phaA",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260",
"className":"Simulink.From",
@@ -1803,25 +1584,74 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261",
- "className":"Simulink.From",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304",
+ "className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"From29",
- "label":"From29",
+ "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":[
- "b_hallC",
- "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"
@@ -1829,38 +1659,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From28",
- "label":"From28",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_errCode",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
+ "blocktype":"Outport",
"masktype":""
}
},
@@ -1896,11 +1695,44 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9257",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9286",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto25",
+ "label":"Goto25",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "DC_phaC",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9387",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From26",
- "label":"From26",
+ "name":"From24",
+ "label":"From24",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1908,7 +1740,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlTypSel",
+ "r_inpTgtSca",
"Tag"
],
"tabs":[
@@ -1957,6 +1789,37 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From31",
+ "label":"From31",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "DC_phaA",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436",
"className":"Simulink.From",
@@ -1989,21 +1852,19 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9288",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto27",
- "label":"Goto27",
+ "name":"From17",
+ "label":"From17",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
"IconDisplay"
],
"values":[
- "n_mot",
- "local",
+ "n_motAbs",
"Tag"
],
"tabs":[
@@ -2017,96 +1878,16 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Goto",
+ "blocktype":"From",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9306",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"r_devSignal2",
- "label":"r_devSignal2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
- ],
- "values":[
- "8",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "0",
- "off",
- "reset",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From12",
- "label":"From12",
+ "name":"From10",
+ "label":"From10",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2114,7 +1895,7 @@
"IconDisplay"
],
"values":[
- "i_phaAB",
+ "b_motEna",
"Tag"
],
"tabs":[
@@ -2164,11 +1945,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From16",
- "label":"From16",
+ "name":"From46",
+ "label":"From46",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2176,7 +1957,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModReq",
+ "r_devSignal1",
"Tag"
],
"tabs":[
@@ -2195,74 +1976,25 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9305",
- "className":"Simulink.Outport",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"r_devSignal1",
- "label":"r_devSignal1",
+ "name":"From28",
+ "label":"From28",
"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",
+ "IconDisplay"
],
"values":[
- "7",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "0",
- "off",
- "reset",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
+ "z_errCode",
+ "Tag"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
+ "Parameter Attributes"
],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
+ "tabs_idx":0
},
"viewer":{
"jshandler":"webview/handlers/ElementHandler"
@@ -2270,7 +2002,298 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Outport",
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "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":[
+ "ShowPortLabels",
+ "Permissions",
+ "ErrorFcn",
+ "PermitHierarchicalResolution",
+ "TreatAsAtomicUnit",
+ "TreatAsGroupedWhenPropagatingVariantConditions",
+ "ActiveVariant",
+ "ActiveVariantBlock",
+ "AllowZeroVariantControls",
+ "BlockChoice",
+ "FunctionInterfaceSpec",
+ "FunctionWithSeparateData",
+ "GeneratePreprocessorConditionals",
+ "IsSubsystemVirtual",
+ "MemberBlocks",
+ "MinAlgLoopOccurrences",
+ "OverrideUsingVariant",
+ "PropExecContextOutsideSubsystem",
+ "PropagateVariantConditions",
+ "RTWFcnName",
+ "RTWFcnNameOpts",
+ "RTWFileName",
+ "RTWFileNameOpts",
+ "RTWMemSecDataConstants",
+ "RTWMemSecDataInternal",
+ "RTWMemSecDataParameters",
+ "RTWMemSecFuncExecute",
+ "RTWMemSecFuncInitTerm",
+ "RTWSystemCode",
+ "SystemSampleTime",
+ "TemplateBlock",
+ "Variant",
+ "VariantControl"
+ ],
+ "values":[
+ "FromPortIcon",
+ "ReadWrite",
+ "",
+ "All",
+ "off",
+ "on",
+ "",
+ "",
+ "off",
+ "",
+ "void_void",
+ "off",
+ "off",
+ "on",
+ "",
+ "off",
+ "",
+ "off",
+ "off",
+ "",
+ "Auto",
+ "",
+ "Auto",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Inherit from model",
+ "Auto",
+ "-1",
+ "",
+ "off",
+ ""
+ ],
+ "tabs":[
+ "Main",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 6
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ContainerHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"SubSystem",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto16",
+ "label":"Goto16",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlModReq",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From33",
+ "label":"From33",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "DC_phaC",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto3",
+ "label":"Goto3",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlTypSel",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"F04_Field_Oriented_Control",
+ "label":"F04_Field_Oriented_Control",
+ "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"
+ ],
+ "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":""
}
},
@@ -2372,108 +2395,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"F02_Diagnostics",
- "label":"F02_Diagnostics",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "ShowPortLabels",
- "Permissions",
- "ErrorFcn",
- "PermitHierarchicalResolution",
- "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: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":[
@@ -2481,7 +2407,7 @@
"IconDisplay"
],
"values":[
- "i_phaBC",
+ "r_inpTgt",
"Tag"
],
"tabs":[
@@ -2499,6 +2425,191 @@
"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":[
+ "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:8219",
"className":"Simulink.DataTypeConversion",
@@ -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",
@@ -2673,205 +2848,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"b_diagEna",
- "label":"b_diagEna",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "b_diagEna",
- "on",
- "inf",
- "[]",
- "[]",
- "boolean",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9275",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto14",
- "label":"Goto14",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "a_elecAngle",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295",
- "className":"Simulink.Saturate",
- "icon":"WebViewIcon3",
- "name":"Saturation1",
- "label":"Saturation1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "UpperLimit",
- "LowerLimit",
- "LinearizeAsGain",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "RndMeth",
- "SampleTime",
- "ZeroCross"
- ],
- "values":[
- "1500",
- "-1500",
- "on",
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "Floor",
- "-1",
- "on"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 8
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Saturate",
- "masktype":""
- }
- },
- {
- "sid":"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:9286",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto25",
- "label":"Goto25",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "DC_phaC",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217",
"className":"Simulink.DataTypeConversion",
@@ -2920,11 +2896,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From17",
- "label":"From17",
+ "name":"From12",
+ "label":"From12",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2932,7 +2908,7 @@
"IconDisplay"
],
"values":[
- "n_motAbs",
+ "i_phaAB",
"Tag"
],
"tabs":[
@@ -2951,11 +2927,42 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From16",
+ "label":"From16",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlModReq",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469",
"className":"Simulink.SubSystem",
"icon":"WebViewIcon1",
- "name":"F04_Field_Oriented_Control",
- "label":"F04_Field_Oriented_Control",
+ "name":"F02_Diagnostics",
+ "label":"F02_Diagnostics",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3048,11 +3055,183 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279",
+ "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:8215",
+ "className":"Simulink.DataTypeConversion",
+ "icon":"WebViewIcon3",
+ "name":"Data Type Conversion5",
+ "label":"Data Type Conversion5",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
+ ],
+ "values":[
+ "[]",
+ "[]",
+ "int16",
+ "off",
+ "Real World Value (RWV)",
+ "Floor",
+ "off",
+ "-1"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"DataTypeConversion",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9257",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From26",
+ "label":"From26",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlTypSel",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt: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: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"
],
@@ -3080,6 +3259,888 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9289",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto28",
+ "label":"Goto28",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_motEna",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From29",
+ "label":"From29",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_hallC",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8211",
+ "className":"Simulink.DataTypeConversion",
+ "icon":"WebViewIcon3",
+ "name":"Data Type Conversion10",
+ "label":"Data Type Conversion10",
+ "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: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 Conversion1",
+ "label":"Data Type Conversion1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "ConvertRealWorld",
+ "RndMeth",
+ "SaturateOnIntegerOverflow",
+ "SampleTime"
+ ],
+ "values":[
+ "[]",
+ "[]",
+ "int16",
+ "off",
+ "Real World Value (RWV)",
+ "Floor",
+ "off",
+ "-1"
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"DataTypeConversion",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297",
+ "className":"Simulink.Constant",
+ "icon":"WebViewIcon3",
+ "name":"b_diagEna",
+ "label":"b_diagEna",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Value",
+ "VectorParams1D",
+ "SampleTime",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "FramePeriod"
+ ],
+ "values":[
+ "b_diagEna",
+ "on",
+ "inf",
+ "[]",
+ "[]",
+ "boolean",
+ "off",
+ "inf"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Constant",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"i_DCLink",
+ "label":"i_DCLink",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "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:8213",
+ "className":"Simulink.DataTypeConversion",
+ "icon":"WebViewIcon3",
+ "name":"Data Type Conversion3",
+ "label":"Data Type Conversion3",
+ "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:8208",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"i_phaBC",
+ "label":"i_phaBC",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "8",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212",
+ "className":"Simulink.DataTypeConversion",
+ "icon":"WebViewIcon3",
+ "name":"Data Type Conversion2",
+ "label":"Data Type Conversion2",
+ "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: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":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"b_hallC",
+ "label":"b_hallC",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "6",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9283",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto23",
+ "label":"Goto23",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_pos",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"b_hallB",
+ "label":"b_hallB",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "5",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294",
+ "className":"Simulink.Saturate",
+ "icon":"WebViewIcon3",
+ "name":"Saturation",
+ "label":"Saturation",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "UpperLimit",
+ "LowerLimit",
+ "LinearizeAsGain",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "RndMeth",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "1500",
+ "-1500",
+ "on",
+ "[]",
+ "[]",
+ "fixdt(1,16,4)",
+ "off",
+ "Floor",
+ "-1",
+ "on"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 8
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Saturate",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"b_hallA ",
+ "label":"b_hallA ",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "4",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"z_ctrlModReq",
+ "label":"z_ctrlModReq",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "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:8220",
"className":"Simulink.SubSystem",
@@ -3178,531 +4239,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9385",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "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:8213",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion3",
- "label":"Data Type Conversion3",
- "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:8211",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion10",
- "label":"Data Type Conversion10",
- "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:8210",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion1",
- "label":"Data Type Conversion1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
- ],
- "values":[
- "[]",
- "[]",
- "int16",
- "off",
- "Real World Value (RWV)",
- "Floor",
- "off",
- "-1"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"DataTypeConversion",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"i_DCLink",
- "label":"i_DCLink",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "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:9298",
- "className":"Simulink.Constant",
- "icon":"WebViewIcon3",
- "name":"z_ctrlTypSel1",
- "label":"z_ctrlTypSel1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Value",
- "VectorParams1D",
- "SampleTime",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "FramePeriod"
- ],
- "values":[
- "z_ctrlTypSel",
- "on",
- "inf",
- "[]",
- "[]",
- "uint8",
- "off",
- "inf"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 3,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Constant",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt: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:8207",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"i_phaAB",
- "label":"i_phaAB",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "7",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"b_hallC",
- "label":"b_hallC",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "6",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"i_phaBC",
- "label":"i_phaBC",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "8",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9269",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto13",
- "label":"Goto13",
+ "name":"Goto",
+ "label":"Goto",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3711,7 +4252,7 @@
"IconDisplay"
],
"values":[
- "i_phaAB",
+ "r_inpTgt",
"local",
"Tag"
],
@@ -3730,682 +4271,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",
- "icon":"WebViewIcon3",
- "name":"b_hallB",
- "label":"b_hallB",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "5",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"b_hallA ",
- "label":"b_hallA ",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "4",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"F05_Control_Type_Management",
- "label":"F05_Control_Type_Management",
- "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"
- ],
- "values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
- "off",
- "on",
- "",
- "",
- "off",
- "",
- "void_void",
- "off",
- "off",
- "on",
- "",
- "off",
- "",
- "off",
- "off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
- "off",
- ""
- ],
- "tabs":[
- "Main",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 6
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SubSystem",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion2",
- "label":"Data Type Conversion2",
- "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:9293",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon4",
- "name":"Model_Info",
- "label":"Model_Info",
- "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"
- ],
- "values":[
- "FromPortIcon",
- "ReadWrite",
- "",
- "All",
- "off",
- "on",
- "",
- "",
- "off",
- "",
- "void_void",
- "off",
- "off",
- "on",
- "",
- "off",
- "",
- "off",
- "off",
- "",
- "Auto",
- "",
- "Auto",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Inherit from model",
- "Auto",
- "-1",
- "",
- "off",
- ""
- ],
- "tabs":[
- "Main",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 6
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"SubSystem",
- "masktype":""
- }
- },
- {
- "sid":"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",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion5",
- "label":"Data Type Conversion5",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
- ],
- "values":[
- "[]",
- "[]",
- "int16",
- "off",
- "Real World Value (RWV)",
- "Floor",
- "off",
- "-1"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"DataTypeConversion",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"z_ctrlModReq",
- "label":"z_ctrlModReq",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "InputConnect",
- "Interpolate",
- "LatchByDelayingOutsideSignal",
- "LatchInputForFeedbackSignals",
- "OutputFunctionCall"
- ],
- "values":[
- "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: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",
"className":"Simulink.Inport",
@@ -4541,21 +4406,86 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9271",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207",
+ "className":"Simulink.Inport",
"icon":"WebViewIcon3",
- "name":"Goto10",
- "label":"Goto10",
+ "name":"i_phaAB",
+ "label":"i_phaAB",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "InputConnect",
+ "Interpolate",
+ "LatchByDelayingOutsideSignal",
+ "LatchInputForFeedbackSignals",
+ "OutputFunctionCall"
+ ],
+ "values":[
+ "7",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "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
@@ -552,6 +648,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DC_phaA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ z_ctrlTypSel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
@@ -564,11 +836,11 @@
-
+
-
+
2
@@ -586,11 +858,11 @@
-
+
-
+
DC_phaB
@@ -600,6 +872,320 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MODEL INFO
+
+
+
+
+
+
+
+ Version: 1.1175
+
+
+
+
+
+
+
+ Author: Emanuel Feru
+
+
+
+
+
+
+
+ Last modified by: eferu
+
+
+
+
+
+
+
+ Last update: 20-okt-2019 19:26:36
+
+
+
+
+
+
+
+ Copyright © 2019 Emanuel FERU
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Implemented_control_methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [z_ctrlModPrev]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_inpTgtSca]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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-
-
-
-
- [z_posRaw]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_ctrlModReq]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_devSignal1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- b_errFlag
-
-
-
-
-
-
-
- b_motStdStill
-
-
-
-
-
-
-
- b_motEna
-
-
-
-
-
-
-
- z_ctrlModReq
-
-
-
-
-
-
-
- z_ctrlMod
-
-
-
-
-
-
-
- z_ctrlModPrev
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F03_Control_Mode_Manager
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- z_posRaw
-
-
-
-
-
-
-
- b_motStdStill
-
-
-
-
-
-
-
- VqFinPrev
-
-
-
-
-
-
-
- z_errCode
-
-
-
-
-
-
-
- b_errFlag
-
-
-
-
-
-
-
- if { }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F02_Diagnostics
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [i_phaBC]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
@@ -3152,19 +3606,19 @@
-
+
-
+
-
+
-
+
@@ -3190,11 +3644,11 @@
-
+
-
+
sfix16_En4
@@ -3204,6 +3658,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_devSignal1]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [a_elecAngle]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ufix16_En6
+
+
+
+
+
+
+
+
@@ -3216,11 +3751,11 @@
-
+
-
+
3
@@ -3238,11 +3773,11 @@
-
+
-
+
DC_phaC
@@ -3264,19 +3799,19 @@
-
+
-
+
-
+
-
+
@@ -3302,11 +3837,11 @@
-
+
-
+
int16
@@ -3316,248 +3851,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- b_diagEna
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [a_elecAngle]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [a_elecAngle]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ufix16_En6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [DC_phaC]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3570,19 +3863,19 @@
-
+
-
+
-
+
-
+
@@ -3608,11 +3901,11 @@
-
+
-
+
int16
@@ -3624,43 +3917,43 @@
-
-
+
+
-
+
-
+
-
- [n_motAbs]
+
+ [i_phaAB]
-
+
-
+
-
-
+
+
-
+
sfix16_En4
@@ -3672,551 +3965,150 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
- b_enaFOC
+
+ [z_ctrlModReq]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
- z_ctrlMod
+
+ uint8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ z_posRaw
-
-
+
+
-
- r_inpTgtSca
+
+ b_motStdStill
-
-
+
+
-
- n_mot
+
+ VqFinPrev
-
-
+
+
-
- n_motAbs
+
+ z_errCode
-
-
+
+
-
- a_elecAngle
+
+ b_errFlag
-
-
+
+
-
- i_phaAB
-
-
-
-
-
-
-
- i_phaBC
-
-
-
-
-
-
-
- r_phaA
-
-
-
-
-
-
-
- r_phaB
-
-
-
-
-
-
-
- r_phaC
-
-
-
-
-
-
-
- Vq
-
-
-
-
-
-
-
- r_devSignal1
-
-
-
-
-
-
-
- r_devSignal2
-
-
-
-
-
-
-
+
if { }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F04_Field_Oriented_Control
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_ctrlTypSel]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- z_ctrlTypSel
-
-
-
-
-
-
-
- r_inpTgt
-
-
-
-
-
-
-
- b_hallA
-
-
-
-
-
-
-
- b_hallB
-
-
-
-
-
-
-
- b_hallC
-
-
-
-
-
-
-
- z_ctrlModPrev
-
-
-
-
-
-
-
- r_inpTgtSca
-
-
-
-
-
-
-
- z_posRaw
-
-
-
-
-
-
-
- z_pos
-
-
-
-
-
-
-
- n_mot
-
-
-
-
-
-
-
- n_motAbs
-
-
-
-
-
-
-
- a_elecAngle
-
-
-
-
-
-
-
- b_motStdStill
-
-
-
-
-
-
-
- b_enaFOC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F01_Estimations
+
+
-
+
-
-
+
+
-
-
+
+
-
- sfix16_En4
+
+ F02_Diagnostics
@@ -4228,16 +4120,16 @@
-
-
+
+
-
-
+
+
-
- boolean
+
+ action
@@ -4249,16 +4141,16 @@
-
-
+
+
-
-
+
+
-
- boolean
+
+ uint8
@@ -4270,775 +4162,16 @@
-
-
+
+
-
-
+
+
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ufix16_En6
-
-
-
-
-
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-
-
-
-
-
-
-
- DC_phaA
-
-
-
-
-
-
-
- DC_phaB
-
-
-
-
-
-
-
- DC_phaC
-
-
-
-
-
-
-
- VqFinPrev
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F05_Control_Type_Management
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MODEL INFO
-
-
-
-
-
-
-
- Version: 1.1169
-
-
-
-
-
-
-
- Author: Emanuel Feru
-
-
-
-
-
-
-
- Last modified by: eferu
-
-
-
-
-
-
-
- Last update: 12-okt-2019 18:16:26
-
-
-
-
-
-
-
- Copyright © 2019 Emanuel FERU
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
int16
@@ -5723,19 +4262,19 @@
-
+
-
+
-
+
-
+
@@ -5761,11 +4300,11 @@
-
+
-
+
int16
@@ -5775,6 +4314,1108 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [z_ctrlTypSel]
+
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-
+
boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int8
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
- [z_ctrlModPrev]
+
+ [r_inpTgt]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
+
+
@@ -5946,11 +5868,11 @@
-
+
-
+
1
@@ -5968,11 +5890,11 @@
-
+
-
+
b_motEna
@@ -5983,11 +5905,11 @@
-
+
-
+
boolean
@@ -6009,11 +5931,11 @@
-
+
-
+
3
@@ -6031,11 +5953,11 @@
-
+
-
+
r_inpTgt
@@ -6046,11 +5968,11 @@
-
+
-
+
int16
@@ -6062,29 +5984,107 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [r_devSignal1]
+
+ 7
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ i_phaAB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int16
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [b_motStdStill]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ boolean
@@ -7193,5 +7193,5 @@
-
+
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png
index fbc1779..33c9c3b 100644
Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png differ
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json
index 266aa56..59675ba 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json
@@ -1351,86 +1351,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9433",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"b_motStdStill",
- "label":"b_motStdStill",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
- ],
- "values":[
- "7",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "0",
- "off",
- "reset",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8467",
"className":"Simulink.Outport",
@@ -1512,11 +1432,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8463",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8466",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"z_posRaw",
- "label":"z_posRaw",
+ "name":"n_motAbs",
+ "label":"n_motAbs",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -1545,7 +1465,7 @@
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "2",
+ "5",
"Port number",
"[]",
"[]",
@@ -1715,11 +1635,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8458",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8460",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto6",
- "label":"Goto6",
+ "name":"Goto8",
+ "label":"Goto8",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -1728,7 +1648,7 @@
"IconDisplay"
],
"values":[
- "z_counterRaw",
+ "z_posRaw",
"local",
"Tag"
],
@@ -1781,11 +1701,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8455",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9379",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto3",
- "label":"Goto3",
+ "name":"Goto14",
+ "label":"Goto14",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -1794,7 +1714,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlTypSel",
+ "z_ctrlModPrev",
"local",
"Tag"
],
@@ -1814,11 +1734,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9379",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9377",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto14",
- "label":"Goto14",
+ "name":"Goto13",
+ "label":"Goto13",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -1827,7 +1747,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModPrev",
+ "r_inpTgt",
"local",
"Tag"
],
@@ -1944,11 +1864,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9377",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9432",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto13",
- "label":"Goto13",
+ "name":"Goto17",
+ "label":"Goto17",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -1957,7 +1877,7 @@
"IconDisplay"
],
"values":[
- "r_inpTgt",
+ "b_motStdStill",
"local",
"Tag"
],
@@ -2008,73 +1928,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From22",
- "label":"From22",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_counterRaw",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9381",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From19",
- "label":"From19",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "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:8432",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From18",
- "label":"From18",
+ "name":"From23",
+ "label":"From23",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -2100,272 +1958,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From17",
- "label":"From17",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_pos",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9380",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From16",
- "label":"From16",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "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:8430",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From15",
- "label":"From15",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_dirPrev",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From14",
- "label":"From14",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "n_motAbs",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From12",
- "label":"From12",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "a_elecAngle",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9374",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From11",
- "label":"From11",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "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:8466",
- "className":"Simulink.Outport",
- "icon":"WebViewIcon3",
- "name":"n_motAbs",
- "label":"n_motAbs",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "Port",
- "IconDisplay",
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "Unit",
- "PortDimensions",
- "VarSizeSig",
- "SampleTime",
- "SignalType",
- "BusOutputAsStruct",
- "EnsureOutportIsVirtual",
- "InitialOutput",
- "MustResolveToSignalObject",
- "OutputWhenDisabled",
- "OutputWhenUnConnected",
- "OutputWhenUnconnectedValue",
- "SignalName",
- "SignalObject",
- "SourceOfInitialOutputValue",
- "StorageClass",
- "VectorParamsAs1DForOutWhenUnconnected"
- ],
- "values":[
- "5",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "0",
- "off",
- "reset",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8468",
"className":"Simulink.Outport",
@@ -2446,6 +2038,369 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From21",
+ "label":"From21",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_counter",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8434",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From20",
+ "label":"From20",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_dir",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9381",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From19",
+ "label":"From19",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "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:8458",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto6",
+ "label":"Goto6",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_counterRaw",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9384",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto15",
+ "label":"Goto15",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtSca",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8430",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From15",
+ "label":"From15",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_dirPrev",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From12",
+ "label":"From12",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "a_elecAngle",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8424",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From",
+ "label":"From",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "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:8429",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From14",
+ "label":"From14",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_motAbs",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9433",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"b_motStdStill",
+ "label":"b_motStdStill",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
+ ],
+ "values":[
+ "7",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "0",
+ "off",
+ "reset",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Outport",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384",
"className":"Simulink.SubSystem",
@@ -2577,11 +2532,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8424",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9374",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From",
- "label":"From",
+ "name":"From11",
+ "label":"From11",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -2608,11 +2563,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From23",
- "label":"From23",
+ "name":"From22",
+ "label":"From22",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -2620,7 +2575,118 @@
"IconDisplay"
],
"values":[
- "b_enaFOC",
+ "z_counterRaw",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8463",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"z_posRaw",
+ "label":"z_posRaw",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "Port",
+ "IconDisplay",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "Unit",
+ "PortDimensions",
+ "VarSizeSig",
+ "SampleTime",
+ "SignalType",
+ "BusOutputAsStruct",
+ "EnsureOutportIsVirtual",
+ "InitialOutput",
+ "MustResolveToSignalObject",
+ "OutputWhenDisabled",
+ "OutputWhenUnConnected",
+ "OutputWhenUnconnectedValue",
+ "SignalName",
+ "SignalObject",
+ "SourceOfInitialOutputValue",
+ "StorageClass",
+ "VectorParamsAs1DForOutWhenUnconnected"
+ ],
+ "values":[
+ "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:9382",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From24",
+ "label":"From24",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtSca",
"Tag"
],
"tabs":[
@@ -2738,101 +2804,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From21",
- "label":"From21",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_counter",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9382",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From24",
- "label":"From24",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "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:9432",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto17",
- "label":"Goto17",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "b_motStdStill",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9333",
"className":"Simulink.SubSystem",
@@ -2930,39 +2901,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9384",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto15",
- "label":"Goto15",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgtSca",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9375",
"className":"Simulink.Inport",
@@ -3031,11 +2969,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8434",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From20",
- "label":"From20",
+ "name":"From18",
+ "label":"From18",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -3043,7 +2981,7 @@
"IconDisplay"
],
"values":[
- "z_dir",
+ "b_enaFOC",
"Tag"
],
"tabs":[
@@ -3129,11 +3067,42 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8460",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From17",
+ "label":"From17",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_pos",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8455",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto8",
- "label":"Goto8",
+ "name":"Goto3",
+ "label":"Goto3",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
"inspector":{
"params":[
@@ -3142,7 +3111,7 @@
"IconDisplay"
],
"values":[
- "z_posRaw",
+ "z_ctrlTypSel",
"local",
"Tag"
],
@@ -3161,6 +3130,37 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9380",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From16",
+ "label":"From16",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220",
+ "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:8462#out:1",
"className":"Simulink.Line",
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png
index 43c4e07..aa51761 100644
Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png differ
diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg
index 9f95889..e61c670 100644
--- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg
+++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg
@@ -252,7 +252,7 @@
-
+
@@ -771,7 +771,7 @@
-
+
@@ -1110,7 +1110,7 @@
-
+
@@ -1247,16 +1247,16 @@
-
-
+
+
-
+
-
- boolean
+
+ int16
@@ -1352,16 +1352,16 @@
-
-
+
+
-
+
-
- int16
+
+ boolean
@@ -1380,7 +1380,7 @@
-
+
@@ -1477,16 +1477,16 @@
-
-
+
+
-
+
-
- uint8
+
+ int8
@@ -1498,16 +1498,16 @@
-
-
+
+
-
+
-
- int8
+
+ uint8
@@ -1795,54 +1795,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- b_motStdStill
-
-
-
-
-
-
-
-
@@ -1855,11 +1807,11 @@
-
+
-
+
6
@@ -1877,11 +1829,11 @@
-
+
-
+
a_elecAngle
@@ -1893,44 +1845,44 @@
-
-
+
+
-
+
-
+
-
- 2
+
+ 5
-
+
-
-
+
+
-
-
+
+
-
- z_posRaw
+
+ n_motAbs
@@ -1951,11 +1903,11 @@
-
+
-
+
1
@@ -1973,11 +1925,11 @@
-
+
-
+
r_inpTgtSca
@@ -1999,19 +1951,19 @@
-
+
-
+
u1
-
+
-
+
if(u1 ~= 0)
@@ -2029,11 +1981,11 @@
-
+
-
+
action
@@ -2045,28 +1997,28 @@
-
-
+
+
-
+
-
+
-
- [z_counterRaw]
+
+ [z_posRaw]
-
+
@@ -2088,11 +2040,11 @@
-
+
-
+
[z_counter]
@@ -2109,39 +2061,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_ctrlTypSel]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2154,11 +2073,11 @@
-
+
-
+
[z_ctrlModPrev]
@@ -2175,6 +2094,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_inpTgt]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2187,11 +2139,11 @@
-
+
-
+
[n_motAbs]
@@ -2220,11 +2172,11 @@
-
+
-
+
[b_enaFOC]
@@ -2253,11 +2205,11 @@
-
+
-
+
[z_posRaw]
@@ -2275,11 +2227,11 @@
-
+
-
+
uint8
@@ -2291,28 +2243,28 @@
-
-
+
+
-
+
-
+
-
- [r_inpTgt]
+
+ [b_motStdStill]
-
+
@@ -2334,11 +2286,11 @@
-
+
-
+
[b_motStdStill]
@@ -2356,11 +2308,11 @@
-
+
-
+
boolean
@@ -2372,139 +2324,43 @@
-
-
+
+
-
+
-
+
-
- [z_counterRaw]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_inpTgt]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
[b_enaFOC]
-
+
-
+
-
-
+
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_Estimation
@@ -3011,11 +2981,11 @@
-
+
-
+
ufix16_En6
@@ -3043,11 +3013,11 @@
-
+
-
+
[z_dirPrev]
@@ -3066,43 +3036,43 @@
-
-
+
+
-
+
-
+
-
+
[z_ctrlTypSel]
-
+
-
+
-
-
+
+
-
+
uint8
@@ -3114,44 +3084,140 @@
-
-
+
+
-
+
-
+
-
- [b_enaFOC]
+
+ [z_counterRaw]
-
+
-
-
+
+
-
-
+
+
-
- boolean
+
+ int16
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ z_posRaw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_inpTgtSca]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
@@ -3172,11 +3238,11 @@
-
+
-
+
[a_elecAngle]
@@ -3205,11 +3271,11 @@
-
+
-
+
6
@@ -3227,11 +3293,11 @@
-
+
-
+
z_ctrlModPrev
@@ -3242,11 +3308,11 @@
-
+
-
+
uint8
@@ -3256,140 +3322,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_counter]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_inpTgtSca]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [b_motStdStill]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -3403,35 +3340,35 @@
-
+
-
+
z_ctrlTypSel
-
+
-
+
r_inpTgt
-
+
-
+
z_ctrlModPrev
-
+
-
+
r_inpTgtSca
@@ -3461,11 +3398,11 @@
-
+
-
+
F01_01_Input_Scaling
@@ -3482,11 +3419,11 @@
-
+
-
+
sfix16_En4
@@ -3498,46 +3435,13 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_inpTgtSca]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3547,11 +3451,11 @@
-
+
-
+
2
@@ -3569,11 +3473,11 @@
-
+
-
+
r_inpTgt
@@ -3584,11 +3488,11 @@
-
+
-
+
sfix16_En4
@@ -3600,44 +3504,44 @@
-
-
+
+
-
+
-
+
-
- [z_dir]
+
+ [b_enaFOC]
-
+
-
-
+
+
-
-
+
+
-
- int8
+
+ boolean
@@ -3658,11 +3562,11 @@
-
+