diff --git a/01_Matlab/01_Libraries/01_Controller/BLDC_controller_Lib.slx b/01_Matlab/01_Libraries/01_Controller/BLDC_controller_Lib.slx
index 040e297..0cda7ff 100644
Binary files a/01_Matlab/01_Libraries/01_Controller/BLDC_controller_Lib.slx and b/01_Matlab/01_Libraries/01_Controller/BLDC_controller_Lib.slx differ
diff --git a/01_Matlab/03_CreateParamTable/create_tableParamType.m b/01_Matlab/03_CreateParamTable/create_tableParamType.m
index 6a40a26..e13c855 100644
--- a/01_Matlab/03_CreateParamTable/create_tableParamType.m
+++ b/01_Matlab/03_CreateParamTable/create_tableParamType.m
@@ -71,6 +71,23 @@ for k = 1:length(Blocks)
end
end
+% Search for Relay
+Blocks = find_system(modelName, 'regexp', 'on', 'BlockType', 'Relay');
+for k = 1:length(Blocks)
+
+ if strcmp('yellow',get_param(Blocks{k},'BackgroundColor')) % get only the tunnable parameters
+
+ val1 = get_param(Blocks{k}, 'OnSwitchValue');
+ val2 = get_param(Blocks{k}, 'OffSwitchValue');
+ typ = get_param(Blocks{k}, 'CompiledPortDataTypes');
+ Parameter{end+1,1} = val1;
+ Parameter{end+1,1} = val2;
+ DataType{end+1,1} = typ.Inport{1};
+ DataType{end+1,1} = typ.Inport{1};
+
+ end
+end
+
% Terminate compilation
BLDCmotorControl_FOC_R2017b_fixdt([],[],[],'term');
diff --git a/01_Matlab/03_CreateParamTable/tableParamType.xlsx b/01_Matlab/03_CreateParamTable/tableParamType.xlsx
index dca3122..521bc8c 100644
Binary files a/01_Matlab/03_CreateParamTable/tableParamType.xlsx and b/01_Matlab/03_CreateParamTable/tableParamType.xlsx differ
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 0b3b0fd..bb88cc3 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
@@ -226,86 +226,6 @@
"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",
@@ -466,6 +386,205 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9301",
+ "className":"Simulink.Outport",
+ "icon":"WebViewIcon3",
+ "name":"DC_phaC",
+ "label":"DC_phaC",
+ "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":[
+ "3",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "off",
+ "[]",
+ "off",
+ "held",
+ "off",
+ "0",
+ "",
+ [
+ ],
+ "Dialog",
+ "Auto",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Outport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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: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:9299",
"className":"Simulink.Outport",
@@ -546,6 +665,336 @@
"masktype":""
}
},
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9389",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto6",
+ "label":"Goto6",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "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:9281",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto5",
+ "label":"Goto5",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_hallB",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto4",
+ "label":"Goto4",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_posRaw",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "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: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:9287",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto26",
+ "label":"Goto26",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "DC_phaA",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9285",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto24",
+ "label":"Goto24",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "DC_phaB",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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: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:9278",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto17",
+ "label":"Goto17",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_motAbs",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298",
"className":"Simulink.Constant",
@@ -596,11 +1045,232 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295",
+ "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: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: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:9269",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto",
+ "label":"Goto",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgt",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From5",
+ "label":"From5",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_mot",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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",
+ "icon":"WebViewIcon3",
+ "name":"From45",
+ "label":"From45",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_devSignal2",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294",
"className":"Simulink.Saturate",
"icon":"WebViewIcon3",
- "name":"Saturation1",
- "label":"Saturation1",
+ "name":"Saturation",
+ "label":"Saturation",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -649,73 +1319,82 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300",
- "className":"Simulink.Outport",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"DC_phaB",
- "label":"DC_phaB",
+ "name":"From35",
+ "label":"From35",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_mot",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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:9441",
+ "className":"Simulink.Terminator",
+ "icon":"WebViewIcon3",
+ "name":"Terminator",
+ "label":"Terminator",
"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":[
- "2",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "[]",
- "off",
- "held",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
],
"tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
],
"tabs_idx":[
- 0,
- 2,
- 11
]
},
"viewer":{
@@ -724,34 +1403,350 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Outport",
+ "blocktype":"Terminator",
"masktype":""
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon4",
- "name":"Model_Info",
- "label":"Model_Info",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From32",
+ "label":"From32",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
+ "GotoTag",
+ "IconDisplay"
],
"values":[
+ "DC_phaB",
+ "Tag"
],
"tabs":[
+ "Parameter Attributes"
],
- "tabs_idx":[
- ]
+ "tabs_idx":0
},
"viewer":{
- "jshandler":"webview/handlers/ContainerHandler"
+ "jshandler":"webview/handlers/ElementHandler"
},
"obj_viewer":[
],
"finder":{
- "blocktype":"SubSystem",
+ "blocktype":"From",
+ "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: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: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",
+ "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:9388",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From2",
+ "label":"From2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "r_inpTgtSca",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9456",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto12",
+ "label":"Goto12",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "VqFinPrev",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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: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:9259",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From27",
+ "label":"From27",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_hallB",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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":""
}
},
@@ -849,11 +1844,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9393",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9437",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto7",
- "label":"Goto7",
+ "name":"Goto11",
+ "label":"Goto11",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -862,7 +1857,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModPrev",
+ "b_motStdStill",
"local",
"Tag"
],
@@ -882,152 +1877,46 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9389",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295",
+ "className":"Simulink.Saturate",
"icon":"WebViewIcon3",
- "name":"Goto6",
- "label":"Goto6",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "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: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",
- "icon":"WebViewIcon3",
- "name":"Goto5",
- "label":"Goto5",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "b_hallB",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto4",
- "label":"Goto4",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "z_posRaw",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441",
- "className":"Simulink.Terminator",
- "icon":"WebViewIcon3",
- "name":"Terminator",
- "label":"Terminator",
+ "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":{
@@ -1036,139 +1925,7 @@
"obj_viewer":[
],
"finder":{
- "blocktype":"Terminator",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9287",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto26",
- "label":"Goto26",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "DC_phaA",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9285",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto24",
- "label":"Goto24",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "DC_phaB",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"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:9278",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto17",
- "label":"Goto17",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "n_motAbs",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
+ "blocktype":"Saturate",
"masktype":""
}
},
@@ -1206,118 +1963,19 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9275",
- "className":"Simulink.Goto",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244",
+ "className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"Goto14",
- "label":"Goto14",
+ "name":"From12",
+ "label":"From12",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
"GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "a_elecAngle",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "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":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9456",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto12",
- "label":"Goto12",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "VqFinPrev",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"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":[
@@ -1336,259 +1994,11 @@
}
},
{
- "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: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:9250",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From6",
- "label":"From6",
- "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:9241",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From5",
- "label":"From5",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "n_mot",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From45",
- "label":"From45",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_devSignal2",
- "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",
- "icon":"WebViewIcon3",
- "name":"From35",
- "label":"From35",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "n_mot",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From32",
- "label":"From32",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "DC_phaB",
- "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",
- "icon":"WebViewIcon3",
- "name":"From30",
- "label":"From30",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_pos",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300",
"className":"Simulink.Outport",
"icon":"WebViewIcon3",
- "name":"a_elecAngle",
- "label":"a_elecAngle",
+ "name":"DC_phaB",
+ "label":"DC_phaB",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1617,7 +2027,7 @@
"VectorParamsAs1DForOutWhenUnconnected"
],
"values":[
- "6",
+ "2",
"Port number",
"[]",
"[]",
@@ -1664,11 +2074,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253",
"className":"Simulink.From",
"icon":"WebViewIcon3",
- "name":"From27",
- "label":"From27",
+ "name":"From22",
+ "label":"From22",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1676,7 +2086,7 @@
"IconDisplay"
],
"values":[
- "b_hallB",
+ "a_elecAngle",
"Tag"
],
"tabs":[
@@ -1695,11 +2105,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9286",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9270",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto25",
- "label":"Goto25",
+ "name":"Goto1",
+ "label":"Goto1",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -1708,7 +2118,7 @@
"IconDisplay"
],
"values":[
- "DC_phaC",
+ "b_hallA",
"local",
"Tag"
],
@@ -1758,254 +2168,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9388",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From2",
- "label":"From2",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgtSca",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt: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",
- "icon":"WebViewIcon3",
- "name":"From18",
- "label":"From18",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "b_motStdStill",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From17",
- "label":"From17",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "n_motAbs",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"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:9240",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From1",
- "label":"From1",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "z_posRaw",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "sid":"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: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",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198",
"className":"Simulink.SubSystem",
@@ -2104,11 +2266,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto16",
- "label":"Goto16",
+ "name":"Goto13",
+ "label":"Goto13",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2117,7 +2279,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlModReq",
+ "i_phaAB",
"local",
"Tag"
],
@@ -2136,6 +2298,1427 @@
"masktype":""
}
},
+ {
+ "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:8220",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"F01_Estimations",
+ "label":"F01_Estimations",
+ "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: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:8217",
+ "className":"Simulink.DataTypeConversion",
+ "icon":"WebViewIcon3",
+ "name":"Data Type Conversion7",
+ "label":"Data Type Conversion7",
+ "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: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: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: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:9393",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto7",
+ "label":"Goto7",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_ctrlModPrev",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "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:9249",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From17",
+ "label":"From17",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_motAbs",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"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: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: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:8535",
+ "className":"Simulink.SubSystem",
+ "icon":"WebViewIcon1",
+ "name":"F03_Control_Mode_Manager",
+ "label":"F03_Control_Mode_Manager",
+ "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: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:9288",
+ "className":"Simulink.Goto",
+ "icon":"WebViewIcon3",
+ "name":"Goto27",
+ "label":"Goto27",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "TagVisibility",
+ "IconDisplay"
+ ],
+ "values":[
+ "n_mot",
+ "local",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Goto",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt: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: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: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: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:9240",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From1",
+ "label":"From1",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_posRaw",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From30",
+ "label":"From30",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "z_pos",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From6",
+ "label":"From6",
+ "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: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: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:9436",
+ "className":"Simulink.From",
+ "icon":"WebViewIcon3",
+ "name":"From18",
+ "label":"From18",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "GotoTag",
+ "IconDisplay"
+ ],
+ "values":[
+ "b_motStdStill",
+ "Tag"
+ ],
+ "tabs":[
+ "Parameter Attributes"
+ ],
+ "tabs_idx":0
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"From",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203",
+ "className":"Simulink.Inport",
+ "icon":"WebViewIcon3",
+ "name":"r_inpTgt",
+ "label":"r_inpTgt",
+ "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":[
+ "3",
+ "Port number",
+ "[]",
+ "[]",
+ "Inherit: auto",
+ "off",
+ "inherit",
+ "-1",
+ "Inherit",
+ "-1",
+ "auto",
+ "off",
+ "",
+ "on",
+ "off",
+ "off",
+ "off"
+ ],
+ "tabs":[
+ "Main",
+ "Signal Attributes",
+ "-Other"
+ ],
+ "tabs_idx":[
+ 0,
+ 2,
+ 11
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":{
+ "blocktype":"Inport",
+ "masktype":""
+ }
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9669",
+ "className":"Simulink.Saturate",
+ "icon":"WebViewIcon3",
+ "name":"Saturation2",
+ "label":"Saturation2",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "UpperLimit",
+ "LowerLimit",
+ "LinearizeAsGain",
+ "OutMin",
+ "OutMax",
+ "OutDataTypeStr",
+ "LockScale",
+ "RndMeth",
+ "SampleTime",
+ "ZeroCross"
+ ],
+ "values":[
+ "1000",
+ "-1000",
+ "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:9266",
"className":"Simulink.From",
@@ -2168,11 +3751,385 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279",
+ "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: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",
+ "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: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: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: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:9277",
"className":"Simulink.Goto",
"icon":"WebViewIcon3",
- "name":"Goto3",
- "label":"Goto3",
+ "name":"Goto16",
+ "label":"Goto16",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2181,7 +4138,7 @@
"IconDisplay"
],
"values":[
- "z_ctrlTypSel",
+ "z_ctrlModReq",
"local",
"Tag"
],
@@ -2298,515 +4255,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535",
- "className":"Simulink.SubSystem",
- "icon":"WebViewIcon1",
- "name":"F03_Control_Mode_Manager",
- "label":"F03_Control_Mode_Manager",
- "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: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: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",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212",
"className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion9",
- "label":"Data Type Conversion9",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "OutMin",
- "OutMax",
- "OutDataTypeStr",
- "LockScale",
- "ConvertRealWorld",
- "RndMeth",
- "SaturateOnIntegerOverflow",
- "SampleTime"
- ],
- "values":[
- "[]",
- "[]",
- "fixdt(1,16,4)",
- "off",
- "Real World Value (RWV)",
- "Floor",
- "off",
- "-1"
- ],
- "tabs":[
- "Parameter Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"DataTypeConversion",
- "masktype":""
- }
- },
- {
- "sid":"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",
- "icon":"WebViewIcon3",
- "name":"DC_phaC",
- "label":"DC_phaC",
- "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":[
- "3",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "off",
- "[]",
- "off",
- "held",
- "off",
- "0",
- "",
- [
- ],
- "Dialog",
- "Auto",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Outport",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8218",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion8",
- "label":"Data Type Conversion8",
+ "name":"Data Type Conversion2",
+ "label":"Data Type Conversion2",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -2848,115 +4301,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217",
- "className":"Simulink.DataTypeConversion",
- "icon":"WebViewIcon3",
- "name":"Data Type Conversion7",
- "label":"Data Type Conversion7",
- "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:9244",
- "className":"Simulink.From",
- "icon":"WebViewIcon3",
- "name":"From12",
- "label":"From12",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "IconDisplay"
- ],
- "values":[
- "i_phaAB",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"From",
- "masktype":""
- }
- },
- {
- "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",
@@ -3055,11 +4399,11 @@
}
},
{
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216",
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8218",
"className":"Simulink.DataTypeConversion",
"icon":"WebViewIcon3",
- "name":"Data Type Conversion6",
- "label":"Data Type Conversion6",
+ "name":"Data Type Conversion8",
+ "label":"Data Type Conversion8",
"parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
"inspector":{
"params":[
@@ -3101,1176 +4445,6 @@
"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":"Goto27",
- "label":"Goto27",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "n_mot",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt: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",
- "icon":"WebViewIcon1",
- "name":"F01_Estimations",
- "label":"F01_Estimations",
- "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:9269",
- "className":"Simulink.Goto",
- "icon":"WebViewIcon3",
- "name":"Goto",
- "label":"Goto",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "GotoTag",
- "TagVisibility",
- "IconDisplay"
- ],
- "values":[
- "r_inpTgt",
- "local",
- "Tag"
- ],
- "tabs":[
- "Parameter Attributes"
- ],
- "tabs_idx":0
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Goto",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201",
"className":"Simulink.Inport",
@@ -4338,73 +4512,6 @@
"masktype":""
}
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203",
- "className":"Simulink.Inport",
- "icon":"WebViewIcon3",
- "name":"r_inpTgt",
- "label":"r_inpTgt",
- "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":[
- "3",
- "Port number",
- "[]",
- "[]",
- "Inherit: auto",
- "off",
- "inherit",
- "-1",
- "Inherit",
- "-1",
- "auto",
- "off",
- "",
- "on",
- "off",
- "off",
- "off"
- ],
- "tabs":[
- "Main",
- "Signal Attributes",
- "-Other"
- ],
- "tabs_idx":[
- 0,
- 2,
- 11
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":{
- "blocktype":"Inport",
- "masktype":""
- }
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207",
"className":"Simulink.Inport",
@@ -4472,37 +4579,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:9268#out:1",
"className":"Simulink.Line",
@@ -4809,57 +4885,6 @@
"finder":[
]
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263#out:1",
- "className":"Simulink.Line",
- "icon":"WebViewIcon5",
- "name":"",
- "label":"",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "SignalNameFromLabel",
- "MustResolveToSignal",
- "ShowPropagatedSignal",
- "DataLogging",
- "TestPoint",
- "SignalObjectPackage",
- "StorageClass",
- "Description",
- "documentLink"
- ],
- "values":[
- "",
- "off",
- "off",
- "off",
- "off",
- "Simulink",
- "Auto",
- "",
- ""
- ],
- "tabs":[
- "Parameter Attributes",
- "Logging and Accessibility",
- "Code Generation",
- "Documentation"
- ],
- "tabs_idx":[
- 0,
- 3,
- 5,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":[
- ]
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251#out:1",
"className":"Simulink.Line",
@@ -5676,57 +5701,6 @@
"finder":[
]
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8219#out:1",
- "className":"Simulink.Line",
- "icon":"WebViewIcon5",
- "name":"",
- "label":"",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "SignalNameFromLabel",
- "MustResolveToSignal",
- "ShowPropagatedSignal",
- "DataLogging",
- "TestPoint",
- "SignalObjectPackage",
- "StorageClass",
- "Description",
- "documentLink"
- ],
- "values":[
- "",
- "off",
- "off",
- "off",
- "off",
- "Simulink",
- "Auto",
- "",
- ""
- ],
- "tabs":[
- "Parameter Attributes",
- "Logging and Accessibility",
- "Code Generation",
- "Documentation"
- ],
- "tabs_idx":[
- 0,
- 3,
- 5,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":[
- ]
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8218#out:1",
"className":"Simulink.Line",
@@ -7359,57 +7333,6 @@
"finder":[
]
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203#out:1",
- "className":"Simulink.Line",
- "icon":"WebViewIcon5",
- "name":"",
- "label":"",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "SignalNameFromLabel",
- "MustResolveToSignal",
- "ShowPropagatedSignal",
- "DataLogging",
- "TestPoint",
- "SignalObjectPackage",
- "StorageClass",
- "Description",
- "documentLink"
- ],
- "values":[
- "",
- "off",
- "off",
- "off",
- "off",
- "Simulink",
- "Auto",
- "",
- ""
- ],
- "tabs":[
- "Parameter Attributes",
- "Logging and Accessibility",
- "Code Generation",
- "Documentation"
- ],
- "tabs_idx":[
- 0,
- 3,
- 5,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":[
- ]
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535#out:1",
"className":"Simulink.Line",
@@ -7512,57 +7435,6 @@
"finder":[
]
},
- {
- "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262#out:1",
- "className":"Simulink.Line",
- "icon":"WebViewIcon5",
- "name":"",
- "label":"",
- "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
- "inspector":{
- "params":[
- "SignalNameFromLabel",
- "MustResolveToSignal",
- "ShowPropagatedSignal",
- "DataLogging",
- "TestPoint",
- "SignalObjectPackage",
- "StorageClass",
- "Description",
- "documentLink"
- ],
- "values":[
- "",
- "off",
- "off",
- "off",
- "off",
- "Simulink",
- "Auto",
- "",
- ""
- ],
- "tabs":[
- "Parameter Attributes",
- "Logging and Accessibility",
- "Code Generation",
- "Documentation"
- ],
- "tabs_idx":[
- 0,
- 3,
- 5,
- 7
- ]
- },
- "viewer":{
- "jshandler":"webview/handlers/ElementHandler"
- },
- "obj_viewer":[
- ],
- "finder":[
- ]
- },
{
"sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204#out:1",
"className":"Simulink.Line",
@@ -8429,5 +8301,209 @@
],
"finder":[
]
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203#out:1",
+ "className":"Simulink.Line",
+ "icon":"WebViewIcon5",
+ "name":"",
+ "label":"",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "SignalNameFromLabel",
+ "MustResolveToSignal",
+ "ShowPropagatedSignal",
+ "DataLogging",
+ "TestPoint",
+ "SignalObjectPackage",
+ "StorageClass",
+ "Description",
+ "documentLink"
+ ],
+ "values":[
+ "",
+ "off",
+ "off",
+ "off",
+ "off",
+ "Simulink",
+ "Auto",
+ "",
+ ""
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "Logging and Accessibility",
+ "Code Generation",
+ "Documentation"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 5,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":[
+ ]
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9669#out:1",
+ "className":"Simulink.Line",
+ "icon":"WebViewIcon5",
+ "name":"",
+ "label":"",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "SignalNameFromLabel",
+ "MustResolveToSignal",
+ "ShowPropagatedSignal",
+ "DataLogging",
+ "TestPoint",
+ "SignalObjectPackage",
+ "StorageClass",
+ "Description",
+ "documentLink"
+ ],
+ "values":[
+ "",
+ "off",
+ "off",
+ "off",
+ "off",
+ "Simulink",
+ "Auto",
+ "",
+ ""
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "Logging and Accessibility",
+ "Code Generation",
+ "Documentation"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 5,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":[
+ ]
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263#out:1",
+ "className":"Simulink.Line",
+ "icon":"WebViewIcon5",
+ "name":"",
+ "label":"",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "SignalNameFromLabel",
+ "MustResolveToSignal",
+ "ShowPropagatedSignal",
+ "DataLogging",
+ "TestPoint",
+ "SignalObjectPackage",
+ "StorageClass",
+ "Description",
+ "documentLink"
+ ],
+ "values":[
+ "",
+ "off",
+ "off",
+ "off",
+ "off",
+ "Simulink",
+ "Auto",
+ "",
+ ""
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "Logging and Accessibility",
+ "Code Generation",
+ "Documentation"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 5,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":[
+ ]
+ },
+ {
+ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262#out:1",
+ "className":"Simulink.Line",
+ "icon":"WebViewIcon5",
+ "name":"",
+ "label":"",
+ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29",
+ "inspector":{
+ "params":[
+ "SignalNameFromLabel",
+ "MustResolveToSignal",
+ "ShowPropagatedSignal",
+ "DataLogging",
+ "TestPoint",
+ "SignalObjectPackage",
+ "StorageClass",
+ "Description",
+ "documentLink"
+ ],
+ "values":[
+ "",
+ "off",
+ "off",
+ "off",
+ "off",
+ "Simulink",
+ "Auto",
+ "",
+ ""
+ ],
+ "tabs":[
+ "Parameter Attributes",
+ "Logging and Accessibility",
+ "Code Generation",
+ "Documentation"
+ ],
+ "tabs_idx":[
+ 0,
+ 3,
+ 5,
+ 7
+ ]
+ },
+ "viewer":{
+ "jshandler":"webview/handlers/ElementHandler"
+ },
+ "obj_viewer":[
+ ],
+ "finder":[
+ ]
}
]
\ No newline at end of file
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 f2ff5f1..d2762db 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 8461ac5..1824458 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
@@ -504,54 +504,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r_devSignal1
-
-
-
-
-
-
-
-
@@ -564,11 +516,11 @@
-
+
-
+
5
@@ -586,11 +538,11 @@
-
+
-
+
n_mot
@@ -612,11 +564,11 @@
-
+
-
+
4
@@ -634,11 +586,11 @@
-
+
-
+
z_errCode
@@ -650,44 +602,100 @@
-
-
+
+
-
+
+
+
+
+
+
+
+
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DC_phaC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ u1
-
+
-
- DC_phaA
+
+ if(u1 ~= 0)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ action
@@ -698,387 +706,52 @@
-
-
-
+
+
+
-
-
+
+
-
-
-
-
-
-
- z_ctrlTypSel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ u1
-
-
+
+
-
-
+
+ if(u1 ~= CTRL_COM)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DC_phaB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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]
-
-
-
-
-
-
-
+
+ action
@@ -1099,11 +772,11 @@
-
+
-
+
[b_hallC]
@@ -1120,6 +793,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DC_phaA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_inpTgtSca]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1132,11 +886,11 @@
-
+
-
+
[b_hallB]
@@ -1165,11 +919,11 @@
-
+
-
+
[z_posRaw]
@@ -1186,6 +940,767 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [z_ctrlTypSel]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [b_motEna]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [DC_phaA]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [DC_phaB]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [z_pos]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_devSignal2]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [n_motAbs]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ z_ctrlTypSel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [z_ctrlModPrev]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [a_elecAngle]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [z_ctrlTypSel]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_inpTgt]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [n_mot]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_devSignal1]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [r_devSignal2]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [n_mot]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [a_elecAngle]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ufix16_En6
+
+
+
+
+
+
+
+
@@ -1195,19 +1710,19 @@
-
+
-
+
-
+
-
+
@@ -1237,62 +1752,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [DC_phaA]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
[DC_phaB]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int16
@@ -1303,29 +1800,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [r_devSignal2]
+
+ [DC_phaA]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int16
@@ -1336,29 +1848,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [n_motAbs]
+
+ [b_hallC]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
@@ -1369,29 +1896,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [i_phaBC]
+
+ [z_errCode]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
@@ -1402,29 +1944,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [a_elecAngle]
+
+ [z_ctrlTypSel]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uint8
@@ -1435,29 +1992,44 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [i_phaAB]
+
+ [r_inpTgtSca]
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sfix16_En4
@@ -1478,11 +2050,11 @@
-
+
-
+
[VqFinPrev]
@@ -1501,43 +2073,139 @@
-
-
+
+
-
+
-
+
-
- [z_ctrlModPrev]
+
+ [VqFinPrev]
-
+
-
+
-
-
+
+
-
+
+ int16
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [b_motEna]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [b_hallB]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
uint8
@@ -1559,11 +2227,11 @@
-
+
-
+
[b_hallA]
@@ -1581,11 +2249,11 @@
-
+
-
+
uint8
@@ -1597,44 +2265,43 @@
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
- [z_ctrlTypSel]
+
+ Implemented_control_methods
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
+
+
@@ -1645,44 +2312,29 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [z_ctrlTypSel]
+
+ [b_motStdStill]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
+
+
@@ -1693,43 +2345,75 @@
-
-
-
+
+
+
-
-
+
+
-
+
-
-
+
+
-
- [n_mot]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
-
+
+
-
+
sfix16_En4
@@ -1741,43 +2425,76 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [r_devSignal2]
+
+ [i_phaBC]
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [i_phaAB]
+
+
+
+
+
+
-
+
-
-
+
+
-
+
sfix16_En4
@@ -1789,188 +2506,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [n_mot]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [DC_phaB]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_pos]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int8
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
+
-
- 6
+
+ 2
-
+
-
-
+
+
-
-
+
+
-
- a_elecAngle
+
+ DC_phaB
@@ -1981,44 +2554,44 @@
-
-
+
+
-
+
-
+
-
- [b_hallB]
+
+ [a_elecAngle]
-
+
-
-
+
+
-
-
+
+
-
- uint8
+
+ ufix16_En6
@@ -2029,28 +2602,28 @@
-
-
+
+
-
+
-
+
-
- [DC_phaC]
+
+ [b_hallA]
-
+
@@ -2072,11 +2645,11 @@
-
+
-
+
[r_inpTgtSca]
@@ -2094,11 +2667,11 @@
-
+
-
+
sfix16_En4
@@ -2108,395 +2681,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_inpTgtSca]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [DC_phaA]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [b_motStdStill]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [n_motAbs]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [b_motEna]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_posRaw]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_devSignal1]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_errCode]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
+
@@ -2510,99 +2699,99 @@
-
+
-
+
b_enaFOC
-
+
-
+
z_pos
-
+
-
+
z_ctrlTypSel
-
+
-
+
r_phaA
-
+
-
+
r_phaB
-
+
-
+
r_phaC
-
+
-
+
Vq
-
+
-
+
r_inpTgtSca
-
+
-
+
DC_phaA
-
+
-
+
DC_phaB
-
+
-
+
DC_phaC
-
+
-
+
VqFinPrev
@@ -2632,11 +2821,11 @@
-
+
-
+
F05_Control_Type_Management
@@ -2649,15 +2838,15 @@
-
+
-
-
+
+
-
+
int16
@@ -2670,15 +2859,15 @@
-
+
-
-
+
+
-
+
int16
@@ -2691,15 +2880,15 @@
-
+
-
-
+
+
-
+
int16
@@ -2716,11 +2905,11 @@
-
+
-
+
int16
@@ -2732,83 +2921,83 @@
-
+
-
+
-
+
-
+
-
+
+ [i_phaAB]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
[z_ctrlModReq]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [DC_phaC]
-
-
-
-
-
-
+
-
+
-
-
+
+
-
- int16
+
+ uint8
@@ -2819,42 +3008,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [z_ctrlTypSel]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -2862,130 +3018,122 @@
-
-
+
+
-
-
+
+
-
- b_enaFOC
+
+ z_ctrlTypSel
-
-
+
+
-
- z_ctrlMod
+
+ r_inpTgt
-
-
+
+
-
- r_inpTgtSca
+
+ b_hallA
-
-
+
+
-
- n_mot
+
+ b_hallB
-
-
+
+
-
- n_motAbs
+
+ b_hallC
-
-
+
+
-
- a_elecAngle
+
+ z_ctrlModPrev
-
-
+
+
-
- i_phaAB
+
+ r_inpTgtSca
-
-
+
+
-
- i_phaBC
+
+ z_posRaw
-
-
+
+
-
- r_phaA
+
+ z_pos
-
-
+
+
-
- r_phaB
+
+ n_mot
-
-
+
+
-
- r_phaC
+
+ n_motAbs
-
-
+
+
-
- Vq
+
+ a_elecAngle
-
-
+
+
-
- r_devSignal1
+
+ b_motStdStill
-
-
+
+
-
- r_devSignal2
-
-
-
-
-
-
-
- if { }
+
+ b_enaFOC
@@ -2997,8 +3145,8 @@
-
-
+
+
@@ -3010,16 +3158,16 @@
-
-
+
+
-
-
+
+
-
- F04_Field_Oriented_Control
+
+ F01_Estimations
@@ -3031,16 +3179,16 @@
-
-
+
+
-
-
+
+
-
- int16
+
+ sfix16_En4
@@ -3052,16 +3200,16 @@
-
-
+
+
-
-
+
+
-
- sfix16_En4
+
+ boolean
@@ -3073,16 +3221,16 @@
-
-
+
+
-
-
+
+
-
- int16
+
+ int8
@@ -3094,16 +3242,16 @@
-
-
+
+
-
-
+
+
-
- action
+
+ boolean
@@ -3115,16 +3263,16 @@
-
-
+
+
-
-
+
+
-
- sfix16_En4
+
+ uint8
@@ -3136,16 +3284,16 @@
-
-
+
+
-
-
+
+
-
- int16
+
+ ufix16_En6
@@ -3157,223 +3305,36 @@
-
+
-
-
+
+
-
+
sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- b_errFlag
-
-
-
-
-
-
-
- b_motStdStill
-
-
-
-
-
-
-
- b_motEna
-
-
-
-
-
-
-
- z_ctrlModReq
-
-
-
-
-
-
-
- z_ctrlMod
-
-
-
-
-
-
-
- z_ctrlModPrev
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F03_Control_Mode_Manager
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_inpTgt]
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
-
+
sfix16_En4
@@ -3383,65 +3344,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- u1
-
-
-
-
-
-
-
- if(u1 ~= CTRL_COM)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -3451,11 +3362,11 @@
-
+
-
+
[z_errCode]
@@ -3472,385 +3383,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- u1
-
-
-
-
-
-
-
- if(u1 ~= 0)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [b_motStdStill]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [b_hallA]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [r_devSignal1]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [a_elecAngle]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ufix16_En6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DC_phaC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
@@ -3863,19 +3395,19 @@
-
+
-
+
-
+
-
+
@@ -3901,11 +3433,11 @@
-
+
-
+
int16
@@ -3917,44 +3449,29 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
- [i_phaAB]
+
+ [DC_phaC]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sfix16_En4
+
+
@@ -3965,212 +3482,43 @@
-
-
+
+
-
+
-
+
-
- [z_ctrlModReq]
+
+ [b_motStdStill]
-
+
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- z_posRaw
-
-
-
-
-
-
-
- b_motStdStill
-
-
-
-
-
-
-
- VqFinPrev
-
-
-
-
-
-
-
- z_errCode
-
-
-
-
-
-
-
- b_errFlag
-
-
-
-
-
-
-
- if { }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- F02_Diagnostics
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
-
+
boolean
@@ -4182,66 +3530,98 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ MODEL INFO
+
+
+
+
+
+
+
+ Version: 1.1183
+
+
+
+
+
+
+
+ Author: Emanuel Feru
+
+
+
+
+
+
+
+ Last modified by: eferu
+
+
+
+
+
+
+
+ Last update: 21-okt-2019 16:33:56
+
+
+
+
+
+
+
+ Copyright © 2019 Emanuel FERU
+
-
-
+
+
-
-
-
-
+
-
-
+
+
-
- int16
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4252,108 +3632,29 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- int16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
- [z_ctrlTypSel]
+
+ [z_ctrlModPrev]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- uint8
+
+
@@ -4374,19 +3675,19 @@
-
+
-
+
-
+
-
+
@@ -4412,11 +3713,11 @@
-
+
-
+
int16
@@ -4428,110 +3729,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [n_mot]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [b_motEna]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
+
-
- [b_hallC]
+
+ [n_motAbs]
-
+
-
-
+
+
-
-
+
+
-
- uint8
+
+ sfix16_En4
@@ -4542,283 +3777,44 @@
-
-
-
-
-
-
-
-
-
-
-
-